* lib/xstdopen.c (xstdopen): Improve error message. Ignore the errno
value.
+2024-12-17 Bruno Haible <bruno@clisp.org>
+
+ xstdopen: Improve error message.
+ * lib/xstdopen.c (xstdopen): Improve error message. Ignore the errno
+ value.
+
2024-12-16 Sam Russell <sam.h.russell@gmail.com>
crc: Add PCLMUL implementation
-
* lib/crc-x86_64-pclmul.c: Implement CRC32 with PCLMUL intrinsics.
* lib/crc-x86_64.h: Add header for CRC32 with PCLMUL instrinsics.
* lib/crc.c: Use PCLMUL implementation if available.
{
int stdopen_errno = stdopen ();
if (stdopen_errno != 0)
- error (exit_failure, stdopen_errno, _("standard file descriptors"));
+ /* Ignore stdopen_errno in the error message, since it may be misleading
+ (see stdopen.c). */
+ error (exit_failure, 0,
+ _("failed to open all three standard file descriptors; maybe %s or %s are not working right?"),
+ "/dev/null", "/dev/full");
}