1208 |
backup = Xasprintf ("%s/%s%s", CVSADM, CVSPREFIX, finfo->file); |
backup = Xasprintf ("%s/%s%s", CVSADM, CVSPREFIX, finfo->file); |
1209 |
if (isfile (finfo->file)) |
if (isfile (finfo->file)) |
1210 |
rename_file (finfo->file, backup); |
rename_file (finfo->file, backup); |
1211 |
else |
else /* FIXME: -f/-t has been disabled for so long it should probably |
1212 |
|
* just be stripped out to reduce clutter. |
1213 |
|
*/ |
1214 |
{ |
{ |
1215 |
/* If -f/-t wrappers are being used to wrap up a directory, |
/* If -f/-t wrappers are being used to wrap up a directory, |
1216 |
then backup might be a directory instead of just a file. */ |
then backup might be a directory instead of just a file. */ |