summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1999-07-15*** empty log message ***Jim Meyering
1999-07-15Document new tail options.Jim Meyering
1999-07-15*** empty log message ***Jim Meyering
1999-07-15Include getpagesize.h.Jim Meyering
(ROUND_UP_TO_MODULUS): Define. (dd_copy): Page-align the input buffer. Based on a patch from Scott Lurndal.
1999-07-15.Jim Meyering
1999-07-15*** empty log message ***Jim Meyering
1999-07-15*** empty log message ***Jim Meyering
1999-07-15*** empty log message ***Jim Meyering
1999-07-15(AC_CHECK_FUNCS): Check for getpagesize.Jim Meyering
1999-07-15(get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]:Jim Meyering
Work around SunOS botch also when block size is different from 1k.
1999-07-15*** empty log message ***Jim Meyering
1999-07-12*** empty log message ***Jim Meyering
1999-07-12(mempcpy): Define only if not already defined.Jim Meyering
Reported by Collin Rogowski.
1999-07-12*** empty log message ***Jim Meyering
1999-07-11(recheck): Use assert instead of unnecessary close_fd.Jim Meyering
Remove a couple unnecessary FIXME comments.
1999-07-10*** empty log message ***Jim Meyering
1999-07-10cpp indent and split a long lineJim Meyering
1999-07-10use a space, not TAB after #defineJim Meyering
1999-07-10cpp indentJim Meyering
1999-07-10(struct File_spec) [tailable]: Rename from `missing' andJim Meyering
document. Change all uses and locals like was_missing to was_tailable. Invert expressions as appropriate. (reopen_inaccessible_files): Rename from allow_missing. (sleep_interval): Describe. (--allow-missing): Deprecate. (--retry): New option, equivalent to --allow-missing. (usage): Document name vs. descriptor differences. Refer to manual for descriptions of --max-unchanged-stats=N and --max-consecutive-size-changes=N. (valid_file_spec): New function. (recheck): Assert valid_file_spec. Remove dead else-if block (suggestion from Eli Zaretskii). Adjust stmts that set f->tailable -- unlike for `missing', tailable doesn't depend on errno == ENOENT. (parse_options): Give a warning if --retry is used when not following by name.
1999-07-10(struct File_spec): New member, errnum.Jim Meyering
(recheck): Record the new value of errno in f->errnum. Don't output an error message unless the new value of errno differs from the old one. Output a message if previously-inaccessible file becomes accessible. (tail_forever): Always recheck files whose fd is negative. If the file cannot be fstat'ed, record the errno value in f[i].errnum. (tail_file): If the file cannot be open, record the errno value in f->errnum. If it can be opened, initialize f->errnum to zero. If it's a non-regular non-fifo file, initialize f->errnum to -1.
1999-07-10*** empty log message ***Jim Meyering
1999-07-10Import version 1.012.Jim Meyering
1999-07-10*** empty log message ***Jim Meyering
1999-07-10*** empty log message ***Jim Meyering
1999-07-10Import version 1.011.Jim Meyering
1999-07-10.Jim Meyering
1999-07-09*** empty log message ***Jim Meyering
1999-07-04reinclude memcoll.h (mistakenly removed by me)Jim Meyering
1999-07-04*** empty log message ***Jim Meyering
1999-07-04[!defined strtoumax]: Declare strtoumax.Jim Meyering
1999-07-04.Jim Meyering
1999-07-04*** empty log message ***Jim Meyering
1999-07-04(readline): Leave room for an extra byteJim Meyering
after the newline; comm needs this for memcoll.
1999-07-04Add support for LC_COLLATE locale.Jim Meyering
Include hard-locale.h, linebuffer.h, memcoll.h. (struct line): New member `buf', replacing `beg' and `lim'. All uses changed. (hard_LC_COLLATE): New var. (main): Initialize it. (get_line): Use readline to read the line, instead of doing it by hand. That way, we get a buffer that we can pass to memcoll. (keycmp): Use memcoll to compare lines if hard_LC_COLLATE is nonzero.
1999-07-04Include hard-locale.h, memcoll.h.Jim Meyering
(hard_LC_COLLATE, hard_LC_CTYPE, hard_LC_TIME): New variables, replacing `need_locale'. (memcoll): Move to lib/memcoll.c. (keycompare): No need to alloc (0), since our caller now does it. (compare): alloca (0) before returning. (my_setlocale): Remove; hard_locale now dows this. (main): Invoke setlocale, bindtextdomain, and textdomain before invoking anything that might print an error. Use hard_locale to determine which locales are hard.
1999-07-04Include hard-locale.h, memcoll.h.Jim Meyering
(hard_LC_COLLATE): New variable. (compare_files): Use memcoll to compare if hard_LC_COLLATE. (main): Initialize hard_LC_COLLATE from locale.
1999-07-04Document locale-specific mode for comm.Jim Meyering
1999-07-04*** empty log message ***Jim Meyering
1999-07-04(proc_text, check_section, main):Jim Meyering
Use size_t, not int, for lengths. Lines now contain trailing newline. Adapt for readline changes.
1999-07-04(find_field, different): Use size_t, not int, for lengths.Jim Meyering
(writeline): Lines now contain trailing newline. (check_file): Use size_t, not int, for lengths.
1999-07-04(writeline): Lines now contain trailing newline.Jim Meyering
1999-07-04[struct linebuffer] (size): Declare to be of type size_t, not long.Jim Meyering
[struct linebuffer] (length): Likewise.
1999-07-04(readline): Append trailing newline to line.Jim Meyering
1999-07-04(memrchr): Ifdef out this unused function.Jim Meyering
1999-07-04*** empty log message ***Jim Meyering
1999-07-04*** empty log message ***Jim Meyering
1999-07-04New test case for Paul's 1999-06-03 fix.Jim Meyering
1999-07-04(xfields): Only <blank>s separate fields, not <space>s.Jim Meyering
1999-07-04.Jim Meyering