updated for version 7.3.194
Problem: When "b" is a symlink to directory "a", resolve("b/") doesn't
result in "a/". (ZyX)
Solution: Remove the trailing slash. (Jean-Rene David)
diff --git a/src/eval.c b/src/eval.c
index db7b106..64ed72a 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -14980,7 +14980,10 @@
len = STRLEN(p);
if (len > 0 && after_pathsep(p, p + len))
+ {
has_trailing_pathsep = TRUE;
+ p[len - 1] = NUL; /* the trailing slash breaks readlink() */
+ }
q = getnextcomp(p);
if (*q != NUL)
diff --git a/src/version.c b/src/version.c
index 1bd1858..b505c29 100644
--- a/src/version.c
+++ b/src/version.c
@@ -710,6 +710,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 194,
+/**/
193,
/**/
192,