Commit Graph

221 Commits

Author SHA1 Message Date
Cody Peter Mello
d45db5e9d8 Fix calling split() with a third argument that lives in the target array 2018-09-18 15:20:44 -07:00
Cody Peter Mello
97a4b7ed21 Fix issues with numeric SUBSEP and large SUBSEP values 2018-09-17 11:59:04 -07:00
Cody Peter Mello
e26237434f Fix issues with assigning during concatenation 2018-09-15 01:43:21 -07:00
Cody Peter Mello
e059b3b197 Protect against overflowing during OFMT/CONVFMT conversions 2018-09-14 19:56:34 -07:00
Cody Peter Mello
6cf37e9d15 Check for format character precision argument before using it 2018-09-14 17:34:17 -07:00
Arnold D. Robbins
40c6916307 Fix REGRESS so all tests run on Mac OS X. 2018-08-29 21:18:21 +03:00
Leonardo Taccari
05014f5b9e avoid undefined behaviour when using ctype(3) functions in relex()
Because NCHARS is (256+3) cc->cc_func(i) was called with 256, 257
and 258 as argument leading to possible undefined behaviour (at
least on NetBSD with non-C locale (e.g. `en_US.UTF-8') this led to
only honoring one `[:...:]' character class in bracket expressions).

Fix #11
2018-08-29 18:06:33 +02:00
onetrueawk
2dc7e5ff1a
Merge pull request #9 from atsampson/master
makefile fixes: allow parallel make and work with pmake
2018-08-28 16:05:48 -04:00
Adam Sampson
9a4aa89176 Fix ytab.[ch] dependencies to allow parallel make.
The old ytab.o rule produced ytab.c and ytab.h too, but this wasn't
visible as dependencies, so make -j would fail. Make this explicit, and
use the implicit .c.o rule rather than writing out the $(CC) command.
2018-08-27 20:28:29 +01:00
Adam Sampson
837b8da3a5 Fix comment syntax for pmake.
GNU make is happy with leading tabs before a comment, but pmake says
"Unassociated shell command".
2018-08-27 20:27:34 +01:00
Brian Kernighan
1d9d86418a forgot to update version string 2018-08-27 08:58:33 -04:00
Brian Kernighan
22aff9e657 disallow $ in printf formats 2018-08-27 08:52:34 -04:00
Brian Kernighan
0f4e1ba922 added Arnold's fixes, updates to awktest.tar 2018-08-24 09:09:59 -04:00
onetrueawk
b619480f94
Merge pull request #8 from arnoldrobbins/master
Fix multiple long-standing bugs, improve test suite.
2018-08-23 08:14:25 -04:00
Arnold D. Robbins
32093f5bbf Fix multiple long-standing bugs, improve test suite. 2018-08-22 20:40:26 +03:00
Brian Kernighan
ba7569c255 FIXES, makefile, REGRESS to smooth out base for Arnold 2018-08-16 09:41:13 -04:00
Brian Kernighan
1eef717cd2 update awktest.tar with proper beebe,lilly tests 2018-08-15 15:43:28 -04:00
Brian Kernighan
3ed9e245db set baseline so Arnold can send pull request 2018-08-15 10:45:03 -04:00
Brian Kernighan
2af1c7c658 awktest.tar added; .ar files work poorly 2017-02-15 19:16:44 -05:00
Brian Kernighan
e37f882d72 should have been in initial list 2012-12-22 10:46:35 -05:00
Brian Kernighan
87b94932e6 initial commit for github 2012-12-22 10:35:39 -05:00