summaryrefslogtreecommitdiff
path: root/file_io
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-04-24 03:31:46 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-04-24 03:31:46 +0000
commit6c2c4896652b761afb55dbbeeee1c405d967a2d2 (patch)
tree06428822b8554e7b6bc1211c6b8b14cf3cfc650f /file_io
parent595e06562feadf33e464bdfd2af0a578e3485c52 (diff)
downloadlibapr-6c2c4896652b761afb55dbbeeee1c405d967a2d2.tar.gz
That's an LSTAT, not a stat. Think about it, if you are trying to figure
the proper case (or alias) you are asking for the info about the name you provided (even if it's a link), never the info about the -target- (which fails anyway in my fix-in-progress for Win2k Junctions). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63298 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io')
-rw-r--r--file_io/win32/filepath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file_io/win32/filepath.c b/file_io/win32/filepath.c
index 6dac7cc6d..0edfd25b1 100644
--- a/file_io/win32/filepath.c
+++ b/file_io/win32/filepath.c
@@ -858,7 +858,7 @@ APR_DECLARE(apr_status_t) apr_filepath_merge(char **newpath,
}
/* Null term for stat! */
path[keptlen + seglen] = '\0';
- if ((rv = apr_stat(&finfo, path, APR_FINFO_TYPE | APR_FINFO_NAME, p))
+ if ((rv = apr_lstat(&finfo, path, APR_FINFO_TYPE | APR_FINFO_NAME, p))
== APR_SUCCESS) {
size_t namelen = strlen(finfo.name);