- (bal) Fix issues in openbsd-compat/realpath.c

This commit is contained in:
Ben Lindstrom 2003-09-30 23:49:06 +00:00
parent d4d1815cae
commit b210aa2cfa
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
20030930
- (bal) Fix issues in openbsd-compat/realpath.c
20030925
- (dtucker) [configure.ac openbsd-compat/xcrypt.c] Bug #633: Remove
DISABLE_SHADOW for HP-UX, use getspnam instead of getprpwnam. Patch from
@ -1229,4 +1232,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.3043 2003/09/26 02:04:34 tim Exp $
$Id: ChangeLog,v 1.3044 2003/09/30 23:49:06 mouring Exp $

View File

@ -150,7 +150,7 @@ loop:
serrno = ENAMETOOLONG;
goto err1;
}
if (needslash == 0)
if (needslash)
strlcat(resolved, "/", MAXPATHLEN);
strlcat(resolved, wbuf, MAXPATHLEN);
}