summaryrefslogtreecommitdiff
path: root/src/install.c
AgeCommit message (Collapse)Author
2002-08-31Change `exit (0)' to `exit (EXIT_SUCCESS)',Jim Meyering
`exit (1)' to `exit (EXIT_FAILURE)', and `usage (1)' to `usage (EXIT_FAILURE)'.
2002-08-30Change `error (1, ...' to `error (EXIT_FAILURE, ...'.Jim Meyering
2002-07-02(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.Jim Meyering
2002-03-10(strip): Change wording in diagnostic.Jim Meyering
2001-12-02Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTIONJim Meyering
instead of hard-coding --help and --version descriptions.
2001-11-23(usage): Note that ``Mandatory arguments to long options are mandatoryJim Meyering
for short options too.''
2001-11-23Split usage strings so that --help and --versionJim Meyering
descriptions are alone in their own string.
2001-11-23(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-11-22(cp_option_init): Initialize new member.Jim Meyering
2001-11-22(cp_option_init): Initialize new member.Jim Meyering
(main): dest_info_init now takes a parameter.
2001-10-13(cp_option_init): Initialize new member, preserve_links.Jim Meyering
2001-10-13(cp_option_init): Don't set it.Jim Meyering
2001-10-13* src/copy.h (struct cp_options): Rename members:Jim Meyering
s/preserve_owner_and_group/preserve_ownership/, and s/preserve_chmod_bits/preserve_mode/. * src/copy.c, src/cp.c, src/install.c, src/mv.c: Update all uses.
2001-10-06(main): Reflect that hash_init now takes no arguments.Jim Meyering
2001-09-28(main): Call dest_info_init if necessary.Jim Meyering
2001-08-31(full_write): Remove decl; not needed.Jim Meyering
2001-08-13(cp_option_init): Adjust initialization of `interactive',Jim Meyering
and initialize new member, stdin_tty.
2000-12-25For both ln and install, when using `--backup=simple --suffix=S',Jim Meyering
the suffix `S' wasn't used. (main): Actually use the local variable, `backup_suffix_string'.
2000-09-30(main): Rename local `symbolic_mode' to `specified_mode'.Jim Meyering
2000-09-30Remove option-describing comment block.Jim Meyering
2000-09-22(cp_option_init): Once again make it so install alwaysJim Meyering
unlinks an existing destination before trying to open it for writing. Otherwise, installing onto a running shared library would make the running program malfunction.
2000-09-03(cp_option_init): Initialize new members.Jim Meyering
2000-08-20(cp_option_init): Initialize to DEREF_ALWAYS, not `1'.Jim Meyering
2000-08-08(main): Invoke xalloc_die instead of printing our own message.Jim Meyering
2000-07-15Convert "`%s'" in format strings to "%s", and wrap eachJim Meyering
corresponding argument in a `quote (...)' call. Improve a couple diagnostics.
2000-06-03(usage): Document that -v is a synonym for --verbose.Jim Meyering
2000-05-13Arrange to call close_stdout only upon exit.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-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-02-27(install_file_to_path): Always use install_file_in_file.Jim Meyering
Based on a patch from Adam Klein via Michael Stone.
1999-10-31Convert --backup to take an optional argument.Jim Meyering
Deprecate --version-control (-V) in comments. (usage): Remove mention of --version-control. (main): Make -V warn then fall through into --backup case. [--backup case]: Handle optional arg.
1999-04-26(isodigit): Remove unused macro.Jim Meyering
(mode, cp_option_init, DIR_MODE): Use proper mode_t types and macros. Don't assume the traditional Unix values for mode bits.
1999-04-01(install_file_in_dir): Qualify a char* with the `const' keyword.Jim Meyering
1999-04-01(main): Qualify a char* with the `const' keyword.Jim Meyering
1999-04-01(main): Qualify a char* with the `const' keyword.Jim Meyering
1999-03-31Don't include closeout.h or version-etc.h explicitly. Now, they're included ↵Jim Meyering
via sys2.h.
1999-03-30(strip): Use standard "cannot fork" message.Jim Meyering
Check for strip nonzero exit status.
1999-03-27(strip): Use pid_t, not int.Jim Meyering
1999-03-26No longer include long-options.h.Jim Meyering
Include version-etc.h instead. (PROGRAM_NAME, AUTHORS): Define. [long_options]: Add entries for --help and --version. Remove parse_long_options call. (main) [getopt switch]: Add a case for each of --help and --version.
1999-03-04Include long-options.hJim Meyering
[long_options]: Remove the "help" and "version" entries. (main): Use parse_long_options, including author name(s). Remove the show_version and show_help blocks.
1999-02-14(main): Set x.backup_type only if backups are requested.Jim Meyering
(cp_option_init): Initialize backup_type. (backup_type): Remove unused variable.
1999-01-16Remove declarations of base_name and get_version.Jim Meyering
(main): Don't call getenv ("VERSION_CONTROL"); xget_version does it. Use xget_version and function-style XARGMATCH.
1998-12-18(UID_T_MAX, GID_T_MAX): Remove definitions.Jim Meyering
1998-12-07Use dir_name, not dirname. Include dirname.h.Jim Meyering
1998-10-05(long_options): Add entry for --suffix=SUFFIX option.Jim Meyering
1998-09-20(install_file_to_path) [-D]: Create any leadingJim Meyering
directories with permissions of 0755.
1998-09-20(install_file_to_path): Copy the file after creating any leading directories.Jim Meyering
(main) [case 'v']: Set `x.verbose' to 1, not 0.
1998-09-19update bug-reporting addressJim Meyering
1998-08-02(change_timestamps): Add comment.Jim Meyering