Menu

#22 dos_open() should detect and reject headerless files

1.0
open
nobody
None
False
444:9b0df21977ef
2015-03-02
2014-08-26
No

During creation of the readaline() interface, some strange results were obtained. This involved rounding up the length of the file being read to the next 128-byte boundary. It transpired that the file being read had no header (a mistake when it was copied to the disk image), but dos_open() should probably detect and warn about this, possibly blocking the open() with an ENOHDR or something like that.

Discussion

  • Brian Ruthven

    Brian Ruthven - 2015-03-02
    • summary: dos_read() should detect headerless files --> dos_opem=n() should detect and reject headerless files
     
  • Brian Ruthven

    Brian Ruthven - 2015-03-02
    • summary: dos_opem=n() should detect and reject headerless files --> dos_open() should detect and reject headerless files
     

Log in to post a comment.

MongoDB Logo MongoDB