diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2013-09-05 22:41:05 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2013-09-05 22:41:05 +0000 |
commit | 2c1d357a5fe5bdc4c9521a9d1af05ba1b5a4c238 (patch) | |
tree | 12e23fa555f1432064e8fdeeb063dce798764f50 /libc/io/lxstat64.c | |
parent | 0d983ceeeee6bd20ae296d224ca2fd4bf27a47af (diff) | |
download | eglibc2-2c1d357a5fe5bdc4c9521a9d1af05ba1b5a4c238.tar.gz |
Merge changes between r23795 and r23927 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@23928 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/io/lxstat64.c')
-rw-r--r-- | libc/io/lxstat64.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/libc/io/lxstat64.c b/libc/io/lxstat64.c index f64b84b47..2d5049b00 100644 --- a/libc/io/lxstat64.c +++ b/libc/io/lxstat64.c @@ -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. The GNU C Library is free software; you can redistribute it and/or @@ -24,14 +25,6 @@ int __lxstat64 (int vers, const char *file, struct stat64 *buf) { - if (vers != _STAT_VER || file == NULL || buf == NULL) - { - __set_errno (EINVAL); - return -1; - } - - __set_errno (ENOSYS); - return -1; + return __xstat64 (vers, file, buf); } hidden_def (__lxstat64) -stub_warning (__lxstat64) |