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

Diff for /src/usr.bin/cvs/file.c between version 1.41 and 1.42

version 1.41, 2004/12/08 19:44:28 version 1.42, 2004/12/08 19:54:11
Line 946 
Line 946 
                 }                  }
   
                 fnp->cf_name = strdup(name);                  fnp->cf_name = strdup(name);
                   if (fnp->cf_name == NULL) {
                           cvs_log(LP_ERRNO, "failed to duplicate name");
                           free(fnp);
                           return (NULL);
                   }
   
                 fnp->cf_ref = 1;                  fnp->cf_ref = 1;
                 SLIST_INSERT_HEAD(&(cvs_fnht[h]), fnp, cf_list);                  SLIST_INSERT_HEAD(&(cvs_fnht[h]), fnp, cf_list);
         }          }

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42