From 50a4e5359779fd205d8586e68e94e2d99676a8ed Mon Sep 17 00:00:00 2001 From: Jan Dubois Date: Wed, 21 Apr 2010 18:47:48 -0700 Subject: Fix PerlSIO_fputc() and PerlSIO_fputs() signatures They should have the same prototype as in stdio. This "proper fix" replaces the 5.12.0 compatible fix in commit 634b482, but cannot be integrated into 5.12.1 because it breaks binary compatibility. See also http://rt.perl.org/rt3/Public/Bug/Display.html?id=72704 --- perlsdio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perlsdio.h') diff --git a/perlsdio.h b/perlsdio.h index 1a6f2f01c4..25d6b36add 100644 --- a/perlsdio.h +++ b/perlsdio.h @@ -34,8 +34,8 @@ #define PerlIO_fdopen PerlSIO_fdopen #define PerlIO_reopen PerlSIO_freopen #define PerlIO_close(f) PerlSIO_fclose(f) -#define PerlIO_puts(f,s) PerlSIO_fputs(f,s) -#define PerlIO_putc(f,c) PerlSIO_fputc(f,c) +#define PerlIO_puts(f,s) PerlSIO_fputs(s,f) +#define PerlIO_putc(f,c) PerlSIO_fputc(c,f) #if defined(VMS) # if defined(__DECC) /* Unusual definition of ungetc() here to accomodate fast_sv_gets()' -- cgit v1.2.1