Commit Graph

51 Commits

Author SHA1 Message Date
ache
a22ce9f819 Back out non-collating [a-z] ranges.
Instead of changing the whole course to another POSIX-permitted way
for consistency and uniformity I decide to completely ignore missing
regex fucntionality and focus on fixing bugs in what we have now,
too many small obstacles we have choicing other way, counting ports.
Corresponding libc changes are backed out in r302824.
2016-07-14 09:31:52 +00:00
ache
7a0832c666 After removing collation for [a-z] ranges in r302512, do it here too.
I'll try to keep the change very minimal to not touch contribed code much.
I'll send it upstream when it will be merged to main branches,
but we need the change right now here.
2016-07-13 10:01:31 +00:00
pfg
485db59b11 Revert r301689 - one-true-awk: Avoid a NULL dereference.
I got this wrong and the coverity report doesn't match the NetBSD change,
which was thought for a different version.

The change wouldn't hurt but let's wait until upstream figures this out.
2016-06-08 19:39:44 +00:00
pfg
aedab58589 one-true-awk: Avoid a NULL dereference.
CID:		270862
Obtained from:	NetBSD (CVS Rev. 1.8)
MFC after:	2 weeks
2016-06-08 19:24:48 +00:00
pfg
f3c56b202c MFV r300961:
one-true-awk: replace 0 with NULL for pointers

Also remove a redundant semicolon.
2016-06-03 21:23:11 +00:00
pfg
c3674dfb67 awk: Use random(3) instead of rand(3)
While none of them is considered even near to cryptographic
level, random(3) is a better random generator than rand(3).

Use random(3) for awk as is done in other systems.

Thanks to Chenguang Li for discussing this in the lists
and submitting the patch upstream.

PR:		193147
MFC after:	5 weeks
2014-09-19 18:24:02 +00:00
delphij
2010ab2cd0 MFV: one-true-awk 20121220.
MFC after:	1 month
2013-01-03 07:25:30 +00:00
ru
09961aaff6 - Merged awk upstream that includes a fix for a bug exposed by kmod_syms.mk.
- Provide a build aid for those who already have a buggy awk(1) installed.

Approved by:	re (kib)
2011-08-11 10:29:10 +00:00
ru
d218e8cbbc Update to a 7-Aug-2011 release.
Approved by:	re (kib)
2011-08-09 12:54:43 +00:00
ru
f56d17ac15 Update to a 6-May-2011 release (upstreamed some of our changes). 2011-05-06 14:21:46 +00:00
ru
169254209b Update to a 1-May-2011 release (except for the isblank change). 2011-05-03 11:47:19 +00:00
ru
270ba02de1 Apply patches directly to sources. Their effect is as follows:
- Make one-true-awk respect locale's collating order in [a-z]
  bracket expressions, until a more complete fix (like handing
  BREs) is ready.

- Don't require a space between -[fv] and its argument.
2010-01-10 08:02:07 +00:00
ru
56d4794e72 Update to a 26-Nov-2009 release. 2010-01-09 23:19:01 +00:00
ru
8a9b761eed Clean up import. 2010-01-09 22:47:40 +00:00
obrien
56c7c261e2 Document the bwk_20071023 import. 2007-10-25 12:38:34 +00:00
obrien
1ae17d2c16 This commit was generated by cvs2svn to compensate for changes in r172958,
which included commits to RCS files with non-trunk default branches.
2007-10-25 12:38:02 +00:00
obrien
9227abab1d Vendor import of bwk's 23-Oct-2007 release.
This includes fixes for FreeBSD PR's: bin/104795, bin/100443
2007-10-25 12:38:02 +00:00
rafan
1095f96bda - Update for 2007/05/01 import.
Approved by:	delphij (mentor)
Nodded by:	ru
2007-06-05 15:34:40 +00:00
rafan
d187e809f9 Vendor import of bwk's 01-May-2007 release.
Approved by:	delphij (mentor)
Nodded by:	ru
Tested by:	make universe
2007-06-05 15:33:51 +00:00
rafan
202f9402cb This commit was generated by cvs2svn to compensate for changes in r170331,
which included commits to RCS files with non-trunk default branches.
2007-06-05 15:33:51 +00:00
ru
9c27dea05c Update for the 2005/04/24 import. 2005-05-16 19:19:32 +00:00
ru
78d66df18b Vendor import of bwk's 24-Apr-2005 release. 2005-05-16 19:11:36 +00:00
ru
8003014f21 This commit was generated by cvs2svn to compensate for changes in r146299,
which included commits to RCS files with non-trunk default branches.
2005-05-16 19:11:36 +00:00
ru
204305ab35 Update for the 2004/02/07 import. 2004-02-08 21:39:18 +00:00
ru
90fe2c86f7 Vendor import of bwk's 7-Feb-2004 release. 2004-02-08 21:32:21 +00:00
ru
b7dcdde218 This commit was generated by cvs2svn to compensate for changes in r125601,
which included commits to RCS files with non-trunk default branches.
2004-02-08 21:32:21 +00:00
ru
7203fc3f9b Update for the 2003/07/31 import. 2004-02-07 16:46:05 +00:00
ru
a1d941195d Fixes from 31-Jul-2003; make it 8-bit clean.
Forgotten by:	ru (for far too long)
2004-02-05 23:16:31 +00:00
ru
ac55111241 This commit was generated by cvs2svn to compensate for changes in r125505,
which included commits to RCS files with non-trunk default branches.
2004-02-05 23:16:31 +00:00
ru
eff800ad43 Update for the 2003/07/29 import. 2003-07-30 06:50:31 +00:00
ru
6247f74063 Vendor import of bwk's 29-Jul-2003 release. 2003-07-30 06:47:03 +00:00
ru
117315d8bb This commit was generated by cvs2svn to compensate for changes in r118194,
which included commits to RCS files with non-trunk default branches.
2003-07-30 06:47:03 +00:00
obrien
153c5b8c9d Vendor import of bwk's 14-March-2003 release. 2003-03-17 07:59:59 +00:00
obrien
81b9a467c1 This commit was generated by cvs2svn to compensate for changes in r112336,
which included commits to RCS files with non-trunk default branches.
2003-03-17 07:59:59 +00:00
obrien
bd6db340f2 Update for the 20021213 version. 2002-12-19 04:34:00 +00:00
obrien
bf37c5ab93 Vendor import of bwk's 13-Dec-2002 release. 2002-12-19 04:33:15 +00:00
obrien
338663c97e This commit was generated by cvs2svn to compensate for changes in r108072,
which included commits to RCS files with non-trunk default branches.
2002-12-19 04:33:15 +00:00
obrien
a1b0463b9c Update for the just-done-import. 2002-12-13 05:03:15 +00:00
obrien
279a30e7a9 Vendor import of bwk's 29-Nov-2002 release.
Most significant update is the inclusion of our port's locale patches.
2002-12-13 04:59:48 +00:00
obrien
896a07f9e4 This commit was generated by cvs2svn to compensate for changes in r107806,
which included commits to RCS files with non-trunk default branches.
2002-12-13 04:59:48 +00:00
obrien
4911d68e89 Vendor import of bwk's 2002-02-10 release. 2002-03-16 16:50:57 +00:00
obrien
46920ec24f This commit was generated by cvs2svn to compensate for changes in r92422,
which included commits to RCS files with non-trunk default branches.
2002-03-16 16:50:57 +00:00
des
7876d44670 Really document the import procedure. 2002-02-19 09:36:40 +00:00
des
15169bd097 Vendor import of bwk's 2002-02-18 release. Most significant update is the
inclusion of my character class patch.
2002-02-19 09:35:25 +00:00
des
3869087a3c This commit was generated by cvs2svn to compensate for changes in r90902,
which included commits to RCS files with non-trunk default branches.
2002-02-19 09:35:25 +00:00
des
a99b1b7c84 Document the import procedure. 2002-02-19 09:30:33 +00:00
des
4faba9a77f We don't need ths file. 2002-02-19 09:27:25 +00:00
des
9d27f65fc3 This commit was generated by cvs2svn to compensate for changes in r90899,
which included commits to RCS files with non-trunk default branches.
2002-02-19 09:27:25 +00:00
des
3d1692a460 We don't need ths file. 2002-02-19 09:27:25 +00:00
obrien
44033418a5 Tell how the import was done. 2001-10-27 08:11:44 +00:00