diff options
-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; -} |