fixing bustage.
This commit is contained in:
Родитель
18abf74f5c
Коммит
1c19cf11c0
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче