summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-01-19 21:46:37 +0200
committerArnold D. Robbins <arnold@skeeve.com>2014-01-19 21:46:37 +0200
commit7f0a3e240d595120caf773c2ec0ab531381ad705 (patch)
tree01935101efb2938a61e635abe4955c28475bc9c8
parent808698b6a4cb7bbbb88e1892fd9c4155119b30f5 (diff)
downloadgawk-stable.tar.gz
Fix to pass the test suite.gawk-stablegawk-3.1-stable
-rw-r--r--ChangeLog5
-rw-r--r--builtin.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 189af833..4fa9b3b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Jan 19 21:44:43 2014 Arnold D. Robbins <arnold@skeeve.com>
+
+ * builtin.c (format_tree): Fix to pass the test suite.
+ Probably the last change I'll make to this branch.
+
Mon Dec 3 22:55:23 2012 Arnold D. Robbins <arnold@skeeve.com>
Minimal update to the branch.
diff --git a/builtin.c b/builtin.c
index 618a2895..6daa99b8 100644
--- a/builtin.c
+++ b/builtin.c
@@ -787,11 +787,11 @@ check_pos:
const char *msg = NULL;
if (fw && ! have_prec)
- msg = _("field width is ignored for `%%%%' specifier");
+ msg = _("field width is ignored for `%%' specifier");
else if (fw == 0 && have_prec)
- msg = _("precision is ignored for `%%%%' specifier");
+ msg = _("precision is ignored for `%%' specifier");
else if (fw && have_prec)
- msg = _("field width and precision are ignored for `%%%%' specifier");
+ msg = _("field width and precision are ignored for `%%' specifier");
if (msg != NULL)
lintwarn("%s", msg);