version 1.149, 2006/03/27 07:14:13 |
version 1.150, 2006/03/27 15:26:12 |
|
|
* 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; |
|
|
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); |
|
} |
} |
|
|
/* |
/* |