r3351 - glibc-package/branches/eglibc-2.9/debian/patches/any
Author: aurel32
Date: 2009-03-01 15:05:06 +0000 (Sun, 01 Mar 2009)
New Revision: 3351
Modified:
glibc-package/branches/eglibc-2.9/debian/patches/any/submitted-nss-nsswitch.diff
Log:
Update any/submitted-nss-nsswitch.diff
Modified: glibc-package/branches/eglibc-2.9/debian/patches/any/submitted-nss-nsswitch.diff
===================================================================
--- glibc-package/branches/eglibc-2.9/debian/patches/any/submitted-nss-nsswitch.diff 2009-03-01 14:49:18 UTC (rev 3350)
+++ glibc-package/branches/eglibc-2.9/debian/patches/any/submitted-nss-nsswitch.diff 2009-03-01 15:05:06 UTC (rev 3351)
@@ -1,7 +1,6 @@
2009-03-01 Aurelien Jarno <aurelien@aurel32.net>
- * nss/nsswitch.c (lock_nsswitch, unlock_nsswitch): use braces
- instead of brackets.
+ * nss/nsswitch.c (lock_nsswitch, unlock_nsswitch): remove brackets.
--- a/nss/nsswitch.c (revision 8009)
+++ b/nss/nsswitch.c (working copy)
@@ -11,8 +10,8 @@
-#define lock_nsswitch (__libc_lock_lock (lock))
-#define unlock_nsswitch (__libc_lock_unlock (lock))
-+#define lock_nsswitch {__libc_lock_lock (lock)}
-+#define unlock_nsswitch {__libc_lock_unlock (lock)}
++#define lock_nsswitch __libc_lock_lock (lock)
++#define unlock_nsswitch __libc_lock_unlock (lock)
#if !defined DO_STATIC_NSS || defined SHARED
/* String with revision number of the shared object files. */
Reply to: