mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 407537 - Dont normalize a nonexistant file r=biesi
This commit is contained in:
parent
dd7d08ab97
commit
f4e5223cdd
@ -929,7 +929,9 @@ nsAtomicFileOutputStream::DoOpen()
|
||||
tempResult->SetFollowLinks(true);
|
||||
|
||||
// XP_UNIX ignores SetFollowLinks(), so we have to normalize.
|
||||
tempResult->Normalize();
|
||||
if (mTargetFileExists) {
|
||||
tempResult->Normalize();
|
||||
}
|
||||
}
|
||||
|
||||
if (NS_SUCCEEDED(rv) && mTargetFileExists) {
|
||||
|
Loading…
Reference in New Issue
Block a user