summaryrefslogtreecommitdiff
path: root/ext/POSIX/POSIX.xs
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-01-15 15:48:57 -0700
committerKarl Williamson <khw@cpan.org>2018-01-30 22:49:03 -0700
commit688523a07c52ae6d2b46270f0eebc90807f34595 (patch)
tree74b578ab81e0b5fd557d858f0bd21c13819bafec /ext/POSIX/POSIX.xs
parent4a6e2ba6734aaf982dd135520aa5ce3ddcfc4d6e (diff)
downloadperl-688523a07c52ae6d2b46270f0eebc90807f34595.tar.gz
Simplify some LC_NUMERIC macros
These macros are marked as subject to change and are not documented externally. I don't know what I was thinking when I named some of them, but whatever no longer makes sense to me. Simplify them, and change so there is only one restore macro to remember.
Diffstat (limited to 'ext/POSIX/POSIX.xs')
-rw-r--r--ext/POSIX/POSIX.xs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index a70ec21c93..82fba1fe30 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -2198,7 +2198,7 @@ localeconv()
}
}
- RESTORE_LC_NUMERIC_STANDARD();
+ RESTORE_LC_NUMERIC();
#endif /* HAS_LOCALECONV */
OUTPUT:
RETVAL
@@ -3303,7 +3303,7 @@ strtod(str)
else
PUSHs(&PL_sv_undef);
}
- RESTORE_LC_NUMERIC_STANDARD();
+ RESTORE_LC_NUMERIC();
#ifdef HAS_STRTOLD
@@ -3325,7 +3325,7 @@ strtold(str)
else
PUSHs(&PL_sv_undef);
}
- RESTORE_LC_NUMERIC_STANDARD();
+ RESTORE_LC_NUMERIC();
#endif