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

Diff for /src/usr.bin/cvs/root.c between version 1.2 and 1.3

version 1.2, 2004/07/14 04:12:43 version 1.3, 2004/07/14 04:24:46
Line 251 
Line 251 
                 (void)fclose(fp);                  (void)fclose(fp);
                 return (NULL);                  return (NULL);
         }          }
         memcpy(rootstr, line, len);          memcpy(rootstr, line, len - 1);
         rootstr[len] = '\0';          rootstr[len - 1] = '\0';
         rp = cvsroot_parse(rootstr);          rp = cvsroot_parse(rootstr);
   
         (void)fclose(fp);          (void)fclose(fp);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3