diff options
Diffstat (limited to 'ext/DynaLoader')
-rw-r--r-- | ext/DynaLoader/dl_aix.xs | 2 | ||||
-rw-r--r-- | ext/DynaLoader/dl_dllload.xs | 2 | ||||
-rw-r--r-- | ext/DynaLoader/dl_dlopen.xs | 2 | ||||
-rw-r--r-- | ext/DynaLoader/dl_dyld.xs | 2 | ||||
-rw-r--r-- | ext/DynaLoader/dl_freemint.xs | 2 | ||||
-rw-r--r-- | ext/DynaLoader/dl_hpux.xs | 2 | ||||
-rw-r--r-- | ext/DynaLoader/dl_symbian.xs | 2 | ||||
-rw-r--r-- | ext/DynaLoader/dl_vms.xs | 2 | ||||
-rw-r--r-- | ext/DynaLoader/dl_win32.xs | 4 | ||||
-rw-r--r-- | ext/DynaLoader/dlutils.c | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/ext/DynaLoader/dl_aix.xs b/ext/DynaLoader/dl_aix.xs index 9c98972da3..548e4ed973 100644 --- a/ext/DynaLoader/dl_aix.xs +++ b/ext/DynaLoader/dl_aix.xs @@ -780,7 +780,7 @@ CLONE(...) * using Perl variables that belong to another thread, we create our * own for this thread. */ - MY_CXT.x_dl_last_error = newSVpvn("", 0); + MY_CXT.x_dl_last_error = newSVpvs(""); #endif diff --git a/ext/DynaLoader/dl_dllload.xs b/ext/DynaLoader/dl_dllload.xs index ea0a8f6219..ff0c7a9572 100644 --- a/ext/DynaLoader/dl_dllload.xs +++ b/ext/DynaLoader/dl_dllload.xs @@ -205,7 +205,7 @@ CLONE(...) * using Perl variables that belong to another thread, we create our * own for this thread. */ - MY_CXT.x_dl_last_error = newSVpvn("", 0); + MY_CXT.x_dl_last_error = newSVpvs(""); #endif diff --git a/ext/DynaLoader/dl_dlopen.xs b/ext/DynaLoader/dl_dlopen.xs index cb513ab9d3..3a009ae7e3 100644 --- a/ext/DynaLoader/dl_dlopen.xs +++ b/ext/DynaLoader/dl_dlopen.xs @@ -279,7 +279,7 @@ CLONE(...) * using Perl variables that belong to another thread, we create our * own for this thread. */ - MY_CXT.x_dl_last_error = newSVpvn("", 0); + MY_CXT.x_dl_last_error = newSVpvs(""); #endif diff --git a/ext/DynaLoader/dl_dyld.xs b/ext/DynaLoader/dl_dyld.xs index caa94676b0..2ed10bb6bc 100644 --- a/ext/DynaLoader/dl_dyld.xs +++ b/ext/DynaLoader/dl_dyld.xs @@ -234,7 +234,7 @@ CLONE(...) * using Perl variables that belong to another thread, we create our * own for this thread. */ - MY_CXT.x_dl_last_error = newSVpvn("", 0); + MY_CXT.x_dl_last_error = newSVpvs(""); #endif diff --git a/ext/DynaLoader/dl_freemint.xs b/ext/DynaLoader/dl_freemint.xs index 6970a760e2..f154dcbec6 100644 --- a/ext/DynaLoader/dl_freemint.xs +++ b/ext/DynaLoader/dl_freemint.xs @@ -211,7 +211,7 @@ CLONE(...) * using Perl variables that belong to another thread, we create our * own for this thread. */ - MY_CXT.x_dl_last_error = newSVpvn("", 0); + MY_CXT.x_dl_last_error = newSVpvs(""); dl_resolve_using = get_av("DynaLoader::dl_resolve_using", GV_ADDMULTI); dl_require_symbols = get_av("DynaLoader::dl_require_symbols", GV_ADDMULTI); diff --git a/ext/DynaLoader/dl_hpux.xs b/ext/DynaLoader/dl_hpux.xs index 4acc8c12e3..e08919044e 100644 --- a/ext/DynaLoader/dl_hpux.xs +++ b/ext/DynaLoader/dl_hpux.xs @@ -191,7 +191,7 @@ CLONE(...) * using Perl variables that belong to another thread, we create our * own for this thread. */ - MY_CXT.x_dl_last_error = newSVpvn("", 0); + MY_CXT.x_dl_last_error = newSVpvs(""); dl_resolve_using = get_av("DynaLoader::dl_resolve_using", GV_ADDMULTI); #endif diff --git a/ext/DynaLoader/dl_symbian.xs b/ext/DynaLoader/dl_symbian.xs index 7f0c0d3900..b509a6a19f 100644 --- a/ext/DynaLoader/dl_symbian.xs +++ b/ext/DynaLoader/dl_symbian.xs @@ -234,7 +234,7 @@ CLONE(...) * using Perl variables that belong to another thread, we create our * own for this thread. */ - MY_CXT.x_dl_last_error = newSVpvn("", 0); + MY_CXT.x_dl_last_error = newSVpvs(""); #endif diff --git a/ext/DynaLoader/dl_vms.xs b/ext/DynaLoader/dl_vms.xs index 6eb2c546b2..23cf11b97d 100644 --- a/ext/DynaLoader/dl_vms.xs +++ b/ext/DynaLoader/dl_vms.xs @@ -368,7 +368,7 @@ CLONE(...) * using Perl variables that belong to another thread, we create our * own for this thread. */ - MY_CXT.x_dl_last_error = newSVpvn("", 0); + MY_CXT.x_dl_last_error = newSVpvs(""); dl_require_symbols = get_av("DynaLoader::dl_require_symbols", GV_ADDMULTI); #endif diff --git a/ext/DynaLoader/dl_win32.xs b/ext/DynaLoader/dl_win32.xs index f5d56cf5e8..ac59e11f53 100644 --- a/ext/DynaLoader/dl_win32.xs +++ b/ext/DynaLoader/dl_win32.xs @@ -48,7 +48,7 @@ OS_Error_String(pTHX) DWORD err = GetLastError(); STRLEN len; if (!dl_error_sv) - dl_error_sv = newSVpvn("",0); + dl_error_sv = newSVpvs(""); PerlProc_GetOSError(dl_error_sv,err); return SvPV(dl_error_sv,len); } @@ -207,7 +207,7 @@ CLONE(...) * using Perl variables that belong to another thread, we create our * own for this thread. */ - MY_CXT.x_dl_last_error = newSVpvn("", 0); + MY_CXT.x_dl_last_error = newSVpvs(""); #endif diff --git a/ext/DynaLoader/dlutils.c b/ext/DynaLoader/dlutils.c index 574ccadc34..29d9b91784 100644 --- a/ext/DynaLoader/dlutils.c +++ b/ext/DynaLoader/dlutils.c @@ -92,7 +92,7 @@ dl_generic_private_init(pTHX) /* called by dl_*.xs dl_private_init() */ char *perl_dl_nonlazy; MY_CXT_INIT; - MY_CXT.x_dl_last_error = newSVpvn("", 0); + MY_CXT.x_dl_last_error = newSVpvs(""); dl_nonlazy = 0; #ifdef DL_LOADONCEONLY dl_loaded_files = NULL; |