summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2000-06-03Allow -v as synonym for --verbose, to be consistent with other fileutils.Jim Meyering
2000-06-03(usage): Document that -v is a synonym for --verbose.Jim Meyering
2000-05-29Allow `cp -d -u' to copy one symlink onto another that's identical.Jim Meyering
(copy_internal): Change the || to ^ in the big sameness test, so copying one symlink onto another, identical one doesn't fail here. If the symlink call fails, don't report the failure if the destination already exists and is a symlink pointing to the proper name.
2000-05-27Arrange to call close_stdout upon exit.Jim Meyering
Don't close stdout explicitly. (usage): Add missing backslash at end of line. (write_header): Remove now-unused COMMENT parameter. Update all callers.
2000-05-27Arrange to call close_stdout upon exit.Jim Meyering
Don't close stdout explicitly. Replace uses of global constant, output_desc, with uses of STDOUT_FILENO.
2000-05-25(close_stdout_wrapper): Don't dereference NULL pointer.Jim Meyering
From Bob Proulx.
2000-05-24(head_file): Use STDIN_FILENO in place of `0'.Jim Meyering
(main): Likewise.
2000-05-20Arrange to call close_stdout upon exit. Don't close stdout explicitly.Jim Meyering
2000-05-20Arrange to call close_stdout upon exit. Don't close stdout explicitly.Jim Meyering
2000-05-20Arrange to call close_stdout upon exit. Don't close stdout explicitly.Jim Meyering
2000-05-20Arrange to call close_stdout upon exit. Don't close stdout explicitly.Jim Meyering
2000-05-20Arrange to call close_stdout upon exit. Don't close stdout explicitly.Jim Meyering
(but set exit status and file name, too)
2000-05-20add format args to match new %lu directivesJim Meyering
2000-05-20tweak warning diagnosticJim Meyering
2000-05-20(struct File_spec) [have_device, st_dev]: New membersJim Meyering
2000-05-20Save device number as well as inode number for each directory.Jim Meyering
(struct active_dir_ent) [st_dev]: New member. [st_ino]: Rename from `inum'. (make_active_dir_ent) [device]: New parameter. (hash_compare_active_dir_ents): Compare using SAME_INODE macro. (fspec_init_common): New function, factored out. (fspec_init_file): Initialize have_device member. (fspec_get_full_mode): Remove parameter. Update caller. Set have_device and st_dev members.
2000-05-18(rm): Combine adjacent fputc and fprintf.Jim Meyering
2000-05-18remove some parens from some cpp linesJim Meyering
2000-05-18(remove_dir): Detect (and fail upon) attempt to subvert a running `rm -r'.Jim Meyering
Reported by Morten Welinder.
2000-05-17tweak commentJim Meyering
2000-05-15(do_link): Use complete strings in diagnostics so theyJim Meyering
are easier to translate. Reported by Michel Robitaille. (main): Drop support for the case in which S_ISLNK wasn't defined. It was broken in any case.
2000-05-13Arrange to call close_stdout only upon exit.Jim Meyering
2000-05-13Include closeout.h.Jim Meyering
(usage): Don't call close_stdout here. (close_stdout_wrapper): New, kludgey, function and file-scoped global. (main): Register it with atexit.
2000-05-12Detect and report write failure of --help/--version.Jim Meyering
2000-05-12(copy_internal): Fix force and interactive tests.Jim Meyering
2000-05-12Unlike for mv, -i doesn't cancel the effect of -fJim Meyering
and -f doesn't cancel the effect of -i. (main) ['f']: Don't reset `x.interactive'. ['i']: Don't reset `x.force'.
2000-05-12(string_to_integer): Restrict base to 10.Jim Meyering
2000-05-12New option: --first-onlyJim Meyering
(anonymous enum) [CONVERT_FIRST_ONLY_OPTION]: Define. (long_options): Add `first-only'. (main): Handle new option.
2000-05-11(usage): Don't call close_stdout_status directly,Jim Meyering
since that didn't cover --version output. (main): Instead, call close_stdout_set_status and arrange to call close_stdout via atexit.
2000-05-11(usage): Don't call close_stdout_status directly,Jim Meyering
since that didn't cover --version output. (main): Instead, call close_stdout_set_status and arrange to call close_stdout via atexit.
2000-05-11(usage): Don't call close_stdout directly, since thatJim Meyering
didn't cover --version output. (main): Arrange to call close_stdout via atexit, instead.
2000-05-09Include sys/types.h in shred.c before includingJim Meyering
sys/stat.h or system.h. From John David Anglin.
2000-05-09back out last change -- the two should be separateJim Meyering
2000-05-09Include sys/types.h in shred.c before includingJim Meyering
sys/stat.h or system.h. From John David Anglin.
2000-05-09(case_GETOPT_VERSION_CHAR): Don't call close_stdout.Jim Meyering
2000-05-07Include "closeout.h".Jim Meyering
(usage): Call close_stdout just before exit.
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
2000-05-07(usage): Call close_stdout_status.Jim Meyering
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
2000-05-07(usage): Call close_stdout_status.Jim Meyering
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.