diff options
author | Andrew Niefer | 2007-08-24 19:56:22 +0000 |
---|---|---|
committer | Andrew Niefer | 2007-08-24 19:56:22 +0000 |
commit | 41625ba47ff8506480876427d50fe46cec54397f (patch) | |
tree | a8ebe04d292ae7edfca138015b259012f0d3889d /bundles/org.eclipse.equinox.executable/library/eclipseUtil.c | |
parent | 362e0e5bbdefbbcdf485a6b977d9e6e124746c58 (diff) | |
download | rt.equinox.framework-41625ba47ff8506480876427d50fe46cec54397f.tar.gz rt.equinox.framework-41625ba47ff8506480876427d50fe46cec54397f.tar.xz rt.equinox.framework-41625ba47ff8506480876427d50fe46cec54397f.zip |
bug 200596 - '\' vs '/' on windows
Diffstat (limited to 'bundles/org.eclipse.equinox.executable/library/eclipseUtil.c')
-rw-r--r-- | bundles/org.eclipse.equinox.executable/library/eclipseUtil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/eclipseUtil.c b/bundles/org.eclipse.equinox.executable/library/eclipseUtil.c index 91f8f3f7b..47790c481 100644 --- a/bundles/org.eclipse.equinox.executable/library/eclipseUtil.c +++ b/bundles/org.eclipse.equinox.executable/library/eclipseUtil.c @@ -38,13 +38,13 @@ int isJ9VM( _TCHAR* vm ) if (vm == NULL) return 0; - ch = _tcsrchr( vm, dirSeparator ); + ch = lastDirSeparator( vm ); if (isVMLibrary(vm)) { /* a library, call it j9 if the parent dir is j9vm */ if(ch == NULL) return 0; ch[0] = 0; - ch2 = _tcsrchr(vm, dirSeparator); + ch2 = lastDirSeparator(vm); if(ch2 != NULL) { res = (_tcsicmp(ch2 + 1, _T_ECLIPSE("j9vm")) == 0); } @@ -71,7 +71,7 @@ int checkProvidedVMType( _TCHAR* vm ) return VM_DIRECTORY; } - ch = _tcsrchr( vm, '.' ); + ch = _tcsrchr( vm, _T_ECLIPSE('.') ); if(ch == NULL) return VM_OTHER; |