www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/07/23/23:41:38

Date: Tue, 23 Jul 1996 23:40:42 -0400
Message-Id: <199607240340.XAA26870@delorie.com>
From: DJ Delorie <dj>
To: Demmer AT LStM DOT Ruhr-Uni-Bochum DOT De
CC: djgpp-workers AT delorie DOT com
In-reply-to: <D8D0AE6C6F@brain1.lstm.ruhr-uni-bochum.de>
(DEMMER AT brain1 DOT lstm DOT ruhr-uni-bochum DOT de)
Subject: Re: open() / _open() bug

> I think there is a subtle bug in open()/_open():
> The higher bits of omode are masked out before a possibly existing 

> !     r.x.bx = oflag & 0xff; /* :TOM: new open() doesn't mask out upper bits,
> !                            ** so we have to do it here.
> !                            */

Charles - what does Win95 expect in BH?  Can we just leave it
unmasked, or will the spare bits we use confuse it?

> !     r.h.al = oflag & 0xff; /* :TOM: see above */

I think this is unneeded - al is a byte register.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019