[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-commons-dev
Subject: svn commit: r789608 -
From: mturk () apache ! org
Date: 2009-06-30 8:23:34
Message-ID: 20090630082334.44DFB23888D3 () eris ! apache ! org
[Download RAW message or body]
Author: mturk
Date: Tue Jun 30 08:23:33 2009
New Revision: 789608
URL: http://svn.apache.org/viewvc?rev=789608&view=rev
Log:
No need to ckeck for foward slashes. They are already replaced by backward
Modified:
commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c
Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c?rev=789608&r1=789607&r2=789608&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c Tue Jun 30 08:23:33 \
2009 @@ -152,8 +152,7 @@
if (ACR_FileTypeGet(NULL, J2W(target)) == ACR_FT_DIR) {
dwFlags = SYMBOLIC_LINK_FLAG_DIRECTORORY;
}
- else if (tlen > 0 && (J2W(target)[tlen - 1 ] == L'\\' ||
- J2W(target)[tlen - 1 ] == L'/')) {
+ else if (tlen > 0 && J2W(target)[tlen - 1 ] == L'\\') {
dwFlags = SYMBOLIC_LINK_FLAG_DIRECTORORY;
}
if (ACR_HAVE_LATE_DLL_FUNC(CreateSymbolicLinkW)) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic