diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-10-18 09:24:42 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-10-18 09:24:42 +0000 |
commit | 9bde8eb087a2c05d4c8b0394a59d28a09fe5f529 (patch) | |
tree | 998a51c8de29afbe6509961978c7b5b6d5b5f1d9 /proto.h | |
parent | b64cb68ca7e876fc8f2b14e3631335667b719e7e (diff) | |
download | perl-9bde8eb087a2c05d4c8b0394a59d28a09fe5f529.tar.gz |
Where possible, change gv_fetchfile() to gv_fetchfile_flags(),
gv_stashpv() to gv_stashpvn() and gv_fetchpv() to gv_fetchpvn_flags().
Change the len parameter of S_find_in_my_stash() from I32 to STRLEN, as
a pointer the variable needs to be passed onwards, and size matters on
64 bit platforms.
Fix the temporary scribbling of a buffer in Perl_yylex() by using
gv_fetchpvn_flags(), and remove the XXX comment added in change 27641.
Brought to you by the Campaign for the Elimination of strlen().
p4raw-id: //depot/perl@32127
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4120,7 +4120,7 @@ STATIC char * S_filter_gets(pTHX_ SV *sv, PerlIO *fp, STRLEN append) __attribute__nonnull__(pTHX_1) __attribute__nonnull__(pTHX_2); -STATIC HV * S_find_in_my_stash(pTHX_ const char *pkgname, I32 len) +STATIC HV * S_find_in_my_stash(pTHX_ const char *pkgname, STRLEN len) __attribute__warn_unused_result__ __attribute__nonnull__(pTHX_1); |