Lines Matching +full:even +full:- +full:numbered
1 /*-
8 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * backupfile.c -- make Emacs style backup file names
35 * numbered) backup file name.
86 * Return the number of the highest-numbered backup file for file FILE in
87 * directory DIR. If there are no numbered backups of FILE in DIR, or an
107 if (dp->d_namlen <= file_name_length) in max_backup_version()
110 this_version = version_number(file, dp->d_name, file_name_length); in max_backup_version()
127 if (asprintf(&backup_name, "%s.~%d~", file, version) == -1) in make_version_name()
133 * If BACKUP is a numbered backup of BASE, return its version number;
146 version = version * 10 + *p - '0'; in version_number()
154 * Return the newly-allocated concatenation of STR1 and STR2. If out of
162 if (asprintf(&newstr, "%s%s", str1, str2) == -1) in concat()
168 * If ARG is an unambiguous match for an element of the null-terminated array
169 * OPTLIST, return the index in OPTLIST of the matched element, else -1 if it
170 * does not match any element or -2 if it is ambiguous (is a prefix of more
178 int matchind = -1; /* Index of first nonexact match. */ in argmatch()
189 else if (matchind == -1) in argmatch()
198 return -2; in argmatch()
212 if (problem == -1) in invalid_arg()
214 else /* Assume -2. */ in invalid_arg()
220 "none", "never", "simple", "nil", "existing", "t", "numbered", 0
225 numbered_existing, numbered, numbered enumerator