summaryrefslogtreecommitdiff
path: root/src/install.c
AgeCommit message (Collapse)Author
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
1998-07-27Make copy create each destination file initiallyJim Meyering
with mode 0600 so strip will work, then apply specified mode. Arne Henrik Juul reported that `./ginstall -s -c -m 555 dd /tmp' failed.
1998-06-01(main): Fix argv-handling bug in my 1998-05-09 change.Jim Meyering
Reported by Don Parsons.
1998-05-11reflect additional parameter to copyJim Meyering
initialize new member: move_mode.
1998-05-10(cp_option_init): s/use_mode/set_mode/Jim Meyering
1998-05-10(main): Rewrite argv-handling to be clearer.Jim Meyering
(copy_file): Rewrite to use copy.c (copy). (change_attributes): Get rid of now-(with chown wrapper)-unnecessary `no_need_to_chown' parameter. Fix caller. (install_file_in_file): Remove now-unnecessary `to_created' parameter. (cp_option_init): New function. Update several functions to take new parameter specifying copy options.
1998-03-15Use #if, not #ifdef with HAVE_ macros.Jim Meyering
Use #if !, not #ifndef with HAVE_ macros.
1998-03-13(usage): Tweak spacingJim Meyering
1998-01-22Declare new global, backup_type.Jim Meyering
(main): Initialize backup_type unconditionally. (copy_file): Call find_backup_file_name with new backup_type, argument.
1998-01-10(usage): Describe -D.Jim Meyering
1998-01-05reindent a littleJim Meyering
1998-01-05reformat comment, dcl fail, dirnameJim Meyering
1998-01-05remove SPECIAL_BITS #ifdefsJim Meyering
1998-01-05Add support for marty's -D optionJim Meyering
1998-01-04(main, usage): Check for write error to stdout before exiting.Jim Meyering
Include "closeout.h".
1998-01-02(get_ids): When otherwise unspecified, set uid and gid to -1.Jim Meyering
1997-12-25(get_ids): Don't cast GID_T_MAX to long, it might overflow.Jim Meyering
1997-12-16s/__P/PARAMS/gJim Meyering
1997-11-30(BITSPERBYTE): Remove.Jim Meyering
(UID_T_MAX, GID_T_MAX): Define in terms of TYPE_MAXIMUM.
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-23Remove stpcpy decl.Jim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-10-06change verbose messagesJim Meyering
1997-10-06(usage): Add a line describing --verbose.Jim Meyering
1997-09-11Add new option: --verbose (-v).Jim Meyering
From Andreas Schwab.
1997-07-29(usage): tweak -p descrJim Meyering
1997-07-29Declare pointer parameters const as appropriate.Jim Meyering
1997-07-29(main): New option --preserve-timestamps (-p).Jim Meyering
(install_file_in_file): Change timestamps if requested. (change_timestamps): New function. (usage): Describe --preserve-timestamps. Correct --mode description. From Galen Hazelwood.
1997-05-27Use base_name, not basename.Jim Meyering
1997-02-09update copyrights for 1997Jim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering