Commit Graph
22888 Commits
Author SHA1 Message Date
Jim Meyering a4e040da21 Don't invoke AC_AIX or AC_MINIX explicitly, now
that we use gl_USE_SYSTEM_EXTENSIONS, since it AC_REQUIREs them.
2003-09-25 18:01:25 +00:00
Jim Meyering 0874e07909 *** empty log message *** 2003-09-25 17:50:05 +00:00
Jim Meyering 8e9cd6e1c0 . 2003-09-24 17:57:03 +00:00
Jim Meyering e7bebd6729 (check_and_close, dump, dump_strings): Don't report bogus errno value
after ferror discovers an output error.  We don't know the proper
errno value, since it might have been caused by any of a whole
bunch of calls, and it might have been trashed in the meantime.
Fixing this problem will require much more extensive changes;
in the meantime just say "write error".

(skip): If a read fails, don't retry it later, so
that we report the proper errno.
2003-09-24 08:21:30 +00:00
Jim Meyering 1790ed9cb8 . 2003-09-23 22:02:44 +00:00
Jim Meyering a8c942e915 (TESTS): Add deref-args. 2003-09-23 22:02:26 +00:00
Jim Meyering c50b02c852 *** empty log message *** 2003-09-23 22:00:51 +00:00
Jim Meyering 0af594adb4 (get_line): Report error right away if I/O fails,
so that the proper errno value is used.
2003-09-23 21:57:52 +00:00
Jim Meyering 8839f376d3 *** empty log message *** 2003-09-23 21:57:19 +00:00
Jim Meyering 93bf700a94 (close_output_file): Don't report bogus errno value
after ferror discovers an output error.  We don't know the proper
errno value, since it might have been caused by any of a whole
bunch of calls, and it might have been trashed in the meantime.
Fixing this problem will require much more extensive changes;
in the meantime just say "write error".
2003-09-23 21:57:13 +00:00
Jim Meyering a3f05cf720 (paste_serial): Save errno after input error,
to report proper errno value.
Based on a patch from Paul Eggert.
2003-09-23 17:47:59 +00:00
Jim Meyering 57a5d2a4db (fold_file): Save errno after input error, to report proper errno value. 2003-09-23 12:12:25 +00:00
Jim Meyering 80aa0840d7 (compare_files): Save errno after input error, to report proper errno value. 2003-09-23 12:09:33 +00:00
Jim Meyering 46369400c7 (unexpand): Save errno after input error, to report proper errno value. 2003-09-23 08:01:26 +00:00
Jim Meyering bac3a335c9 *** empty log message *** 2003-09-23 07:53:25 +00:00
Jim Meyering c0042c884d (tee): Adjust fwrite arguments so that the return
value is the number of bytes written.
2003-09-23 07:51:02 +00:00
Jim Meyering f5f6e466d4 *** empty log message *** 2003-09-22 21:49:18 +00:00
Jim Meyering 39f17b6a2a *** empty log message *** 2003-09-22 18:58:34 +00:00
Jim Meyering 2ba94076b6 (XGETTEXT_OPTIONS): Add --from-code=UTF-8 to accommodate the
non-ASCII comment to translators in ptx.c regarding the author's name.
2003-09-22 18:58:30 +00:00
Jim Meyering 3e5af77932 (tac_mem): Don't return a value; nobody uses it. 2003-09-22 16:03:21 +00:00
Jim Meyering 09203489dd (tee): Once a write failure has occurred, don't bother
writing anything more to that stream.
2003-09-22 16:00:49 +00:00
Jim Meyering 8a0be33fd7 (check_file): Report error right away if I/O fails,
so that the proper errno value is used.
(check_file): Check for ferror (stdout) even if ostream == stdout.
(check_file): Don't report bogus errno value
after ferror discovers an output error.  We don't know the proper
errno value, since it might have been caused by any of a whole
bunch of calls, and it might have been trashed in the meantime.
Fixing this problem will require much more extensive changes;
in the meantime just say "write error".
2003-09-22 15:59:29 +00:00
Jim Meyering afd3a1e066 (UNROLL): Remove.
(main): Exit immediately when write failure is detected.
Simplify code by assigning to argv when argc == 1.
2003-09-22 15:41:05 +00:00
Jim Meyering b867137563 . 2003-09-22 15:31:06 +00:00
Jim Meyering 6d62ecd749 . 2003-09-22 15:29:51 +00:00
Jim Meyering e0c1d81ac2 . 2003-09-22 15:29:02 +00:00
Jim Meyering e04eff898e *** empty log message *** 2003-09-22 07:26:17 +00:00
Jim Meyering 0b037ea945 Switch encoding from Latin-1 to UTF-8.
(WRITTEN_BY): Change "Franc,ois" (actually using
c-with-cedilla in Latin-1) to "F.", so that it's ASCII, as
xgettext requires.
2003-09-22 07:07:16 +00:00
Jim Meyering 7ca1908d76 *** empty log message *** 2003-09-20 08:05:51 +00:00
Jim Meyering 91bc10f713 *** empty log message *** 2003-09-19 08:29:09 +00:00
Jim Meyering 567e58cd2d *** empty log message *** 2003-09-19 08:27:29 +00:00
Jim Meyering 8f51c46818 *** empty log message *** 2003-09-19 07:40:55 +00:00
Jim Meyering 969d9407d3 `du -D symlink-to-dir' would mistakenly omit the slash in
lines like this:  24	symlink-to-dir/subdir

(process_file): Fix offset calculation.
Reported by Jeff Sheinberg as Debian bug #211591;
http://bugs.debian.org/205251
2003-09-19 07:39:04 +00:00
Jim Meyering ff9bb9d85e *** empty log message *** 2003-09-19 07:38:26 +00:00
Jim Meyering f1151cf61f *** empty log message *** 2003-09-19 06:52:12 +00:00
Jim Meyering 32eccc9d08 (process_file): Remove useless disjunct. 2003-09-19 06:51:59 +00:00
Jim Meyering 48294f6a14 *** empty log message *** 2003-09-18 22:23:09 +00:00
Jim Meyering 068b372ab0 . 2003-09-18 22:22:37 +00:00
Jim Meyering 82ca831856 *** empty log message *** 2003-09-18 22:22:17 +00:00
Jim Meyering 79ade1ea9c (version_etc): Rename parameter, authors, to written_by. 2003-09-18 22:21:41 +00:00
Jim Meyering 33c7b98bbc *** empty log message *** 2003-09-18 22:21:10 +00:00
Jim Meyering b14965fae9 (version_etc): Rename parameter, authors, to written_by.
Combine fprintf and following putc('\n'.
2003-09-18 22:20:44 +00:00
Jim Meyering bafd927f03 (WRITTEN_BY): Rename from AUTHORS.
Begin each WRITTEN_BY string with `Written by ' and end it with `.'.
Mark each WRITTEN_BY string as translatable.
2003-09-18 22:19:03 +00:00
Jim Meyering 424b8a4ff8 (case_GETOPT_VERSION_CHAR): Rename parameter, Authors, to Written_by. 2003-09-18 22:16:00 +00:00
Jim Meyering 243ea2b5e9 *** empty log message *** 2003-09-18 22:09:05 +00:00
Jim Meyering c6ec144494 revert previous change 2003-09-18 19:39:12 +00:00
Jim Meyering 2c5fbb29a6 *** empty log message *** 2003-09-18 18:23:19 +00:00
Jim Meyering 3280bf4b55 Update AUTHORS definition to be a comma-separated list of strings and/or update
the call to parse_long_options so that `AUTHORS, NULL' are the last parameters.
2003-09-18 18:22:23 +00:00
Jim Meyering 588291785c *** empty log message *** 2003-09-18 18:13:57 +00:00
Jim Meyering ac58291e4d (parse_long_options): Update prototype. 2003-09-18 18:13:44 +00:00