projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afa74d4
)
Make the worst case error message for Perl_croak_xs_usage() consistent
author
Nicholas Clark
<nick@ccl4.org>
Wed, 21 May 2008 14:35:20 +0000
(14:35 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Wed, 21 May 2008 14:35:20 +0000
(14:35 +0000)
with stringifying a code reference.
p4raw-id: //depot/perl@33902
universal.c
patch
|
blob
|
history
diff --git
a/universal.c
b/universal.c
index
7026195
..
008b593
100644
(file)
--- a/
universal.c
+++ b/
universal.c
@@
-329,7
+329,7
@@
Perl_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
Perl_croak(aTHX_ "Usage: %s(%s)", gvname, params);
} else {
/* Pants. I don't think that it should be possible to get here. */
- Perl_croak(aTHX_ "Usage: CODE(
%"UVX
f")(%s)", (UV)cv, params);
+ Perl_croak(aTHX_ "Usage: CODE(
0x%"UVx
f")(%s)", (UV)cv, params);
}
}