mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
Output correct errno-related diagnostic on "paste" I/O errors.
Improve diet libc port.
This commit is contained in:
1 parent
53af9da394
commit
299fd05251
1 file changed
+9
-4
@@ -1,11 +1,16 @@
|
||||
2004-09-02 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Port to diet libc. Problem reported by Felix von Leitner in
|
||||
<http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00171.html>.
|
||||
Output correct errno-related diagnostic on "paste" I/O errors.
|
||||
* src/paste.c (write_error, xputchar): New functions.
|
||||
(paste_parallel): Use correct errno value after input error.
|
||||
(paste_parallel, paste_serial): Report errno value after output error.
|
||||
|
||||
Port to diet libc. Problem reported by Felix von Leitner in:
|
||||
http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00171.html
|
||||
* src/paste.c (dummy_closed, CLOSED, dummy_endlist, ENDLIST): Remove;
|
||||
it's not portable C to assume FILE is a complete type.
|
||||
(paste_parallel): Use null instead of ENDLIST, and an explicit
|
||||
boolean instead of CLOSED.
|
||||
(paste_parallel): Use index test instead of ENDLIST, and NULL
|
||||
instead of CLOSED.
|
||||
|
||||
2004-08-24 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
|
||||
Reference in new issue
Block a user