Module Name: src Committed By: christos Date: Fri Apr 11 17:30:03 UTC 2014
Modified Files: src/usr.bin/patch: backupfile.c Log Message: recognize -V none To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/usr.bin/patch/backupfile.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/patch/backupfile.c diff -u src/usr.bin/patch/backupfile.c:1.14 src/usr.bin/patch/backupfile.c:1.15 --- src/usr.bin/patch/backupfile.c:1.14 Fri Sep 19 14:33:34 2008 +++ src/usr.bin/patch/backupfile.c Fri Apr 11 13:30:03 2014 @@ -1,7 +1,7 @@ /* * $OpenBSD: backupfile.c,v 1.19 2006/03/11 19:41:30 otto Exp $ * $DragonFly: src/usr.bin/patch/backupfile.c,v 1.5 2008/08/11 00:05:06 joerg Exp $ - * $NetBSD: backupfile.c,v 1.14 2008/09/19 18:33:34 joerg Exp $ + * $NetBSD: backupfile.c,v 1.15 2014/04/11 17:30:03 christos Exp $ */ /* @@ -22,7 +22,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: backupfile.c,v 1.14 2008/09/19 18:33:34 joerg Exp $"); +__RCSID("$NetBSD: backupfile.c,v 1.15 2014/04/11 17:30:03 christos Exp $"); #include <ctype.h> #include <dirent.h> @@ -227,11 +227,11 @@ invalid_arg(const char *kind, const char } static const char *backup_args[] = { - "never", "simple", "nil", "existing", "t", "numbered", 0 + "none", "never", "simple", "nil", "existing", "t", "numbered", 0 }; static enum backup_type backup_types[] = { - simple, simple, numbered_existing, + none, simple, simple, numbered_existing, numbered_existing, numbered, numbered };