[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] Changes to ccvs/src/admin.c
From: |
Larry Jones |
Subject: |
[Cvs-cvs] Changes to ccvs/src/admin.c |
Date: |
Fri, 02 Sep 2005 17:51:11 -0400 |
Index: ccvs/src/admin.c
diff -u ccvs/src/admin.c:1.107 ccvs/src/admin.c:1.108
--- ccvs/src/admin.c:1.107 Thu Mar 17 22:41:06 2005
+++ ccvs/src/admin.c Fri Sep 2 21:51:08 2005
@@ -441,17 +441,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_allowed_options
- && (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_allowed_options &&
+ (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,
Larry Jones <=