On Tue, Dec 13, 2011 at 04:34:45PM -0500, Thomas Dickey wrote: > I did use memchr in my fix - will check/see if your other changes make a > difference.
Looking at the report again, I see that I'd not followed up noting a fix.
But I was looking at current code, which uses memchr in that position.
The change is noted here:
20090920
+ two changes for embedded nulls, allows FS to be either a null or
contain a character class with null, e.g., '\000' or '[ \000]':
+ modify built-in regular expression functions to accept embedded
nulls.
+ modify input reader FINgets() to accept embedded nulls in data read
from files. Data read from standard input is line-buffered, and is
still null-terminated.
The actual check-in comment was:
REV:1.13 fin.c 2009/09/13 21:40:12 tom
modify so FINgets() can return embedded nulls in data read from file.
For what it's worth, reporting bugs against Debian's version of mawk is
a pointless exercise. But I do read the reports in case a new bug is
reported there.
--
Thomas E. Dickey <[email protected]>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature

