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

Bart Oldeman <[email protected]> Mon, 04 Nov 2002 19:20:31 -0500 (EST)
Newsgroups gmane.os.freedos.devel
Message-ID <[email protected]>
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