From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 5 Sep 1996 03:09:37 -0400 From: Scott Schwartz schwartz@galapagos.cse.psu.edu Subject: ape rename bug Topicbox-Message-UUID: 4c701e54-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19960905070937.Wsn3FzZyguZyNZ5b4bJ-GUF7FHtZdqUg3YxRG9KRdDE@z> 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; } }