Displaying 2 results from an estimated 2 matches for "process_extended_posix_renam".
Did you mean:
process_extended_posix_rename
2006 Aug 19
0
[PATCH] add atomic rename extension to sftp-server
...klos
Index: ssh/sftp-server.c
===================================================================
--- ssh.orig/sftp-server.c 2006-08-19 16:49:03.000000000 +0200
+++ ssh/sftp-server.c 2006-08-19 16:51:26.000000000 +0200
@@ -1087,6 +1087,23 @@ process_extended_statfs(u_int32_t id)
}
static void
+process_extended_posix_rename(u_int32_t id)
+{
+ char *oldpath, *newpath;
+
+ oldpath = get_string(NULL);
+ newpath = get_string(NULL);
+ debug3("request %u: posix-rename", id);
+ logit("posix-rename old \"%s\" new \"%s\"", oldpath, newpath);
+ if (rename(oldpath, newpath) == -1)...
2007 Dec 07
2
[PATCH] add statfs extension to sftp-server
And while we are at it, can you please comment on these patches as
well, originally submitted around one year ago.
Oh, and I think we can agree, that the secsh-filexfer standardization
is dead, so there's not much point in trying to support newer protocol
versions, which don't have statfs anyway.
Thanks,
Miklos
-----
This is needed to be able to support statfs operation on an SSH