chiark / gitweb /
eglibc (2.11.3-4+deb6u3) squeeze-lts; urgency=medium
[eglibc.git] / debian / patches / hurd-i386 / cvs-getcwd.diff
1 The patch below fixes a spurious call to mach_port_deallocate: rootdevid
2 is already deallocated as soon as it is fetched through __io_identity.
3
4 ---
5  sysdeps/mach/hurd/getcwd.c |    1 -
6  1 file changed, 1 deletion(-)
7
8 --- a/sysdeps/mach/hurd/getcwd.c
9 +++ b/sysdeps/mach/hurd/getcwd.c
10 @@ -60,7 +60,6 @@
11        __mach_port_deallocate (__mach_task_self (), thisid);
12        __mach_port_deallocate (__mach_task_self (), thisdevid);
13        __mach_port_deallocate (__mach_task_self (), rootid);
14 -      __mach_port_deallocate (__mach_task_self (), rootdevid);
15  
16        if (dirbuf != NULL)
17         __vm_deallocate (__mach_task_self (),