Int21 : Dont reset systematically CFLAG

Fri Aug 22 02:26:43 CDT 2003

Doing some research in int21.c shows that many functions that rely on CFLAG
dont set it when they are in error state.

IMHO many DOS programs are already broken today since these functions 
appear to be successfull at every moment.

For example : INT21_FileDateTime (handler for function 0x57, file

-----Message d'origine-----
De : Jukka Heinonen [mailto:jhei at]
Envoyé : lundi 18 août 2003 20:14
À : wine-devel at
Objet : Re: Int21 : Dont reset systematically CFLAG 

Sylvain Petreolle wrote:
> Dont reset systematically CFLAG when calling the int 21 handler.
> Some functions dont change it.

This patch must not be applied because it is highly likely
that it will break almost all DOS programs.

Fix itself is correct but before this patch can be applied
it must be made sure that all functions that are supposed
to reset CFLAG really reset it.

Jukka Heinonen <>

More information about the wine-devel mailing list