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

r4028 - in glibc-package/trunk/debian: . patches patches/hurd-i386



Author: sthibault
Date: 2009-12-20 21:06:48 +0000 (Sun, 20 Dec 2009)
New Revision: 4028

Added:
   glibc-package/trunk/debian/patches/hurd-i386/submitted-getcwd.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * patches/hurd-i386/submitted-getcwd.diff: Add patch to fix spurious port
    deallocation.


Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2009-12-20 11:30:20 UTC (rev 4027)
+++ glibc-package/trunk/debian/changelog	2009-12-20 21:06:48 UTC (rev 4028)
@@ -16,6 +16,8 @@
   * testsuite-checking/expected-results-i486-linux-gnu-libc: Add hurd-i386
     testsuite results.
   * sysdeps/hurd.mk: Enable testsuite.
+  * patches/hurd-i386/submitted-getcwd.diff: Add patch to fix spurious port
+    deallocation.
 
  -- Aurelien Jarno <aurel32@debian.org>  Wed, 16 Dec 2009 18:15:41 +0100
 

Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-getcwd.diff
===================================================================
--- glibc-package/trunk/debian/patches/hurd-i386/submitted-getcwd.diff	                        (rev 0)
+++ glibc-package/trunk/debian/patches/hurd-i386/submitted-getcwd.diff	2009-12-20 21:06:48 UTC (rev 4028)
@@ -0,0 +1,19 @@
+The patch below fixes a spurious call to mach_port_deallocate: rootdevid
+is already deallocated as soon as it is fetched through __io_identity.
+
+---
+ getcwd.c |    1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/sysdeps/mach/hurd/getcwd.c b/sysdeps/mach/hurd/getcwd.c
+index 7e07e6b..f833f3d 100644
+--- a/sysdeps/mach/hurd/getcwd.c
++++ b/sysdeps/mach/hurd/getcwd.c
+@@ -60,7 +60,6 @@ _hurd_canonicalize_directory_name_internal (file_t thisdir,
+       __mach_port_deallocate (__mach_task_self (), thisid);
+       __mach_port_deallocate (__mach_task_self (), thisdevid);
+       __mach_port_deallocate (__mach_task_self (), rootid);
+-      __mach_port_deallocate (__mach_task_self (), rootdevid);
+ 
+       if (dirbuf != NULL)
+ 	__vm_deallocate (__mach_task_self (),

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2009-12-20 11:30:20 UTC (rev 4027)
+++ glibc-package/trunk/debian/patches/series	2009-12-20 21:06:48 UTC (rev 4028)
@@ -109,6 +109,7 @@
 hurd-i386/submitted-SOL_IP.patch
 hurd-i386/local-bigmem.diff
 hurd-i386/local-disable-ioctls.diff
+hurd-i386/submitted-getcwd.diff
 
 ia64/submitted-sysconf.diff
 ia64/submitted-libm.diff


Reply to: