Commit Graph
14506 Commits
Author SHA1 Message Date
Jim Meyering 0981ef97c0 (fold_file): Remove ferror(stdout) check, already done in close_stdout. 2000-08-07 13:19:52 +00:00
Jim Meyering eb6e8b63c6 *** empty log message *** 2000-08-07 08:57:11 +00:00
Jim Meyering 0ef1ebe00e (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.
2000-08-07 08:55:50 +00:00
Jim Meyering 56752ea034 *** empty log message *** 2000-08-07 08:18:32 +00:00
Jim Meyering 568f9e0516 *** empty log message *** 2000-08-07 07:15:31 +00:00
Jim Meyering 497785afe5 (AC_MBSTATE_T): Define mbstate_t to be int,
not char, for compatibility with glibc 2.1.3 strftime.c.
2000-08-07 07:15:25 +00:00
Jim Meyering 43fde4395a (usage): Warn more succintly about the effects of
the locale on sort order.
2000-08-07 07:07:00 +00:00
Jim Meyering aee6ce52e0 *** empty log message *** 2000-08-06 19:54:55 +00:00
Jim Meyering a64e651230 . TEXTUTILS-2_0g 2000-08-06 19:09:08 +00:00
Jim Meyering 4951b1a4b0 *** empty log message *** 2000-08-06 16:12:42 +00:00
Jim Meyering 3110281aad We know nbytes is 0, so remove it from bail-out test. 2000-08-06 15:08:29 +00:00
Jim Meyering 0d9ee9b50c *** empty log message *** 2000-08-06 09:06:22 +00:00
Jim Meyering 496964cdc3 *** empty log message *** 2000-08-06 09:06:00 +00:00
Jim Meyering 9048856887 *** empty log message *** 2000-08-06 09:03:33 +00:00
Jim Meyering 61b0870c41 (pipe_lines): Declare local `cp' to be const. 2000-08-06 09:03:29 +00:00
Jim Meyering ae9ce08522 *** empty log message *** 2000-08-06 08:45:47 +00:00
Jim Meyering 95b686e751 (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.
2000-08-06 08:44:11 +00:00
Jim Meyering 773a575cd5 (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.
2000-08-05 20:27:49 +00:00
Jim Meyering 8db7ef9e42 *** empty log message *** 2000-08-05 19:36:37 +00:00
Jim Meyering 6b95201b8d . 2000-08-05 19:36:20 +00:00
Jim Meyering a8fd3f260a . 2000-08-05 19:35:59 +00:00
Jim Meyering 8b39b39763 *** empty log message *** 2000-08-05 19:31:58 +00:00
Jim Meyering 76211dbaeb . 2000-08-05 11:51:10 +00:00
Jim Meyering 1b57516fe2 *** empty log message *** 2000-08-05 11:50:43 +00:00
Jim Meyering b3197453ad (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.
2000-08-05 10:56:12 +00:00
Jim Meyering f79bc88685 . 2000-08-05 10:51:58 +00:00
Jim Meyering 81b2c3735e (narrow-1): New test, for the above. 2000-08-05 10:51:39 +00:00
Jim Meyering e69797a267 *** empty log message *** 2000-08-05 08:34:36 +00:00
Jim Meyering 77a40f148f (MAX): Remove definition (It's in sys2.h). 2000-08-05 08:34:25 +00:00
Jim Meyering 26a7265907 *** empty log message *** 2000-08-04 10:18:09 +00:00
Jim Meyering 4e39b59aba *** empty log message *** 2000-08-04 10:13:36 +00:00
Jim Meyering 90d90ce434 (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).
2000-08-04 10:13:30 +00:00
Jim Meyering a5b5eb21f9 *** empty log message *** 2000-08-03 23:10:28 +00:00
Jim Meyering 641dabb657 (SET_HIGH_BOUND, MOVE_BUFFER_POINTER,
ELSE_EXTEND_BUFFER_HIGH_BOUND): New macros.
(EXTEND_BUFFER): Use them.
2000-08-03 23:10:05 +00:00
Jim Meyering 0037a01cf8 . 2000-08-03 08:00:40 +00:00
Jim Meyering c60c4a9fdc . 2000-08-03 08:00:00 +00:00
Jim Meyering 1d80882fc0 *** empty log message *** 2000-08-03 07:57:51 +00:00
Jim Meyering f3e288c470 ($(srcdir)/$x-tests): Use -I$(srcdir), not `-I.'.
(Makefile.am): Likewise.  Reported by Greg McGary.
2000-08-03 07:57:46 +00:00
Jim Meyering ac4300150a . 2000-08-01 07:52:37 +00:00
Jim Meyering 051a7c856a *** empty log message *** 2000-08-01 07:52:26 +00:00
Jim Meyering 449a130ddb ranges vs ebcdic 2000-08-01 07:39:56 +00:00
Jim Meyering 10798a81c4 *** empty log message *** 2000-08-01 07:11:04 +00:00
Jim Meyering cf04cc6ec2 (tee): Use SET_BINARY and SET_BINARY2.
From Prashant TR.
2000-08-01 07:10:57 +00:00
Jim Meyering fe15457dcd *** empty log message *** 2000-08-01 07:10:10 +00:00
Jim Meyering a55a40b616 (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.
2000-08-01 07:10:05 +00:00
Jim Meyering d203fb94d2 *** empty log message *** 2000-07-31 18:30:27 +00:00
Jim Meyering 8baafe1f08 (quotearg_n_options): Don't make the initial
slot vector a constant, since it might get modified.
2000-07-31 18:30:21 +00:00
Jim Meyering 07e0171826 Tweak comments, per Bruno's comments. 2000-07-31 12:31:44 +00:00
Jim Meyering d034a083ab Tweak comments, per Bruno's comments. 2000-07-31 12:30:24 +00:00
Jim Meyering cbed17e88a *** empty log message *** 2000-07-31 07:48:05 +00:00