summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2000-05-05Include "closeout.h".Jim Meyering
(main): Call close_stdout.
2000-05-05Include "closeout.h".Jim Meyering
(main): Call close_stdout.
2000-05-05Include "closeout.h".Jim Meyering
(main): Call close_stdout.
2000-05-05Include "closeout.h".Jim Meyering
(main): Call close_stdout.
2000-05-05Exit nonzero upon write failure.Jim Meyering
Include "closeout.h". (main): Call close_stdout. Reported by Ian Jackson via Michael Stone.
2000-05-03Remove declaration of strndup.Jim Meyering
2000-05-03(!HAVE_DECL_STRNDUP): Declare strndup.Jim Meyering
2000-05-02don't hard-code `rm'Jim Meyering
2000-05-02(usage): Add the answer to `How do I remove a file named -f?'Jim Meyering
2000-05-01(change_attributes): Don't remove the destination file upon failure.Jim Meyering
2000-05-01[checked in with intention to back out...]Jim Meyering
(change_attributes): Unlink the destination file if either of the chown or the chmod calls fails. Don't even attempt the chmod if the chown fails. Suggestion from Marc Olzheim.
2000-04-30(O_NOCTTY): Define if not defined already.Jim Meyering
(touch): Add O_NOCTTY to the flags passed to open.
2000-04-30tweak commentJim Meyering
2000-04-30Detect and terminate upon write failure.Jim Meyering
2000-04-29[LSTAT_FOLLOWS_SLASHED_SYMLINK] (lstat): Define to rpl_lstat.Jim Meyering
2000-04-27(pop_dir): Remove through_symlink arg; use null cwdJim Meyering
for that purpose instead. (count_entry): Also save the directory if we're saving more than one level. Fix file descriptor and memory leak when chdir fails.
2000-04-26Rename global: s/path_mode/create_parents/.Jim Meyering
(main): No longer perform explicit chmod when creating parent directories, since make_path now does the chmod.
2000-04-19[__BEOS__]: Ignore O_BINARY and O_TEXT.Jim Meyering
2000-04-17Accept new option: --from=CURRENT_OWNER:CURRENT_GROUP.Jim Meyering
(enum) [FROM_OPTION]: New member. (long_options): New getopt spec. (change_file_owner): Add old_user, old_group parameters. Use them. (change_dir_owner): Likewise. (usage): Describe. (main): New case.
2000-04-17Don't remove support for --max-consecutive-size-changes just yet...Jim Meyering
2000-04-16Remove option: --max-consecutive-size-changes=N.Jim Meyering
Doesn't seem useful. (usage): Remove description.
2000-04-16New option: --strip-trailing-slashes.Jim Meyering
(enum) [STRIP_TRAILING_SLASHES_OPTION]: New member. (remove_trailing_slashes): New global. (long_opts): New getopt spec. (usage): Describe. (do_copy): Strip trailing slashes on SOURCE names only if the new option has been specified. (main): New case.
2000-04-16add commentJim Meyering
2000-04-14tweak copyright dateJim Meyering
2000-04-14Shorten `#ifdef HAVE_...' to `#if HAVE_...' andJim Meyering
remove unnecessary uses of `defined' (aesthetics).
2000-04-12(usage): Tweak --help output. Suggestions from Karl Berry.Jim Meyering
2000-04-09(usage): Clarify descriptions of the --max-* options.Jim Meyering
From Karl Berry.
2000-04-09Use the "C" locale when using --rfc-822 (-R), asJim Meyering
required by rfc822. Before, in the de_DE locale, date would print the German weekday and month abbreviations.
2000-04-08Document the ln=target directive.Jim Meyering
2000-04-08Add support for "ln=target" in the LS_COLORS variable,Jim Meyering
to colorize links as for the file/directory pointed to.
2000-04-08Document that while the --backup option takes anJim Meyering
optional argument, the -b option accepts none. (main): Use `backup type' in call to xget_version, not the now-deprecated `--version-control'.
2000-04-08Document that while the --backup option takes anJim Meyering
optional argument, the -b option accepts none. (main): Use `backup type' in call to xget_version, not the now-deprecated `--version-control'.
2000-04-03Include <langinfo.h> if it exists.Jim Meyering
(DATE_FMT_LANGINFO): New macro. (show_date): Use it to get the locale-specific default format for "date" if it exists.
2000-03-18(print_uptime): Use `buf' only if fgets succeeds.Jim Meyering
2000-03-12Merge from textutils.Jim Meyering
(O_BINARY, O_TEXT): Define if necessary. (SET_BINARY, SET_BINARY2): Define. (DEV_BSIZE): Define to BBSIZE if appropriate.
2000-03-12(usage): Correct --help output.Jim Meyering
2000-03-06(struct buffer.newline_free): New member.Jim Meyering
(initbuf, findlines): Set it. (fillbuf): Do not double the size of a full buffer to append a newline unless the buffer is known to be newline free.
2000-03-04Once we encounter a file that is not of IS_TAILABLE_FILE_TYPE,Jim Meyering
marke it as such and ignore it forever after. (struct File_spec): New member. (recheck): Initialize new member. (tail_file): Likewise. (tail_forever): Skip the file if it's marked as ignorable.
2000-03-04Don't get failed assertion for `tail -f directory'.Jim Meyering
Revert most of 1999-10-20 change. Instead, ... (IS_TAILABLE_FILE_TYPE): Define to produce similar result. (recheck): Use it here. (tail_file): Use it here.
2000-03-04Include "unicodeio.h".Jim Meyering
(usage): Mention \u and \U directives. \x outputs a byte, not a character. (print_esc): Implement \u and \U.
2000-03-04copyrightJim Meyering
2000-03-03Make it so stty's rprnt attribute works on HPUX 10.20.Jim Meyering
[CREPRINT && !CRPRNT] (CRPRNT): Define. (control_info): Recognize HPUX's CREPRINT.
2000-03-03(fillbuf): Move declaration of local, cc, into scope ofJim Meyering
`while' loop where it's used.
2000-03-03Big performance improvement when sorting many small files,Jim Meyering
building on a suggestion by Charles Randall. (fillbuf): Skip memmove if it would be a no-op, as many memmove implementations are slow in that case. Don't examine leftover bytes for eolchar, since they may be left over from a previous file, and we want to read from this file. (sort): At end of file, if there is more input and buffer room, concatenate the next input file.
2000-03-02(getlogin, ttyname, geteuid): Declare them here, if needed.Jim Meyering
2000-03-02(show_point): Ignore shortcuts based on pathJim Meyering
prefixes that are loop file system mount points, since they yield undesirable output.
2000-03-01(get_width_format): Fix portability problem with `-0' vs. `0'.Jim Meyering
2000-02-29(decode_switches): Remove `e' from getopt_long's list ofJim Meyering
option characters. Reported by John Summerfield.
2000-02-29(make_blank): Add an explicit cast to `unsigned char *'Jim Meyering
to placate HPUX's C compiler. Reported by Bob Proulx.
2000-02-29split a long lineJim Meyering