mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 03:33:33 +08:00
Fix grantpt basename namespace bug
Commit cf06a4e3
removed test-xfail-POSIX2008/unistd.h/linknamespace, but
left one basename namespace issue in grantpt. However this issue is not
visible with the default configuration buy only when configure is passed
the --enable-pt_chown option.
This commit is contained in:
parent
aad287f35a
commit
3b51c390f7
@ -1,3 +1,8 @@
|
||||
2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
|
||||
|
||||
* sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
|
||||
basename.
|
||||
|
||||
2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
|
||||
|
||||
* benchtests/Makefile (bench-math): Move ffs and ffsll...
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user