2001-04-24 Joel Sherrill <joel@OARcorp.com>

* src/imfs/memfile.c (memfile_open): Did not set iop->size
	and thus the value was incorrect.  Before this field was cleared,
	this resulted in the value from the last time that IOP was used
	being still in place.  Discovered by  Andrew Bythell
	<abythell@nortelnetworks.com>.
This commit is contained in:
Joel Sherrill
2001-04-24 23:06:50 +00:00
parent b2a1ea3a52
commit eb22ebe0ec
6 changed files with 27 additions and 0 deletions

View File

@@ -1,3 +1,11 @@
2001-04-24 Joel Sherrill <joel@OARcorp.com>
* src/imfs/memfile.c (memfile_open): Did not set iop->size
and thus the value was incorrect. Before this field was cleared,
this resulted in the value from the last time that IOP was used
being still in place. Discovered by Andrew Bythell
<abythell@nortelnetworks.com>.
2001-04-20 Joel Sherrill <joel@OARcorp.com>
* src/imfs/imfs_debug.c (IMFS_print_jnode): Modified to print

View File

@@ -98,6 +98,7 @@ int memfile_open(
if (iop->flags & LIBIO_FLAGS_APPEND)
iop->offset = the_jnode->info.file.size;
iop->size = the_jnode->info.file.size;
return 0;
}

View File

@@ -1,3 +1,11 @@
2001-04-24 Joel Sherrill <joel@OARcorp.com>
* src/imfs/memfile.c (memfile_open): Did not set iop->size
and thus the value was incorrect. Before this field was cleared,
this resulted in the value from the last time that IOP was used
being still in place. Discovered by Andrew Bythell
<abythell@nortelnetworks.com>.
2001-04-20 Joel Sherrill <joel@OARcorp.com>
* src/imfs/imfs_debug.c (IMFS_print_jnode): Modified to print

View File

@@ -98,6 +98,7 @@ int memfile_open(
if (iop->flags & LIBIO_FLAGS_APPEND)
iop->offset = the_jnode->info.file.size;
iop->size = the_jnode->info.file.size;
return 0;
}

View File

@@ -1,3 +1,11 @@
2001-04-24 Joel Sherrill <joel@OARcorp.com>
* src/imfs/memfile.c (memfile_open): Did not set iop->size
and thus the value was incorrect. Before this field was cleared,
this resulted in the value from the last time that IOP was used
being still in place. Discovered by Andrew Bythell
<abythell@nortelnetworks.com>.
2001-04-20 Joel Sherrill <joel@OARcorp.com>
* src/imfs/imfs_debug.c (IMFS_print_jnode): Modified to print

View File

@@ -98,6 +98,7 @@ int memfile_open(
if (iop->flags & LIBIO_FLAGS_APPEND)
iop->offset = the_jnode->info.file.size;
iop->size = the_jnode->info.file.size;
return 0;
}