summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2009-04-06 06:45:57 +0000
committerJoris Vink <joris@cvs.openbsd.org>2009-04-06 06:45:57 +0000
commitd128ced771872b73bd67555b1df24067da06a196 (patch)
treecf249f62db36d7bbe9d8660867cbe5924fc29c77
parent2e1a3f1cb5380995adf82b050d22f13251e28ad5 (diff)
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;