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

Diff for /src/usr.bin/cvs/config.c between version 1.16 and 1.17

version 1.16, 2015/01/16 06:40:07 version 1.17, 2015/11/05 09:48:21
Line 48 
Line 48 
         *(val++) = '\0';          *(val++) = '\0';
   
         if (!strcmp(opt, "tag")) {          if (!strcmp(opt, "tag")) {
                 if (cvs_tagname != NULL)                  free(cvs_tagname);
                         xfree(cvs_tagname);  
                 cvs_tagname = xstrdup(val);                  cvs_tagname = xstrdup(val);
         } else if (!strcmp(opt, "umask")) {          } else if (!strcmp(opt, "umask")) {
                 cvs_umask = strtol(val, &ep, 8);                  cvs_umask = strtol(val, &ep, 8);
Line 115 
Line 114 
                         break;                          break;
         }          }
   
         if (lbuf != NULL)          free(lbuf);
                 xfree(lbuf);  
   
         (void)fclose(fp);          (void)fclose(fp);
 }  }

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17