This commit is contained in:
sspitzer%netscape.com 2000-03-17 21:53:49 +00:00
Родитель 760f19694f
Коммит 2f566d968a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;