Commit Graph
15907 Commits
Author SHA1 Message Date
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
Jim Meyering 7f07e4b250 (usage): Describe %C. 2001-03-09 18:28:33 +00:00
Jim Meyering 65c50ce72b (Date directives): Likewise. 2001-03-09 18:28:11 +00:00
Jim Meyering 53d1eedb1b . 2001-03-09 18:24:22 +00:00
Jim Meyering 00ef90d13b *** empty log message *** 2001-03-09 18:23:45 +00:00
Jim Meyering 5b0132826f Reflect change in location of input-tty. 2001-03-09 18:23:29 +00:00
Jim Meyering 197061600e moved from stty/~ 2001-03-09 18:21:56 +00:00
Jim Meyering c21430123d moved from stty/~ 2001-03-09 18:21:29 +00:00
Jim Meyering c19b40fd68 (EXTRA_DIST): Remove input-tty. 2001-03-09 18:20:28 +00:00
Jim Meyering 115c65d3f4 Ensure that /dev/full is a character device
(using test -c) as well as being writable, before trying to write to it.
Otherwise, the test could mistakenly append a newline to an existing,
regular, writable, /dev/full file.
Suggested by Ulrich Drepper.
2001-03-09 18:03:22 +00:00
Jim Meyering 3bb36380c3 *** empty log message *** 2001-03-08 07:48:19 +00:00
Jim Meyering c2390af52f Insert the `--text' argument for each test. 2001-03-08 07:48:14 +00:00
Jim Meyering 6d28b40fce (locale_charset): Don't use setlocale(LC_CTYPE,NULL).
Don't return NULL.
2001-03-06 18:11:20 +00:00
Jim Meyering e7dfa263f2 (print_unicode_char): Simplify accordingly. 2001-03-06 18:11:01 +00:00
Jim Meyering 6bbc8a8fef *** empty log message *** 2001-03-06 18:01:26 +00:00
Jim Meyering 458d1c2ee2 Update for FreeBSD 4.2 and OSF/1 5.1. Add support for DOS/DJGPP. 2001-03-06 18:00:47 +00:00
Jim Meyering 4813ddbf6b (S_TYPEISSHM): Rename parameter to reflect its type.
(main): Pass a `struct stat *', not stat.st_mode to S_TYPEISSHM.
2001-03-06 05:50:10 +00:00
Jim Meyering 358d534284 *** empty log message *** TEXTUTILS-2_0_12 2001-03-04 21:12:06 +00:00
Jim Meyering d325a6bac2 (alpha): Use $(PACKAGE)-$(VERSION), not $(distdir),
since the latter now has a `$(top_distdir)/' prefix.
2001-03-04 21:11:50 +00:00
Jim Meyering 721691651f *** empty log message *** 2001-03-04 20:53:38 +00:00
Jim Meyering fa653c0720 *** empty log message *** 2001-03-04 20:53:01 +00:00
Jim Meyering ee7490797e . 2001-03-04 04:04:13 +00:00
Jim Meyering 8625974643 (output_char): Reformat so each statement is on a separate line. 2001-03-04 03:14:40 +00:00
Jim Meyering be6df5151f . 2001-03-04 03:05:32 +00:00
Jim Meyering d3aefd7569 . 2001-03-04 01:48:17 +00:00
Jim Meyering 70855c0876 *** empty log message *** 2001-03-03 19:31:47 +00:00
Jim Meyering 6d99caa5ee (die): New function.
(create_temp_file, xfopen, xfclose, write_bytes, sort_buffer_size,
fillbuf, main): Use it to regularize error messages.  The only change
in behavior is that write_bytes and the final close used to say "write
error" but now give just the output file name, which should be enough.
2001-03-03 19:31:37 +00:00
Jim Meyering 35c215bbba *** empty log message *** 2001-03-03 19:21:49 +00:00
Jim Meyering 410e28bd78 (xfclose): Add FILE arg, and report the file name
on error.  All callers changed.
2001-03-03 19:21:41 +00:00
Jim Meyering 8233ef4ca8 *** empty log message *** 2001-03-03 19:19:12 +00:00
Jim Meyering 91b9ff7935 (main): When fclose (stdin) fails, do not mention
the output file in the error message; mention "-" instead.
2001-03-03 19:19:06 +00:00
Jim Meyering 61829f0638 *** empty log message *** 2001-03-03 19:12:29 +00:00
Jim Meyering 5d34d8c327 (xfopen): Set have_read_stdin to 1 only if file is "-".
Use fopen_safer, not fopen, to avoid subtle bugs when fopen returns
stdin, stdout, or stderr.
(xfclose): stdout is no longer a special case.
(main): Close output file, don't just flush it; there might be
an error on the close.
2001-03-03 19:12:23 +00:00
Jim Meyering 57658678dd (libfetish_a_SOURCES): Add dup-safer.c, fopen-safer.c.
(noinst_HEADERS): Add stdio-safer.h, unistd-safer.h.
2001-03-03 19:06:54 +00:00
Jim Meyering eb64d4a73b *** empty log message *** 2001-03-03 19:06:28 +00:00
Jim Meyering 62eab23e81 from Paul Eggert 2001-03-03 19:05:36 +00:00
Jim Meyering 4518931c29 *** empty log message *** 2001-03-03 18:53:53 +00:00
Jim Meyering cac9a29ad8 (initbuf): If the desired size cannot be
allocated, repeatedly halve it until allocation succeeds.
2001-03-03 18:53:44 +00:00
Jim Meyering f10bbe70a9 (parse_field_count): Comment fix. 2001-03-03 18:40:44 +00:00
Jim Meyering 3c1f856059 . 2001-03-03 18:38:22 +00:00
Jim Meyering 5514c4792b *** empty log message *** 2001-03-03 18:23:37 +00:00
Jim Meyering 25f95ca91e Tune allocation and comparison of nodes
representing temp files.  This improved CPU performance of
'sort -S 1 *.[ch]' by 17% on my host.

(struct tempnode): name member now uses struct hack.
(temphead): Now a pointer, not a structure.  All uses changed.
(create_temp_file): Allocate node using struct hack.
(zaptemp): Free node using struct hack.  Use pointer comparison, not
string comparison.
2001-03-03 18:23:29 +00:00
Jim Meyering cfd53be2c8 (eolchar, trim_trailing_blanks): Now static. 2001-03-02 03:44:49 +00:00
Jim Meyering e3093d28d9 *** empty log message *** 2001-03-02 03:41:50 +00:00
Jim Meyering e0689425b8 *** empty log message *** 2001-03-02 03:14:38 +00:00