зеркало из https://github.com/mozilla/gecko-dev.git
fixing bustage.
This commit is contained in:
Родитель
fe8bbbd587
Коммит
2d65ebf882
|
@ -492,7 +492,7 @@ nsFileInputStream::Init(nsIFile* file, PRInt32 ioFlags, PRInt32 perm, PRBool del
|
|||
PRFileDesc* fd;
|
||||
rv = localFile->OpenNSPRFileDesc(ioFlags, perm, &fd);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
|
||||
return InitWithFileDescriptor(fd, file, deleteOnClose);
|
||||
}
|
||||
|
||||
|
|
|
@ -104,7 +104,10 @@ public:
|
|||
NS_DECL_NSIFILEINPUTSTREAM
|
||||
NS_DECL_NSILINEINPUTSTREAM
|
||||
|
||||
nsFileInputStream() : nsFileStream() {}
|
||||
nsFileInputStream() : nsFileStream()
|
||||
{
|
||||
mLineBuffer = nsnull;
|
||||
}
|
||||
virtual ~nsFileInputStream()
|
||||
{
|
||||
Close();
|
||||
|
|
Загрузка…
Ссылка в новой задаче