From cbe5500a0133f24da5edb9f5b12d9268d9440847 Mon Sep 17 00:00:00 2001 From: Tobias Stoeckmann Date: Sun, 2 Sep 2007 11:40:04 +0000 Subject: Handle quotation marks in .cvsrc correctly. OK joris@ --- usr.bin/cvs/util.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr.bin/cvs') 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 * Copyright (c) 2005, 2006 Joris Vink @@ -259,6 +259,9 @@ cvs_getargv(const char *line, char **argv, int argvlen) break; } } + if (error) + break; + lp++; arg = qbuf; } else { -- cgit v1.2.3