Ralf Wildenhues <[EMAIL PROTECTED]> wrote: ... > coreutils now still needs one more fix, after Jim's: > some of its own lib files are still not dependency-tracked: > | ls: .deps/fdopendir-glibc.Po: No such file or directory > | ls: .deps/lstat-stub.Po: No such file or directory > | ls: .deps/readlink-stub.Po: No such file or directory > | ls: .deps/stdopen.Po: No such file or directory
Thanks for checking. > Or is it that these files are never needed? Those are all currently unused. I've just removed the two -stub files. The other two may end up being useful, so I'm leaving them. * readlink-stub.c, lstat-stub.c: Remove now-unused files. diff --git a/lib/lstat-stub.c b/lib/lstat-stub.c deleted file mode 100644 index 07ad91f..0000000 --- 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 67a7769..0000000 --- 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; -}