Commit Graph
16950 Commits
Author SHA1 Message Date
Jim Meyering 5fba963d34 (Translating): Correct typo in menu description. 2003-09-28 08:00:50 +00:00
Jim Meyering fc1f8d7354 *** empty log message *** 2003-09-28 08:00:35 +00:00
Jim Meyering 47b9de17a1 sync from gnulib -- just changes comments 2003-09-27 17:26:26 +00:00
Jim Meyering 6135224e97 *** empty log message *** 2003-09-27 06:57:20 +00:00
Jim Meyering a204154711 *** empty log message *** 2003-09-27 06:57:15 +00:00
Jim Meyering 6ab7d9e425 Don't exhaust virtual memory when processing large inputs.
Fix this by removing csplit's internal free-list management;
instead rely on malloc for that.

(free_list): Remove global.
(clear_all_line_control): Remove function.
(get_new_buffer): Always use create_new_buffer to obtain a
new buffer, rather than searching free_list.
(free_buffer): Just call free.
2003-09-27 06:57:07 +00:00
Jim Meyering de5bdb6fd0 *** empty log message *** 2003-09-27 06:52:38 +00:00
Jim Meyering 6e7f3fae30 . 2003-09-26 20:11:15 +00:00
Jim Meyering 841d9837dc *** empty log message *** 2003-09-26 13:47:26 +00:00
Jim Meyering 5eb4f2ce17 Also list `chattr' in SEE ALSO section. 2003-09-26 13:47:19 +00:00
Jim Meyering 4f77354540 *** empty log message *** 2003-09-26 13:47:05 +00:00
Jim Meyering 1906c91498 *** empty log message *** 2003-09-25 18:01:32 +00:00
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