diff options
| author | Jörg Frings-Fürst <debian@jff.email> | 2026-03-10 13:24:07 +0100 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff.email> | 2026-03-10 13:24:07 +0100 |
| commit | cfd1f17f1a85d95ea12bca8dae42add7dad1ad11 (patch) | |
| tree | 8016486f8ee7157213f2d09ff2491bfa9c94638a /tests/error.c | |
| parent | 14e4d584d0121031ec40e6c35869745f1747ff29 (diff) | |
| parent | 1403307d6e2fb4e7b5d97a35f40d1e95134561ab (diff) | |
Merge branch 'release/debian/1.4.2-1'HEADdebian/1.4.2-1master
Diffstat (limited to 'tests/error.c')
| -rw-r--r-- | tests/error.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/error.c b/tests/error.c index 68168053..e066241b 100644 --- a/tests/error.c +++ b/tests/error.c @@ -1,5 +1,5 @@ /* Error handler for noninteractive utilities - Copyright (C) 1990-2024 Free Software Foundation, Inc. + Copyright (C) 1990-2026 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -38,7 +38,7 @@ #if !_LIBC && ENABLE_NLS # include "gettext.h" -# define _(msgid) gettext (msgid) +# define _(msgid) dgettext (GNULIB_TEXT_DOMAIN, msgid) #endif #ifdef _LIBC @@ -165,8 +165,8 @@ flush_stdout (void) #if !_LIBC int stdout_fd; -# if GNULIB_FREOPEN_SAFER - /* Use of gnulib's freopen-safer module normally ensures that +# if GNULIB_FREOPEN_SAFER || GNULIB_XSTDOPEN + /* Gnulib's freopen-safer and/or xstdopen modules normally ensure that fileno (stdout) == 1 whenever stdout is open. */ stdout_fd = STDOUT_FILENO; @@ -197,7 +197,7 @@ print_errno_message (int errnum) if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0) s = errbuf; else - s = 0; + s = NULL; # endif #else s = strerror (errnum); |
