[BACK]Return to tcfsaddgroup.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tcfs

Diff for /src/usr.bin/tcfs/Attic/tcfsaddgroup.c between version 1.10 and 1.11

version 1.10, 2000/06/20 06:45:16 version 1.11, 2000/06/20 08:59:52
Line 169 
Line 169 
 addgroup_main(int argn, char *argv[])  addgroup_main(int argn, char *argv[])
 {  {
         int val;          int val;
         gid_t gid;          gid_t gid = 0;
         int have_gid = FALSE, have_members = FALSE, have_threshold = FALSE;          int have_gid = FALSE, have_members = FALSE, have_threshold = FALSE;
         int be_verbose = FALSE;          int be_verbose = FALSE;
         int temp_members, members;          int temp_members, members = 0;
         tcfsgpwdb **group_info;          tcfsgpwdb **group_info;
   
         /*          /*
Line 222 
Line 222 
                 char *buff = NULL;                  char *buff = NULL;
                 int len;                  int len;
   
                 buff = (char *)calloc(2048, sizeof(char));                  buff = (char *)malloc(2048);
                 if (!buff)                  if (!buff)
                         tcfs_error(ER_MEM, NULL);                          tcfs_error(ER_MEM, NULL);
   

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11