diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-03-14 20:48:06 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-03-14 20:48:06 +0000 |
commit | b0316773a7479486204b0422c55f41a957e6f99b (patch) | |
tree | cc030609927a1f6c9300d3bebcc669c5d104e5f9 /globals.c | |
parent | 5f464b2eb090216cc66e37fd53ea85cc759ad9be (diff) | |
download | perl-b0316773a7479486204b0422c55f41a957e6f99b.tar.gz |
Integrate change #9154 from maintperl to mainline.
PerlIO_stdoutf() wasn't properly supported under PERL_IMPLICIT_SYS
(caused Storable 1.0.10 to break on windows)
p4raw-link: @9154 on //depot/maint-5.6/perl: 241ea079897f140daac27d059c9935e78ec152ec
p4raw-id: //depot/perl@9156
p4raw-integrated: from //depot/maint-5.6/perl@9155 'copy in' globals.c
(@5902..) 'merge in' global.sym (@8599..) iperlsys.h (@8800..)
objXSUB.h perlapi.c (@8993..) embed.h embed.pl proto.h
(@9108..)
Diffstat (limited to 'globals.c')
-rw-r--r-- | globals.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -79,4 +79,13 @@ Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...) return PerlIO_vprintf(stream, format, arglist); } +int +Perl_printf_nocontext(const char *format, ...) +{ + dTHX; + va_list(arglist); + va_start(arglist, format); + return PerlIO_vprintf(PerlIO_stdout(), format, arglist); +} + #include "perlapi.h" /* bring in PL_force_link_funcs */ |