diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-09-03 01:35:50 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-09-03 01:35:50 +0000 |
commit | 299fd052511a4ee7fe08a0fe0488876ab108a033 (patch) | |
tree | 35a22e418e0b66763cbb04028b90c541d6ffae53 | |
parent | 53af9da394a2e0f8e7cccf7299d9b1f38b3b31a6 (diff) | |
download | coreutils-299fd052511a4ee7fe08a0fe0488876ab108a033.tar.xz |
Output correct errno-related diagnostic on "paste" I/O errors.
Improve diet libc port.
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -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> |