=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/cvs.c,v retrieving revision 1.133 retrieving revision 1.134 diff -u -r1.133 -r1.134 --- src/usr.bin/cvs/cvs.c 2007/09/19 11:53:27 1.133 +++ src/usr.bin/cvs/cvs.c 2007/09/19 12:14:21 1.134 @@ -1,4 +1,4 @@ -/* $OpenBSD: cvs.c,v 1.133 2007/09/19 11:53:27 tobias Exp $ */ +/* $OpenBSD: cvs.c,v 1.134 2007/09/19 12:14:21 tobias Exp $ */ /* * Copyright (c) 2006, 2007 Joris Vink * Copyright (c) 2004 Jean-Francois Brousseau @@ -434,8 +434,13 @@ while (*p == ' ') p++; - /* allow comments */ - if (*p == '#') + /* + * Allow comments. + * GNU cvs stops parsing a line if it encounters a \t + * in front of a command, stick at this behaviour for + * compatibility. + */ + if (*p == '#' || *p == '\t') continue; lp = strchr(p, ' ');