зеркало из https://github.com/mozilla/gecko-dev.git
fixing OS/2 bustage
This commit is contained in:
Родитель
575ced8d00
Коммит
d33011ceed
|
@ -624,13 +624,10 @@ NS_IMETHODIMP
|
|||
nsLocalFile::Clone(nsIFile **file)
|
||||
{
|
||||
nsresult rv;
|
||||
char * aFilePath;
|
||||
GetPath(&aFilePath);
|
||||
|
||||
nsCOMPtr<nsILocalFile> localFile;
|
||||
|
||||
rv = NS_NewLocalFile(aFilePath, mFollowSymlinks, getter_AddRefs(localFile));
|
||||
nsMemory::Free(aFilePath);
|
||||
rv = NS_NewNativeLocalFile(mWorkingPath, mFollowSymlinks, getter_AddRefs(localFile));
|
||||
|
||||
if (NS_SUCCEEDED(rv) && localFile)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче