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/cvs.h | |
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/cvs.h')
-rw-r--r-- | usr.bin/cvs/cvs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/cvs.h b/usr.bin/cvs/cvs.h index ea8168528d3..e8e4ede6ea7 100644 --- a/usr.bin/cvs/cvs.h +++ b/usr.bin/cvs/cvs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cvs.h,v 1.147 2007/09/23 11:19:24 joris Exp $ */ +/* $OpenBSD: cvs.h,v 1.148 2008/01/10 10:05:40 tobias Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -289,7 +289,6 @@ extern volatile sig_atomic_t sig_received; extern volatile sig_atomic_t cvs_quit; extern struct cvsroot *current_cvsroot; extern char *cvs_tagname; -extern char *cvs_command; extern char *cvs_editor; extern char *cvs_homedir; extern char *cvs_msg; @@ -314,6 +313,7 @@ extern int cvs_error; extern int cvs_server_active; extern int reset_stickies; +extern struct cvs_cmd *cmdp; extern struct cvs_cmd *cvs_cdt[]; extern struct cvs_cmd cvs_cmd_add; |