ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/CCSAdmin/adduser.c
(Generate patch)

Comparing CCSAdmin/adduser.c (file contents):
Revision 805 by douglas, 2006-03-07T16:38:32-08:00 vs.
Revision 806 by douglas, 2006-06-28T19:53:21-07:00

# Line 13 | Line 13
13   #include <sys/stat.h>
14   #include <fcntl.h>
15  
16 < #ifdef _Zweihander_
16 > #ifdef _Master_
17   #include <fts.h>
18   #endif
19  
# Line 43 | Line 43 | int main(int argc, char *argv[])
43                  return 1;
44          }
45  
46 < #ifdef _Zweihander_
46 > #ifdef _Master_
47          regex_t user_, name_;
48  
49          regcheck(regcomp(&user_, "^-user=([a-z0-9]{1,16})$", REG_EXTENDED), &user_, environment);
# Line 196 | Line 196 | int main(int argc, char *argv[])
196          if (fts_close(traversal))
197                  longjmp(environment, 1);
198   #else
199 <        longjmp(environment, (int)"Log in to zweihander.ccs.ucsb.edu to add users");
199 >        longjmp(environment, (int)"Log in to " MASTER " to add users");
200   #endif
201  
202          return 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines