From 1b00a69ff24d7eb727bfe8edf9279772528526bf Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 14 Nov 2006 09:38:32 +0100 Subject: [PATCH] * readlink-stub.c, lstat-stub.c: Remove now-unused files. --- lib/ChangeLog | 4 ++++ lib/lstat-stub.c | 13 ------------- lib/readlink-stub.c | 15 --------------- 3 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 lib/lstat-stub.c delete mode 100644 lib/readlink-stub.c diff --git a/lib/ChangeLog b/lib/ChangeLog index 17ad7ae53c..25712d2f8a 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2006-11-14 Jim Meyering + + * readlink-stub.c, lstat-stub.c: Remove now-unused files. + 2006-10-14 Paul Eggert 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 07ad91f968..0000000000 --- a/lib/lstat-stub.c +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include - -/* 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 67a7769934..0000000000 --- a/lib/readlink-stub.c +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include - -/* 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; -} -- 2.47.3