summaryrefslogtreecommitdiff
path: root/sftp-glob.c
diff options
context:
space:
mode:
authormouring <mouring>2001-03-17 00:34:46 +0000
committermouring <mouring>2001-03-17 00:34:46 +0000
commit8788f76f73de69192c39646f713de398f5036c82 (patch)
treebeecd64e92431a5bd89f5ccba17d95e4bd368923 /sftp-glob.c
parentd5e97136386ca3e58013a7c99316076defd29fa6 (diff)
downloadopenssh-8788f76f73de69192c39646f713de398f5036c82.tar.gz
- djm@cvs.openbsd.org 2001/03/16 08:16:18
[sftp-client.c sftp-client.h sftp-glob.c sftp-int.c] Revise globbing for get/put to be more shell-like. In particular, "get/put file* directory/" now works. ok markus@
Diffstat (limited to 'sftp-glob.c')
-rw-r--r--sftp-glob.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sftp-glob.c b/sftp-glob.c
index aec6d273..79dca00f 100644
--- a/sftp-glob.c
+++ b/sftp-glob.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sftp-glob.c,v 1.1 2001/03/13 22:42:54 djm Exp $");
+RCSID("$OpenBSD: sftp-glob.c,v 1.2 2001/03/16 08:16:18 djm Exp $");
#include "ssh.h"
#include "buffer.h"
@@ -119,7 +119,7 @@ int fudge_lstat(const char *path, struct stat *st)
{
Attrib *a;
- if (!(a = do_lstat(cur.fd_in, cur.fd_out, (char*)path)))
+ if (!(a = do_lstat(cur.fd_in, cur.fd_out, (char*)path, 0)))
return(-1);
attrib_to_stat(a, st);
@@ -131,7 +131,7 @@ int fudge_stat(const char *path, struct stat *st)
{
Attrib *a;
- if (!(a = do_stat(cur.fd_in, cur.fd_out, (char*)path)))
+ if (!(a = do_stat(cur.fd_in, cur.fd_out, (char*)path, 0)))
return(-1);
attrib_to_stat(a, st);