Jim Meyering [Mon, 7 Aug 2000 13:27:24 +0000 (13:27 +0000)]
(head): Call write_header here.
(head_file): ... not here.
Jim Meyering [Mon, 7 Aug 2000 13:23:44 +0000 (13:23 +0000)]
(closeout_func): Remove variable.
(close_stdout_wrapper): Remove unused function.
(main): Remove assignment to closeout_func.
Jim Meyering [Mon, 7 Aug 2000 13:19:52 +0000 (13:19 +0000)]
(fold_file): Remove ferror(stdout) check, already done in close_stdout.
Jim Meyering [Mon, 7 Aug 2000 08:57:11 +0000 (08:57 +0000)]
*** empty log message ***
Jim Meyering [Mon, 7 Aug 2000 08:55:50 +0000 (08:55 +0000)]
(enum) [PARENTS_OPTION]: New member.
(long_opts): Update "parents" and deprecated "path" entries to use
`PARENTS_OPTION', not `P'.
(usage): Update --help output.
(main): Warn that the meaning of `-P' will soon change.
Jim Meyering [Mon, 7 Aug 2000 08:18:32 +0000 (08:18 +0000)]
*** empty log message ***
Jim Meyering [Mon, 7 Aug 2000 07:15:31 +0000 (07:15 +0000)]
*** empty log message ***
Jim Meyering [Mon, 7 Aug 2000 07:15:25 +0000 (07:15 +0000)]
(AC_MBSTATE_T): Define mbstate_t to be int,
not char, for compatibility with glibc 2.1.3 strftime.c.
Jim Meyering [Mon, 7 Aug 2000 07:07:00 +0000 (07:07 +0000)]
(usage): Warn more succintly about the effects of
the locale on sort order.
Jim Meyering [Sun, 6 Aug 2000 19:54:55 +0000 (19:54 +0000)]
*** empty log message ***
Jim Meyering [Sun, 6 Aug 2000 19:09:08 +0000 (19:09 +0000)]
.
Jim Meyering [Sun, 6 Aug 2000 16:12:42 +0000 (16:12 +0000)]
*** empty log message ***
Jim Meyering [Sun, 6 Aug 2000 15:08:29 +0000 (15:08 +0000)]
We know nbytes is 0, so remove it from bail-out test.
Jim Meyering [Sun, 6 Aug 2000 09:06:22 +0000 (09:06 +0000)]
*** empty log message ***
Jim Meyering [Sun, 6 Aug 2000 09:06:00 +0000 (09:06 +0000)]
*** empty log message ***
Jim Meyering [Sun, 6 Aug 2000 09:03:33 +0000 (09:03 +0000)]
*** empty log message ***
Jim Meyering [Sun, 6 Aug 2000 09:03:29 +0000 (09:03 +0000)]
(pipe_lines): Declare local `cp' to be const.
Jim Meyering [Sun, 6 Aug 2000 08:45:47 +0000 (08:45 +0000)]
*** empty log message ***
Jim Meyering [Sun, 6 Aug 2000 08:44:11 +0000 (08:44 +0000)]
(pipe_lines): Add variable `nbytes' so we can free
`tmp' immediately after read loop. Don't process an empty file.
This fixes a buffer-underrun error -- also thanks to bounded pointers.
Jim Meyering [Sat, 5 Aug 2000 20:27:49 +0000 (20:27 +0000)]
(main): Rename local `t' to `tmp_dir' to avoid shadowing
a previous local by that name.
(usage): Warn that GNU sort is now locale-aware, and suggest
people put LC_ALL=POSIX in their environment.
Jim Meyering [Sat, 5 Aug 2000 19:36:37 +0000 (19:36 +0000)]
*** empty log message ***
Jim Meyering [Sat, 5 Aug 2000 19:36:20 +0000 (19:36 +0000)]
.
Jim Meyering [Sat, 5 Aug 2000 19:35:59 +0000 (19:35 +0000)]
.
Jim Meyering [Sat, 5 Aug 2000 19:31:58 +0000 (19:31 +0000)]
*** empty log message ***
Jim Meyering [Sat, 5 Aug 2000 11:51:10 +0000 (11:51 +0000)]
.
Jim Meyering [Sat, 5 Aug 2000 11:50:43 +0000 (11:50 +0000)]
*** empty log message ***
Jim Meyering [Sat, 5 Aug 2000 10:56:12 +0000 (10:56 +0000)]
(init_header): Fix buffer-overrun error.
Allocated buffer was sometimes too small.
Reported by Greg McGary (who found this bug using his
bounded-pointers-enabled gcc).
(init_header): Move declarations of several variables into the
inner scope where they are used.
Jim Meyering [Sat, 5 Aug 2000 10:51:58 +0000 (10:51 +0000)]
.
Jim Meyering [Sat, 5 Aug 2000 10:51:39 +0000 (10:51 +0000)]
(narrow-1): New test, for the above.
Jim Meyering [Sat, 5 Aug 2000 08:34:36 +0000 (08:34 +0000)]
*** empty log message ***
Jim Meyering [Sat, 5 Aug 2000 08:34:25 +0000 (08:34 +0000)]
(MAX): Remove definition (It's in sys2.h).
Jim Meyering [Fri, 4 Aug 2000 10:18:09 +0000 (10:18 +0000)]
*** empty log message ***
Jim Meyering [Fri, 4 Aug 2000 10:13:36 +0000 (10:13 +0000)]
*** empty log message ***
Jim Meyering [Fri, 4 Aug 2000 10:13:30 +0000 (10:13 +0000)]
(store_columns): Remove conjunct that would dereference
an out-of-bounds pointer. Reported by Greg McGary (who found this
bug using his bounded-pointers-enabled gcc).
Jim Meyering [Thu, 3 Aug 2000 23:10:28 +0000 (23:10 +0000)]
*** empty log message ***
Jim Meyering [Thu, 3 Aug 2000 23:10:05 +0000 (23:10 +0000)]
(SET_HIGH_BOUND, MOVE_BUFFER_POINTER,
ELSE_EXTEND_BUFFER_HIGH_BOUND): New macros.
(EXTEND_BUFFER): Use them.
Jim Meyering [Thu, 3 Aug 2000 08:00:40 +0000 (08:00 +0000)]
.
Jim Meyering [Thu, 3 Aug 2000 08:00:00 +0000 (08:00 +0000)]
.
Jim Meyering [Thu, 3 Aug 2000 07:57:51 +0000 (07:57 +0000)]
*** empty log message ***
Jim Meyering [Thu, 3 Aug 2000 07:57:46 +0000 (07:57 +0000)]
($(srcdir)/$x-tests): Use -I$(srcdir), not `-I.'.
(Makefile.am): Likewise. Reported by Greg McGary.
Jim Meyering [Tue, 1 Aug 2000 07:52:37 +0000 (07:52 +0000)]
.
Jim Meyering [Tue, 1 Aug 2000 07:52:26 +0000 (07:52 +0000)]
*** empty log message ***
Jim Meyering [Tue, 1 Aug 2000 07:39:56 +0000 (07:39 +0000)]
ranges vs ebcdic
Jim Meyering [Tue, 1 Aug 2000 07:11:04 +0000 (07:11 +0000)]
*** empty log message ***
Jim Meyering [Tue, 1 Aug 2000 07:10:57 +0000 (07:10 +0000)]
(tee): Use SET_BINARY and SET_BINARY2.
From Prashant TR.
Jim Meyering [Tue, 1 Aug 2000 07:10:10 +0000 (07:10 +0000)]
*** empty log message ***
Jim Meyering [Tue, 1 Aug 2000 07:10:05 +0000 (07:10 +0000)]
(ISSLASH): Define.
(BACKSLASH_IS_PATH_SEPARATOR): Define.
(dir_name) [BACKSLASH_IS_PATH_SEPARATOR]: Handle the case in which
both `\' and `/' may be use as path separators.
Based on a patch from Prashant TR.
Jim Meyering [Mon, 31 Jul 2000 18:30:27 +0000 (18:30 +0000)]
*** empty log message ***
Jim Meyering [Mon, 31 Jul 2000 18:30:21 +0000 (18:30 +0000)]
(quotearg_n_options): Don't make the initial
slot vector a constant, since it might get modified.
Jim Meyering [Mon, 31 Jul 2000 12:31:44 +0000 (12:31 +0000)]
Tweak comments, per Bruno's comments.
Jim Meyering [Mon, 31 Jul 2000 12:30:24 +0000 (12:30 +0000)]
Tweak comments, per Bruno's comments.
Jim Meyering [Mon, 31 Jul 2000 07:48:05 +0000 (07:48 +0000)]
*** empty log message ***
Jim Meyering [Mon, 31 Jul 2000 07:23:01 +0000 (07:23 +0000)]
(quotearg_n_options): Preallocate a slot 0
buffer, so that the caller can always quote one small
component of a "memory exhausted" message in slot 0.
From a suggestion by Jim Meyering.
Jim Meyering [Mon, 31 Jul 2000 06:50:26 +0000 (06:50 +0000)]
*** empty log message ***
Jim Meyering [Mon, 31 Jul 2000 06:48:43 +0000 (06:48 +0000)]
(cut_fields): Use `virtual memory exhausted', not `Memory exhausted'.
Jim Meyering [Mon, 31 Jul 2000 06:47:33 +0000 (06:47 +0000)]
Use `virtual memory exhausted', not `Memory exhausted'.
Jim Meyering [Mon, 31 Jul 2000 06:46:33 +0000 (06:46 +0000)]
*** empty log message ***
Jim Meyering [Mon, 31 Jul 2000 06:46:21 +0000 (06:46 +0000)]
[!HAVE_CONFIG_H]: Use `virtual memory exhausted', not `Memory exhausted'.
Jim Meyering [Mon, 31 Jul 2000 06:44:51 +0000 (06:44 +0000)]
Use `virtual memory exhausted', not `Memory exhausted'.
Jim Meyering [Sun, 30 Jul 2000 20:25:31 +0000 (20:25 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 19:51:03 +0000 (19:51 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 19:50:58 +0000 (19:50 +0000)]
(ISPRINT): Undef before defining to avoid warning.
Jim Meyering [Sun, 30 Jul 2000 18:44:58 +0000 (18:44 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 18:44:43 +0000 (18:44 +0000)]
Add quote marks to match new behavior.
Jim Meyering [Sun, 30 Jul 2000 18:42:07 +0000 (18:42 +0000)]
(remove_file): Quote the file names that are displayed with --verbose.
Jim Meyering [Sun, 30 Jul 2000 18:41:55 +0000 (18:41 +0000)]
(copy_internal): Quote the file names that are displayed
with --verbose and --backup.
Jim Meyering [Sun, 30 Jul 2000 17:08:10 +0000 (17:08 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 17:08:05 +0000 (17:08 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 17:06:49 +0000 (17:06 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 16:51:16 +0000 (16:51 +0000)]
.
Jim Meyering [Sun, 30 Jul 2000 16:50:16 +0000 (16:50 +0000)]
.
Jim Meyering [Sun, 30 Jul 2000 16:49:47 +0000 (16:49 +0000)]
.
Jim Meyering [Sun, 30 Jul 2000 16:45:35 +0000 (16:45 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 16:34:56 +0000 (16:34 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 16:34:48 +0000 (16:34 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 16:33:08 +0000 (16:33 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 16:30:59 +0000 (16:30 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 16:30:43 +0000 (16:30 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 16:29:15 +0000 (16:29 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 16:28:30 +0000 (16:28 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 16:28:25 +0000 (16:28 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 16:26:43 +0000 (16:26 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 16:25:01 +0000 (16:25 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 16:24:51 +0000 (16:24 +0000)]
(make_path): Quote the other instance, too.
Jim Meyering [Sun, 30 Jul 2000 16:21:57 +0000 (16:21 +0000)]
include quote.h.
Jim Meyering [Sun, 30 Jul 2000 16:21:39 +0000 (16:21 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 16:19:33 +0000 (16:19 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 16:16:16 +0000 (16:16 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Add more precise diagnostics.
Jim Meyering [Sun, 30 Jul 2000 16:03:37 +0000 (16:03 +0000)]
(remove_cwd_entries): Quote one more file name.
Jim Meyering [Sun, 30 Jul 2000 16:01:48 +0000 (16:01 +0000)]
tweak diagnostic
Jim Meyering [Sun, 30 Jul 2000 15:32:15 +0000 (15:32 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 15:31:20 +0000 (15:31 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 15:29:27 +0000 (15:29 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 15:28:36 +0000 (15:28 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 15:24:27 +0000 (15:24 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 15:23:55 +0000 (15:23 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 15:17:34 +0000 (15:17 +0000)]
moved from ../src
Jim Meyering [Sun, 30 Jul 2000 15:01:11 +0000 (15:01 +0000)]
(do_move): Fix typo.
Jim Meyering [Sat, 29 Jul 2000 17:11:33 +0000 (17:11 +0000)]
(dir_name): Use __MSDOS__ in favor of MSDOS.
Jim Meyering [Sat, 29 Jul 2000 17:06:53 +0000 (17:06 +0000)]
*** empty log message ***