Commit Graph
24019 Commits
Author SHA1 Message Date
Jim Meyering 2b730915f8 (print_news_deltas): New function, extracted from main.
(main): Make `news_file' an array.
Use '...=s' => \@var for --news and --url-directory specs.
Before there were a couple of problems.
2003-10-01 08:09:02 +00:00
Jim Meyering 2ec43c609b *** empty log message *** 2003-09-30 06:44:35 +00:00
Jim Meyering 49061e6bde (tm_diff) [! HAVE_TM_GMTOFF]: Fix arg typo in previous patch. 2003-09-30 06:44:32 +00:00
Jim Meyering a981c15fd2 . 2003-09-28 12:38:38 +00:00
Jim Meyering cc0d217786 . 2003-09-28 12:36:51 +00:00
Jim Meyering b127b8e824 *** empty log message *** 2003-09-28 08:39:37 +00:00
Jim Meyering 7f7abaa447 (sc_cast_of_alloca_return_value): New rule.
(syntax-check-rules): Add it.
2003-09-28 08:39:31 +00:00
Jim Meyering 969e23d12a *** empty log message *** 2003-09-28 08:25:40 +00:00
Jim Meyering c0db07f7f9 (sc_cast_of_x_alloc_return_value): Also check for alloca casts. 2003-09-28 08:25:24 +00:00
Jim Meyering 3d56cf5c1d Remove unnecessary casts of alloca, since now it's guaranteed to be (void *). 2003-09-28 08:23:28 +00:00
Jim Meyering b19d106cdb Remove unnecessary casts of alloca, since now it's guaranteed to be (void *). 2003-09-28 08:22:35 +00:00
Jim Meyering 9d35e5e049 (ASSIGN_STRDUPA):
Remove unnecessary casts of alloca, since now it's guaranteed to be (void *).
2003-09-28 08:22:15 +00:00
Jim Meyering 8f98e0e4dd Remove unnecessary casts of alloca, since now it's guaranteed to be (void *). 2003-09-28 08:21:35 +00:00
Jim Meyering 793eadf8a9 Remove unnecessary casts of alloca, since now it's guaranteed to be (void *). 2003-09-28 08:21:14 +00:00
Jim Meyering 9691f1611e Remove unnecessary cast of alloca, since now it's guaranteed to be (void *). 2003-09-28 08:20:52 +00:00
Jim Meyering 819f39dc9b Remove unnecessary cast of alloca, since now it's guaranteed to be (void *). 2003-09-28 08:17:39 +00:00
Jim Meyering 401673f8dd Minor efficiency tweak.
(PATH_BASENAME_CONCAT): Use memcpy rather than strcpy.
(do_link): Likewise.
2003-09-28 08:14:34 +00:00
Jim Meyering 156549eb5d *** empty log message *** 2003-09-28 08:09:46 +00:00
Jim Meyering 4f58c187da Update from gnulib. 2003-09-28 08:09:28 +00:00
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