develooper Front page | perl.perl5.porters | Postings from November 2005

[blead@26185] breaks Perl_do_open

Thread Next
From:
Stas Bekman
Date:
November 21, 2005 16:18
Subject:
[blead@26185] breaks Perl_do_open
Message ID:
438263A4.4030309@stason.org
The latest blead @ 26185 breaks mod_perl2:

cc1: warnings being treated as errors
modperl_io.c: In function 'modperl_io_perlio_override_stdin':
modperl_io.c:124: warning: implicit declaration of function 'Perl_do_open'
make[1]: *** [modperl_io.lo] Error 1

In the code:

         /* open my $oldout, "<&STDIN" or die "Can't dup STDIN: $!"; */
         status = Perl_do_open(aTHX_ handle_save, "<&STDIN", 7, FALSE,
                               O_RDONLY, 0, Nullfp);


-- 
_____________________________________________________________
Stas Bekman mailto:stas@stason.org  http://stason.org/
MailChannels: Assured Messaging(TM) http://mailchannels.com/
The "Practical mod_perl" book       http://modperlbook.org/
http://perl.apache.org/ http://perl.org/ http://logilune.com/


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About