[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r4246 - in glibc-package/trunk/debian: . patches/kfreebsd



Author: ps-guest
Date: 2010-04-16 16:02:52 +0000 (Fri, 16 Apr 2010)
New Revision: 4246

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
Log:
kfreebsd/local-sysdeps.diff: update to revision 3032 (from glibc-bsd).



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2010-04-16 11:57:46 UTC (rev 4245)
+++ glibc-package/trunk/debian/changelog	2010-04-16 16:02:52 UTC (rev 4246)
@@ -32,7 +32,7 @@
   * Fix lang_ab field in es_CR locales.  Closes: #571755.
 
   [ Petr Salinger]
-  * kfreebsd/local-sysdeps.diff: update to revision 3031 (from glibc-bsd).
+  * kfreebsd/local-sysdeps.diff: update to revision 3032 (from glibc-bsd).
   * any/local-linuxthreads-stacksize.diff: New patch to restrict 
     max stack size in threads
 

Modified: glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
===================================================================
--- glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff	2010-04-16 11:57:46 UTC (rev 4245)
+++ glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff	2010-04-16 16:02:52 UTC (rev 4246)
@@ -8262,7 +8262,7 @@
 +#include_next <dl-machine.h>
 --- /dev/null
 +++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/dl-origin.c
-@@ -0,0 +1,80 @@
+@@ -0,0 +1,79 @@
 +/* Find path of executable.
 +   Copyright (C) 1998, 1999, 2000, 2002, 2004 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -8306,10 +8306,9 @@
 +
 +  len = readlink("/proc/self/exe", linkval, sizeof (linkval));
 +
-+  if (len > 0 && linkval[0] != '[')
++  if (len > 0 && linkval[0] == '/')
 +    {
 +      /* We can use this value.  */
-+      assert (linkval[0] == '/');
 +      while (len > 1 && linkval[len - 1] != '/')
 +	--len;
 +      result = (char *) malloc (len + 1);


Reply to: