9fans archive / 1996 / 09 / 14 / prev next
From: Scott Schwartz schwartz@gal...
Subject: ape rename bug
Date: Thu, 5 Sep 1996 03:09:37 -0400
In APE, if rename has to copy, it never deletes the source file.
In that case, something like the following is needed:
if (n == 0) {
if(_REMOVE(from) < 0){
_syserrno();
return -1;
}
}