diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-07-21 10:50:54 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-07-22 21:31:41 -0400 |
commit | 96e440d2eb546f4493feffce002f2ec8886f13a3 (patch) | |
tree | 1b0634ebad52cafa2d83e01574eb013945a069b9 /ext | |
parent | 6313e54401f5531a23184b7afaaf6bc7cd4a81ec (diff) | |
download | perl-96e440d2eb546f4493feffce002f2ec8886f13a3.tar.gz |
Use grok_atou instead of atoi.
Remaining atoi() uses include at least:
ext/DynaLoader/dl_aix.xs, os2/os2.c, vms/vms.c
Diffstat (limited to 'ext')
-rw-r--r-- | ext/DynaLoader/dlutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/DynaLoader/dlutils.c b/ext/DynaLoader/dlutils.c index 29d9b91784..dea981a32d 100644 --- a/ext/DynaLoader/dlutils.c +++ b/ext/DynaLoader/dlutils.c @@ -104,7 +104,7 @@ dl_generic_private_init(pTHX) /* called by dl_*.xs dl_private_init() */ } #endif if ( (perl_dl_nonlazy = getenv("PERL_DL_NONLAZY")) != NULL ) - dl_nonlazy = atoi(perl_dl_nonlazy); + dl_nonlazy = grok_atou(perl_dl_nonlazy, NULL); if (dl_nonlazy) DLDEBUG(1,PerlIO_printf(Perl_debug_log, "DynaLoader bind mode is 'non-lazy'\n")); #ifdef DL_LOADONCEONLY |