2008-11-18 Jeff Johnston <jjohnstn@redhat.com>
* libc/unix/basename.c: Add !_NO_BASENAME flag check so code can be ignored if desired by a platform. * libc/unix/dirname.c: Ditto except replace BASENAME with file name. * libc/unix/getcwd.c: Ditto. * libc/unix/getlogin.c: Ditto. * libc/unix/getpass.c: Ditto. * libc/unix/getpwent.c: Ditto. * libc/unix/getut.c: Ditto. * libc/unix/pread.c: Ditto. * libc/unix/pwrite.c: Ditto. * libc/unix/sigset.c: Ditto.
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
#ifndef _NO_DIRNAME
|
||||
|
||||
/* Copyright 2005 Shaun Jackman
|
||||
* Permission to use, copy, modify, and distribute this software
|
||||
* is freely granted, provided that this notice is preserved.
|
||||
@ -26,3 +28,5 @@ _DEFUN (dirname, (path),
|
||||
p == path ? "/" :
|
||||
(*p = '\0', path);
|
||||
}
|
||||
|
||||
#endif /* !_NO_DIRNAME */
|
||||
|
Reference in New Issue
Block a user