summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--handy.h1
-rw-r--r--locale.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/handy.h b/handy.h
index afd60e23d8..54ecc24883 100644
--- a/handy.h
+++ b/handy.h
@@ -2519,7 +2519,6 @@ The typedef to use to declare variables that are to hold line numbers.
Line numbers are unsigned, 32 bits.
*/
typedef U32 line_t;
-#define LINE_Tf U32uf
#define NOLINE ((line_t) 4294967295UL) /* = FFFFFFFF */
/* Helpful alias for version prescan */
diff --git a/locale.c b/locale.c
index c6eddf7fa3..314fd48979 100644
--- a/locale.c
+++ b/locale.c
@@ -1253,8 +1253,7 @@ S_setlocale_failure_panic_i(pTHX_
}
RESTORE_ERRNO;
- Perl_croak(aTHX_ "panic: %s: %" LINE_Tf "d:(%" LINE_Tf
- "): Can't change locale for" " %s(%d)"
+ Perl_croak(aTHX_ "panic: %s: %d:(%d): Can't change locale for %s(%d)"
" from '%s' to '%s'; errno=%d\n",
__FILE__, caller_0_line, caller_1_line, name, cat,
current, failed, errno);