diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-03-05 20:20:21 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-03-05 20:20:21 +0200 |
commit | 7b77ec860377eafcad05025888721a46b8a7f349 (patch) | |
tree | 2d3176cee22ad946fb4b82e1b8ae40ca656d1a6a /io.c | |
parent | 9b1151d32d047649e2a6a1f601aa8163ebe3e8e9 (diff) | |
parent | 28b143c3a489e2699834812214eeaa6347ac1c01 (diff) | |
download | egawk-7b77ec860377eafcad05025888721a46b8a7f349.tar.gz egawk-7b77ec860377eafcad05025888721a46b8a7f349.tar.bz2 egawk-7b77ec860377eafcad05025888721a46b8a7f349.zip |
Merge branch 'gawk-4.2-stable' (after 4.2.1 release)
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3535,12 +3535,12 @@ rs1scan(IOBUF *iop, struct recmatch *recm, SCANSTATE *state) /* Thus, the check for \n here; big speedup ! */ if (rs != '\n' && gawk_mb_cur_max > 1) { int len = iop->dataend - bp; - int found = 0; + bool found = false; memset(& mbs, 0, sizeof(mbstate_t)); do { if (*bp == rs) - found = 1; + found = true; if (is_valid_character(*bp)) mbclen = 1; else |