-/* written by Jim Meyering */
-
-#include <config.h>
-
-/* Disable the definition of lstat to rpl_lstat (from config.h) in this
- file. Otherwise, we'd get conflicting prototypes for rpl_lstat on
- most systems. */
-#undef lstat
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <errno.h>
-#ifndef errno
-extern int errno;
-#endif
-
-/* FIXME: describe. */
-
-int
-rpl_lstat (file, sbuf)
- const char *file;
- struct stat *sbuf;
-{
- if (file && *file == 0)
- {
- errno = EINVAL;
- return -1;
- }
-
- return lstat (file, sbuf);
-}