Subject: Re: /dev/stdout wierdness
To: None <jchacon@genuity.net>
From: Jaromír <jdolecek@NetBSD.org>
List: tech-userlevel
Date: 02/22/2001 13:20:32
jchacon@genuity.net wrote:
> Now, what's the right behavior? My opinion is the non-fdesc version does the
> right thing since
I aggree :)
> I've poked a little bit one night on this but nothing obvious jumped out of
> either code base that looked wrong. Shouldn't be too hard to track down so
> I'm gonna look again this week.
I think the code in fdesc_open() for Fdesc case should mask off
all flags other than O_RDONLY, O_WRONLY and O_RDWR. Note that currently,
it does not change them at all.
Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.ics.muni.cz/~dolecek/
@@@@ Wanna a real operating system ? Go and get NetBSD, dammit! @@@@