You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@locus.apache.org on 2000/08/09 16:49:17 UTC
cvs commit: apache-2.0/src/lib/apr/file_io/win32 filestat.c
wrowe 00/08/09 07:49:15
Modified: src/lib/apr/file_io/win32 filestat.c
Log:
PLEASE REVIEW: Add an apr_lstat placeholder for Win32. Shouldn't
do much right now, since we haven't written the hardlink resolver,
but this will do. sysinternals.com has some good technotes and
samples on this subject.
Revision Changes Path
1.25 +7 -0 apache-2.0/src/lib/apr/file_io/win32/filestat.c
Index: filestat.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/win32/filestat.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- filestat.c 2000/08/06 06:07:05 1.24
+++ filestat.c 2000/08/09 14:49:14 1.25
@@ -282,3 +282,10 @@
return APR_SUCCESS;
}
+apr_status_t apr_lstat(apr_finfo_t *finfo, const char *fname, apr_pool_t *cont)
+{
+ /* TODO: determine if apr_lstat is a true NT symlink what the stats of the
+ * link are, rather than the target.
+ */
+ return apr_stat(finfo, fname, cont);
+}