about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/glob.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c2ffd87d7..e215b590c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-02-19  Peter Stephenson  <p.stephenson@samsung.com>
+
+	* 32414: Src/glob.c: improved error message for missing glob
+	qualifier delimiters.
+
 2014-02-18  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* Eric Cook: 32408: Completion/Linux/Command/_btrfs: additional
diff --git a/Src/glob.c b/Src/glob.c
index 9a34a7f30..c32d581a3 100644
--- a/Src/glob.c
+++ b/Src/glob.c
@@ -1362,7 +1362,7 @@ zglob(LinkList list, LinkNode np, int nountok)
 			/* Find matching delimiters */
 			tt = get_strarg(s, &arglen);
 			if (!*tt) {
-			    zerr("missing end of name");
+			    zerr("missing delimiter for 'u' glob qualifier");
 			    data = 0;
 			} else {
 #ifdef USE_GETPWNAM
@@ -1402,7 +1402,7 @@ zglob(LinkList list, LinkNode np, int nountok)
 
 			tt = get_strarg(s, &arglen);
 			if (!*tt) {
-			    zerr("missing end of name");
+			    zerr("missing delimiter for 'g' glob qualifier");
 			    data = 0;
 			} else {
 #ifdef USE_GETGRNAM