Clarified some comments.

committer: mfx <mfx> 975421093 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2000-11-28 14:18:13 +00:00
parent 632a66eb7c
commit 084cc89a41
3 changed files with 8 additions and 7 deletions
+3 -3
View File
@@ -66,7 +66,7 @@ void File::unlink(const char *name)
**************************************************************************/
FileBase::FileBase() :
_fd(-1), _flags(0), _shflags(0), _mode(0), _name(0)
_fd(-1), _flags(0), _shflags(0), _mode(0), _name(NULL)
{
memset(&st,0,sizeof(st));
}
@@ -94,7 +94,7 @@ bool FileBase::close()
_fd = -1;
_flags = 0;
_mode = 0;
_name = 0;
_name = NULL;
return ok;
}
@@ -290,7 +290,7 @@ void OutputFile::sopen(const char *name, int flags, int shflags, int mode)
if (!isOpen())
{
#if 0
// don't throw FileNotFound here - confusing
// don't throw FileNotFound here -- this is confusing
if (errno == ENOENT)
throw FileNotFoundException(_name,errno);
else