Displaying 1 result from an estimated 1 matches for "sftp_ext_link".
2009 Feb 12
2
[patch] hard link protocol extension for sftp
...===============
--- ssh.orig/sftp-client.c 2009-02-10 14:54:58.000000000 +0100
+++ ssh/sftp-client.c 2009-02-10 15:15:08.000000000 +0100
@@ -63,6 +63,7 @@ struct sftp_conn {
#define SFTP_EXT_POSIX_RENAME 0x00000001
#define SFTP_EXT_STATVFS 0x00000002
#define SFTP_EXT_FSTATVFS 0x00000004
+#define SFTP_EXT_LINK 0x00000008
u_int exts;
};
@@ -328,10 +329,14 @@ do_init(int fd_in, int fd_out, u_int tra
strcmp(value, "2") == 0) {
exts |= SFTP_EXT_STATVFS;
known = 1;
- } if (strcmp(name, "fstatvfs at openssh.com") == 0 &&
+ } else if (strcmp(name, "fstatvf...