Lines Matching defs:newname
185 isc_file_safemovefile(const char *oldname, const char *newname) {
203 if (stat(newname, &sbuf) == 0) {
205 strlcpy(buf, newname, sizeof(buf));
211 _chmod(newname, _S_IREAD | _S_IWRITE);
213 filestatus = MoveFile(newname, buf);
219 filestatus = MoveFile(oldname, newname);
226 filestatus = MoveFile(buf, newname);
458 isc_file_rename(const char *oldname, const char *newname) {
462 REQUIRE(newname != NULL);
464 r = isc_file_safemovefile(oldname, newname);