fixing solaris bustage
git-svn-id: svn://10.0.0.236/trunk@120107 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -85,7 +85,7 @@ nsLocalFile::CreateUnique(PRUint32 type, PRUint32 attributes)
|
||||
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
char* lastDot = strrchr(leafName.get(), '.');
|
||||
const char* lastDot = strrchr(leafName.get(), '.');
|
||||
char suffix[kMaxFilenameLength + 1] = "";
|
||||
if (lastDot)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user