summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-04-22*** empty log message ***Jim Meyering
2001-04-22(main): Fix off-by-one error introduced with last change.Jim Meyering
2001-04-22check -R, tooJim Meyering
2001-04-22*** empty log message ***Jim Meyering
2001-04-22*** empty log message ***Jim Meyering
2001-04-22*** empty log message ***Jim Meyering
2001-04-22(TESTS): Add no-arg.Jim Meyering
2001-04-22*** empty log message ***Jim Meyering
2001-04-22Fix bugs when computing length of large files.Jim Meyering
Add overflow and write error checks. Use uint_fast32_t, not unsigned long, to do checksum calculation, as C99 says uint_fast32_t should be no slower and might be faster. Include <stdio.h> and "system.h" even if CRCTAB is defined, so that the code will compile if CRCTAB is defined. Include "human.h" if CRCTAB is not defined. (uint_fast32_t): Define if it appears that stdint.h didn't. (BIT, remainder, main, crctab): Use uint_fast32_t, not unsigned long, for checksums. (fill_r, remainder, main): Use ANSI prototypes. (fill_r, remainder, main): Omit duplicate code. (main): Use uintmax_t, not unsigned long, for file lengths. Use size_t, not long, for result of fread. Check for overflow when computing file lengths. Check for write error immediately after printing a line, so that we don't write to stdout indefinitely after an error.
2001-04-22*** empty log message ***Jim Meyering
2001-04-22(usage): Mention that sync makes dd pad with spaces (rather than NULs)Jim Meyering
when used with block or unblock.
2001-04-22*** empty log message ***Jim Meyering
2001-04-21*** empty log message ***Jim Meyering
2001-04-21*** empty log message ***Jim Meyering
2001-04-21Write to a new file, so that a restrictive umask doesn't interfere.Jim Meyering
2001-04-21*** empty log message ***Jim Meyering
2001-04-21*** empty log message ***Jim Meyering
2001-04-21*** empty log message ***Jim Meyering
2001-04-21Ensure that initial group id's are properly set for `d' and `d/f3'.Jim Meyering
2001-04-21*** empty log message ***Jim Meyering
2001-04-21Check for chsize.Jim Meyering
Link with ftruncate.o unconditionally if ftruncate is missing. This was required when cross-compiling to i586-mingw32msvc.
2001-04-21.Jim Meyering
2001-04-21*** empty log message ***Jim Meyering
2001-04-21*** empty log message ***Jim Meyering
2001-04-21*** empty log message ***Jim Meyering
2001-04-21(main): When given two or more arguments but the only oneJim Meyering
that exists is a directory, don't treat it as if it were the only argument. Before, `mkdir d; ls no-dir d 2>/dev/null' would act like `ls d' and produce no output. Now, it prints `d:'.
2001-04-21*** empty log message ***Jim Meyering
2001-04-21tests for latest fixJim Meyering
2001-04-20*** empty log message ***Jim Meyering
2001-04-20(false invocation): Describe how --help andJim Meyering
--version are treated with and without POSIXLY_CORRECT. (true invocation): Likewise.
2001-04-15*** empty log message ***Jim Meyering
2001-04-15(default_sort_size): Leave a 1/16 margin for RSS.Jim Meyering
2001-04-14*** empty log message ***Jim Meyering
2001-04-14(usage): Tweak --help output: s/line,/newline,/Jim Meyering
2001-04-13*** empty log message ***Jim Meyering
2001-04-13(main): Add a comment justifying the use ofJim Meyering
`multi-character' rather than `multibyte' in a diagnostic.
2001-04-13*** empty log message ***Jim Meyering
2001-04-13(RLIMIT_AS): Do not define; just use conditionalJim Meyering
code, since RLIMIT_RSS is similar (and is not standardized). (default_sort_size): Don't allocate more than the RSS limit, if this host has such a limit.
2001-04-08*** empty log message ***Jim Meyering
2001-04-08that's necessary when the offset spans a DST transition.Jim Meyering
2001-04-08*** empty log message ***Jim Meyering
2001-04-08*** empty log message ***Jim Meyering
2001-04-04*** empty log message ***Jim Meyering
2001-04-04Don't inspect MB_LEN_MAX. Paul Eggert says it'sJim Meyering
not always defined correctly.
2001-04-02*** empty log message ***Jim Meyering
2001-04-02Skip nonexistent directories.Jim Meyering
2001-04-02Include <getopt.h>.Jim Meyering
(usage, main): Add support for long options, and check option syntax as POSIX requires, though (as usual for GNU apps) options can follow file names unless POSIXLY_CORRECT is set. Many diagnostic revamped. (long_options): New constant. (badfieldspec): New arg MSGID. Mark as noreturn. (parse_field_count): New arg MSGID; if null, just return null on error. (new_key): Renamed from key_init. All callers changed. Now allocates the new key.
2001-04-02Update from GNU libc.Jim Meyering
2001-04-02*** empty log message ***Jim Meyering
2001-04-01.Jim Meyering