--- a/imgtools/romtools/rofsbuild/r_obey.cpp Wed Nov 17 13:47:08 2010 +0800
+++ b/imgtools/romtools/rofsbuild/r_obey.cpp Mon Nov 29 15:29:25 2010 +0800
@@ -1484,33 +1484,9 @@
return EFalse;
}
- if (aKeyword!=EKeywordHideV2) {
-
- // check the PC file exists
- char* nname = NormaliseFileName(iReader.Word(1));
- if(gIsOBYUTF8 && !UniConv::IsPureASCIITextStream(nname))
- {
- char* tempnname = strdup(nname);
- unsigned int namelen = 0;
- if(UniConv::UTF82DefaultCodePage(tempnname, strlen(tempnname), &nname, &namelen) < 0)
- {
- Print(EError, "Invalid filename encoding: %s\n", tempnname);
- free(tempnname);
- delete[] nname;
- return EFalse;
- }
- free(tempnname);
- }
- ifstream test(nname);
- if (!test) {
- Print(EError,"Cannot open file %s for input.\n",iReader.Word(1));
- iMissingFiles++;
- }
- test.close();
- delete []nname;
+ if (aKeyword==EKeywordHideV2) {
+ epocPathStart=1;
}
- else
- epocPathStart=1;
iNumberOfFiles++;
--- a/imgtools/romtools/rofsbuild/rofsbuild.cpp Wed Nov 17 13:47:08 2010 +0800
+++ b/imgtools/romtools/rofsbuild/rofsbuild.cpp Mon Nov 29 15:29:25 2010 +0800
@@ -49,7 +49,7 @@
static const TInt RofsbuildMajorVersion=2;
static const TInt RofsbuildMinorVersion=16;
-static const TInt RofsbuildPatchVersion=2;
+static const TInt RofsbuildPatchVersion=3;
static TBool SizeSummary=EFalse;
static TPrintType SizeWhere=EAlways;