summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-05-10(More details about version sort): Note that strverscmp, and henceJim Meyering
`ls -v', does not use LC_COLLATE.
2003-05-10*** empty log message ***Jim Meyering
2003-05-10*** empty log message ***Jim Meyering
2003-05-10(Exit status): Remove `uniq' from the list. It uses standard exit codes.Jim Meyering
2003-05-09(main): Don't overrun array bound if argc is 0.Jim Meyering
2003-05-09fix off-by-one error in last changeJim Meyering
2003-05-09*** empty log message ***Jim Meyering
2003-05-09(main): Don't overrun array bound if argc is 0.Jim Meyering
That would happen when invoked via: execl ("/usr/bin/sort", NULL);
2003-05-09*** empty log message ***Jim Meyering
2003-05-08*** empty log message ***Jim Meyering
2003-05-08(timespec_subtract): Don't modify the 2nd arg.Jim Meyering
Work even if X-Y overflows when subtracting. Make explicit the assumption that tv_nsec must be in range. (clock_get_realtime): Remove. All callers changed to invoke gettime, for simplicity. (xnanosleep): Check for gettime failure every time.
2003-05-08(clock_get_realtime): Use gettime.c's gettime function,Jim Meyering
rather than an inferior, open-coded version that would fail on AIX systems due to clock_gettime failing with errno == ENOSYS.
2003-05-07*** empty log message ***Jim Meyering
2003-05-07Implement support so that `head --lines=-N' works on seekable files.Jim Meyering
(enum Copy_fd_status): Define. (COPY_FD_DIAGNOSE): New macro. (elide_tail_lines_seekable): New funtion. (elide_tail_lines_file): Call it here.
2003-05-07*** empty log message ***Jim Meyering
2003-05-06*** empty log message ***Jim Meyering
2003-05-06*** empty log message ***Jim Meyering
2003-05-06(CHAR_BIT): Remove duplicate definition.Jim Meyering
2003-05-06*** empty log message ***Jim Meyering
2003-05-06(GL_FUNC_GETCWD_PATH_MAX): Check for theJim Meyering
declaration of getcwd *before* checking for the getcwd kernel bug. Otherwise, configure-time `checking ...' messages would be intermixed.
2003-05-05*** empty log message ***Jim Meyering
2003-05-05(struct dummy): Ensure that at least the number ofJim Meyering
initializers matches the number of members in the corresponding enum.
2003-05-05(enum Ftw_option): Name this previously-anonymous enum.Jim Meyering
(enum Ftw_option) [FTW_N_MEMBERS]: New member.
2003-05-05Avoid array overrun.Jim Meyering
(nftw_arr): Update to reflect complete list of members. (ftw_arr): Likewise
2003-05-05*** empty log message ***Jim Meyering
2003-05-04.Jim Meyering
2003-05-04.Jim Meyering
2003-05-04Remove tests of --bytes=-N; using that frameworkJim Meyering
caused the addition of thousands of small files to the tar archive.
2003-05-04*** empty log message ***Jim Meyering
2003-05-04*** empty log message ***Jim Meyering
2003-05-04(TESTS): Add head-elide-tail.Jim Meyering
2003-05-04Exercise head's --bytes=-N option.Jim Meyering
2003-05-04.Jim Meyering
2003-05-04*** empty log message ***Jim Meyering
2003-05-04*** empty log message ***Jim Meyering
2003-05-04*** empty log message ***Jim Meyering
2003-05-04*** empty log message ***Jim Meyering
2003-05-04*** empty log message ***Jim Meyering
2003-05-04*** empty log message ***Jim Meyering
2003-05-04(__set_errno, LOCK, UNLOCK): Define.Jim Meyering
(unsetenv): Update from GNU libc. Ifdef-out this function, since the only caller is putenv.c and that file now has its own copy.
2003-05-04*** empty log message ***Jim Meyering
2003-05-04This avoids a core dump on systems without GNU putenv,Jim Meyering
when running `env -u SOME_ALREADY_UNSET_VARIABLE'. (unsetenv): New static function, from libc. (rpl_putenv): Use it.
2003-05-04*** empty log message ***Jim Meyering
2003-05-04(HAVE_WORKING_READDIR): Define to 0 if not defined.Jim Meyering
(IF_READDIR_NEEDS_REWINDDIR): Remove. (remove_cwd_entries): Rewrite to avoid IF_READDIR_NEEDS_REWINDDIR, which was a bit weird because it couldn't be emulated by a function.
2003-05-03*** empty log message ***Jim Meyering
2003-05-03*** empty log message ***Jim Meyering
2003-05-03Add lots of tests to exercise --bytes=-N.Jim Meyering
2003-05-03*** empty log message ***Jim Meyering
2003-05-03Extend head to accept --lines=-N (--bytes=-N) and to print allJim Meyering
but the N lines (bytes) at the end of the file. Include full-write.h, full-read.h, inttostr.h, quote.h. Use quote() in diagnostics, rather than literal `' marks. (copy_fd, elide_tail_bytes_pipe, elide_tail_bytes_file): New functions. (elide_tail_lines_pipe, elide_tail_lines_file): New functions. (head_file): Reorganize so as to call head from only one place. (main): Likewise, for head_file. Handle new, undocumented option, --presume-input-pipe. Handle negative line and byte counts.
2003-05-03*** empty log message ***Jim Meyering