summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-05-03Skip test if the file system of `.' doesn't supportJim Meyering
sparse files -- otherwise it'd create a file of size 8GB. This happens on Darwin6.5 with a file system of type `hfs'.
2003-05-03.Jim Meyering
2003-05-02*** empty log message ***Jim Meyering
2003-05-02(canonicalize_file_name) [!HAVE_RESOLVEPATH]:Jim Meyering
A memory-allocation error could result in heap corruption. Fix it by also updating `dest' when rpath may be changed by xrealloc.
2003-05-02*** empty log message ***Jim Meyering
2003-05-02(usage): Don't mention obsolescent -WIDTH option.Jim Meyering
Instead explain about `-' and standard input. (main): Give a proper diagnostic for e.g., `fmt -c -72'.
2003-05-02Give a proper diagnostic for e.g., `fmt -c -72'.Jim Meyering
2003-05-02*** empty log message ***Jim Meyering
2003-05-02Include "quote.h".Jim Meyering
Use quote() in diagnostics, rather than literal `' marks. (main): Exit nonzero when unable to open an input file.
2003-05-02make sure we fail when unable to open an input fileJim Meyering
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