--- a/imgtools/romtools/rofsbuild/r_driveutl.cpp Thu Aug 12 09:00:16 2010 +0100
+++ b/imgtools/romtools/rofsbuild/r_driveutl.cpp Tue Aug 17 15:31:16 2010 +0800
@@ -45,24 +45,6 @@
// Validate the user entered driveoby file name.
char* logFile = (char*)aDriveObeyFileName;
-#ifdef __LINUX__
- logFile = strrchr(logFile,'/');
-#else
- while(*logFile)
- {
- if(*logFile == '/')
- *logFile = '\\';
- logFile++;
- }
- logFile = (char*)aDriveObeyFileName;
- logFile = strrchr(logFile,'\\');
-#endif
-
- if(logFile)
- ++logFile;
- else
- logFile = (char*)aDriveObeyFileName;
-
TInt len = strlen(logFile);
if(!len)
return KErrGeneral;