[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] Changes to ccvs/src/admin.c [cvs1-11-x-branch]
From: |
Larry Jones |
Subject: |
[Cvs-cvs] Changes to ccvs/src/admin.c [cvs1-11-x-branch] |
Date: |
Fri, 02 Sep 2005 15:37:38 -0400 |
Index: ccvs/src/admin.c
diff -u ccvs/src/admin.c:1.80.4.9 ccvs/src/admin.c:1.80.4.10
--- ccvs/src/admin.c:1.80.4.9 Thu Mar 17 16:31:47 2005
+++ ccvs/src/admin.c Fri Sep 2 19:37:33 2005
@@ -384,17 +384,13 @@
/* The use of `cvs admin -k' is unrestricted. However, any other
option is restricted if the group CVS_ADMIN_GROUP exists on the
server. */
- if (
-# ifdef CLIENT_SUPPORT
- /* This is only "secure" on the server, since the user could edit the
- * RCS file on a local host, but some people like this kind of
- * check anyhow. The alternative would be to check only when
- * (server_active) rather than when not on the client.
- */
- !current_parsed_root->isremote &&
-# endif /* CLIENT_SUPPORT */
- !only_k_option
- && (grp = getgrnam(CVS_ADMIN_GROUP)) != NULL)
+ /* This is only "secure" on the server, since the user could edit the
+ * RCS file on a local host, but some people like this kind of
+ * check anyhow. The alternative would be to check only when
+ * (server_active) rather than when not on the client.
+ */
+ if (!current_parsed_root->isremote && !only_k_option &&
+ (grp = getgrnam(CVS_ADMIN_GROUP)) != NULL)
{
#ifdef HAVE_GETGROUPS
gid_t *grps;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Cvs-cvs] Changes to ccvs/src/admin.c [cvs1-11-x-branch],
Larry Jones <=