Change 33272 by [EMAIL PROTECTED] on 2008/02/10 17:44:34
vcroak()'s pattern is actually NULLOK.
Affected files ...
... //depot/perl/embed.fnc#574 edit
... //depot/perl/proto.h#908 edit
Differences ...
==== //depot/perl/embed.fnc#574 (text) ====
Index: perl/embed.fnc
--- perl/embed.fnc#573~33271~ 2008-02-10 07:26:19.000000000 -0800
+++ perl/embed.fnc 2008-02-10 09:44:34.000000000 -0800
@@ -137,7 +137,7 @@
pM |PERL_CONTEXT* |create_eval_scope|U32 flags
: croak()'s first parm can be NULL. Otherwise, mod_perl breaks.
Afprd |void |croak |NULLOK const char* pat|...
-Apr |void |vcroak |NN const char* pat|NULLOK va_list* args
+Apr |void |vcroak |NULLOK const char* pat|NULLOK va_list* args
#if defined(PERL_IMPLICIT_CONTEXT)
Afnrp |void |croak_nocontext|NN const char* pat|...
Afnp |OP* |die_nocontext |NN const char* pat|...
==== //depot/perl/proto.h#908 (text+w) ====
Index: perl/proto.h
--- perl/proto.h#907~33271~ 2008-02-10 07:26:19.000000000 -0800
+++ perl/proto.h 2008-02-10 09:44:34.000000000 -0800
@@ -246,8 +246,7 @@
__attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2);
PERL_CALLCONV void Perl_vcroak(pTHX_ const char* pat, va_list* args)
- __attribute__noreturn__
- __attribute__nonnull__(pTHX_1);
+ __attribute__noreturn__;
#if defined(PERL_IMPLICIT_CONTEXT)
PERL_CALLCONV void Perl_croak_nocontext(const char* pat, ...)
End of Patch.