summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2005-12-22 21:33:38 +0000
committerEdin Kadribasic <edink@php.net>2005-12-22 21:33:38 +0000
commita151e632d5c9c04772e57116e3a12519c0115e82 (patch)
treef7e1c626ea7774ec2ed56efc445e8f6c00f57896 /TSRM
parent351568936368681e044a23e5f9d58353e95aab4c (diff)
downloadphp-git-a151e632d5c9c04772e57116e3a12519c0115e82.tar.gz
MFH: Back out a portion of the previous patch which broke win32 file functions
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/tsrm_virtual_cwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c
index cd2c6d2c5d..8955bd8234 100644
--- a/TSRM/tsrm_virtual_cwd.c
+++ b/TSRM/tsrm_virtual_cwd.c
@@ -480,7 +480,7 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
{
int new_path_length;
- new_path_length = GetLongPathName(path, NULL, 0);
+ new_path_length = GetLongPathName(path, NULL, 0) + 1;
if (new_path_length == 0) {
return 1;
}