summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
1999-07-04Use lower case characters in sc{} context.Jim Meyering
Reported by Eli Zaretskii.
1999-07-04*** empty log message ***Jim Meyering
1999-07-04(enum human_inexact_style): New enum.Jim Meyering
(human_readable_inexact): New decl.
1999-07-04(human_readable): New function.Jim Meyering
(human_readable_inexact): Renamed from human_readable, with new arg INEXACT_STYLE. Add support for ceiling and floor.
1999-07-04(print_header): Conform to POSIX if posix_format).Jim Meyering
(df_readable): Take ceiling if posix_format. (ceil_percent): New function. (show_dev): Take ceiling of percent if posix_format. Align with POSIX-conforming header if posix_format.
1999-07-04*** empty log message ***Jim Meyering
1999-07-04(__strtol): Remove decl; it doesn't work if __strtolJim Meyering
expands to a macro, which occurs in HP-UX 10.20 with strtoumax. (strtol, strtoul): New decls (for pre-ANSI hosts), to replace the above decl.
1999-05-27.Jim Meyering
1999-05-27*** empty log message ***Jim Meyering
1999-05-25Fix non-portable use of `tr' that caused this testJim Meyering
to fail when run with a SysV-style tr. Based on a patch from Kaveh Ghazi.
1999-05-25(Squeezing): Remove misleading square bracketsJim Meyering
from SET1 in the one-word-per-line example.
1999-05-23(copy_internal): Don't apply the umask in move_mode.Jim Meyering
Otherwise, `mv' would not preserve the permissions when copying between partitions. Reported by David Godfrey