summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1999-08-21(usage): Remove the ` [-v]' from the Usage: line.Jim Meyering
1999-08-20(usage): Tweak --help output to make it more consistent with that of chgrp.Jim Meyering
1999-08-20(usage): Tweak --help output to make it more consistent with that of chown.Jim Meyering
1999-08-16This change is nearly identical to the chown.c change of 1998-05-24Jim Meyering
Accept new option, --dereference. --no-dereference is now the default. Include lchown.h. (enum Change_status) [CH_NOT_APPLIED]: New member. (change_symlinks): Enable this by default, now. (describe_change): Handle new case. (change_file_group): Add new parameter: cmdline_arg. Update callers. Reorganize to reflect changed semantics. (LCHOWN): Remove definitions. From Bruno Haible.
1999-08-16(groupname): Declare to be `const'.Jim Meyering
(change_dir_owner): Declare statp parameter to be `const'. (usage): Make the output be more consistent with that from chgrp.
1999-08-15(ENOSYS): Define to a bogus value if not already defined.Jim Meyering
(parse_options): Warn if --pid=PID is used and kill() returns ENOSYS (e.g. when compiled with DJGPP).
1999-08-10(usage): Add ls --quoting-style=locale.Jim Meyering
1999-08-08(usage): Clarify description of --time=WORD.Jim Meyering
1999-08-08(count_entry): Remove cast of savedir arg.Jim Meyering
1999-08-08(copy_dir): Remove cast of savedir arg.Jim Meyering
1999-08-08(change_dir_owner): Remove cast of savedir arg.Jim Meyering
1999-08-08(change_dir_mode): Remove cast of savedir arg.Jim Meyering
1999-08-08(change_dir_group): Remove cast of savedir arg.Jim Meyering
1999-08-06(Follow_mode): Remove comma at end of enumerator list.Jim Meyering
Reported by Kaveh Ghazi.
1999-08-06Honor --help and --version once again, though nowJim Meyering
only if POSIXLY_CORRECT is set.
1999-08-06Include file name in `write error' diagnostics.Jim Meyering
(write_bytes): Add output_file parameter and use it. Update callers. (mergefps): Likewise. (merge): Likewise. (sort): Likewise. Reported by John Summerfield.
1999-08-04*** empty log message ***Jim Meyering
1999-08-03(tail_forever): When following by name and calling recheckJim Meyering
because of exceeding max_n_consecutive_size_changes_between_opens, `continue' so we don't fall through and (assuming the file finally grew) get the erroneous `file truncated' message.
1999-08-01(usage): Correct description of %S; (00..60, not 00..61).Jim Meyering
From Ken Pizzini.
1999-07-31.Jim Meyering
1999-07-31(tail_forever): Don't call kill if pid is 0.Jim Meyering
Detect when `writer_is_dead' also when the writer is some other user. From Karl Heuer. (parse_options): Warn if --pid=PID is used without -f.
1999-07-30Include signal.h for kill prototype.Jim Meyering
1999-07-30New option: --pid=PID.Jim Meyering
(pid): New global. (long_options): Add `pid'. (usage): Describe it. (tail_forever): Implement it. (parse_options): Handle the new option and required arg. Suggestion and pseudo-code from Karl Heuer.
1999-07-30(PID_T_MAX): Define.Jim Meyering
1999-07-30(usage): Explain about default wrt --hide-control-chars andJim Meyering
--show-control-chars. Reported by Germano Leichsenring.
1999-07-27(dd_copy): Free the right obuf.Jim Meyering
1999-07-26more commentsJim Meyering
1999-07-26add commentJim Meyering
1999-07-26(struct File_spec) [n_stat_calls]: Remove unused member.Jim Meyering
1999-07-26(tee): Convert from open/fds to using fopen/streams forJim Meyering
output, in preparation for addition of new compression option.
1999-07-25(usage): Remove `NEWS'-style paragraph (sorry to have let that in, translators).Jim Meyering
1999-07-24add to commentJim Meyering
1999-07-24(PTR_ALIGN, ROUND_UP_OFFSET): New macros.Jim Meyering
(dd_copy): Use those to page-align both the input and output buffers.
1999-07-20(posixly_correct): Declare global.Jim Meyering
(write_counts): Use it to select printf formats. (main): Set posixly_correct from the POSIXLY_CORRECT envvar. From Peter Moulder.
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-12(mempcpy): Define only if not already defined.Jim Meyering
Reported by Collin Rogowski.
1999-07-11(recheck): Use assert instead of unnecessary close_fd.Jim Meyering
Remove a couple unnecessary FIXME comments.
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-04reinclude memcoll.h (mistakenly removed by me)Jim Meyering
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-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(memrchr): Ifdef out this unused function.Jim Meyering
1999-07-04(xfields): Only <blank>s separate fields, not <space>s.Jim Meyering
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-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