Skip to content

Commit

Permalink
- (bal) Fix issues in openbsd-compat/realpath.c
Browse files Browse the repository at this point in the history
  • Loading branch information
mouring committed Sep 30, 2003
1 parent d4d1815 commit b210aa2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -1229,4 +1232,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from [email protected], diagnosis from [email protected]

$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 $
2 changes: 1 addition & 1 deletion openbsd-compat/realpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ realpath(const char *path, char *resolved)
serrno = ENAMETOOLONG;
goto err1;
}
if (needslash == 0)
if (needslash)
strlcat(resolved, "/", MAXPATHLEN);
strlcat(resolved, wbuf, MAXPATHLEN);
}
Expand Down

0 comments on commit b210aa2

Please sign in to comment.