Changeset eb22ebe in rtems


Ignore:
Timestamp:
Apr 24, 2001, 11:06:50 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
6f43d82
Parents:
b2a1ea3
Message:

2001-04-24 Joel Sherrill <joel@…>

  • 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@…>.

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libfs/ChangeLog

    rb2a1ea3 reb22ebe  
     12001-04-24      Joel Sherrill <joel@OARcorp.com>
     2
     3        * src/imfs/memfile.c (memfile_open): Did not set iop->size
     4        and thus the value was incorrect.  Before this field was cleared,
     5        this resulted in the value from the last time that IOP was used
     6        being still in place.  Discovered by  Andrew Bythell
     7        <abythell@nortelnetworks.com>.
     8
    192001-04-20      Joel Sherrill <joel@OARcorp.com>
    210
  • c/src/exec/libfs/src/imfs/memfile.c

    rb2a1ea3 reb22ebe  
    9999    iop->offset = the_jnode->info.file.size;
    100100
     101  iop->size = the_jnode->info.file.size;
    101102  return 0;
    102103}
  • c/src/libfs/ChangeLog

    rb2a1ea3 reb22ebe  
     12001-04-24      Joel Sherrill <joel@OARcorp.com>
     2
     3        * src/imfs/memfile.c (memfile_open): Did not set iop->size
     4        and thus the value was incorrect.  Before this field was cleared,
     5        this resulted in the value from the last time that IOP was used
     6        being still in place.  Discovered by  Andrew Bythell
     7        <abythell@nortelnetworks.com>.
     8
    192001-04-20      Joel Sherrill <joel@OARcorp.com>
    210
  • c/src/libfs/src/imfs/memfile.c

    rb2a1ea3 reb22ebe  
    9999    iop->offset = the_jnode->info.file.size;
    100100
     101  iop->size = the_jnode->info.file.size;
    101102  return 0;
    102103}
  • cpukit/libfs/ChangeLog

    rb2a1ea3 reb22ebe  
     12001-04-24      Joel Sherrill <joel@OARcorp.com>
     2
     3        * src/imfs/memfile.c (memfile_open): Did not set iop->size
     4        and thus the value was incorrect.  Before this field was cleared,
     5        this resulted in the value from the last time that IOP was used
     6        being still in place.  Discovered by  Andrew Bythell
     7        <abythell@nortelnetworks.com>.
     8
    192001-04-20      Joel Sherrill <joel@OARcorp.com>
    210
  • cpukit/libfs/src/imfs/memfile.c

    rb2a1ea3 reb22ebe  
    9999    iop->offset = the_jnode->info.file.size;
    100100
     101  iop->size = the_jnode->info.file.size;
    101102  return 0;
    102103}
Note: See TracChangeset for help on using the changeset viewer.