Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
Index Data Aps
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
Index Data Aps
- if (follow_links)
- return stat(file_name, buf);
- return lstat(file_name, buf);
+#ifndef WIN32
+ if (!follow_links)
+ return lstat(file_name, buf);
+#endif
+ return stat(file_name, buf);
if (!(dir = opendir(full_rep)))
{
logf (LOG_WARN|LOG_ERRNO, "opendir %s", rep);
if (!(dir = opendir(full_rep)))
{
logf (LOG_WARN|LOG_ERRNO, "opendir %s", rep);