Re: MacOS X Issues
by Nick Ing-Simmons other posts by this author
Jan 31 2002 1:11PM messages near this date
Re: MacOS X Issues
|
Re: MacOS X Issues
Nicholas Clark <nick@[...].net> writes:
> On Wed, Jan 30, 2002 at 08:24:11PM +0200, Jarkko Hietaniemi wrote:
> > On Wed, Jan 30, 2002 at 04:02:01PM +0100, Arthur Bergman wrote:
>
> > > 2) libs/warning
> > > error with regard to files opened in a certain mode, should we skip this test since we
know it is failing?
> >
> > I never understood why are we still getting this error-- I thought
> > it was bound to broken/different implementation of *stdio* in certain
> > platforms, and now in the shiny new era of perlio...? Nick?
>
> You were meaning Nick I-S, but I'll express an opinion
>
> And it transpires that STDOUT is read/write on FreeBSD (and maybe some other
> places) so the code as written is an unintended bit of non-portability.
I recall being in two minds about this - one (which I think is what
we have now) is to tag STD* as being open in the expected mode.
If that is indeed what I implemented I don't understand why a -Duseperlio
build fails those tests.
The other being to use fcntl() to find out what mode they actually are
open in and make perlio report the truth.
--
Nick Ing-Simmons
http://www.ni-s.u-net.com/
Thread:
Arthur Bergman
Jarkko Hietaniemi
Arthur Bergman
Nicholas Clark
Nick Ing-Simmons
Arthur Bergman
Jarkko Hietaniemi
H.Merijn Brand
|