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

r6789 - in glibc-package/branches/glibc-2.22/debian: . patches patches/any



Author: aurel32
Date: 2015-12-09 19:31:27 +0000 (Wed, 09 Dec 2015)
New Revision: 6789

Added:
   glibc-package/branches/glibc-2.22/debian/patches/any/cvs-grantpt-namespace.diff
Modified:
   glibc-package/branches/glibc-2.22/debian/changelog
   glibc-package/branches/glibc-2.22/debian/patches/series
Log:
debian/patcheS/any/cvs-grantpt-namespace.diff: new patch to fix the
grantpt link namespace when built without pt_chown.

Modified: glibc-package/branches/glibc-2.22/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.22/debian/changelog	2015-12-09 19:23:14 UTC (rev 6788)
+++ glibc-package/branches/glibc-2.22/debian/changelog	2015-12-09 19:31:27 UTC (rev 6789)
@@ -47,6 +47,8 @@
     with a MIPS R10K CPU since the ISA has been switched to MIPS R2.
   * debian/patches/mips/cvs-testsuite-o32-fp.diff: new patch to fix testsuite
     build on pre-R2 ISA.
+  * debian/patcheS/any/cvs-grantpt-namespace.diff: new patch to fix the
+    grantpt link namespace when built without pt_chown.
 
  -- Aurelien Jarno <aurel32@debian.org>  Wed, 02 Dec 2015 01:10:00 +0100
 

Added: glibc-package/branches/glibc-2.22/debian/patches/any/cvs-grantpt-namespace.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/any/cvs-grantpt-namespace.diff	                        (rev 0)
+++ glibc-package/branches/glibc-2.22/debian/patches/any/cvs-grantpt-namespace.diff	2015-12-09 19:31:27 UTC (rev 6789)
@@ -0,0 +1,19 @@
+2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
+	basename.
+
+--- a/sysdeps/unix/grantpt.c
++++ b/sysdeps/unix/grantpt.c
+@@ -195,7 +195,7 @@ grantpt (int fd)
+       CLOSE_ALL_FDS ();
+ # endif
+ 
+-      execle (_PATH_PT_CHOWN, basename (_PATH_PT_CHOWN), NULL, NULL);
++      execle (_PATH_PT_CHOWN, __basename (_PATH_PT_CHOWN), NULL, NULL);
+       _exit (FAIL_EXEC);
+     }
+   else
+-- 
+2.1.4
+

Modified: glibc-package/branches/glibc-2.22/debian/patches/series
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/series	2015-12-09 19:23:14 UTC (rev 6788)
+++ glibc-package/branches/glibc-2.22/debian/patches/series	2015-12-09 19:31:27 UTC (rev 6789)
@@ -237,3 +237,4 @@
 any/submitted-argp-attribute.diff
 any/local-static-dlopen-search-path.diff
 any/local-math-logb.diff
+any/cvs-grantpt-namespace.diff


Reply to: