зеркало из https://github.com/mozilla/gecko-dev.git
fix for #32245. r=bienvenu.
This commit is contained in:
Родитель
760f19694f
Коммит
2f566d968a
|
@ -378,7 +378,7 @@ NS_IMETHODIMP nsFileSpecImpl::Touch()
|
||||||
{
|
{
|
||||||
// create an empty file, like the UNIX touch command.
|
// create an empty file, like the UNIX touch command.
|
||||||
nsresult rv;
|
nsresult rv;
|
||||||
rv = OpenStreamForReadingAndWriting();
|
rv = OpenStreamForWriting();
|
||||||
if (NS_FAILED(rv)) return rv;
|
if (NS_FAILED(rv)) return rv;
|
||||||
rv = CloseStream();
|
rv = CloseStream();
|
||||||
return rv;
|
return rv;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче