diff options
author | Jan Dubois <jand@activestate.com> | 2010-04-21 18:47:48 -0700 |
---|---|---|
committer | Jan Dubois <jand@activestate.com> | 2010-04-21 21:56:50 -0700 |
commit | 50a4e5359779fd205d8586e68e94e2d99676a8ed (patch) | |
tree | 119b8ddbdb3b3e0cf3973017aacb6dacf6b6c05c /win32 | |
parent | 20c8f8f9118fd23081c818637815bf1aab60b808 (diff) | |
download | perl-50a4e5359779fd205d8586e68e94e2d99676a8ed.tar.gz |
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
Diffstat (limited to 'win32')
-rw-r--r-- | win32/perlhost.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/perlhost.h b/win32/perlhost.h index be7d61de02..1cc7c1f500 100644 --- a/win32/perlhost.h +++ b/win32/perlhost.h @@ -669,13 +669,13 @@ PerlStdIOGets(struct IPerlStdIO* piPerl, FILE* pf, char* s, int n) } int -PerlStdIOPutc(struct IPerlStdIO* piPerl, FILE* pf, int c) +PerlStdIOPutc(struct IPerlStdIO* piPerl, int c, FILE* pf) { return win32_fputc(c, pf); } int -PerlStdIOPuts(struct IPerlStdIO* piPerl, FILE* pf, const char *s) +PerlStdIOPuts(struct IPerlStdIO* piPerl, const char *s, FILE* pf) { return win32_fputs(s, pf); } |