summaryrefslogtreecommitdiff
path: root/src/install.c
AgeCommit message (Collapse)Author
2004-02-07(cp_option_init): Likewise.Jim Meyering
2004-01-21(usage): Use EXIT_SUCCESS, not 0, for clarity.Jim Meyering
(usage): Don't bother normalizing exit status since the arg is already the correct exit status now.
2003-10-18Most .c files (AUTHORS): Revert the WRITTEN_BY/AUTHORS changeJim Meyering
of 2003-09-19. Now, AUTHORS is a comma-separated list of strings. Update the call to parse_long_options so that `AUTHORS, NULL' are the last parameters. * src/true.c (main): Append NULL to version_etc argument list. * src/sys2.h (case_GETOPT_VERSION_CHAR): Likewise.
2003-09-18(WRITTEN_BY): Rename from AUTHORS.Jim Meyering
Begin each WRITTEN_BY string with `Written by ' and end it with `.'. Mark each WRITTEN_BY string as translatable.
2003-08-09Include utimens.h.Jim Meyering
(change_timestamps): Set file timestamps with utimens, not utime.
2003-07-12It appears that the `#pragma alloca' included via "system.h" isJim Meyering
adequate, since join.c uses alloca, yet lacked an in-file #pragma. Remove `#pragma alloca'.
2003-07-11(change_attributes): Enclose diagnostic in _(...).Jim Meyering
2003-06-17(main): Call initialize_main.Jim Meyering
2003-05-10(main): Handle argc < optind.Jim Meyering
2002-12-15Remove all uses of `PARAMS'.Jim Meyering
2002-09-26(get_ids): Use strtoul, not strtol. Remove some casts.Jim Meyering
2002-09-21No longer include values.h.Jim Meyering
It was required solely for now-removed reference to BITSPERBYTE.
2002-09-02(skip): Add casts to avoid warning about comparisonJim Meyering
between signed and unsigned. Also rearrange range-checking comparisons to make them more readable.
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.