diff options
author | Jim Meyering <jim@meyering.net> | 2006-11-14 09:38:32 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-11-14 09:38:32 +0100 |
commit | 1b00a69ff24d7eb727bfe8edf9279772528526bf (patch) | |
tree | 97a51d4fc6dabf89df9b788f729e82cf1ab53131 /lib | |
parent | 7932d2e2d47f5a0543b7ee46a4a6ac76037219c0 (diff) | |
download | coreutils-1b00a69ff24d7eb727bfe8edf9279772528526bf.tar.xz |
* readlink-stub.c, lstat-stub.c: Remove now-unused files.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ChangeLog | 4 | ||||
-rw-r--r-- | lib/lstat-stub.c | 13 | ||||
-rw-r--r-- | lib/readlink-stub.c | 15 |
3 files changed, 4 insertions, 28 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index 17ad7ae53..25712d2f8 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2006-11-14 Jim Meyering <jim@meyering.net> + + * readlink-stub.c, lstat-stub.c: Remove now-unused files. + 2006-10-14 Paul Eggert <eggert@cs.ucla.edu> Port sha512sum to hosts where uintmax_t is only 32 bits, e.g., diff --git a/lib/lstat-stub.c b/lib/lstat-stub.c deleted file mode 100644 index 07ad91f96..000000000 --- a/lib/lstat-stub.c +++ /dev/null @@ -1,13 +0,0 @@ -#include <config.h> -#include <sys/stat.h> - -/* A trivial substitute for `lstat'. - - DJGPP 2.03 and earlier don't have `lstat' and don't support - symlinks. */ - -int -lstat (const char *fname, struct stat *st_buf) -{ - return stat (fname, st_buf); -} diff --git a/lib/readlink-stub.c b/lib/readlink-stub.c deleted file mode 100644 index 67a776993..000000000 --- a/lib/readlink-stub.c +++ /dev/null @@ -1,15 +0,0 @@ -#include <config.h> -#include <stddef.h> -#include <errno.h> - -/* A trivial substitute for `readlink'. - - DJGPP 2.03 and earlier don't have `readlink' and don't support - symlinks. */ - -int -readlink (const char *file, char *buffer, size_t size) -{ - errno = EINVAL; - return -1; -} |