diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-07-18 08:03:02 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-07-18 08:03:02 +0000 |
commit | a783c5f421048120dc022238eeb6eb8a62d130d0 (patch) | |
tree | 40f5c2537334e470c9905ebe0496b95b7a8d195e | |
parent | 69ca0fd0bef57ce8f6e0725124a9bd19455d9e2f (diff) | |
download | perl-a783c5f421048120dc022238eeb6eb8a62d130d0.tar.gz |
Rename get_seed() to get_hash_seed(), as suggested by
Eric J Kidder, to solve a name conflict on HP_UX 11.00.
p4raw-id: //depot/perl@20170
-rw-r--r-- | embed.fnc | 2 | ||||
-rw-r--r-- | embed.h | 4 | ||||
-rw-r--r-- | perl.c | 2 | ||||
-rw-r--r-- | proto.h | 2 | ||||
-rw-r--r-- | util.c | 2 |
5 files changed, 6 insertions, 6 deletions
@@ -839,7 +839,7 @@ p |void |vivify_ref |SV* sv|U32 to_what p |I32 |wait4pid |Pid_t pid|int* statusp|int flags p |U32 |parse_unicode_opts|char **popt p |U32 |seed -p |UV |get_seed +p |UV |get_hash_seed p |void |report_evil_fh |GV *gv|IO *io|I32 op pd |void |report_uninit Afpd |void |warn |const char* pat|... @@ -1115,7 +1115,7 @@ #define seed Perl_seed #endif #ifdef PERL_CORE -#define get_seed Perl_get_seed +#define get_hash_seed Perl_get_hash_seed #endif #ifdef PERL_CORE #define report_evil_fh Perl_report_evil_fh @@ -3606,7 +3606,7 @@ #define seed() Perl_seed(aTHX) #endif #ifdef PERL_CORE -#define get_seed() Perl_get_seed(aTHX) +#define get_hash_seed() Perl_get_hash_seed(aTHX) #endif #ifdef PERL_CORE #define report_evil_fh(a,b,c) Perl_report_evil_fh(aTHX_ a,b,c) @@ -903,7 +903,7 @@ setuid perl scripts securely.\n"); * If you set PL_hash_seed (and assumedly also PL_hash_seed_set) yourself, * it is your responsibility to provide a good random seed! */ if (!PL_hash_seed_set) - PL_hash_seed = get_seed(); + PL_hash_seed = get_hash_seed(); { char *s = PerlEnv_getenv("PERL_HASH_SEED_DEBUG"); @@ -799,7 +799,7 @@ PERL_CALLCONV void Perl_vivify_ref(pTHX_ SV* sv, U32 to_what); PERL_CALLCONV I32 Perl_wait4pid(pTHX_ Pid_t pid, int* statusp, int flags); PERL_CALLCONV U32 Perl_parse_unicode_opts(pTHX_ char **popt); PERL_CALLCONV U32 Perl_seed(pTHX); -PERL_CALLCONV UV Perl_get_seed(pTHX); +PERL_CALLCONV UV Perl_get_hash_seed(pTHX); PERL_CALLCONV void Perl_report_evil_fh(pTHX_ GV *gv, IO *io, I32 op); PERL_CALLCONV void Perl_report_uninit(pTHX); PERL_CALLCONV void Perl_warn(pTHX_ const char* pat, ...) @@ -4378,7 +4378,7 @@ Perl_seed(pTHX) } UV -Perl_get_seed(pTHX) +Perl_get_hash_seed(pTHX) { char *s = PerlEnv_getenv("PERL_HASH_SEED"); UV myseed = 0; |