summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--openbsd-compat/realpath.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fb8daf56..c782c10d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
diff --git a/openbsd-compat/realpath.c b/openbsd-compat/realpath.c
index 77da14e7..922305ff 100644
--- a/openbsd-compat/realpath.c
+++ b/openbsd-compat/realpath.c
@@ -150,7 +150,7 @@ loop:
serrno = ENAMETOOLONG;
goto err1;
}
- if (needslash == 0)
+ if (needslash)
strlcat(resolved, "/", MAXPATHLEN);
strlcat(resolved, wbuf, MAXPATHLEN);
}