Lines Matching defs:backup
101 "[B:backup?Make backups of files that are about to be replaced. "
102 "\b--suffix\b sets the backup suffix. The backup type is determined in "
106 "[+numbered|t?Always make numbered backups. The numbered backup "
115 "[S:suffix?A backup file is made by renaming the file to the same name "
116 "with the backup suffix appended. The backup suffix is determined in "
119 "[b?\b--backup\b using the type in the \bVERSION_CONTROL\b environment "
152 #define BAK_replace 0 /* no backup -- just replace */
160 int backup; /* BAK_* type */
192 char* suffix; /* backup suffix */
493 switch (state->backup)
522 if (v || state->backup == BAK_number)
525 goto backup;
530 backup:
535 error(ERROR_SYSTEM|2, "%s: cannot backup to %s", state->path, s);
786 state->backup = 1;
830 state->backup = 1;
893 if (state->backup)
896 state->backup = 0;
908 state->backup = BAK_existing;
920 state->backup = BAK_simple;
928 state->backup = 0;
936 state->backup = BAK_number;
940 error(2, "%s: unknown backup type", backup_type);