VOGONS


File access log

Topic actions

Reply 20 of 23, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Changes to the readfile function (error handling for read() ) may be tricky though.
As you'd have to check lots of functionality like when it's really an error or
just eof and what error code you forward to dos.

Reply 21 of 23, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

no error checking.
Only checking the stored file flags for wether it is read_write or read. inside LocalFile::Read

Water flows down the stream
How to ask questions the smart way!

Reply 22 of 23, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

we should be checking what cdroms do though. mscdex might mess around with the flags

Water flows down the stream
How to ask questions the smart way!

Reply 23 of 23, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

A cdrom's file open command should reject write-only calls any way, but only mscdex knows for sure.