Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-06-19 | (ENABLE_HARD_LINK_TO_SYMLINK_WARNING): Define to 0. | Jim Meyering | |
(do_link): Don't warn about hard link to symlink. | |||
2003-06-18 | Include "getdelim2.h", not "getstr.h". | Jim Meyering | |
Reflect renaming: getstr -> getdelim2. | |||
2003-06-18 | Reflect renaming: readline -> readlinebuffer. | Jim Meyering | |
2003-06-17 | Include sys/types.h before system.h (because | Jim Meyering | |
the latter includes sys/stat.h). Required on Ultrix 4.3. | |||
2003-06-17 | (main): Call initialize_main. | Jim Meyering | |
2003-06-17 | (initialize_main): Define. | Jim Meyering | |
2003-06-17 | Fix for build failure on Ultrix 4.3. | Jim Meyering | |
Include sys/statvfs.h in preference to sys/vfs.h. Include sys/param.h and sys/mount.h on ultrix. | |||
2003-06-16 | (O_NDELAY, O_NONBLOCK, O_NOCTTY, EISDIR): New definitions. | Jim Meyering | |
Moved here from touch.c, with one change: define EISDIR to -1, not 0. | |||
2003-06-16 | (O_NDELAY, O_NONBLOCK, O_NOCTTY, EISDIR): Remove definitions. | Jim Meyering | |
Moved to system.h. | |||
2003-06-16 | (cat): Remove `#ifndef ENOSYS', now that it's | Jim Meyering | |
guaranteed to be defined. | |||
2003-06-16 | (ENOSYS, ENOTSUP): Define to -1 if not defined. | Jim Meyering | |
2003-06-12 | (touch): Call close only if necessary. | Jim Meyering | |
2003-06-12 | (usage): Correct wording: wc prints counts in the order `newline, word, byte'. | Jim Meyering | |
2003-06-08 | . | Jim Meyering | |
2003-06-06 | . | Jim Meyering | |
2003-06-06 | (main): Avoid newer 3-arg form of open, | Jim Meyering | |
so this script works also with e.g., perl5.005_03. | |||
2003-06-06 | Include <stdbool.h> unconditionally. | Jim Meyering | |
2003-06-06 | . | Jim Meyering | |
2003-06-03 | Avoid unnecessary copying of environment. | Jim Meyering | |
(main): Rather than clearing the environment and -- unless told to ignore environment -- copying all settings from the saved, original environment, clear the environment only when that is requested. Suggested by Jens Elkner. | |||
2003-06-02 | [!TEST_STANDALONE]: Remove #if-0'd block. | Jim Meyering | |
(STREQ, S_IXUGO): Remove redundant (in system.h) definitions. | |||
2003-06-02 | Always include <string.h>, since we assume C89. | Jim Meyering | |
Include <limits.h> without checking for HAVE_LIMITS_H. | |||
2003-06-01 | Avoid a race condition in `tail -f' described by Ken Raeburn in | Jim Meyering | |
http://mail.gnu.org/archive/html/bug-textutils/2003-05/msg00007.html (file_lines): Add new parameter, *read_pos, and set it. (pipe_lines, pipe_bytes, start_bytes, start_lines): Likewise. (tail_bytes, tail_lines, tail): Likewise. (tail_file): Use the new `read_pos' value as the size, rather than stats.st_size from the fstat call. | |||
2003-05-29 | . | Jim Meyering | |
2003-05-28 | . | Jim Meyering | |
2003-05-28 | Allow expansion of `$file' in the here- | Jim Meyering | |
document corresponding to comment at the top of fs.h. | |||
2003-05-26 | Fix portability problem on FreeBSD5.0: don't include | Jim Meyering | |
<sys/statvfs.h> on systems without HAVE_STRUCT_STATVFS_F_BASETYPE. Use #if/#elif/... cascade so we get only one set of include files. | |||
2003-05-24 | (split_3): Accept the BSD format only when in MD5 mode. | Jim Meyering | |
2003-05-24 | (bsd_split_3): New function. | Jim Meyering | |
(split_3): Detect checksums from BSD 'md5' command and handle them using bsd_split_3. | |||
2003-05-21 | (elide_tail_lines_pipe): Fix a thinko. | Jim Meyering | |
This sort of thing is why it'd be *Really Good* to factor out the common code used here and in tail.c. | |||
2003-05-14 | (usage): Document new feature: --bytes=-N and --lines=-N. | Jim Meyering | |
2003-05-14 | . | Jim Meyering | |
2003-05-14 | (AUTHORS): Enclose string in N_(...), now that it includes `and'. | Jim Meyering | |
2003-05-14 | (usage): Don't use `,' as the thousands separator | Jim Meyering | |
in e.g. 1,000,000 and 1,048,576. Instead, do this: `SIZE may be ..., MB 1000*1000, M 1024*1024 and so on...' | |||
2003-05-14 | (usage): Don't use `,' as the thousands separator | Jim Meyering | |
in e.g. 1,000,000 and 1,048,576. Instead, do this: `SIZE may be ..., MB 1000*1000, M 1024*1024 and so on...' | |||
2003-05-14 | Fix uniq to conform to POSIX, which requires that "uniq -d -u" | Jim Meyering | |
must output nothing. Problem reported by Josh Hyman. (enum output_mode, mode): Remove, replacing with: (output_unique, output_first_repeated, output_later_repeated): New vars. All uses of "mode" changed to use these variables, which are not mutually exclusive as "mode" was. (writeline): New arg "match", used to control whether to obey output_first_repeated or output_later_repeated. All callers changed. (check_file, main): Adjust to above changes. | |||
2003-05-13 | Handle argc < optind. | Jim Meyering | |
2003-05-13 | (elide_tail_lines_pipe): Don't apply cast to argument of free. | Jim Meyering | |
2003-05-13 | (struct F_triple) [name]: Remove const attribute. | Jim Meyering | |
(triple_free): Don't apply cast to argument of free. (seen_file): Add cast here instead. | |||
2003-05-13 | (sort): Don't apply cast to argument of free. | Jim Meyering | |
2003-05-13 | (struct Src_to_dest) [name]: Remove const attribute. | Jim Meyering | |
(src_to_dest_free): Don't apply cast to argument of free. | |||
2003-05-13 | (OLD): Don't apply cast to argument of free. | Jim Meyering | |
2003-05-13 | (delseq, freeline): Don't apply cast to argument of free. | Jim Meyering | |
2003-05-13 | shorten long line | Jim Meyering | |
2003-05-13 | (init_fps, init_store_cols): Don't apply cast to argument of free. | Jim Meyering | |
2003-05-13 | (zaptemp): Don't apply cast to argument of free. | Jim Meyering | |
2003-05-13 | Remove unnecessary cast of argument to free. twice more | Jim Meyering | |
2003-05-13 | Remove unnecessary cast of argument to free. | Jim Meyering | |
2003-05-13 | Include "quote.h". | Jim Meyering | |
Use quote in diagnostics. Change many error format strings from just `%s' to e.g., `error reading %s'. (pipe_lines): Change type of parameter, n_lines, to uintmax_t. Rewrite newline-counting loop to use memchr. | |||
2003-05-13 | (elide_tail_lines_pipe): Use `if', not an assert. | Jim Meyering | |
Now that assert is no longer used, don't include <assert.h>. | |||
2003-05-12 | Include <assert.h>. | Jim Meyering | |
(AUTHORS): Add my name. (elide_tail_lines_pipe): New function. |