mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1096014 - Regression: Unable to complete downloads in Firefox for Android. r=mfinkle
This commit is contained in:
parent
534eef66ec
commit
a055681072
@ -3362,9 +3362,9 @@ nsDownload::FixTargetPermissions()
|
||||
rv = infoService->GetPropertyAsUint32(NS_LITERAL_STRING("umask"),
|
||||
&gUserUmask);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
rv = target->SetPermissions(0666 & ~gUserUmask);
|
||||
(void)target->SetPermissions(0666 & ~gUserUmask);
|
||||
}
|
||||
return rv;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
|
Loading…
Reference in New Issue
Block a user