summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2000-08-09 14:49:14 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2000-08-09 14:49:14 +0000
commit479cab718b28bdf29d8dc8057b0187226d447bc9 (patch)
treea08fa4cf908523adda377c5cfb9299b99ddaf59a
parentea5b17654bd97e8bb9141b3d5daf50db8146ed78 (diff)
downloadlibapr-479cab718b28bdf29d8dc8057b0187226d447bc9.tar.gz
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. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60490 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--file_io/win32/filestat.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/file_io/win32/filestat.c b/file_io/win32/filestat.c
index 2477cf94d..3684ed7d6 100644
--- a/file_io/win32/filestat.c
+++ b/file_io/win32/filestat.c
@@ -282,3 +282,10 @@ apr_status_t apr_stat(apr_finfo_t *finfo, const char *fname, apr_pool_t *cont)
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);
+}