]> andersk Git - openssh.git/commitdiff
- (dtucker) [sftp.c] Expand ifdef for libedit to cover complete_is_remote
authordtucker <dtucker>
Fri, 8 Jan 2010 08:56:33 +0000 (08:56 +0000)
committerdtucker <dtucker>
Fri, 8 Jan 2010 08:56:33 +0000 (08:56 +0000)
   too.

ChangeLog
sftp.c

index 440c8318e0301312d9ffb30f1c764e1cd3e94924..60162c08870dec7c8484f378b9a7e43150c62631 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
    don't have libedit.
  - (dtucker) [configure.ac misc.c readconf.c servconf.c ssh-keyscan.c] Make
    RoutingDomain an unsupported option on platforms that don't have it.
+ - (dtucker) [sftp.c] Expand ifdef for libedit to cover complete_is_remote
+   too.
 
 20091226
  - (tim) [contrib/cygwin/Makefile] Install ssh-copy-id and ssh-copy-id.1
diff --git a/sftp.c b/sftp.c
index c994887e3d4502b0f8565b14e1284c70fd274a7a..4b12fae4b1abf6ae26ea83fa0632cbf2b933bf75 100644 (file)
--- a/sftp.c
+++ b/sftp.c
@@ -1645,7 +1645,6 @@ complete_cmd_parse(EditLine *el, char *cmd, int lastarg, char quote,
 
        return count;
 }
-#endif
 
 /*
  * Determine whether a particular sftp command's arguments (if any)
@@ -1666,7 +1665,6 @@ complete_is_remote(char *cmd) {
        return -1;
 }
 
-#ifdef USE_LIBEDIT
 /* Autocomplete a filename "file" */
 static int
 complete_match(EditLine *el, struct sftp_conn *conn, char *remote_path,
This page took 0.109137 seconds and 5 git commands to generate.