ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl5-porters
perl5-porters
Re: MacOS X Issues
by Jarkko Hietaniemi other posts by this author
Jan 30 2002 6:24PM messages near this date
MacOS X Issues | Re: MacOS X Issues
On Wed, Jan 30, 2002 at 04:02:01PM +0100, Arthur Bergman wrote:
>  Following issues exist on MacOS X
>  
>  1) POSIX.t /  _POSIX_OPEN_MAX is 16
>     -- bug is reported to Apple , perhaps we should define our own _POSIX_OPEN_MAX to the c
orrect value?

You mean something like this

#if defined(darwin) && someversion <= something
# undef _POSIX_OPEN_MAX
# define _POSIX_OPEN_MAX fixed
#endif

>  2) libs/warning
>  error with regard to files opened in a certain mode, should we skip this test since we kno
w 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?

In case someone is wondering, this the pp_hot warning:

########
# pp_hot.c [pp_print]
use warnings 'io' ;
print STDIN "anc";
print <STDOUT> ;
print <STDERR> ;
open(FOO, "> &STDOUT") and print <FOO>;
print getc(STDERR);
print getc(FOO);
####################################################################
# The next test is known to fail on some systems (Linux+old glibc, #
# some *BSDs (including Mac OS X and NeXT), among others.          #
# We skip it for now (on the grounds that it is "just" a warning). #
####################################################################
#read(FOO,$_,1);
no warnings 'io' ;
print STDIN "anc";
EXPECT
Filehandle STDIN opened only for input at - line 3.
Filehandle STDOUT opened only for output at - line 4.
Filehandle STDERR opened only for output at - line 5.
Filehandle FOO opened only for output at - line 6.
Filehandle STDERR opened only for output at - line 7.
Filehandle FOO opened only for output at - line 8.

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen
Thread:
Arthur Bergman
Jarkko Hietaniemi
Arthur Bergman
Nicholas Clark
Nick Ing-Simmons
Arthur Bergman
Jarkko Hietaniemi
H.Merijn Brand

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved