This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, fedora/master, updated. fedora/glibc-2.10.90-26-53-g587045f


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, fedora/master has been updated
       via  587045f460bb324b47dcae7567bf186222538a56 (commit)
       via  56667c7b3f5d62bad35496dc5dbc0b24c8a2c52c (commit)
       via  b0d7e71b8b7a5edd729ec413ad8b314ccb8fa400 (commit)
       via  017dd87448e913383a8be5773569f218e8c661c5 (commit)
       via  3a83202db6e5591f2b72974c1ad98602c6620770 (commit)
       via  b47525dd866cbeff9748f532b24a930c7b65d798 (commit)
       via  2c5c07f5fc27dab969c1bd885981d095580e53cd (commit)
       via  de2cc8095bf7fa4202d0d4c038c8be61dc60fd41 (commit)
       via  6cfe8609b890f33e6c7235549cb02c3c6a0f3820 (commit)
       via  25db0f6ca996f799de308aa2dc7c62caa99ee9dc (commit)
       via  31c759bf37a7a41faf8b13800deb769e8a5f3871 (commit)
       via  51a71cf063505d689337cf998670691a0a4b2410 (commit)
       via  77799d9d9b3f9c937bd6de035b724b9b272c9227 (commit)
       via  9fd76770c304ac30a344150d6a56bd6f873b2be0 (commit)
       via  0d2f180dd0f933ab651058d5dc691bcd4f7f1c28 (commit)
       via  675a462ba31fe48fd8513c186287b8fa5d26f655 (commit)
       via  7f3146e7895f248dd2f655e9e5895abebb2bf506 (commit)
       via  471d4931f83644cf86ae2f044cc29c95b9d12109 (commit)
       via  75ded9bcdff960829743aca4a984a4cbf40a3585 (commit)
       via  bf20990de0c0478cd974717237c5738d036ad8dc (commit)
       via  204fcca27c0f787daf95ca6f0c787842eb8a50d8 (commit)
       via  b0e477a9aa6dafd5b9780b2248e61620e2c83d32 (commit)
       via  cfff39ea98ec7765e5339dfdee3388749f75713a (commit)
       via  ea547a1a6e350b758fcda76b919b3aa774752318 (commit)
       via  5c53736b52d5032171813d813d4a7ad505102b61 (commit)
       via  ee6f35389c751b93fd7298ec02f642587d996c71 (commit)
       via  5debe363133d76bfaf60597392ce2629a1920506 (commit)
       via  801720e63b20e3b8215764ff0d68a29534ca7e62 (commit)
       via  584715c3a9b0030729e0a8504c820b3bd8d9353d (commit)
       via  c240c3a58f21d72982e74a485bd7c4900f188876 (commit)
       via  1a9e411e2aba14573ddc2ced4a5ee927a01031e0 (commit)
       via  cc88b371a5072242b76d80fae5483d1777029c71 (commit)
       via  67854c131c2ba8c013debf466b20cb13fffa120b (commit)
       via  e0f471a1187cdfcb029c80819da52b4c12e352f5 (commit)
       via  d79eccd6dd8aa2038a9775689a7072fe3ceb40dc (commit)
       via  22bc5239e1c7d97b0642af6c135af994586f8e82 (commit)
       via  d94760f944cebf05b239dd0b65c3b40a5577013b (commit)
       via  8d55628106730c5e318fa3673b69588509d983f2 (commit)
       via  81c84bd9022328127f46d0484d254848911ea198 (commit)
       via  d9e8f9ec5557cc6ffcc154eafc4d2f2348df7b6b (commit)
       via  92934e8b848fd55483606addf37687913a980bca (commit)
       via  3a85895fa3e15b8d53856161a4ba3950d44ea285 (commit)
       via  3ad3a4d0593be70f99a94b009afa76a6dc3f0a17 (commit)
       via  98363ded87633c2bb91140d115cbd7b449634038 (commit)
       via  823bc6da658301e546c0650104e7428b8c636873 (commit)
       via  001659f4d59d675c48a7748594e784fb35a5678d (commit)
       via  31ba3e7a7d0f0614122f03f4350904415d94877b (commit)
       via  bc5e8462188bdd9919e804fbba44e4b983b7724a (commit)
       via  b7805d0ba8948fcf5e406bf52530d9aba99f5954 (commit)
       via  02a544f460de28fe603d91b34692cf3f64713229 (commit)
       via  0fc3cbc13f508e021c90e2d9fe0ceba88f37a19a (commit)
       via  26059a9936f45bd4486c7e4a2a75e6ac29c06950 (commit)
      from  f8e81cec78280ef92014305c1e10a808b1260683 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=587045f460bb324b47dcae7567bf186222538a56

commit 587045f460bb324b47dcae7567bf186222538a56
Author: Andreas Schwab <schwab@redhat.com>
Date:   Fri Oct 30 16:12:56 2009 +0100

    2.10.90-27

diff --git a/fedora/glibc.spec.in b/fedora/glibc.spec.in
index 2544aba..b285d54 100644
--- a/fedora/glibc.spec.in
+++ b/fedora/glibc.spec.in
@@ -15,13 +15,13 @@
 %endif
 %define rtkaioarches %{ix86} x86_64 ia64 ppc ppc64 s390 s390x
 %define debuginfocommonarches alpha alphaev6 sparc sparcv9 sparcv9v sparc64 sparc64v
-%define multiarcharches %{ix86} x86_64
+%define multiarcharches %{ix86} x86_64 ppc ppc64
 %define _unpackaged_files_terminate_build 0
 
 Summary: The GNU libc libraries
 Name: glibc
 Version: %{glibcversion}
-Release: 26
+Release: 27
 # GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
 # Things that are linked directly into dynamically linked programs
 # and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
@@ -1032,6 +1032,23 @@ rm -f *.filelist*
 %endif
 
 %changelog
+* Fri Oct 30 2009 Andreas Schwab <schwab@redhat.com> - 2.10.90-27
+- Update from master.
+  - Fix races in setXid implementation (BZ#3270).
+  - Implement IFUNC for PPC and enable multi-arch support.
+  - Implement mkstemps/mkstemps64 and mkostemps/mkostemps64 (BZ#10349).
+  - Fix IA-64 and S390 sigevent definitions (BZ#10446).
+  - Fix memory leak in NIS grp database handling (BZ#10713).
+  - Print timestamp in nscd debug messages (BZ#10742).
+  - Fix mixing IPv4 and IPv6 name server in resolv.conf.
+  - Fix range checks in coshl.
+  - Implement SSE4.2 optimized strchr and strrchr.
+  - Handle IFUNC symbols in dlsym (#529965).
+  - Misc fixes (BZ#10312, BZ#10315, BZ#10319, BZ#10391, BZ#10425,
+    BZ#10540, BZ#10553, BZ#10564, BZ#10609, BZ#10692, BZ#10780,
+    BZ#10717, BZ#10784, BZ#10789, BZ#10847
+- No longer build with -fno-var-tracking-assignments.
+
 * Mon Oct 19 2009 Andreas Schwab <schwab@redhat.com> - 2.10.90-26
 - Update from master.
   - Add ____longjmp_chk for sparc.

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=56667c7b3f5d62bad35496dc5dbc0b24c8a2c52c

commit 56667c7b3f5d62bad35496dc5dbc0b24c8a2c52c
Author: Andreas Schwab <schwab@redhat.com>
Date:   Fri Oct 30 15:23:24 2009 +0100

    Fix missing declaration in rtkaio tests

diff --git a/rtkaio/ChangeLog b/rtkaio/ChangeLog
index 86a56ef..730cedb 100644
--- a/rtkaio/ChangeLog
+++ b/rtkaio/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-30  Andreas Schwab  <schwab@redhat.com>
+
+	* tst-aiod.h: Include <string.h>.
+
 2009-09-30  Andreas Schwab  <schwab@redhat.com>
 
 	* sysdeps/unix/sysv/linux/x86_64/librtkaio-cancellation.S: New
diff --git a/rtkaio/tst-aiod.h b/rtkaio/tst-aiod.h
index 57f0e48..c4971e0 100644
--- a/rtkaio/tst-aiod.h
+++ b/rtkaio/tst-aiod.h
@@ -20,6 +20,7 @@
 
 #include <fcntl.h>
 #include <sys/mman.h>
+#include <string.h>
 #include <unistd.h>
 
 static int

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=b0d7e71b8b7a5edd729ec413ad8b314ccb8fa400

commit b0d7e71b8b7a5edd729ec413ad8b314ccb8fa400
Author: Andreas Schwab <schwab@redhat.com>
Date:   Fri Oct 30 11:20:44 2009 +0100

    Revert "Fix F_GETOWN on some Linux archs." and "Define F_OWNER_* and f_owner_ex for Linux targets."
    
    They depend on F_GETOWN_EX/F_SETOWN_EX.

diff --git a/ChangeLog b/ChangeLog
index 389761e..aa8a10d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -195,22 +195,6 @@ d2009-10-30  Ulrich Drepper  <drepper@redhat.com>
 	* sysdeps/generic/netinet/ip.h: Define IPTOS_ENC* and IPTOS_DSCP*
 	macros.  Patch by Philip Prindeville <philipp@redfish-solutions.com>.
 
-	[BZ #10840]
-	* sysdeps/unix/sysv/linux/kernel-features.h: Define
-	__ASSUME_F_GETOWN_EX.
-	* sysdeps/unix/sysv/linux/fcntl.c: Implement F_GETOWN using F_GETOWN_EX
-	if possible.
-	* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
-
-	* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Define F_OWNER_*
-	and f_owner_ex.
-	* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
-	* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
-	* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
-	* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
-	* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
-	* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
-
 	[BZ #10847]
 	* sysdeps/gnu/getutmp.c: Allow compatibility code to play around with
 	getutmpx symbol.
diff --git a/sysdeps/unix/sysv/linux/fcntl.c b/sysdeps/unix/sysv/linux/fcntl.c
index b19654c..1f5aca1 100644
--- a/sysdeps/unix/sysv/linux/fcntl.c
+++ b/sysdeps/unix/sysv/linux/fcntl.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000, 2002, 2003, 2004, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002, 2003, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -23,40 +23,6 @@
 #include <stdarg.h>
 
 #include <sys/syscall.h>
-#include <kernel-features.h>
-
-
-#ifdef __ASSUME_F_GETOWN_EX
-# define miss_F_GETOWN_EX 0
-#else
-static int miss_F_GETOWN_EX;
-#endif
-
-
-static int
-do_fcntl (int fd, int cmd, void *arg)
-{
-  if (cmd != F_GETOWN || miss_F_GETOWN_EX)
-    return INLINE_SYSCALL (fcntl, 3, fd, cmd, arg);
-
-  INTERNAL_SYSCALL_DECL (err);
-  struct f_owner_ex fex;
-  int res = INTERNAL_SYSCALL (fcntl, err, 3, fd, F_GETOWN_EX, &fex);
-  if (!INTERNAL_SYSCALL_ERROR_P (res, err))
-    return fex.type == F_OWNER_GID ? -fex.pid : fex.pid;
-
-#ifndef __ASSUME_F_GETOWN_EX
-  if (INTERNAL_SYSCALL_ERRNO (res, err) == EINVAL)
-    {
-      res = INLINE_SYSCALL (fcntl, 3, fd, F_GETOWN, arg);
-      miss_F_GETOWN_EX = 1;
-      return res;
-    }
-#endif
-
-  __set_errno (INTERNAL_SYSCALL_ERRNO (res, err));
-  return -1;
-}
 
 
 #ifndef NO_CANCELLATION
@@ -70,7 +36,7 @@ __fcntl_nocancel (int fd, int cmd, ...)
   arg = va_arg (ap, void *);
   va_end (ap);
 
-  return do_fcntl (fd, cmd, arg);
+  return INLINE_SYSCALL (fcntl, 3, fd, cmd, arg);
 }
 #endif
 
@@ -86,11 +52,11 @@ __libc_fcntl (int fd, int cmd, ...)
   va_end (ap);
 
   if (SINGLE_THREAD_P || cmd != F_SETLKW)
-    return do_fcntl (fd, cmd, arg);
+    return INLINE_SYSCALL (fcntl, 3, fd, cmd, arg);
 
   int oldtype = LIBC_CANCEL_ASYNC ();
 
-  int result = do_fcntl (fd, cmd, arg);
+  int result = INLINE_SYSCALL (fcntl, 3, fd, cmd, arg);
 
   LIBC_CANCEL_RESET (oldtype);
 
diff --git a/sysdeps/unix/sysv/linux/i386/bits/fcntl.h b/sysdeps/unix/sysv/linux/i386/bits/fcntl.h
index d1718a1..35ef665 100644
--- a/sysdeps/unix/sysv/linux/i386/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/i386/bits/fcntl.h
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux.
-   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2004, 2006, 2007, 2009
+   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2004, 2006, 2007
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -166,23 +166,6 @@ struct flock64
   };
 #endif
 
-#ifdef __USE_GNU
-/* Owner types.  */
-enum __pid_type
-  {
-    F_OWNER_TID = 0,	/* Kernel thread.  */
-    F_OWNER_PID,	/* Process.  */
-    F_OWNER_GID		/* Process group.  */
-  };
-
-/* Structure to use with F_GETOWN_EX and F_SETOWN_EX.  */
-struct f_owner_ex
-  {
-    enum __pid_type type;	/* Owner type of ID.  */
-    __pid_t pid;		/* ID of owner.  */
-  };
-#endif
-
 /* Define some more compatibility macros to be backward compatible with
    BSD systems which did not managed to hide these kernel macros.  */
 #ifdef	__USE_BSD
diff --git a/sysdeps/unix/sysv/linux/i386/fcntl.c b/sysdeps/unix/sysv/linux/i386/fcntl.c
index 5544d6e..b27373d 100644
--- a/sysdeps/unix/sysv/linux/i386/fcntl.c
+++ b/sysdeps/unix/sysv/linux/i386/fcntl.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000,2002,2003,2004,2006,2009 Free Software Foundation, Inc.
+/* Copyright (C) 2000,2002,2003,2004,2006 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -30,13 +30,6 @@
 int __have_no_fcntl64;
 #endif
 
-#ifdef __ASSUME_F_GETOWN_EX
-# define miss_F_GETOWN_EX 0
-#else
-static int miss_F_GETOWN_EX;
-#endif
-
-
 #if defined NO_CANCELLATION && __ASSUME_FCNTL64 == 0
 # define __fcntl_nocancel  __libc_fcntl
 #endif
@@ -126,26 +119,6 @@ __fcntl_nocancel (int fd, int cmd, ...)
 	assert (F_SETLK - F_SETLKW == F_SETLK64 - F_SETLKW64);
 	return INLINE_SYSCALL (fcntl, 3, fd, cmd + F_SETLK - F_SETLK64, &fl);
       }
-    case F_GETOWN:
-      if (! miss_F_GETOWN_EX)
-	{
-	  INTERNAL_SYSCALL_DECL (err);
-	  struct f_owner_ex fex;
-	  int res = INTERNAL_SYSCALL (fcntl, err, 3, fd, F_GETOWN_EX, &fex);
-	  if (!INTERNAL_SYSCALL_ERROR_P (res, err))
-	    return fex.type == F_OWNER_GID ? -fex.pid : fex.pid;
-
-#ifndef __ASSUME_F_GETOWN_EX
-	  if (INTERNAL_SYSCALL_ERRNO (res, err) == EINVAL)
-	    miss_F_GETOWN_EX = 1;
-	  else
-#endif
-	    {
-	      __set_errno (INTERNAL_SYSCALL_ERRNO (res, err));
-	      return -1;
-	    }
-	}
-      /* FALLTHROUGH */
     default:
       return INLINE_SYSCALL (fcntl, 3, fd, cmd, arg);
     }
diff --git a/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h b/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h
index 9e11f64..6abc5ce 100644
--- a/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux/IA64.
-   Copyright (C) 1999,2000,2004,2006,2007,2009 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2000, 2004, 2006, 2007 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -159,23 +159,6 @@ struct flock64
   };
 #endif
 
-#ifdef __USE_GNU
-/* Owner types.  */
-enum __pid_type
-  {
-    F_OWNER_TID = 0,	/* Kernel thread.  */
-    F_OWNER_PID,	/* Process.  */
-    F_OWNER_GID		/* Process group.  */
-  };
-
-/* Structure to use with F_GETOWN_EX and F_SETOWN_EX.  */
-struct f_owner_ex
-  {
-    enum __pid_type type;	/* Owner type of ID.  */
-    __pid_t pid;		/* ID of owner.  */
-  };
-#endif
-
 
 /* Define some more compatibility macros to be backward compatible with
    BSD systems which did not managed to hide these kernel macros.  */
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index f48e644..ff065ef 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -542,8 +542,3 @@
 # define __ASSUME_PREADV	1
 # define __ASSUME_PWRITEV	1
 #endif
-
-/* Support for F_GETOWN_EX was introduced in 2.6.32.  */
-#if __LINUX_KERNEL_VERSION >= 0x020620
-# define __ASSUME_F_GETOWN_EX	1
-#endif
diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h b/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
index dc2e0e6..90b669a 100644
--- a/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux/PowerPC.
-   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2003, 2004, 2006, 2007, 2009
+   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2003, 2004, 2006, 2007
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -166,23 +166,6 @@ struct flock64
   };
 #endif
 
-#ifdef __USE_GNU
-/* Owner types.  */
-enum __pid_type
-  {
-    F_OWNER_TID = 0,	/* Kernel thread.  */
-    F_OWNER_PID,	/* Process.  */
-    F_OWNER_GID		/* Process group.  */
-  };
-
-/* Structure to use with F_GETOWN_EX and F_SETOWN_EX.  */
-struct f_owner_ex
-  {
-    enum __pid_type type;	/* Owner type of ID.  */
-    __pid_t pid;		/* ID of owner.  */
-  };
-#endif
-
 /* Define some more compatibility macros to be backward compatible with
    BSD systems which did not managed to hide these kernel macros.  */
 #ifdef	__USE_BSD
diff --git a/sysdeps/unix/sysv/linux/s390/bits/fcntl.h b/sysdeps/unix/sysv/linux/s390/bits/fcntl.h
index b50c00c..ff5941d 100644
--- a/sysdeps/unix/sysv/linux/s390/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/s390/bits/fcntl.h
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux.
-   Copyright (C) 2000,2001,2002,2004,2006,2007,2009 Free Software Foundation, Inc.
+   Copyright (C) 2000,2001,2002,2004,2006,2007 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -181,23 +181,6 @@ struct flock64
   };
 #endif
 
-#ifdef __USE_GNU
-/* Owner types.  */
-enum __pid_type
-  {
-    F_OWNER_TID = 0,	/* Kernel thread.  */
-    F_OWNER_PID,	/* Process.  */
-    F_OWNER_GID		/* Process group.  */
-  };
-
-/* Structure to use with F_GETOWN_EX and F_SETOWN_EX.  */
-struct f_owner_ex
-  {
-    enum __pid_type type;	/* Owner type of ID.  */
-    __pid_t pid;		/* ID of owner.  */
-  };
-#endif
-
 /* Define some more compatibility macros to be backward compatible with
    BSD systems which did not managed to hide these kernel macros.  */
 #ifdef	__USE_BSD
diff --git a/sysdeps/unix/sysv/linux/sh/bits/fcntl.h b/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
index d1718a1..35ef665 100644
--- a/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux.
-   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2004, 2006, 2007, 2009
+   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2004, 2006, 2007
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -166,23 +166,6 @@ struct flock64
   };
 #endif
 
-#ifdef __USE_GNU
-/* Owner types.  */
-enum __pid_type
-  {
-    F_OWNER_TID = 0,	/* Kernel thread.  */
-    F_OWNER_PID,	/* Process.  */
-    F_OWNER_GID		/* Process group.  */
-  };
-
-/* Structure to use with F_GETOWN_EX and F_SETOWN_EX.  */
-struct f_owner_ex
-  {
-    enum __pid_type type;	/* Owner type of ID.  */
-    __pid_t pid;		/* ID of owner.  */
-  };
-#endif
-
 /* Define some more compatibility macros to be backward compatible with
    BSD systems which did not managed to hide these kernel macros.  */
 #ifdef	__USE_BSD
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
index 648bea8..d59744a 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux/SPARC.
-   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2003, 2004, 2006, 2007, 2009
+   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2003, 2004, 2006, 2007
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -185,23 +185,6 @@ struct flock64
   };
 #endif
 
-#ifdef __USE_GNU
-/* Owner types.  */
-enum __pid_type
-  {
-    F_OWNER_TID = 0,	/* Kernel thread.  */
-    F_OWNER_PID,	/* Process.  */
-    F_OWNER_GID		/* Process group.  */
-  };
-
-/* Structure to use with F_GETOWN_EX and F_SETOWN_EX.  */
-struct f_owner_ex
-  {
-    enum __pid_type type;	/* Owner type of ID.  */
-    __pid_t pid;		/* ID of owner.  */
-  };
-#endif
-
 /* Define some more compatibility macros to be backward compatible with
    BSD systems which did not managed to hide these kernel macros.  */
 #ifdef	__USE_BSD
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h b/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h
index e9806ee..bc0f4d6 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux/x86-64.
-   Copyright (C) 2001,2002,2004,2006,2007,2009 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002, 2004, 2006, 2007 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -180,23 +180,6 @@ struct flock64
   };
 #endif
 
-#ifdef __USE_GNU
-/* Owner types.  */
-enum __pid_type
-  {
-    F_OWNER_TID = 0,	/* Kernel thread.  */
-    F_OWNER_PID,	/* Process.  */
-    F_OWNER_GID		/* Process group.  */
-  };
-
-/* Structure to use with F_GETOWN_EX and F_SETOWN_EX.  */
-struct f_owner_ex
-  {
-    enum __pid_type type;	/* Owner type of ID.  */
-    __pid_t pid;		/* ID of owner.  */
-  };
-#endif
-
 /* Define some more compatibility macros to be backward compatible with
    BSD systems which did not managed to hide these kernel macros.  */
 #ifdef	__USE_BSD

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=017dd87448e913383a8be5773569f218e8c661c5

commit 017dd87448e913383a8be5773569f218e8c661c5
Merge: f8e81ce 3a83202
Author: Andreas Schwab <schwab@redhat.com>
Date:   Fri Oct 30 16:11:14 2009 +0100

    Merge remote branch 'origin/master' into fedora/master

diff --cc sysdeps/unix/sysv/linux/futimesat.c
index 5f3a3f5,bb83e74..8292533
--- a/sysdeps/unix/sysv/linux/futimesat.c
+++ b/sysdeps/unix/sysv/linux/futimesat.c
@@@ -58,9 -58,30 +58,15 @@@ futimesat (fd, file, tvp
  #ifndef __ASSUME_ATFCTS
    char *buf = NULL;
  
 -  if (file == NULL)
 -    {
 -      static const char procfd[] = "/proc/self/fd/%d";
 -      /* Buffer for the path name we are going to use.  It consists of
 -	 - the string /proc/self/fd/
 -	 - the file descriptor number.
 -	 The final NUL is included in the sizeof.   A bit of overhead
 -	 due to the format elements compensates for possible negative
 -	 numbers.  */
 -      size_t buflen = sizeof (procfd) + sizeof (int) * 3;
 -      buf = alloca (buflen);
 -
 -      __snprintf (buf, buflen, procfd, fd);
 -      file = buf;
 -    }
 -  else if (fd != AT_FDCWD && file[0] != '/')
 +  if (fd != AT_FDCWD && file[0] != '/')
      {
        size_t filelen = strlen (file);
+       if (__builtin_expect (filelen == 0, 0))
+ 	{
+ 	  __set_errno (ENOENT);
+ 	  return -1;
+ 	}
+ 
        static const char procfd[] = "/proc/self/fd/%d/%s";
        /* Buffer for the path name we are going to use.  It consists of
  	 - the string /proc/self/fd/

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                      |  238 ++++++++++++++++++++
 Makefile                                       |   63 ++----
 Makerules                                      |    3 +-
 NEWS                                           |   11 +-
 elf/dl-sym.c                                   |    5 +
 elf/elf.h                                      |   23 ++-
 elf/ifuncdep2.c                                |   34 +---
 elf/ifuncmain1.c                               |    2 -
 elf/ifuncmain1vis.c                            |    2 -
 elf/ifuncmain2.c                               |    2 -
 elf/ifuncmain5.c                               |    2 -
 elf/ifuncmain6pie.c                            |    3 +-
 elf/ifuncmain7.c                               |    3 +-
 elf/ifuncmod1.c                                |   41 +---
 elf/ifuncmod3.c                                |    1 -
 elf/ifuncmod5.c                                |   33 +---
 fedora/glibc.spec.in                           |   21 ++-
 include/math.h                                 |    3 +
 include/stdio.h                                |    3 +-
 libio/ioputs.c                                 |    5 +-
 libio/oldtmpfile.c                             |    4 +-
 locale/iso-639.def                             |    1 +
 locale/programs/locale-spec.c                  |    2 +
 localedata/ChangeLog                           |   35 +++
 localedata/SUPPORTED                           |    1 +
 localedata/locales/POSIX                       |    4 +
 localedata/locales/ast_ES                      |    1 +
 localedata/locales/crh_UA                      |   37 ++--
 localedata/locales/en_US                       |    2 +
 localedata/locales/es_CO                       |    7 +-
 localedata/locales/it_CH                       |    6 +-
 localedata/locales/it_IT                       |    6 +-
 localedata/locales/ps_AF                       |  282 ++++++++++++++++++++++++
 localedata/locales/shs_CA                      |   56 +++---
 login/utmp_file.c                              |    4 +-
 malloc/malloc.c                                |    4 +-
 malloc/memusage.c                              |    9 +-
 malloc/memusagestat.c                          |   32 ++-
 math/w_coshl.c                                 |    4 +-
 misc/Makefile                                  |    2 +-
 misc/Versions                                  |    3 +
 misc/mkdtemp.c                                 |    4 +-
 misc/mkostemp.c                                |    4 +-
 misc/mkostemp64.c                              |    4 +-
 misc/mkostemps.c                               |   44 ++++
 misc/mkostemps64.c                             |   41 ++++
 misc/mkstemp.c                                 |    4 +-
 misc/mkstemp64.c                               |    4 +-
 misc/mkstemps.c                                |   43 ++++
 misc/mkstemps64.c                              |   40 ++++
 misc/mktemp.c                                  |    4 +-
 nis/nss_nis/nis-grp.c                          |   21 +-
 nptl/ChangeLog                                 |    8 +
 nptl/allocatestack.c                           |  123 +++++++++--
 nptl/nptl-init.c                               |   16 +-
 nscd/aicache.c                                 |    6 +-
 nscd/dbg_log.c                                 |   17 +-
 nscd/grpcache.c                                |    6 +-
 nscd/hstcache.c                                |    2 +-
 nscd/initgrcache.c                             |    6 +-
 nscd/pwdcache.c                                |    6 +-
 nss/nss_files/files-hosts.c                    |    7 +-
 resolv/res_send.c                              |   55 +++---
 rtkaio/ChangeLog                               |    4 +
 rtkaio/tst-aiod.h                              |    1 +
 stdio-common/tempnam.c                         |    4 +-
 stdio-common/tempname.c                        |    5 +-
 stdio-common/tmpfile.c                         |    4 +-
 stdio-common/tmpnam.c                          |    4 +-
 stdio-common/tmpnam_r.c                        |    4 +-
 stdlib/stdlib.h                                |   50 ++++-
 sysdeps/generic/elf/ifunc-sel.h                |   26 +++
 sysdeps/generic/netinet/ip.h                   |   38 +++-
 sysdeps/gnu/getutmp.c                          |   10 +-
 sysdeps/gnu/netinet/udp.h                      |   12 +-
 sysdeps/i386/fpu/s_expm1.S                     |    6 +
 sysdeps/i386/fpu/s_expm1f.S                    |    6 +
 sysdeps/i386/fpu/s_expm1l.S                    |    3 +-
 sysdeps/ieee754/dbl-64/w_exp.c                 |    1 +
 sysdeps/ieee754/flt-32/w_expf.c                |    1 +
 sysdeps/ieee754/ldbl-128/w_expl.c              |    1 +
 sysdeps/ieee754/ldbl-96/w_expl.c               |    1 +
 sysdeps/posix/tempname.c                       |   14 +-
 sysdeps/powerpc/elf/ifunc-sel.h                |   46 ++++
 sysdeps/powerpc/powerpc32/dl-irel.h            |   45 ++++
 sysdeps/powerpc/powerpc32/dl-machine.c         |    6 +-
 sysdeps/powerpc/powerpc32/dl-machine.h         |    8 +-
 sysdeps/powerpc/powerpc64/dl-irel.h            |   58 +++++
 sysdeps/powerpc/powerpc64/dl-machine.h         |   39 ++++-
 sysdeps/pthread/aio_misc.c                     |   26 ++-
 sysdeps/unix/sysv/linux/faccessat.c            |    8 +-
 sysdeps/unix/sysv/linux/fchmodat.c             |    8 +-
 sysdeps/unix/sysv/linux/fchownat.c             |    8 +-
 sysdeps/unix/sysv/linux/futimesat.c            |    8 +-
 sysdeps/unix/sysv/linux/fxstatat.c             |    8 +-
 sysdeps/unix/sysv/linux/fxstatat64.c           |    8 +-
 sysdeps/unix/sysv/linux/getpt.c                |    7 +-
 sysdeps/unix/sysv/linux/i386/fchownat.c        |    8 +-
 sysdeps/unix/sysv/linux/i386/fxstatat.c        |    8 +-
 sysdeps/unix/sysv/linux/ia64/bits/siginfo.h    |    6 +-
 sysdeps/unix/sysv/linux/linkat.c               |    8 +-
 sysdeps/unix/sysv/linux/mkdirat.c              |    8 +-
 sysdeps/unix/sysv/linux/openat.c               |    8 +-
 sysdeps/unix/sysv/linux/powerpc/fchownat.c     |    8 +-
 sysdeps/unix/sysv/linux/readlinkat.c           |    8 +-
 sysdeps/unix/sysv/linux/renameat.c             |   14 +-
 sysdeps/unix/sysv/linux/s390/bits/siginfo.h    |   10 +-
 sysdeps/unix/sysv/linux/symlinkat.c            |    8 +-
 sysdeps/unix/sysv/linux/ttyname.c              |    7 +-
 sysdeps/unix/sysv/linux/unlinkat.c             |    8 +-
 sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c |    8 +-
 sysdeps/unix/sysv/linux/xmknodat.c             |    8 +-
 sysdeps/x86_64/multiarch/Makefile              |    3 +-
 sysdeps/x86_64/multiarch/strchr.S              |  177 +++++++++++++++
 sysdeps/x86_64/multiarch/strend-sse4.S         |   49 ++++
 sysdeps/x86_64/multiarch/strrchr.S             |  278 +++++++++++++++++++++++
 116 files changed, 2186 insertions(+), 389 deletions(-)
 create mode 100644 localedata/locales/ps_AF
 create mode 100644 misc/mkostemps.c
 create mode 100644 misc/mkostemps64.c
 create mode 100644 misc/mkstemps.c
 create mode 100644 misc/mkstemps64.c
 create mode 100644 sysdeps/generic/elf/ifunc-sel.h
 create mode 100644 sysdeps/powerpc/elf/ifunc-sel.h
 create mode 100644 sysdeps/powerpc/powerpc32/dl-irel.h
 create mode 100644 sysdeps/powerpc/powerpc64/dl-irel.h
 create mode 100644 sysdeps/x86_64/multiarch/strchr.S
 create mode 100644 sysdeps/x86_64/multiarch/strend-sse4.S
 create mode 100644 sysdeps/x86_64/multiarch/strrchr.S


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]