Author: aurel32
Date: 2009-11-08 20:28:57 +0000 (Sun, 08 Nov 2009)
New Revision: 3941

Added:
   glibc-package/trunk/debian/patches/all/local-ldd.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * patches/all/local-ldd.diff: new patch to handle the case where ld.so is
    not executable (wrong architecture).  Closes: #502189.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog        2009-11-08 20:06:04 UTC (rev 
3940)
+++ glibc-package/trunk/debian/changelog        2009-11-08 20:28:57 UTC (rev 
3941)
@@ -1,3 +1,10 @@
+eglibc (2.10.1-7) UNRELEASED; urgency=low
+
+  * patches/all/local-ldd.diff: new patch to handle the case where ld.so is
+    not executable (wrong architecture).  Closes: #502189.
+
+ -- Aurelien Jarno <aure...@debian.org>  Sun, 08 Nov 2009 21:28:35 +0100
+
 eglibc (2.10.1-6) unstable; urgency=high
 
   [ Aurelien Jarno ]

Added: glibc-package/trunk/debian/patches/all/local-ldd.diff
===================================================================
--- glibc-package/trunk/debian/patches/all/local-ldd.diff                       
        (rev 0)
+++ glibc-package/trunk/debian/patches/all/local-ldd.diff       2009-11-08 
20:28:57 UTC (rev 3941)
@@ -0,0 +1,17 @@
+2009-11-08  Aurelien Jarno  <aurel...@aurel32.net>
+
+       * elf/ldd.bash.in: also handle error code 126 (ld.so non 
+       executable).
+
+--- a/elf/ldd.bash.in
++++ b/elf/ldd.bash.in
+@@ -179,7 +179,7 @@ warning: you do not have execution permission for" 
"\`$file'" >&2
+       fi
+       [ $rc = 0 ] || result=1
+       ;;
+-    1)
++    1|126)
+       # This can be a non-ELF binary or no binary at all.
+       nonelf "$file" || {
+       echo $" not a dynamic executable"
+

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series   2009-11-08 20:06:04 UTC (rev 
3940)
+++ glibc-package/trunk/debian/patches/series   2009-11-08 20:28:57 UTC (rev 
3941)
@@ -212,3 +212,4 @@
 any/cvs-getutmpx-compat.diff
 any/cvs-preadv-pwritev.diff
 any/submitted-sched_h.2.diff
+all/local-ldd.diff


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to