Re: OLD kernel BUG with volume label? (MS works,2026..2027rc not)

James Tabor <[email protected]> Tue, 05 Nov 2002 18:05:11 +0000
Newsgroups gmane.os.freedos.devel
Message-ID <[email protected]>
Bart Oldeman wrote:
> 
> On Mon, 4 Nov 2002, Eric Auer wrote:
> 
> > Hi, Andreas (author of LWINFO) pointed out a BUG in FreeDOS.
> >
> > LWINFO.pas assumes the error codes:
> > 18 - no label
> > 3  - drive not found
> > 152 - drive not ready
> > else - unknown error
> 
> The problem is that Ralf Brown's interrupt list isn't clear on this. It
> just says that "findfirst" can return 2 (file not found), 3 (path not
> found) or 18 (no more files). FreeDOS returns "2", which is a reasonable
> choice I think.
> 
> Can somebody point to better documentation about which error code should
> be returned in which situation?
> 
> When SHOULD findfirst return error 2?
> 
> Bart
> 
Hi Bart!
Que books, "DOS Programmer's Reference 3rd Edition" Page 706-7.
Ax errors: 02h file not found, 03h invalid path, and 12h no more files.
If there are no more files, it should be 12h! So, RB lists information is
accurate.
FYI,
James