diff options
author | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2008-01-10 10:05:41 +0000 |
---|---|---|
committer | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2008-01-10 10:05:41 +0000 |
commit | 93f38e798dbadd8cdba2df89a71474ae338ab7e5 (patch) | |
tree | fc436e20062b01797034d8ba4cb7bb900ca01b8a /usr.bin/cvs/cmd.c | |
parent | b6be805f5238bfe5b48e07d480f05445ce8a6c3f (diff) |
Simply the use of cmdp and cvs_command by zapping cvs_command and working
solely with cmdp. This remedies some reliability issues with invalid
commands supplied and also fixes a GNU cvs style incompatibility with
release command.
> Based on patch from Igor Zinovik
Diffstat (limited to 'usr.bin/cvs/cmd.c')
-rw-r--r-- | usr.bin/cvs/cmd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/cvs/cmd.c b/usr.bin/cvs/cmd.c index 92cf2dcf4e2..e1dd327a233 100644 --- a/usr.bin/cvs/cmd.c +++ b/usr.bin/cvs/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.63 2007/09/25 10:56:04 chl Exp $ */ +/* $OpenBSD: cmd.c,v 1.64 2008/01/10 10:05:40 tobias Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -66,7 +66,6 @@ struct cvs_cmd * cvs_findcmd(const char *cmd) { int i, j; - struct cvs_cmd *cmdp; cmdp = NULL; |