- (dtucker) [sftp.c] ifdef out the sftp completion bits for platforms that
don't have libedit.
This commit is contained in:
parent
dce7a92c7a
commit
e67f7db968
|
@ -157,6 +157,8 @@
|
|||
- (dtucker) [Makefile.in added roaming_client.c roaming_serv.c] Import new
|
||||
files for roaming and add to Makefile.
|
||||
- (dtucker) [Makefile.in] .c files do not belong in the OBJ lines.
|
||||
- (dtucker) [sftp.c] ifdef out the sftp completion bits for platforms that
|
||||
don't have libedit.
|
||||
|
||||
20091226
|
||||
- (tim) [contrib/cygwin/Makefile] Install ssh-copy-id and ssh-copy-id.1
|
||||
|
|
4
sftp.c
4
sftp.c
|
@ -1503,7 +1503,6 @@ prompt(EditLine *el)
|
|||
{
|
||||
return ("sftp> ");
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Display entries in 'list' after skipping the first 'len' chars */
|
||||
static void
|
||||
|
@ -1646,6 +1645,7 @@ 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,6 +1666,7 @@ 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,
|
||||
|
@ -1838,6 +1839,7 @@ complete(EditLine *el, int ch)
|
|||
xfree(line);
|
||||
return ret;
|
||||
}
|
||||
#endif /* USE_LIBEDIT */
|
||||
|
||||
int
|
||||
interactive_loop(struct sftp_conn *conn, char *file1, char *file2)
|
||||
|
|
Loading…
Reference in New Issue