summaryrefslogtreecommitdiff
path: root/lib/lstat-stub.c
blob: 07ad91f9683cef34141de04d4b8a7d8ae29b358f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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);
}