summaryrefslogtreecommitdiffstats
path: root/usr.bin/awk/lib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update awk to December 18, 2020 version.millert2020-12-181-25/+19
| | | | Includes the official fix for +-inf and +-nan handling.
* Fix some breakage in handling +-inf and +-nan introduced in last version.millert2020-12-171-15/+23
|
* Update awk to December 8, 2020 version.millert2020-12-091-25/+74
| | | | | | Prevents strings beginning with "inf" or "nan" from being interpreted as infinity or not-a-number respectively which still parsing "inf" and "nan" (with or without a leading sign) correctly.
* Don't print extra newlines on error before awk starts parsing.millert2020-07-301-6/+5
| | | | | | | If awk prints an error message while when compile_time is still set to ERROR_PRINTING, don't try to print the context since there is none. This can happen due to a problem with, e.g., unknown command line options.
* Update awk to July 30, 2020 version.millert2020-07-301-2/+1
|
* Update awk to June 25, 2020 version.millert2020-06-261-15/+15
|
* Update awk to June 12, 2020 version.millert2020-06-261-2/+6
|
* Fix strlcpy() size parameter in refldbld(), it was a byte too small.millert2020-06-161-14/+17
| | | | | While here, add proper bounds checking for the partial match case in refldbld() too and check strlcpy() return values throughout.
* Fix length parameter to strlcpy, inputFS is a pointer.millert2020-06-111-2/+2
|
* Update awk to June 5, 2020 version.millert2020-06-101-2/+4
|
* Update awk to Feb 28, 2020 version.millert2020-06-101-35/+18
|
* Update awk to Jan 31, 2020 version.millert2020-06-101-10/+21
|
* Update awk to Nov 10, 2019 version.millert2020-06-101-29/+36
|
* Update awk to Oct 24, 2019 version.millert2020-06-101-12/+12
|
* Update awk to Oct 6, 2019 version.millert2020-06-101-26/+38
|
* Update awk to Sep 10, 2019 version.millert2020-06-101-11/+20
|
* Update awk to Jun 17, 2019 version.millert2020-06-101-2/+2
|
* Update awk to Jan 25, 2019 version.millert2020-06-101-7/+13
|
* Update awk to Aug 23, 2018 version.millert2020-06-101-1/+15
|
* Convert snprintf+write into dprintf. It is simply easier to read, andderaadt2017-12-081-17/+9
| | | | | provides retry on short-write file descriptors. ok florian, previous versions seen by millert
* rename dprintf macro to DPRINTF to avoid collision with libc posix dprintf.deraadt2017-10-091-14/+14
| | | | | | (amazing to me that the posix name was chosen though it specifically collides with code Kernighan maintained since the V7). ok millert
* Mark FATAL() as __dead so clang doesn't reportkrw2017-09-251-2/+2
| | | | | | | use of uninitialized variables after calls to FATAL(). ok millert@ guenther@
* Fix awk crash with empty assignment, e.g. 'BEGIN {i=$1}', whenmillert2016-04-121-1/+2
| | | | malloc does not return zero-filled data. OK tb@
* Don't display empty error context.tobiasu2015-03-271-2/+3
| | | | | | Context extraction didn't handle this case and showed uninitialized memory. ok tobias, miod
* Update awk to Aug 10, 2011 version; naddy@ reports no ports problemsmillert2011-09-281-7/+16
| | | | from the update.
* Update awk to May 23, 2010 version. OK miod@millert2010-06-131-1/+2
|
* Update awk to version 20071023; OK deraadt@millert2008-10-061-13/+12
|
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-021-2/+2
|
* Don't try to fclose(infile) when infile == NULL. This can happenmillert2005-11-231-2/+2
| | | | when using nextfile in the BEGIN block. From Matthias Kilian.
* Update to version 20041222; OK deraadt@millert2004-12-301-5/+18
|
* Format string fixes from art's amd64 tree.grange2003-12-011-2/+2
| | | | ok rohee@ espie@
* string cleaning. ok millert@ tdeval@tedu2003-04-281-2/+2
|
* snprintf & strlcpy; tedu okderaadt2003-04-041-4/+4
|
* Update to the One True Awk version 20021213millert2002-12-191-10/+10
|
* catch malloc failures, my changes; found by cloder@acm.orgderaadt2002-07-041-1/+3
|
* some syslog_r uses in signal handlersderaadt2001-11-051-3/+34
|
* Update to latest version of the One True Awk. See the FIXES filemillert2001-09-081-3/+5
| | | | for details.
* June 6, 1999 version of the "one true awk"millert1999-12-081-29/+58
| | | | Most of the changes are to avoid using a static buffer for error messages.
* April 16, 1999 version of the "one true awk"--64-bit fixes and more.millert1999-04-201-4/+8
|
* March 5, 1999 version of the "one true awk"millert1999-04-181-21/+17
|
* August 1997 version of "the one true awk"kstailey1997-08-251-220/+236
|
* Basically stock AT&T resarch awk until the awk vs. flex problemsmillert1997-01-241-3/+1
| | | | have a better resolution.
* Latest research awk from June 29, 1996millert1997-01-201-6/+8
|
* AT&T awk, by B. W. Kernighan, with fixes from 4.4BSD and by metholo1996-07-041-0/+636