diff options
author | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2007-09-02 11:40:04 +0000 |
---|---|---|
committer | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2007-09-02 11:40:04 +0000 |
commit | cbe5500a0133f24da5edb9f5b12d9268d9440847 (patch) | |
tree | bd5ab3173d82f6528c6433183ea6b6a32ff89013 /usr.bin/cvs | |
parent | 5890411c5f4fcd3eb2962ee8180ae297e374281f (diff) |
Handle quotation marks in .cvsrc correctly.
OK joris@
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/util.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cvs/util.c b/usr.bin/cvs/util.c index f03edff71c1..fb42e0f0a5a 100644 --- a/usr.bin/cvs/util.c +++ b/usr.bin/cvs/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.113 2007/07/19 06:34:15 ray Exp $ */ +/* $OpenBSD: util.c,v 1.114 2007/09/02 11:40:03 tobias Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * Copyright (c) 2005, 2006 Joris Vink <joris@openbsd.org> @@ -259,6 +259,9 @@ cvs_getargv(const char *line, char **argv, int argvlen) break; } } + if (error) + break; + lp++; arg = qbuf; } else { |