mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Make stub fchdir.c define __fchdir.
This commit is contained in:
parent
f2da779309
commit
a6a242fe7c
@ -1,3 +1,8 @@
|
||||
2013-04-29 Roland McGrath <roland@hack.frob.com>
|
||||
|
||||
* io/fchdir.c (__fchdir): Renamed from fchdir.
|
||||
(fchdir): Define as weak alias.
|
||||
|
||||
2013-04-29 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* math/libm-test.inc (ERRNO_UNCHANGED): New macro.
|
||||
|
@ -21,11 +21,11 @@
|
||||
|
||||
/* Change the current directory to FD. */
|
||||
int
|
||||
fchdir (fd)
|
||||
int fd;
|
||||
__fchdir (int fd)
|
||||
{
|
||||
__set_errno (ENOSYS);
|
||||
return -1;
|
||||
}
|
||||
weak_alias (__fchdir, fchdir)
|
||||
|
||||
stub_warning (fchdir)
|
||||
|
Loading…
Reference in New Issue
Block a user