Jim Meyering [Tue, 13 Jan 2004 09:29:02 +0000 (09:29 +0000)]
*** empty log message ***
Jim Meyering [Tue, 13 Jan 2004 00:06:07 +0000 (00:06 +0000)]
duh: system.h, not system.c
Jim Meyering [Tue, 13 Jan 2004 00:05:10 +0000 (00:05 +0000)]
*** empty log message ***
Jim Meyering [Tue, 13 Jan 2004 00:05:08 +0000 (00:05 +0000)]
Replace src/sys2.h with src/system.h.
Jim Meyering [Tue, 13 Jan 2004 00:01:49 +0000 (00:01 +0000)]
*** empty log message ***
Jim Meyering [Tue, 13 Jan 2004 00:01:43 +0000 (00:01 +0000)]
.
Jim Meyering [Tue, 13 Jan 2004 00:01:21 +0000 (00:01 +0000)]
(noinst_HEADERS): Remove sys2.h.
Jim Meyering [Tue, 13 Jan 2004 00:01:08 +0000 (00:01 +0000)]
removed: contents have been included in system.h
Jim Meyering [Tue, 13 Jan 2004 00:00:39 +0000 (00:00 +0000)]
Include contents of sys2.h.
Jim Meyering [Mon, 12 Jan 2004 23:44:41 +0000 (23:44 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Jan 2004 23:44:03 +0000 (23:44 +0000)]
.
Jim Meyering [Mon, 12 Jan 2004 23:38:34 +0000 (23:38 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Jan 2004 23:38:26 +0000 (23:38 +0000)]
Update from gettext-0.13.1.
Jim Meyering [Mon, 12 Jan 2004 23:37:17 +0000 (23:37 +0000)]
.
Jim Meyering [Mon, 12 Jan 2004 23:37:03 +0000 (23:37 +0000)]
New files. From gettext-0.13.1.
Jim Meyering [Mon, 12 Jan 2004 23:35:50 +0000 (23:35 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Jan 2004 23:35:31 +0000 (23:35 +0000)]
Use gettext-0.13.1.
Jim Meyering [Mon, 12 Jan 2004 23:34:25 +0000 (23:34 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Jan 2004 23:00:09 +0000 (23:00 +0000)]
.
Jim Meyering [Mon, 12 Jan 2004 22:59:07 +0000 (22:59 +0000)]
.
Jim Meyering [Mon, 12 Jan 2004 22:58:43 +0000 (22:58 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Jan 2004 22:58:36 +0000 (22:58 +0000)]
Update from gettext-0.13.1.
Jim Meyering [Mon, 12 Jan 2004 22:57:46 +0000 (22:57 +0000)]
.
Jim Meyering [Mon, 12 Jan 2004 21:24:48 +0000 (21:24 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Jan 2004 21:24:10 +0000 (21:24 +0000)]
Add m4/po.m4 to the list of exceptions.
Jim Meyering [Mon, 12 Jan 2004 21:22:58 +0000 (21:22 +0000)]
remove spurious SPACEs before TABs
Change ` \t' to \t ' in `defaultIFS' assignment.
Jim Meyering [Mon, 12 Jan 2004 21:22:08 +0000 (21:22 +0000)]
updated from automake
Jim Meyering [Mon, 12 Jan 2004 20:44:10 +0000 (20:44 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Jan 2004 20:33:33 +0000 (20:33 +0000)]
(%.sig): Use .sig suffix rather than .asc.
Jim Meyering [Mon, 12 Jan 2004 14:46:13 +0000 (14:46 +0000)]
.
Jim Meyering [Mon, 12 Jan 2004 14:07:41 +0000 (14:07 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Jan 2004 14:06:55 +0000 (14:06 +0000)]
(po-check): Ensure that cvsu works before using it.
Jim Meyering [Mon, 12 Jan 2004 09:46:59 +0000 (09:46 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Jan 2004 09:43:28 +0000 (09:43 +0000)]
.
Jim Meyering [Mon, 12 Jan 2004 09:41:53 +0000 (09:41 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Jan 2004 09:41:29 +0000 (09:41 +0000)]
(main): Warn about following stdin only when it's a tty.
Jim Meyering [Mon, 12 Jan 2004 07:31:43 +0000 (07:31 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Jan 2004 07:31:39 +0000 (07:31 +0000)]
(gl_DEFAULT_POSIX2_VERSION): Move
the documentation from 'configure' into 'config.hin',
so that 'configure --help' isn't burdened by it and
we don't have to worry about its formatting there.
Reword the documentation so that it's more succinct
and can be run together into a single paragraph.
Jim Meyering [Sun, 11 Jan 2004 23:52:03 +0000 (23:52 +0000)]
.
Jim Meyering [Sun, 11 Jan 2004 23:50:42 +0000 (23:50 +0000)]
*** empty log message ***
Jim Meyering [Sun, 11 Jan 2004 23:50:30 +0000 (23:50 +0000)]
*** empty log message ***
Jim Meyering [Sun, 11 Jan 2004 23:50:27 +0000 (23:50 +0000)]
Use gl_DEFAULT_POSIX2_VERSION.
Jim Meyering [Sun, 11 Jan 2004 23:47:28 +0000 (23:47 +0000)]
*** empty log message ***
Jim Meyering [Sun, 11 Jan 2004 23:47:22 +0000 (23:47 +0000)]
(DEFAULT_POSIX2_VERSION): Use definition of new,
optional configure-time default.
Jim Meyering [Sun, 11 Jan 2004 23:45:46 +0000 (23:45 +0000)]
*** empty log message ***
Jim Meyering [Sun, 11 Jan 2004 23:39:50 +0000 (23:39 +0000)]
.
Jim Meyering [Sun, 11 Jan 2004 23:39:20 +0000 (23:39 +0000)]
(gl_DEFAULT_POSIX2_VERSION): New macro.
Jim Meyering [Sun, 11 Jan 2004 23:36:34 +0000 (23:36 +0000)]
*** empty log message ***
Jim Meyering [Sun, 11 Jan 2004 23:23:39 +0000 (23:23 +0000)]
.
Jim Meyering [Sun, 11 Jan 2004 23:21:06 +0000 (23:21 +0000)]
.
Jim Meyering [Sat, 10 Jan 2004 16:59:22 +0000 (16:59 +0000)]
*** empty log message ***
Jim Meyering [Sat, 10 Jan 2004 16:59:17 +0000 (16:59 +0000)]
(version_etc_copyright): Update copyright date.
Jim Meyering [Sat, 10 Jan 2004 10:10:35 +0000 (10:10 +0000)]
*** empty log message ***
Jim Meyering [Sat, 10 Jan 2004 10:10:12 +0000 (10:10 +0000)]
Use backticks, not $().
Jim Meyering [Fri, 9 Jan 2004 21:49:58 +0000 (21:49 +0000)]
.
Jim Meyering [Fri, 9 Jan 2004 21:49:32 +0000 (21:49 +0000)]
*** empty log message ***
Jim Meyering [Fri, 9 Jan 2004 21:49:28 +0000 (21:49 +0000)]
(TESTS): Add expand.
Jim Meyering [Fri, 9 Jan 2004 21:48:52 +0000 (21:48 +0000)]
.
Jim Meyering [Fri, 9 Jan 2004 21:48:23 +0000 (21:48 +0000)]
Quote underquoted `jm_DUMMY_1' to avoid new warning.
Jim Meyering [Fri, 9 Jan 2004 18:28:44 +0000 (18:28 +0000)]
*** empty log message ***
Jim Meyering [Fri, 9 Jan 2004 18:27:12 +0000 (18:27 +0000)]
.
Jim Meyering [Fri, 9 Jan 2004 18:16:11 +0000 (18:16 +0000)]
*** empty log message ***
Jim Meyering [Fri, 9 Jan 2004 18:15:58 +0000 (18:15 +0000)]
(yes invocation): Document that a write error
makes `yes' exit unsuccessfully.
(chroot invocation): Enumerate the meaning of exit status values.
(nice invocation): Likewise.
(Exit status) [@macro exitstatus]: New macro.
Use @exitstatus to describe the exit status of most programs.
Jim Meyering [Fri, 9 Jan 2004 16:21:51 +0000 (16:21 +0000)]
(du invocation): Mention that -H will eventually
mean not --si, but --dereference-args (-D).
Jim Meyering [Fri, 9 Jan 2004 16:16:32 +0000 (16:16 +0000)]
*** empty log message ***
Jim Meyering [Fri, 9 Jan 2004 16:05:36 +0000 (16:05 +0000)]
Use `bool' (not int) as the type for a few
global variables.
(collapse_escapes): Rewrite to set globals rather than modifying
its parameter.
Use size_t (not int) for all counters and related index variables.
(paste_parallel): Remove needless complexity of
using xrealloc in the loop; just allocate the buffers up front.
Free the two temporary buffers.
Move declarations of locals `down' into scope where used.
(paste_serial): Remove `register' attributes.
(main): Simplify delim-related code.
Free `delims', now that it's malloc'd.
Jim Meyering [Thu, 8 Jan 2004 14:29:01 +0000 (14:29 +0000)]
*** empty log message ***
Jim Meyering [Thu, 8 Jan 2004 14:28:44 +0000 (14:28 +0000)]
(human_fstype): Use %lx, not %x format for `unsigned long'.
Jim Meyering [Thu, 8 Jan 2004 14:19:58 +0000 (14:19 +0000)]
*** empty log message ***
Jim Meyering [Thu, 8 Jan 2004 14:19:55 +0000 (14:19 +0000)]
(TESTS_ENVIRONMENT): Remove `/vg' (prerelease test
remnant) from PATH component. That would cause tests in this directory
not to run the just-built binaries, but rather whatever happened
to be in one's PATH. Reported by Christian Krackowizer.
Jim Meyering [Tue, 6 Jan 2004 18:39:48 +0000 (18:39 +0000)]
.
Jim Meyering [Sun, 4 Jan 2004 21:12:00 +0000 (21:12 +0000)]
(add_temp_dir): Use x2nrealloc rather than xrealloc.
(fillbuf): Use x2nrealloc rather than xrealloc.
(sort): Use xnmalloc rather than xmalloc.
(main): Likewise.
Jim Meyering [Sun, 4 Jan 2004 21:10:11 +0000 (21:10 +0000)]
(n_tabs_allocated): New global.
(add_tabstop): Use x2nrealloc rather than xrealloc.
Jim Meyering [Sun, 4 Jan 2004 21:09:30 +0000 (21:09 +0000)]
(n_tabs_allocated): New global.
(add_tabstop): Use x2nrealloc rather than xrealloc.
Jim Meyering [Sun, 4 Jan 2004 21:08:47 +0000 (21:08 +0000)]
(new_control_record): Use x2nrealloc rather than xrealloc.
Jim Meyering [Sun, 4 Jan 2004 21:07:40 +0000 (21:07 +0000)]
(tee): Use xnmalloc rather than xmalloc.
Jim Meyering [Sun, 4 Jan 2004 21:07:16 +0000 (21:07 +0000)]
(re_protect): Use ASSIGN_STRDUPA rather than alloca and strcpy.
(make_path_private): Likewise.
Jim Meyering [Sun, 4 Jan 2004 21:04:27 +0000 (21:04 +0000)]
(copy_internal): Use ASSIGN_STRDUPA rather than alloca and strcpy.
Jim Meyering [Sun, 4 Jan 2004 21:00:49 +0000 (21:00 +0000)]
(main): Use memcpy, not strcpy.
Jim Meyering [Sun, 4 Jan 2004 21:00:22 +0000 (21:00 +0000)]
(main): Warn about following stdin.
Fail when following by name but no names are specified.
Jim Meyering [Sun, 4 Jan 2004 20:59:31 +0000 (20:59 +0000)]
(usage): Mention that, with its current meaning, -H is deprecated.
Jim Meyering [Sun, 4 Jan 2004 20:45:45 +0000 (20:45 +0000)]
revert last change
Jim Meyering [Sun, 4 Jan 2004 20:30:00 +0000 (20:30 +0000)]
Include "exitfail.h".
(main): Set exit_failure.
Jim Meyering [Sun, 4 Jan 2004 20:25:46 +0000 (20:25 +0000)]
Include "quote.h".
(CHROOT_FOUND_BUT_CANNOT_INVOKE, CHROOT_FAILURE): Define.
(main): Exit with status of 127, not 1, for too-few-args,
chroot failure, or chdir failure.
Give a better diagnostic upon execvp failure.
Jim Meyering [Tue, 30 Dec 2003 08:49:53 +0000 (08:49 +0000)]
(tv): Avoid obsolete -o usage.
Jim Meyering [Tue, 30 Dec 2003 08:26:58 +0000 (08:26 +0000)]
Include posixver.h.
(obsolete_usage): New var.
(longopts): Put obsolete options first.
(OBSOLETE_LONG_OPTIONS): New constant.
(get_option, add_file_name): New functions.
(main): Use them to support new behavior.
(usage): Remove documentation for -j1 FIELD and -j2 FIELD.
Do not mark -j FIELD as obsolescent; it is longstanding
UNIX tradition and is a valid extension to POSIX.
Jim Meyering [Tue, 30 Dec 2003 08:26:31 +0000 (08:26 +0000)]
*** empty log message ***
Jim Meyering [Tue, 30 Dec 2003 08:26:16 +0000 (08:26 +0000)]
(join invocation): Remove documentation
accordingly. Document that -t makes all separators significant.
Jim Meyering [Tue, 30 Dec 2003 08:24:41 +0000 (08:24 +0000)]
remove trailing blank
Jim Meyering [Tue, 30 Dec 2003 08:24:26 +0000 (08:24 +0000)]
(add_field_list): Don't use alloca with unbounded
size; just modify the argument, which is no longer const *.
Various other minor cleanups, mostly to avoid the need for casts.
(extract_field): Renamed from ADD_FIELD, as it's now a function.
(struct field.beg): Now char *, not unsigned char const *. All
uses changed. It shouldn't be const since xmemcoll writes on its
arguments.
(extract_field): Likewise, for 2nd arg.
(keycmp): Remove now-unnecessary cast of xmemcoll args.
(is_blank): New function, to avoid need to cast arg to unsigned char.
(extract_field): Use it.
(xfields): Rewrite pretty much from scratch.
(hard_LC_COLLATE): Now bool, not int.
(get_line, getseq, add_field_list): Now returns bool, not int.
(decode_field_spec, add_field_list): Return true on success (not
false), for consistency with the rest of the code. All uses changed.
(tab): Now char, not unsigned char. This wasn't 100% necessary
but is slightly cleaner.
(prjoin): Hoist (tab ? tab : ' ') expression, to help the compiler.
(empty_filler): Now const *.
(make_blank): Remove; wasn't needed. Remove all calls.
(main): Don't set uni_blank.nfields; zero is fine.
Jim Meyering [Sat, 27 Dec 2003 14:36:26 +0000 (14:36 +0000)]
Include "quote.h".
(min, max): Remove definitions.
Make a few function parameters and corresponding
locals `const'. Use bool for boolean variables.
Use size_t (not int) for all counters and related index variables.
(prjoin): Remove now-useless assertion.
(string_to_join_field): New function.
(main): Accept join fields as large as SIZE_MAX.
(keycmp): Rename `min' to MIN and max to MAX.
Jim Meyering [Sat, 27 Dec 2003 09:58:11 +0000 (09:58 +0000)]
*** empty log message ***
Jim Meyering [Sat, 27 Dec 2003 09:55:48 +0000 (09:55 +0000)]
.
Jim Meyering [Sat, 27 Dec 2003 09:55:22 +0000 (09:55 +0000)]
*** empty log message ***
Jim Meyering [Sat, 27 Dec 2003 09:55:11 +0000 (09:55 +0000)]
fold -s didn't work on e.g., alpha-based systems.
* src/fold.c (fold_file): Adjust types (int->size_t) so that using
x2nrealloc works properly on systems with differing sizes for int
and size_t. Reported by Nelson Beebe.
* src/fold.c: Use `bool' (not int) as the type for a few
global variables.
Jim Meyering [Wed, 24 Dec 2003 16:38:41 +0000 (16:38 +0000)]
*** empty log message ***
Jim Meyering [Wed, 24 Dec 2003 16:38:36 +0000 (16:38 +0000)]
(length_of_file_names_and_frills):
Remove forward decl; not needed.
(print_file_name_and_frills, length_of_file_name_and_frills):
With -m, don't output spaces before inum or size.
(print_with_commas): Don't output space just before newline.
Jim Meyering [Wed, 24 Dec 2003 16:37:38 +0000 (16:37 +0000)]
(TESTS): Add m-option.
Jim Meyering [Wed, 24 Dec 2003 16:35:18 +0000 (16:35 +0000)]
.
Jim Meyering [Mon, 22 Dec 2003 15:36:43 +0000 (15:36 +0000)]
bump to 5.1.1