<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/makefile, branch vendor/one-true-awk</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=vendor%2Fone-true-awk</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=vendor%2Fone-true-awk'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-07-23T21:11:33Z</updated>
<entry>
<title>ota: Import 9f971fba471b from bsd-feature for 20240623</title>
<updated>2024-07-23T21:11:33Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2024-07-23T21:11:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=381c116afc1f4a775483a1b1a864488d37cc4b8a'/>
<id>urn:sha1:381c116afc1f4a775483a1b1a864488d37cc4b8a</id>
<content type='text'>
Jun 23, 2024
	Fix signal for system-status test. Thanks to Tim van der Molen.
	Rewrite if-else chain as switch. Thanks to Andrew Sukach.

May 27, 2024
	Spelling fixes and removal of unneeded prototypes and extern.
	Thanks to Jonathan Gray.

May 4, 2024
	Fixed a use-after-free bug with ARGV for "delete ARGV".
	Also ENVtab is no longer global. Thanks to Benjamin Sturz
	for spotting the ARGV issue and	Todd Miller for the fix.

May 3, 2024:
	Remove warnings when compiling with g++. Thanks to Arnold Robbins.
</content>
</entry>
<entry>
<title>ota: Import ota from 20241124 (930d75157063)</title>
<updated>2023-11-26T15:12:04Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-11-26T15:12:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=18df98168fa7af30532be5c8988b80f2987c9b84'/>
<id>urn:sha1:18df98168fa7af30532be5c8988b80f2987c9b84</id>
<content type='text'>
Minor bug fixes to man page, tests, fnematch (fixing erroneous output),
string escape sequences and improve flow control by optimizing gototab.

Nov 24, 2023:
        Fix issue #199: gototab improvements to dynamically resize the
        table, qsort and bsearch to improve the lookup speed as the
        table gets larger for multibyte input. thanks to Arnold Robbins.

Nov 23, 2023:
	Fix Issue #169, related to escape sequences in strings.
	Thanks to Github user rajeevvp.
	Fix Issue #147, reported by Github user drawkula, and fixed
	by Miguel Pineiro Jr.

Nov 20, 2023:
	rewrite of fnematch to fix a number of issues, including
	extraneous output, out-of-bounds access, number of bytes
	to push back after a failed match etc.
	thanks to Miguel Pineiro Jr.

Nov 15, 2023:
	Man page edit, regression test fixes. thanks to Arnold Robbins
	consolidation of sub and gsub into dosub, removing duplicate
	code. thanks to Miguel Pineiro Jr.
	gcc replaced with cc everywhere.

Sponsored by:		Netflix
</content>
</entry>
<entry>
<title>ota: Import One True Awk from 20231102 (254b979f32df)</title>
<updated>2023-11-02T16:20:09Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-11-02T16:08:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2e406c584fe40d654e4b8042006d2206eed016b3'/>
<id>urn:sha1:2e406c584fe40d654e4b8042006d2206eed016b3</id>
<content type='text'>
This is a rollup of a lot of changes. In summary, lots of bug fixes,
Unicode support and CSV support to match the 2nd Edition of the Awk
Book.

In detail, from AWK's FIXES and FIXES.1e:

From FIXES:
Oct 30, 2023:
	multiple fixes and a minor code cleanup.
	disabled utf-8 for non-multibyte locales, such as C or POSIX.
	fixed a bad char * cast that causes incorrect results on big-endian
	systems. also fixed an out-of-bounds read for empty CCL.
	fixed a buffer overflow in substr with utf-8 strings.
	many thanks to Todd C Miller.

Sep 24, 2023:
	fnematch and getrune have been overhauled to solve issues around
	unicode FS and RS. also fixed gsub null match issue with unicode.
	big thanks to Arnold Robbins.

Sep 12, 2023:
	Fixed a length error in u8_byte2char that set RSTART to
	incorrect (cannot happen) value for EOL match(str, /$/).

-----------------------------------------------------------------

[This entry is a summary, not a precise list of changes.]

	Added --csv option to enable processing of comma-separated
	values inputs.  When --csv is enabled, fields are separated
	by commas, fields may be quoted with " double quotes, fields
	may contain embedded newlines.

	If no explicit separator argument is provided, split() uses
	the setting of --csv to determine how fields are split.

	Strings may now contain UTF-8 code points (not necessarily
	characters).  Functions that operate on characters, like
	length, substr, index, match, etc., use UTF-8, so the length
	of a string of 3 emojis is 3, not 12 as it would be if bytes
	were counted.

	Regular expressions are processes as UTF-8.

	Unicode literals can be written as \u followed by one
	to eight hexadecimal digits.  These may appear in strings and
	regular expressions.

From FIXES.1e:

Sep 06, 2023:
	Fix edge case where FS is changed on commandline. Thanks to
	Gordon Shephard and Miguel Pineiro Jr.

	Fix regular expression clobbering in the lexer, where lexer does
	not make a copy of regexp literals. also makedfa memory leaks have
	been plugged. Thanks to Miguel Pineiro Jr.

Dec 15, 2022:
	Force hex escapes in strings to be no more than two characters,
	as they already are in regular expressions. This brings internal
	consistency, as well as consistency with gawk. Thanks to
	Arnold Robbins.

Sep 12, 2022:
	adjbuf minlen error (cannot be 0) in cat, resulting in NULL pbuf.
	discovered by todd miller. also use-after-free issue with
	tempfree in cat, thanks to Miguel Pineiro Jr and valgrind.

Aug 30, 2022:
	Various leaks and use-after-free issues plugged/fixed.
	Thanks to Miguel Pineiro Jr. &lt;mpj@pineiro.cc&gt;.

May 23, 2022:
	Memory leak when assigning a string to some of the built-in
	variables. allocated string erroneously marked DONTFREE.
	Thanks to Miguel Pineiro Jr. &lt;mpj@pineiro.cc&gt;.

Mar 14, 2022:
	Historic bug: command-line "name=value" assignment had been
	truncating its entry in ARGV. (circa 1989) Thanks to
	Miguel Pineiro Jr. &lt;mpj@pineiro.cc&gt;.

Mar 3, 2022:
	Fixed file management memory leak that appears to have been
	there since the files array was first initialized with stdin,
	stdout, and stderr (circa 1992). Thanks to Miguel Pineiro Jr.
	&lt;mpj@pineiro.cc&gt;.

December 8, 2021:
	The error handling in closefile and closeall was mangled. Long
	standing warnings had been made fatal and some fatal errors went
	undetected. Thanks to Miguel Pineiro Jr. &lt;mpj@pineiro.cc&gt;.

Nov 03, 2021:
        getline accesses uninitialized data after getrec()
	returns 0 on EOF and leaves the contents of buf unchanged.
	Thanks to Volodymyr Gubarkov, and Todd C Miller.

Oct 12, 2021:
	The fix for #83 changed the code to insert 2 chars, but the
	call to adjbuf just above it only allows for 1 char. This can
	cause a heap buffer overflow.

Sponsored by:		Netflix
</content>
</entry>
<entry>
<title>one-true-awk: import 20210221 (1e4bc42c53a1) which fixes a number of bugs</title>
<updated>2021-07-07T23:09:41Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2021-07-07T23:03:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=746b7396bb3e85208573892a0f314e0b4e7dacf4'/>
<id>urn:sha1:746b7396bb3e85208573892a0f314e0b4e7dacf4</id>
<content type='text'>
Import the latest bsd-features branch of the one-true-awk upstream:

o Move to bison for $YACC
o Set close-on-exec flag for file and pipe redirects that aren't std*
o lots of little fixes to modernize ocde base
o free sval member before setting it
o fix a bug where a{0,3} could match aaaa
o pull in systime and strftime from NetBSD awk
o pull in fixes from {Net,Free,Open}BSD
o add BSD extensions and, or, xor, compl, lsheift, rshift

Sponsored by:		Netflix
</content>
</entry>
<entry>
<title>Import latest one-true-awk from upstream</title>
<updated>2019-06-02T04:23:56Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2019-06-02T04:23:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=03ee4d05f1d963d60451e04ce505e4da116300db'/>
<id>urn:sha1:03ee4d05f1d963d60451e04ce505e4da116300db</id>
<content type='text'>
Import git hash 4189ef5d from https://github.com/onetrueawk/awk.git as
there's not been a release in a while.

Upstream one-true-awk woke-up! Time to catch up. This may also revert
FreeBSD changes that we'd placed in the vendor branch in anticipation
of their inclusion in upstream. That's not yet the case, and these
will be resolved in the merge.

See FIXES for a complete list of bugs fixed (starting with the Jun 7,
2018 entry).
</content>
</entry>
<entry>
<title>Vendor import of bwk's Dec 20, 2012 version.</title>
<updated>2013-01-02T21:53:45Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2013-01-02T21:53:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c323c12cd8cea3384b83ddef0592138f8eccbe70'/>
<id>urn:sha1:c323c12cd8cea3384b83ddef0592138f8eccbe70</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Vendor import of bwk's 7-Aug-2011 release.</title>
<updated>2011-08-09T12:23:27Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2011-08-09T12:23:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9cb3faa6600faf227157090f70a6ec850ac1ef75'/>
<id>urn:sha1:9cb3faa6600faf227157090f70a6ec850ac1ef75</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Vendor import of bwk's 1-May-2011 release.</title>
<updated>2011-05-03T11:37:03Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2011-05-03T11:37:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bd726c262eacb8675c29121f040452106671e929'/>
<id>urn:sha1:bd726c262eacb8675c29121f040452106671e929</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Vendor import of bwk's 26-Nov-2009 release.</title>
<updated>2010-01-09T23:04:24Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2010-01-09T23:04:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d9859a0e4b8744c01f13cf391ee5cfbf57c5e818'/>
<id>urn:sha1:d9859a0e4b8744c01f13cf391ee5cfbf57c5e818</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Flatten out vendor tree.</title>
<updated>2010-01-09T22:31:11Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2010-01-09T22:31:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6023075d0d3ab6681b7eb57792fa086d032e489c'/>
<id>urn:sha1:6023075d0d3ab6681b7eb57792fa086d032e489c</id>
<content type='text'>
</content>
</entry>
</feed>
