>From 95206cbe9633f64a780349df9cd45548fc0786f1 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 18 Sep 2026 14:03:06 -0400 Subject: [PATCH 12/18] remove references to old translation framework from getopt and strsignal these still need to be converted over to the new string lookup system. --- src/misc/getopt.c | 1 - src/string/strsignal.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/misc/getopt.c b/src/misc/getopt.c index b02b81c3..e34d6ccf 100644 --- a/src/misc/getopt.c +++ b/src/misc/getopt.c @@ -16,7 +16,6 @@ weak_alias(__optreset, optreset); void __getopt_msg(const char *a, const char *b, const char *c, size_t l) { FILE *f = stderr; - b = __lctrans_cur(b); FLOCK(f); fputs(a, f)>=0 && fwrite(b, strlen(b), 1, f) diff --git a/src/string/strsignal.c b/src/string/strsignal.c index 5156366e..f5da0f54 100644 --- a/src/string/strsignal.c +++ b/src/string/strsignal.c @@ -122,5 +122,5 @@ char *strsignal(int signum) for (; signum--; s++) for (; *s; s++); - return (char *)LCTRANS_CUR(s); + return (char *)s; } -- 2.21.0