* lib/readutmp.c: Omit -Sstringop-overread pragma.
It’s no longer needed now that extract_trimmed_name
no longer calls strnlen.
+2023-08-08 Paul Eggert <eggert@cs.ucla.edu>
+
+ readutmp: omit pragma
+ * lib/readutmp.c: Omit -Sstringop-overread pragma.
+ It’s no longer needed now that extract_trimmed_name
+ no longer calls strnlen.
+
2023-08-08 Bruno Haible <bruno@clisp.org>
readutmp: Use classical implementation for files != /var/run/utmp.
# pragma GCC diagnostic ignored "-Wsizeof-pointer-memaccess"
#endif
-/* Work around <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110884>. */
-#if 11 <= __GNUC__
-# pragma GCC diagnostic ignored "-Wstringop-overread"
-#endif
-
/* Copy UT->ut_user into storage obtained from malloc. Then remove any
trailing spaces from the copy, NUL terminate it, and return the copy. */