]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* readlink-stub.c, lstat-stub.c: Remove now-unused files.
authorJim Meyering <jim@meyering.net>
Tue, 14 Nov 2006 08:38:32 +0000 (09:38 +0100)
committerJim Meyering <jim@meyering.net>
Tue, 14 Nov 2006 08:38:32 +0000 (09:38 +0100)
lib/ChangeLog
lib/lstat-stub.c [deleted file]
lib/readlink-stub.c [deleted file]

index 17ad7ae53cdddfb6a336e00dcb81a6173ac49002..25712d2f8a0338daca918140d5d9f205d80a8cfd 100644 (file)
@@ -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 (file)
index 07ad91f..0000000
+++ /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 (file)
index 67a7769..0000000
+++ /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;
-}