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

Diff for /src/usr.bin/cvs/rcs.c between version 1.149 and 1.150

version 1.149, 2006/03/27 07:14:13 version 1.150, 2006/03/27 15:26:12
Line 1038 
Line 1038 
  * rcs_comment_set()   * rcs_comment_set()
  *   *
  * Set the comment leader for the RCS file <file>.   * Set the comment leader for the RCS file <file>.
  * Returns 0 on success, or -1 on failure.  
  */   */
 int  void
 rcs_comment_set(RCSFILE *file, const char *comment)  rcs_comment_set(RCSFILE *file, const char *comment)
 {  {
         char *tmp;          char *tmp;
Line 1050 
Line 1049 
                 xfree(file->rf_comment);                  xfree(file->rf_comment);
         file->rf_comment = tmp;          file->rf_comment = tmp;
         file->rf_flags &= ~RCS_SYNCED;          file->rf_flags &= ~RCS_SYNCED;
   
         return (0);  
 }  }
   
 /*  /*

Legend:
Removed from v.1.149  
changed lines
  Added in v.1.150