This is moved so it gets executed for all branches.
errstr = Strerror(errnum);
if (errstr) {
-#ifdef DEBUGGING
-
- if (DEBUG_Lv_TEST) {
- PerlIO_printf(Perl_debug_log, "Strerror returned; saving a copy: '");
- print_bytes_for_locale(errstr, errstr + strlen(errstr), 0);
- PerlIO_printf(Perl_debug_log, "'\n");
- }
-
-#endif
-
errstr = savepv(errstr);
SAVEFREEPV(errstr);
}
LOCALE_UNLOCK;
# endif
+
+#ifdef DEBUGGING
+
+ if (DEBUG_Lv_TEST) {
+ PerlIO_printf(Perl_debug_log, "Strerror returned; saving a copy: '");
+ print_bytes_for_locale(errstr, errstr + strlen(errstr), 0);
+ PerlIO_printf(Perl_debug_log, "'\n");
+ }
+
#endif
return errstr;