1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-31 04:50:19 +02:00
Commit Graph

10701 Commits

Author SHA1 Message Date
Jim Meyering 06d3fd68cd Remove my copy of AC_FUNC_MEMCMP, now that
the version in autoconf has been updated.
(jm_FUNC_MEMCMP): Adjust.
2001-03-16 23:40:10 +00:00
Jim Meyering be36cc026f *** empty log message *** 2001-03-16 17:01:17 +00:00
Jim Meyering 79b030e317 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R. 2001-03-16 17:01:11 +00:00
Jim Meyering 0a0306d149 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
(jm_PREREQ_TEMPNAME): New function.
2001-03-16 16:38:52 +00:00
Jim Meyering fdc624ee8c *** empty log message *** 2001-03-16 12:02:29 +00:00
Jim Meyering 75b98a1845 (uint64_t): Define to uintmax_t if
not defined, and if UINT64_MAX is not defined.
Required at least for Vax Ultrix4.3, which doesn't define uint64_t.
Reported by John David Anglin.
2001-03-16 12:02:22 +00:00
Jim Meyering 46703b2bc4 *** empty log message *** 2001-03-16 08:40:42 +00:00
Jim Meyering e72d2e5729 (wget-update): Also get `missing'.
Use for-loops.
2001-03-16 08:40:38 +00:00
Jim Meyering b983106f60 *** empty log message *** 2001-03-16 08:37:07 +00:00
Jim Meyering 945ef37057 *** empty log message *** 2001-03-15 14:50:26 +00:00
Jim Meyering 7164873b95 (BeOS): Use wildcard syntax. 2001-03-15 14:50:16 +00:00
Jim Meyering a5d6ae87e0 (locale_charset): Allow wildcard syntax. Also resolve
alias if codeset is empty.
2001-03-15 14:49:56 +00:00
Jim Meyering 1341235a1c *** empty log message *** 2001-03-13 15:57:21 +00:00
Jim Meyering 35e76078e7 (path_concat) [FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]:
Don't insert a backslash when concatenating e.g., `C:' and `foo'.
From Bruno Haible.
2001-03-13 15:57:15 +00:00
Jim Meyering 4d44d31bd9 *** empty log message *** 2001-03-13 09:05:26 +00:00
Jim Meyering be696e072e (die): New message arg, to describe failures
better.  All callers changed.
2001-03-13 09:05:21 +00:00
Jim Meyering 8da0422f17 *** empty log message *** 2001-03-13 09:02:37 +00:00
Jim Meyering 48440e9d01 Decrease buffer size when only merging or checking.
(sort_size): Now the user-specified sort size.
(MIN_MERGE_BUFFER_SIZE): New macro.
(MIN_SORT_SIZE): Use it.
(merge_buffer_size): New variable.
(fillbuf): Increase merge_buffer_size if a longer line is encountered.
(checkfp, mergefps): Do not allocate a buffer smaller than
merge_buffer_size.
(sort): Use the default_sort_size if sort_size is zero.
(main): Do not set sort_size to default_sort_size.
2001-03-13 09:02:27 +00:00
Jim Meyering 6a6ca8f365 *** empty log message *** 2001-03-13 08:50:32 +00:00
Jim Meyering 5fface8d3a . 2001-03-13 08:50:18 +00:00
Jim Meyering 7eaaae4ec0 (create-empty): New test. 2001-03-13 08:49:48 +00:00
Jim Meyering 811ade5514 (sort): If all the input files are empty, create an empty output file. 2001-03-13 08:48:57 +00:00
Jim Meyering 593d17ffe4 (merge): Move declarations of local variables into
the inner scope where they're used.
(sort): Likewise.
2001-03-13 08:34:38 +00:00
Jim Meyering 25a9e171a2 'sort F -o F' no longer needs to copy F. 2001-03-13 08:29:01 +00:00
Jim Meyering 86c5a50e86 Do not include closeout.h.
(xfopen): Use stdout if *how != 'r'.
(mergefps): Remove FPS arg.
Open all input files, and close all files when done.
If OFP is null, open the output file (but after opening input files).
All callers changed.
(first_same_file): New function.
(sort, merge): Remove arg OFP; we now open the output file as needed.
All callers changed.
(merge): New arg MAX_MERGE.  All callers changed.
(sort):	For "sort F -o F", close the input before opening the output.
(main): Do not use close_stdout; 'sort' and 'merge' now close stdout.
(This also fixes a close-stdout-twice bug.)
Remove test for overlapping input and output files, as 'sort' no longer
needs to worry about overlap, and 'merge' checks for overlap itself.
Use first_same_file to inform 'merge' about how much to merge at
the top level, to avoid overlap.
2001-03-13 08:28:09 +00:00
Jim Meyering abb5c4e845 . 2001-03-13 04:17:57 +00:00
Jim Meyering 445de17323 . 2001-03-13 04:17:42 +00:00
Jim Meyering 861405b462 . 2001-03-13 04:17:07 +00:00
Jim Meyering 025b70bbb3 . 2001-03-12 21:23:29 +00:00
Jim Meyering 08ca0e9233 *** empty log message *** 2001-03-12 21:19:16 +00:00
Jim Meyering 71110e3f87 . 2001-03-12 21:17:39 +00:00
Jim Meyering a11890b981 *** empty log message *** 2001-03-12 21:16:09 +00:00
Jim Meyering c9fc879e89 `fmt --prefix=S' would not work properly for any string S containing
a byte with the high bit set.
(prefix): Declare to be of type unsigned char, not `char'.
(get_prefix): Likewise for local, `p'.
2001-03-12 21:16:05 +00:00
Jim Meyering 7cb4c9284d *** empty log message *** 2001-03-12 21:11:31 +00:00
Jim Meyering d998775909 *** empty log message *** 2001-03-12 17:49:00 +00:00
Jim Meyering 1a728b8b0d *** empty log message *** 2001-03-12 10:52:26 +00:00
Jim Meyering 97bfe9b9dd (save_stdin): Use mkstemp to create temporary file. 2001-03-12 10:52:20 +00:00
Jim Meyering a40c539ad1 . 2001-03-12 10:15:08 +00:00
Jim Meyering 5100b0b05f *** empty log message *** 2001-03-11 15:24:38 +00:00
Jim Meyering 30bc289991 Disable this test for now.
It would block when run in the background.
2001-03-11 15:24:28 +00:00
Jim Meyering a68a480194 clean up wording in last change 2001-03-10 07:56:07 +00:00
Jim Meyering c17e423533 *** empty log message *** 2001-03-10 07:53:47 +00:00
Jim Meyering e489a18ead (date invocation): Correct the description of how
date works when given no format.  Reported by Ole Laursen.
2001-03-10 07:53:35 +00:00
Jim Meyering 7ee6f9593d *** empty log message *** 2001-03-10 07:52:40 +00:00
Jim Meyering 49648de23c . 2001-03-09 18:45:59 +00:00
Jim Meyering 43fa809135 *** empty log message *** 2001-03-09 18:42:11 +00:00
Jim Meyering a3dc365194 (my_distdir): Define new variable, and use this
in place of most old uses of $(distdir).
2001-03-09 18:41:03 +00:00
Jim Meyering 9f2dcee21a . 2001-03-09 18:37:57 +00:00
Jim Meyering 325df18179 *** empty log message *** 2001-03-09 18:35:13 +00:00
Jim Meyering 27177c023a *** empty log message *** 2001-03-09 18:34:28 +00:00