summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-08-08 19:32:49 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2023-08-08 20:05:33 -0700
commit422dcd424ca6b5fbef8d3bd0088e8e9e3757a203 (patch)
tree9ad8f4a54c855b225c4392a2a3869cb516e11ec8
parentmaint: Simplify after gnulib changed (diff)
downloadcoreutils-422dcd424ca6b5fbef8d3bd0088e8e9e3757a203.tar.gz
coreutils-422dcd424ca6b5fbef8d3bd0088e8e9e3757a203.zip
pinky,who: omit pragma
* src/pinky.c, src/who.c: Omit no-longer-needed -Wstringop-overread pragma.
-rw-r--r--src/pinky.c6
-rw-r--r--src/who.c6
2 files changed, 0 insertions, 12 deletions
diff --git a/src/pinky.c b/src/pinky.c
index 1429dd073..59c552bf1 100644
--- a/src/pinky.c
+++ b/src/pinky.c
@@ -426,12 +426,6 @@ print_heading (void)
putchar ('\n');
}
-/* Work around <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109614>,
- triggered by STREQ_LEN with a negative length. */
-#if 11 <= __GNUC__
-# pragma GCC diagnostic ignored "-Wstringop-overread"
-#endif
-
/* Display UTMP_BUF, which should have N entries. */
static void
diff --git a/src/who.c b/src/who.c
index 27a7904e1..074d2d5ad 100644
--- a/src/who.c
+++ b/src/who.c
@@ -570,12 +570,6 @@ print_heading (void)
_("PID"), _("COMMENT"), _("EXIT"));
}
-/* Work around <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109614>,
- triggered by STREQ_LEN with a negative length. */
-#if 11 <= __GNUC__
-# pragma GCC diagnostic ignored "-Wstringop-overread"
-#endif
-
/* Display UTMP_BUF, which should have N entries. */
static void
scan_entries (idx_t n, const STRUCT_UTMP *utmp_buf)