Commit 0c2d86aa authored by Pontus Freyhult's avatar Pontus Freyhult

lsftp_do_realpath now takes a char** instead of a const char** as

destination.

Rev: src/sftp/ChangeLog:1.38
Rev: src/sftp/sftp_bind.c:1.12
Rev: src/sftp/sftp_bind.h:1.6
parent 688a4a13
2002-06-27 Pontus Skld <pont@soua.net>
* sftp_bind.c (lsftp_do_cd): Pass a char** to lsftp_do_realpath.
* sftp_bind.h: lsftp_do_realpath takes a char** destptr, not const
char**.
* sftp_bind.c (lsftp_do_realpath): Dito.
2002-06-27 Pontus Skld <Pontus.Skold@dis.uu.se>
* commands.c (com_umask): Do an explicit cast of the parameter to
......
......@@ -1190,7 +1190,7 @@ char* lsftp_pwd()
int
lsftp_do_cd(const char *dir)
{
const char* real = 0;
char* real = 0;
int id = -1;
if( !dir ) /* dir == NULL? */
......@@ -2130,7 +2130,7 @@ lsftp_do_stat(const char *file, struct stat *st )
}
int
lsftp_do_realpath(const char* file, const char **destptr )
lsftp_do_realpath(const char* file, char **destptr )
{
int id = -1;
......
......@@ -140,8 +140,8 @@ int lsftp_do_stat(const char* file, struct stat* st);
int lsftp_handle_stat(struct sftp_callback *s,
const struct lsftp_callback *l);
int lsftp_do_realpath(const char* file, const char **destptr );
int lsftp_handle_realpath(struct sftp_callback *s,
int lsftp_do_realpath(const char* file, char** destptr );
int lsftp_handle_realpath(struct sftp_callback* s,
const struct lsftp_callback *l);
int lsftp_do_mv(const char *src, const char *dst, const char *command);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment