mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Make stub lxstat64 call xstat64, like stub lxstat calls xstat.
This commit is contained in:
@ -1,5 +1,7 @@
|
|||||||
2013-08-26 Roland McGrath <roland@hack.frob.com>
|
2013-08-26 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
|
||||||
|
|
||||||
* nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
|
* nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
|
||||||
instead of explicitly declaring xdecrypt.
|
instead of explicitly declaring xdecrypt.
|
||||||
* nis/nss_nis/nis-publickey.c: Likewise.
|
* nis/nss_nis/nis-publickey.c: Likewise.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* Copyright (C) 1991-2013 Free Software Foundation, Inc.
|
/* lxstat64 -- get file metadata, not following symlinks. Stub version.
|
||||||
|
Copyright (C) 1991-2013 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -24,14 +25,6 @@
|
|||||||
int
|
int
|
||||||
__lxstat64 (int vers, const char *file, struct stat64 *buf)
|
__lxstat64 (int vers, const char *file, struct stat64 *buf)
|
||||||
{
|
{
|
||||||
if (vers != _STAT_VER || file == NULL || buf == NULL)
|
return __xstat64 (vers, file, buf);
|
||||||
{
|
|
||||||
__set_errno (EINVAL);
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
__set_errno (ENOSYS);
|
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
hidden_def (__lxstat64)
|
hidden_def (__lxstat64)
|
||||||
stub_warning (__lxstat64)
|
|
||||||
|
Reference in New Issue
Block a user