summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-03-17Include mbswidth.h.Jim Meyering
(standard_header, header, test_suite): Remove. (date_format, date_text, file_text, header_width_available): New vars. (long_options, main, init_header, usage): Add new -D or --date-format option. (CHARS_FOR_DATE_AND_PAGE, T_BUF_FMT, T_BUF_SIZE, NO_DATE): Remove. (init_header): Allow arbitrary width for date format. Change "Page %5d" to "Page %d", since the code no longer assumes fixed width. Do not assume that localtime succeeds. (init_header, print_header, usage): Do not truncate headers. (init_header, print_header): Defer width calculations until page is printed, since "Page 100000" is wider than "Page 1". Count columns, not bytes, in page headers. Custom headers take up only the center, not the whole header. (print_header): Use printf rather than fprintf(stdout).
2001-03-16*** empty log message ***Jim Meyering
2001-03-16*** empty log message ***Jim Meyering
2001-03-16Remove my copy of AC_FUNC_MEMCMP, now thatJim Meyering
the version in autoconf has been updated. (jm_FUNC_MEMCMP): Adjust.
2001-03-16*** empty log message ***Jim Meyering
2001-03-16(jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.Jim Meyering
2001-03-16(jm_PREREQ): Add jm_PREREQ_TEMPNAME.Jim Meyering
(jm_PREREQ_TEMPNAME): New function.
2001-03-16*** empty log message ***Jim Meyering
2001-03-16(uint64_t): Define to uintmax_t ifJim Meyering
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*** empty log message ***Jim Meyering
2001-03-16(wget-update): Also get `missing'.Jim Meyering
Use for-loops.
2001-03-16*** empty log message ***Jim Meyering
2001-03-15*** empty log message ***Jim Meyering
2001-03-15(BeOS): Use wildcard syntax.Jim Meyering
2001-03-15(locale_charset): Allow wildcard syntax. Also resolveJim Meyering
alias if codeset is empty.
2001-03-13*** empty log message ***Jim Meyering
2001-03-13(path_concat) [FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]:Jim Meyering
Don't insert a backslash when concatenating e.g., `C:' and `foo'. From Bruno Haible.
2001-03-13*** empty log message ***Jim Meyering
2001-03-13(die): New message arg, to describe failuresJim Meyering
better. All callers changed.
2001-03-13*** empty log message ***Jim Meyering
2001-03-13Decrease buffer size when only merging or checking.Jim Meyering
(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*** empty log message ***Jim Meyering
2001-03-13.Jim Meyering
2001-03-13(create-empty): New test.Jim Meyering
2001-03-13(sort): If all the input files are empty, create an empty output file.Jim Meyering
2001-03-13(merge): Move declarations of local variables intoJim Meyering
the inner scope where they're used. (sort): Likewise.
2001-03-13'sort F -o F' no longer needs to copy F.Jim Meyering
2001-03-13Do not include closeout.h.Jim Meyering
(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.Jim Meyering
2001-03-13.Jim Meyering
2001-03-13.Jim Meyering
2001-03-12.Jim Meyering
2001-03-12*** empty log message ***Jim Meyering
2001-03-12.Jim Meyering
2001-03-12*** empty log message ***Jim Meyering
2001-03-12`fmt --prefix=S' would not work properly for any string S containingJim Meyering
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*** empty log message ***Jim Meyering
2001-03-12*** empty log message ***Jim Meyering
2001-03-12*** empty log message ***Jim Meyering
2001-03-12(save_stdin): Use mkstemp to create temporary file.Jim Meyering
2001-03-12.Jim Meyering
2001-03-11*** empty log message ***Jim Meyering
2001-03-11Disable this test for now.Jim Meyering
It would block when run in the background.
2001-03-10clean up wording in last changeJim Meyering
2001-03-10*** empty log message ***Jim Meyering
2001-03-10 (date invocation): Correct the description of howJim Meyering
date works when given no format. Reported by Ole Laursen.
2001-03-10*** empty log message ***Jim Meyering
2001-03-09.Jim Meyering
2001-03-09*** empty log message ***Jim Meyering
2001-03-09(my_distdir): Define new variable, and use thisJim Meyering
in place of most old uses of $(distdir).