Searched refs:backup_type (Results 1 - 10 of 10) sorted by relevance

/netbsd-current/usr.bin/patch/
H A Dbackupfile.h21 enum backup_type { enum
40 extern enum backup_type backup_type;
44 enum backup_type get_version(const char *version);
H A Dbackupfile.c41 enum backup_type backup_type = undefined; variable in typeref:enum:backup_type
59 * is the root directory. Do not call this function if backup_type == none.
67 if (backup_type == simple)
90 if (backup_type == numbered_existing && highest_backup == 0)
233 static enum backup_type backup_types[] = {
242 enum backup_type
H A Dpatch.c209 backup_type = get_version(v);
216 if (backup_type == undefined)
217 backup_type = posix ? none : numbered_existing;
379 enum backup_type saved = backup_type;
380 if (failed > 0 && backup_if_mismatch > 0 && backup_type == none)
381 backup_type = simple;
388 backup_type = saved;
512 if (backup_type == undefined)
513 backup_type
[all...]
H A Dutil.c108 if (backup_type == none || stat(orig, &filestat) != 0)
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dbackupfile.h28 enum backup_type enum
53 enum backup_type backup_type);
54 extern enum backup_type get_version (char const *context, char const *arg);
55 extern enum backup_type xget_version (char const *context, char const *arg);
H A Dbackupfile.c84 Do not call this function if backup_type == none. */
87 find_backup_file_name (const char *file, enum backup_type backup_type) argument
106 if (backup_type != simple)
113 if (! (backup_type == numbered_existing && highest_backup == 0))
200 static const enum backup_type backup_types[] =
213 enum backup_type
229 enum backup_type
H A Dargmatch.c218 enum backup_type
245 static const enum backup_type backup_vals[] =
257 enum backup_type backup_type = no_backups;
268 backup_type = XARGMATCH ("$VERSION_CONTROL", cp,
272 backup_type = XARGMATCH (program_name, argv[1],
276 ARGMATCH_TO_ARGUMENT (backup_type, backup_args, backup_vals));
217 enum backup_type enum
256 enum backup_type backup_type = no_backups; local
/netbsd-current/external/gpl2/gettext/dist/gnulib-local/lib/
H A Dbackupfile.h28 enum backup_type enum
53 enum backup_type backup_type);
54 extern enum backup_type get_version (char const *context, char const *arg);
55 extern enum backup_type xget_version (char const *context, char const *arg);
H A Dbackupfile.c84 Do not call this function if backup_type == none. */
87 find_backup_file_name (const char *file, enum backup_type backup_type) argument
106 if (backup_type != simple)
113 if (! (backup_type == numbered_existing && highest_backup == 0))
200 static const enum backup_type backup_types[] =
213 enum backup_type
229 enum backup_type
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/src/
H A Dmsgmerge.c406 enum backup_type backup_type; local
421 backup_type = xget_version (_("backup type"), version_control_string);
422 if (backup_type != none)
424 backup_file = find_backup_file_name (output_file, backup_type);

Completed in 210 milliseconds