summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoris <joris@openbsd.org>2009-04-06 06:45:56 +0000
committerjoris <joris@openbsd.org>2009-04-06 06:45:56 +0000
commita5a3988bc0d30a897df88714bad3e223ffbe97d4 (patch)
tree90978111bc3726e5fa7557b946e85841d51d3298
parentsync (diff)
downloadwireguard-openbsd-a5a3988bc0d30a897df88714bad3e223ffbe97d4.tar.xz
wireguard-openbsd-a5a3988bc0d30a897df88714bad3e223ffbe97d4.zip
make sure we handle allowed options in cvs_export() instead
of ignoring them, even if they are just stubs. unbreaks export with gnu cvs clients.
-rw-r--r--usr.bin/cvs/checkout.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c
index 8c3ae51360a..6d49b6dee84 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.163 2009/03/27 07:28:57 joris Exp $ */
+/* $OpenBSD: checkout.c,v 1.164 2009/04/06 06:45:56 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -203,6 +203,8 @@ cvs_export(int argc, char **argv)
case 'l':
flags &= ~CR_RECURSE_DIRS;
break;
+ case 'N':
+ break;
case 'R':
flags |= CR_RECURSE_DIRS;
break;