Lines Matching refs:rename
141 { "rename", NULL, SSH2_FXP_RENAME, process_rename, 1 },
149 { "posix-rename", "posix-rename@openssh.com", 0,
659 /* POSIX rename extension */
660 (r = sshbuf_put_cstring(msg, "posix-rename@openssh.com")) != 0 ||
1187 debug3("request %u: rename", id);
1188 logit("rename old \"%s\" new \"%s\"", oldpath, newpath);
1193 /* Race-free rename of regular files */
1207 * stat+rename. This is racy.
1210 if (rename(oldpath, newpath) == -1)
1226 if (rename(oldpath, newpath) == -1)
1291 debug3("request %u: posix-rename", id);
1292 logit("posix-rename old \"%s\" new \"%s\"", oldpath, newpath);
1293 r = rename(oldpath, newpath);