--- a/userlibandfileserver/fileserver/sfsrv/cl_parse.cpp Tue Feb 02 01:24:03 2010 +0200
+++ b/userlibandfileserver/fileserver/sfsrv/cl_parse.cpp Fri Apr 16 16:24:37 2010 +0300
@@ -302,9 +302,9 @@
TInt pos=aName.Locate(KPathDelimiter);
if (pos!=KErrNotFound)
return(KErrBadName);
- TFileName n=aName;
- n.Append(KPathDelimiter);
- NameBuf().Insert(iField[EName].pos,n);
+
+ NameBuf().Insert(iField[EName].pos,aName);
+ NameBuf().Insert(iField[EName].pos + aName.Length(),TPtrC16((const TUint16*)(&KPathDelimiter),1));
iField[EPath].len=(TUint8)(iField[EPath].len+len);
iField[EName].pos=(TUint8)(iField[EName].pos+len);
iField[EExt].pos=(TUint8)(len+iField[EExt].pos);