Return to sftp.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.164, 2014/07/09 01:45:10 | version 1.165, 2014/08/19 23:57:18 | ||
---|---|---|---|
|
|
||
err = do_df(conn, path1, hflag, iflag); | err = do_df(conn, path1, hflag, iflag); | ||
break; | break; | ||
case I_LCHDIR: | case I_LCHDIR: | ||
tmp = tilde_expand_filename(path1, getuid()) | |||
free(path1); | |||
path1 = tmp; | |||
if (chdir(path1) == -1) { | if (chdir(path1) == -1) { | ||
error("Couldn't change local directory to " | error("Couldn't change local directory to " | ||
"\"%s\": %s", path1, strerror(errno)); | "\"%s\": %s", path1, strerror(errno)); |