[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-1809-gb83579
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-1809-gb835790 |
Date: |
Mon, 30 May 2016 21:36:32 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, master has been updated
via b835790d438d6d3c3433c0f24ca03046d808d077 (commit)
via ce211fb7fcf1463619d2b2ef32b8f6c2f4f35459 (commit)
from d851540e8611be939ac01a4f6c87ade351d6ad0b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=b835790d438d6d3c3433c0f24ca03046d808d077
commit b835790d438d6d3c3433c0f24ca03046d808d077
Merge: d851540 ce211fb
Author: Arnold D. Robbins <address@hidden>
Date: Mon May 30 17:36:27 2016 -0400
Merge branch 'gawk-4.1-stable'
diff --cc field.c
index 9012e9d,5f5b2b6..6a9516d
--- a/field.c
+++ b/field.c
@@@ -1196,11 -1270,18 +1196,15 @@@ choose_fs_function
} else if (fs->stptr[0] == '\\') {
/* yet another special case */
strcpy(buf, "[\\\\\n]");
- } else if (fs->stptr[0] != '\n')
+ } else if (fs->stptr[0] == '\0') {
+ /* and yet another special case */
+ strcpy(buf, "[\\000\n]");
+ } else if (fs->stptr[0] != '\n') {
sprintf(buf, "[%c\n]", fs->stptr[0]);
+ }
}
} else {
- if (do_posix)
- parse_field = posix_def_parse_field;
- else
- parse_field = def_parse_field;
+ parse_field = def_parse_field;
if (fs->stlen == 1) {
if (fs->stptr[0] == ' ')
diff --cc test/ChangeLog
index b968955,2e1090c..c83c80e
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@@ -1,9 -1,8 +1,14 @@@
+ 2016-05-30 Arnold D. Robbins <address@hidden>
+
+ * Makefile.am (fsnul1): New test.
+ * fsnul1.awk, fsnul1.in, fsnul1.ok: New files.
+
+2016-05-26 Arnold D. Robbins <address@hidden>
+
+ * Makefile.am (arrayind2): New test.
+ * arrayind2.awk, arrayind2.ok: New files.
+ Thanks to Andrew J. Schorr <address@hidden>.
+
2016-05-25 Arnold D. Robbins <address@hidden>
* arrayind1.awk: Flush writes to stderr. We hope this helps
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
field.c | 6 +++++-
test/ChangeLog | 5 +++++
test/Makefile.am | 5 ++++-
test/Makefile.in | 10 +++++++++-
test/Maketests | 5 +++++
test/fsnul1.awk | 2 ++
test/fsnul1.in | Bin 0 -> 6 bytes
test/fsnul1.ok | 1 +
9 files changed, 36 insertions(+), 3 deletions(-)
create mode 100644 test/fsnul1.awk
create mode 100644 test/fsnul1.in
create mode 100644 test/fsnul1.ok
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-1809-gb835790,
Arnold Robbins <=