summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-05-02make sure -72x elicits an errorJim Meyering
2003-05-02(main): Diagnose invalid suffix on obsolescent width specifications like `-72x'.Jim Meyering
2003-05-02.Jim Meyering
2003-05-02*** empty log message ***Jim Meyering
2003-05-02bump serial numberJim Meyering
2003-05-02(jm_MACROS): Require GL_FUNC_READDIR.Jim Meyering
2003-05-02(GL_FUNC_READDIR): Revive dead file. Change name toJim Meyering
have GL_ (not jm_) prefix. Adjust cache variables similarly. Create 500 rather than just 300 files, to exercise bug on Darwin6.5, too.
2003-05-02Work around nasty readdir bug with Darwin6.5 and hfs file system.Jim Meyering
(IF_READDIR_NEEDS_REWINDDIR): Define. [! HAVE_WORKING_READDIR] (remove_cwd_entries): If readdir has just returned NULL and there has been at least one successful unlink or rmdir call since the opendir or previous rewinddir, then call rewinddir and reiterate the loop.
2003-05-02*** empty log message ***Jim Meyering
2003-05-02Factor out common code.Jim Meyering
(readdir_ignoring_dotdirs): New function. (is_empty_dir): Use it here. (remove_cwd_entries): Use it here.
2003-05-02revive dead fileJim Meyering
2003-05-01*** empty log message ***Jim Meyering
2003-05-01*** empty log message ***Jim Meyering
2003-05-01*** empty log message ***Jim Meyering
2003-05-01Create 500 rather than just 300 files.Jim Meyering
There's a bug in Darwin6.5's readdir that shows up only with 338 or more files. Fix a bug in this test: `cd $pwd' (not to `..'), now that $tmp has two components.
2003-05-01*** empty log message ***Jim Meyering
2003-05-01Change type of n_units, n_bytes, n_lines to be `uintmax_t'.Jim Meyering
(dump_remainder): Move two declarations `down' into the scope where they are used. (xlseek): Return the resulting offset. (file_lines): Rename parameter, file_length, to end_pos. (pipe_lines): Don't coerce safe_read return value to `int'. Adapt tests accordingly. (pipe_bytes) [struct charbuffer] (nbytes): Change type from `int' to `unsigned int'. Change type of `total_bytes' from `int' to `size_t', since the former wouldn't always be wide enough. Don't coerce safe_read return value to `int', and adapt tests accordingly. Now that testing for a read error no longer involves using `tmp', handle that case *after* freeing `tmp'. (start_bytes): Clean up. (tail_bytes): Now that `n_bytes' may be larger than OFF_T_MAX, test for that condition and, if it's true, don't use lseek optimizations. (parse_options): Don't fail just because N_UNITS is larger than the maximum size of a file -- tail may be applied to an input stream (e.g., a pipe) with more data than that.
2003-05-01(file_lines): Rename parameter, file_length, to end_pos.Jim Meyering
2003-05-01*** empty log message ***Jim Meyering
2003-05-01(syntax-check): Rename from alloc-check.Jim Meyering
Also check for SPACE-TAB sequences. Also check for malloc/calloc/realloc casts.
2003-05-01*** empty log message ***Jim Meyering
2003-05-01(start_lines): Rewrite to use memchr. Clean up.Jim Meyering
2003-04-28*** empty log message ***Jim Meyering
2003-04-28Send two tokens, not just one, so we don'tJim Meyering
make the now-more-picky tsort fail.
2003-04-28.Jim Meyering
2003-04-28correct grammar in commentJim Meyering
2003-04-26*** empty log message ***Jim Meyering
2003-04-25*** empty log message ***Jim Meyering
2003-04-25(GL_FUNC_GETCWD_PATH_MAX): If PATH_MAXJim Meyering
is not defined, don't run the test, and don't use the wrapper. Otherwise, on the Hurd, it would take a long time to create and remove a hierarchy about 4000 levels deep. Based on a patch from Robert Millan.
2003-04-25*** empty log message ***Jim Meyering
2003-04-24.Jim Meyering
2003-04-24*** empty log message ***Jim Meyering
2003-04-24(tsort): Remove unnecessary test of have_read_stdin.Jim Meyering
(main): Minor syntactic clean-up.
2003-04-24(tsort): Fail if the input contains an odd number of tokens.Jim Meyering
2003-04-24(only-one): add another testJim Meyering
2003-04-24add localedir.hJim Meyering
2003-04-23*** empty log message ***Jim Meyering
2003-04-23make sure tsort fails given an odd number of input tokensJim Meyering
2003-04-23update from masterJim Meyering
2003-04-23.Jim Meyering
2003-04-23Fix printf POSIX compatibility bug reported by Ben Harris inJim Meyering
<http://mail.gnu.org/archive/html/bug-coreutils/2003-04/msg00070.html>. (printf invocation): It's \NNN in the format, \0NNN in the %b operand.
2003-04-22Change an occurrence of [ \t] to [\t ].Jim Meyering
2003-04-21(print_esc): Tweak spelling of new variable.Jim Meyering
2003-04-21*** empty log message ***Jim Meyering
2003-04-21*** empty log message ***Jim Meyering
2003-04-21Fix printf POSIX compatibility bug reported by Ben Harris inJim Meyering
<http://mail.gnu.org/archive/html/bug-coreutils/2003-04/msg00070.html>. * doc/coreutils.texi (printf invocation): It's \NNN in the format, \0NNN in the %b operand. * src/printf.c (usage): Likewise. (print_esc): New arg OCTAL0 to specify whether \0NNN or \NNN is desired. All uses changed. Behave like Bash printf if %b operand uses \NNN where the initial N is not 0.
2003-04-21*** empty log message ***Jim Meyering
2003-04-21Add tests for the printf fixes of 2003-04-20.Jim Meyering
2003-04-21*** empty log message ***Jim Meyering
2003-04-21New version, now that this file is now on the list in ../Makefile.cfg.Jim Meyering