diff options
| author | 2013-08-08 05:04:03 +0000 | |
|---|---|---|
| committer | 2013-08-08 05:04:03 +0000 | |
| commit | 0d99a68c32b995a97201c587948a404aeedd3fd9 (patch) | |
| tree | 40002276671a20f9be9ee23e3aa86e0c861d0c35 /usr.bin/ssh/sftp-client.h | |
| parent | fix two year old regression: symlinking a file would incorrectly (diff) | |
| download | wireguard-openbsd-0d99a68c32b995a97201c587948a404aeedd3fd9.tar.xz wireguard-openbsd-0d99a68c32b995a97201c587948a404aeedd3fd9.zip | |
add a "-l" flag for the rename command to force it to use the silly
standard SSH_FXP_RENAME command instead of the POSIX-rename- like
posix-rename@openssh.com extension.
intended for use in regress tests, so no documentation.
Diffstat (limited to 'usr.bin/ssh/sftp-client.h')
| -rw-r--r-- | usr.bin/ssh/sftp-client.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sftp-client.h b/usr.bin/ssh/sftp-client.h index 111a998c84c..dc54cfe3bf5 100644 --- a/usr.bin/ssh/sftp-client.h +++ b/usr.bin/ssh/sftp-client.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-client.h,v 1.21 2013/07/25 00:56:51 djm Exp $ */ +/* $OpenBSD: sftp-client.h,v 1.22 2013/08/08 05:04:03 djm Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> @@ -92,7 +92,7 @@ char *do_realpath(struct sftp_conn *, char *); int do_statvfs(struct sftp_conn *, const char *, struct sftp_statvfs *, int); /* Rename 'oldpath' to 'newpath' */ -int do_rename(struct sftp_conn *, char *, char *); +int do_rename(struct sftp_conn *, char *, char *m, int force_legacy); /* Link 'oldpath' to 'newpath' */ int do_hardlink(struct sftp_conn *, char *, char *); |
