Fix unix bustage.
git-svn-id: svn://10.0.0.236/trunk@24505 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -94,7 +94,7 @@ void nsFileSpecHelpers::Canonify(nsSimpleCharString& ioPath, PRBool inMakeDirs)
|
||||
strcat(buffer, ++lastSeparator);
|
||||
}
|
||||
}
|
||||
if (!canonicalPath && *ioPath != '/' && !inMakeDirs)
|
||||
if (!canonicalPath && ioPath[0] != '/' && !inMakeDirs)
|
||||
{
|
||||
// Well, if it's a relative path, hack it ourselves.
|
||||
canonicalPath = realpath(".", buffer);
|
||||
|
||||
Reference in New Issue
Block a user