about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/parameter.c4
-rw-r--r--Src/glob.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c
index 7267025a9..2328eae51 100644
--- a/Src/Modules/parameter.c
+++ b/Src/Modules/parameter.c
@@ -1465,9 +1465,9 @@ setpmnameddirs(Param pm, HashTable ht)
 #endif
 	    if (!(val = getstrvalue(&v)) || *val != '/' ||
 #ifdef HAVE_PATHCONF
-		strlen(val) >= PATH_MAX)
-#else
                 ((strlen(val) >= pathmax)) && pathmax != -1)
+#else
+		strlen(val) >= PATH_MAX)
 #endif
 		zwarn("invalid value: %s", val, 0);
 	    else
diff --git a/Src/glob.c b/Src/glob.c
index fb15a4efc..dbe1d2d58 100644
--- a/Src/glob.c
+++ b/Src/glob.c
@@ -2388,6 +2388,7 @@ tokenize(char *s)
 	case ')':
 	    if (isset(SHGLOB))
 		break;
+	case '>':
 	case '^':
 	case '#':
 	case '~':