aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--README_d/ChangeLog4
-rw-r--r--README_d/README.pc9
-rw-r--r--profile.c4
-rw-r--r--test/ChangeLog2
5 files changed, 19 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 9cdaf0b7..bc49b4c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-07-02 Arnold D. Robbins <arnold@skeeve.com>
+
+ * profile.c (pp_string): Add a call to chksize and fix another.
+ Avoids valgrind errors on profile5 test. Thanks to Andrew
+ Schorr for the report.
+
2013-06-27 Arnold D. Robbins <arnold@skeeve.com>
* awkgram.y: Minor whitespace cleanup, remove redundant ifdef.
diff --git a/README_d/ChangeLog b/README_d/ChangeLog
index 3bd99ad0..49c30f13 100644
--- a/README_d/ChangeLog
+++ b/README_d/ChangeLog
@@ -1,3 +1,7 @@
+2013-07-02 Arnold D. Robbins <arnold@skeeve.com>
+
+ * README.pc: Update that |& also now works on MinGW.
+
2013-05-14 Eli Zaretskii <eliz@gnu.org>
* README.pc: Update the pc build and test instructions.
diff --git a/README_d/README.pc b/README_d/README.pc
index 9971d7ba..32a81fc1 100644
--- a/README_d/README.pc
+++ b/README_d/README.pc
@@ -16,10 +16,11 @@ installation is the same as under Unix:
The `configure' step takes a long time, but works otherwise.
-******************************** N O T E **********************************
-* The `|&' operator only works when gawk is compiled for Cygwin. Neither *
-* socket support nor two-way pipes work in any other Windows environment! *
-***************************************************************************
+******************************** N O T E *******************************
+* The `|&' operator only works when gawk is compiled for Cygwin or for *
+* MinGW. Neither * socket support nor two-way pipes work in any other *
+* Windows environment! *
+************************************************************************
Building gawk
-------------
diff --git a/profile.c b/profile.c
index 223a4e33..eae24b1c 100644
--- a/profile.c
+++ b/profile.c
@@ -1232,6 +1232,8 @@ pp_string(const char *in_str, size_t len, int delim)
*obufout++ = '\\';
*obufout++ = delim;
} else if (*str == '\0') {
+ chksize(4);
+
*obufout++ = '\\';
*obufout++ = '0';
*obufout++ = '0';
@@ -1255,7 +1257,7 @@ pp_string(const char *in_str, size_t len, int delim)
obufout += len;
}
}
- chksize(1);
+ chksize(2);
*obufout++ = delim;
*obufout = '\0';
return obuf;
diff --git a/test/ChangeLog b/test/ChangeLog
index fcd922c1..dd71a1b5 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -11,7 +11,7 @@
2013-06-22 Eli Zaretskii <eliz@gnu.org>
- * Maketests (clos1way): Set AC_ALL=C, since clos1way.awk no longer
+ * Maketests (clos1way): Set LC_ALL=C, since clos1way.awk no longer
does.
2013-06-03 Arnold D. Robbins <arnold@skeeve.com>