summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b1d4925)
This makes savepv() part of the expressions instead of a separate
statement.
/* This function is trivial if we have strerror_l() */
if (within_locale_scope) {
/* This function is trivial if we have strerror_l() */
if (within_locale_scope) {
- errstr = strerror(errnum);
+ errstr = savepv(strerror(errnum));
- errstr = strerror_l(errnum, PL_C_locale_obj);
+ errstr = savepv(strerror_l(errnum, PL_C_locale_obj));
- errstr = savepv(errstr);
-
# else /* Doesn't have strerror_l(). */
# ifdef USE_POSIX_2008_LOCALE
# else /* Doesn't have strerror_l(). */
# ifdef USE_POSIX_2008_LOCALE