/[cvs]/ccvs/src/admin.c
ViewVC logotype

Diff of /ccvs/src/admin.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.80.4.9 by dprice, Thu Mar 17 16:31:47 2005 UTC revision 1.80.4.10 by scjones, Fri Sep 2 19:37:33 2005 UTC
# Line 384  admin (argc, argv) Line 384  admin (argc, argv)
384      /* The use of `cvs admin -k' is unrestricted.  However, any other      /* The use of `cvs admin -k' is unrestricted.  However, any other
385         option is restricted if the group CVS_ADMIN_GROUP exists on the         option is restricted if the group CVS_ADMIN_GROUP exists on the
386         server.  */         server.  */
387      if (      /* This is only "secure" on the server, since the user could edit the
388  # ifdef CLIENT_SUPPORT       * RCS file on a local host, but some people like this kind of
389          /* This is only "secure" on the server, since the user could edit the       * check anyhow.  The alternative would be to check only when
390           * RCS file on a local host, but some people like this kind of       * (server_active) rather than when not on the client.
391           * check anyhow.  The alternative would be to check only when       */
392           * (server_active) rather than when not on the client.      if (!current_parsed_root->isremote && !only_k_option &&
393           */          (grp = getgrnam(CVS_ADMIN_GROUP)) != NULL)
         !current_parsed_root->isremote &&  
 # endif /* CLIENT_SUPPORT */  
         !only_k_option  
         && (grp = getgrnam(CVS_ADMIN_GROUP)) != NULL)  
394      {      {
395  #ifdef HAVE_GETGROUPS  #ifdef HAVE_GETGROUPS
396          gid_t *grps;          gid_t *grps;

Legend:
Removed from v.1.80.4.9  
changed lines
  Added in v.1.80.4.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26