version 1.148, 2006/03/26 20:02:54 |
version 1.149, 2006/03/27 07:14:13 |
|
|
* rcs_desc_set() |
* rcs_desc_set() |
* |
* |
* Set the description for the RCS file <file>. |
* Set the description for the RCS file <file>. |
* Returns 0 on success, or -1 on failure. |
|
*/ |
*/ |
int |
void |
rcs_desc_set(RCSFILE *file, const char *desc) |
rcs_desc_set(RCSFILE *file, const char *desc) |
{ |
{ |
char *tmp; |
char *tmp; |
|
|
xfree(file->rf_desc); |
xfree(file->rf_desc); |
file->rf_desc = tmp; |
file->rf_desc = tmp; |
file->rf_flags &= ~RCS_SYNCED; |
file->rf_flags &= ~RCS_SYNCED; |
|
|
return (0); |
|
} |
} |
|
|
/* |
/* |