The earlier patch to constify safe_strerror missed a couple of spots,
corrected here.
gdb/ChangeLog
2019-11-01 Tom Tromey <tromey@adacore.com>
* gdbsupport/mingw-strerror.c (safe_strerror): Constify result.
Change-Id: I36d5ced144d27b1a6734d9ab9a10a7b9f339ae88
+2019-11-01 Tom Tromey <tromey@adacore.com>
+
+ * gdbsupport/mingw-strerror.c (safe_strerror): Constify result.
+
2019-11-01 Christian Biesinger <cbiesinger@google.com>
* configure: Regenerate.
unfortunately this includes all socket-related error codes.
This replacement tries to find a system-provided error message. */
-char *
+const char *
safe_strerror (int errnum)
{
static char *buffer;