mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 21:18:35 +00:00
Bug 1082777: Support running of xpcshell on OSX with relative path invocation on Terminal. r=smichaud
This commit is contained in:
parent
271c651290
commit
ee2a1a8d27
@ -2339,7 +2339,7 @@ NS_IMETHODIMP
|
||||
nsLocalFile::InitWithCFURL(CFURLRef aCFURL)
|
||||
{
|
||||
UInt8 path[PATH_MAX];
|
||||
if (::CFURLGetFileSystemRepresentation(aCFURL, false, path, PATH_MAX)) {
|
||||
if (::CFURLGetFileSystemRepresentation(aCFURL, true, path, PATH_MAX)) {
|
||||
nsDependentCString nativePath((char*)path);
|
||||
return InitWithNativePath(nativePath);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user