- replaced PATH_MAX in sftp-int.c w/ MAXPATHLEN.

This commit is contained in:
Ben Lindstrom 2001-02-15 03:50:49 +00:00
parent 2320b19002
commit 0a7e354f64
2 changed files with 18 additions and 17 deletions

View File

@ -36,6 +36,7 @@
[sftp-client.c sftp-int.c sftp.1]
Fix and document 'preserve modes & times' option ('-p' flag in sftp);
ok markus@
- replaced PATH_MAX in sftp-int.c w/ MAXPATHLEN.
20010214
- (djm) Don't try to close PAM session or delete credentials if the
@ -3964,4 +3965,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.769 2001/02/15 03:22:45 mouring Exp $
$Id: ChangeLog,v 1.770 2001/02/15 03:50:49 mouring Exp $

View File

@ -443,7 +443,7 @@ parse_dispatch_command(int in, int out, const char *cmd, char **pwd)
int pflag, cmdnum;
unsigned long n_arg;
Attrib a, *aa;
char path_buf[PATH_MAX];
char path_buf[MAXPATHLEN];
path1 = path2 = NULL;
cmdnum = parse_args(&cmd, &pflag, &n_arg, &path1, &path2);