diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-05-19 22:48:38 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-05-19 22:48:38 +0000 |
commit | 37405f9009219de703848fda95b3f821e51fda4d (patch) | |
tree | 01d40b7ed6f7054eb45c4410cf9ff85f52735bc9 /perlio.c | |
parent | b6f4de247d2f20eb763c2db7573dedd35b276519 (diff) | |
download | perl-37405f9009219de703848fda95b3f821e51fda4d.tar.gz |
Perl_croak() needs an aTHX_ in PerlIO_vsprintf().
p4raw-id: //depot/perl@28247
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -5142,12 +5142,11 @@ vfprintf(FILE *fd, char *pat, char *args) int PerlIO_vsprintf(char *s, int n, const char *fmt, va_list ap) { - dTHX; const int val = my_vsnprintf(s, n > 0 ? n : 0, fmt, ap); #ifndef PERL_MY_VSNPRINTF_GUARDED if (val < 0 || (n > 0 ? val >= n : 0)) { dTHX; - Perl_croak("panic: my_vsnprintf overflow in PerlIO_vsprintf\n"); + Perl_croak(aTHX_ "panic: my_vsnprintf overflow in PerlIO_vsprintf\n"); } #endif return val; |