#
8d457988 |
| 30-Nov-2024 |
Warner Losh <imp@FreeBSD.org> |
ota: Merge 20240728 (bsd-feature) from ota 3319c34a8713
Jul 28, 2024 Fixed readcsvrec resize segfault when reading csv records longer than 8k. Thanks to Ozan Yigit. mktime() added to bsd-features
ota: Merge 20240728 (bsd-feature) from ota 3319c34a8713
Jul 28, 2024 Fixed readcsvrec resize segfault when reading csv records longer than 8k. Thanks to Ozan Yigit. mktime() added to bsd-features branch. Thanks to Todd Miller.
show more ...
|
Revision tags: release/14.2.0, release/13.4.0 |
|
#
17853db4 |
| 23-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
ota: Merge 20240623 (bsd-features) from ota 9f971fba471b
Merge from upstream. The system-status test was modifed upstream, but it still doesn't fit into ATF, so those changes weren't brought in.
Fr
ota: Merge 20240623 (bsd-features) from ota 9f971fba471b
Merge from upstream. The system-status test was modifed upstream, but it still doesn't fit into ATF, so those changes weren't brought in.
From FIXES:
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.
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.1.0 |
|
#
eb690a05 |
| 14-May-2024 |
Warner Losh <imp@FreeBSD.org> |
awk: Merge in bsd-feature branch of OTA from 20240422 (31bb33a32f71)
In the last 2nd edition import, I mistakenly grabbed from the 'main' branch of upstream rather than the bsd-feature branch. This
awk: Merge in bsd-feature branch of OTA from 20240422 (31bb33a32f71)
In the last 2nd edition import, I mistakenly grabbed from the 'main' branch of upstream rather than the bsd-feature branch. This means that we have a regression in awk from that point forward: all the BSD-specific bit functions (and a few others) were dropped. This restores it at the same level.
MFC After: 1 day Sponsored by: Netflix
show more ...
|
#
1023317a |
| 04-May-2024 |
Warner Losh <imp@FreeBSD.org> |
ota: Merge one true awk 20240422 (a3b68e649d2d)
Apr 22, 2024: fixed regex engine gototab reallocation issue that was introduced during the Nov 24 rewrite. Thanks to Arnold Robbins. Fixed a scan b
ota: Merge one true awk 20240422 (a3b68e649d2d)
Apr 22, 2024: fixed regex engine gototab reallocation issue that was introduced during the Nov 24 rewrite. Thanks to Arnold Robbins. Fixed a scan bug in split in the case the separator is a single character. thanks to Oguz Ismail for spotting the issue.
Mar 10, 2024: fixed use-after-free bug in fnematch due to adjbuf invalidating the pointers to buf. thanks to github user caffe3 for spotting the issue and providing a fix, and to Miguel Pineiro Jr. for the alternative fix. MAX_UTF_BYTES in fnematch has been replaced with awk_mb_cur_max. thanks to Miguel Pineiro Jr.
Sponsored by: Netflix
show more ...
|
Revision tags: release/13.3.0 |
|
#
f32a6403 |
| 28-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
Merge one true awk from 2024-01-22 for the Awk Second Edition support
This brings in Unicode support, CSV support and a number of bug fixes. They are described in _The AWK Programming Language_, Sec
Merge one true awk from 2024-01-22 for the Awk Second Edition support
This brings in Unicode support, CSV support and a number of bug fixes. They are described in _The AWK Programming Language_, Second Edition, by Al Aho, Brian Kernighan, and Peter Weinberger (Addison-Wesley, 2024, ISBN-13 978-0138269722, ISBN-10 0138269726).
Sponsored by: Netflix
show more ...
|
#
b2376a5f |
| 15-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
Revert "awk: Merge upstream 2nd Edition Awk Book"
The pre-push testing I did turned out to be testing the old version with the old testsuite (for reasons I don't understnad). There's issues with the
Revert "awk: Merge upstream 2nd Edition Awk Book"
The pre-push testing I did turned out to be testing the old version with the old testsuite (for reasons I don't understnad). There's issues with the new version, the new test in the suite or (likely) both. Revert until they can be chased down.
This should also fix the github CI that's gone red since this commit.
This reverts commit 3fd60a6b73ac01a72df89751f173970fae4cae73, reversing changes made to 194df014feebd8b169b41ecd75ae73d63a792d6b.
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
3fd60a6b |
| 02-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
awk: Merge upstream 2nd Edition Awk Book
Merge in the November 2nd, 2023 version of one true awk.
This brings in Unicode support, CSV support and a number of bug fixes.
Sponsored by: Netflix Revi
awk: Merge upstream 2nd Edition Awk Book
Merge in the November 2nd, 2023 version of one true awk.
This brings in Unicode support, CSV support and a number of bug fixes.
Sponsored by: Netflix Reviewed by: delphij Differential Revision: https://reviews.freebsd.org/D42447
show more ...
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0 |
|
#
f68a53db |
| 09-Jul-2021 |
Warner Losh <imp@FreeBSD.org> |
awk: Reduce diffs with upstream to almost nothing.
In the merge of 20210215, I left two merge conflicts #if 0'd by mistake to check later rather than resolve them as part of the merge. This code tu
awk: Reduce diffs with upstream to almost nothing.
In the merge of 20210215, I left two merge conflicts #if 0'd by mistake to check later rather than resolve them as part of the merge. This code turns out to be from the original one-true-awk import and not FreeBSD specific, so remove them.
Remove a extra definition of HAT.
Remove a stylistic change that also appears to be a mismerge along the way.
Remove FREEBSD-upgrade. Nobody has updated it since the original 2007 cvs import. It talks about old CVS branches that never made it into svn, let alone git. New imports will follow the standard practices now, so there's nothing left to document.
Move README to README.md and copy the README.md from upstream over.
This leaves just the $FreeBSD$ lines (which remain for the stable/12 merge) and the strcoll part of ru@'s r201989/d98dd8e5f94c as the only diffs with upstream. FreeBSD also still has its own man page, which I don't plan on changing. Once this commit is merged to stable/12, I plan no further merges to stable/12. Sometime after that I'll remove the $FreeBSD$ lines to reduce the diffs even more (though i want to make sure plans won't change first). I also plan to talk to upstream about this change...
MFC After: 2 weeks Sponsored by: Netflix
show more ...
|
#
f39dd6a9 |
| 08-Jul-2021 |
Warner Losh <imp@FreeBSD.org> |
one-true-awk: import 20210221 (1e4bc42c53a1) which fixes a number of bugs
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
one-true-awk: import 20210221 (1e4bc42c53a1) which fixes a number of bugs
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 (normalized our code with them) o add BSD extensions and, or, xor, compl, lsheift, rshift (mostly a nop)
Also revert a few of the trivial FreeBSD changes that were done slightly differently in the upstreaming process. Also, our PR database may have been mined by upstream for these fixes, and Mikolaj Golub may deserve credit for some of the fixes in this update.
Suggested by: Mikolaj Golub <to.my.trociny@gmail.com> PR: 143363,143365,143368,143369,143373,143375,214782 Sponsored by: Netflix
show more ...
|
Revision tags: release/13.0.0, release/12.2.0 |
|
#
ae692c42 |
| 21-Sep-2020 |
Alex Richardson <arichardson@FreeBSD.org> |
awk: Fix subobject out-of-bounds access
When matching a regex with ^, it would attempt to access gototab[NSTATES][NCHARS+2], and therefore access the state for the \002 character instead. This chang
awk: Fix subobject out-of-bounds access
When matching a regex with ^, it would attempt to access gototab[NSTATES][NCHARS+2], and therefore access the state for the \002 character instead. This change is required to run awk under CHERI (with sub-object bounds) and when running with UBSan instrumentation.
This was committed upstream as https://github.com/onetrueawk/awk/commit/cbf924342b63a095a4c6842280c3085b1b63ae45
Found by: CHERI (with subobject bounds enabled) Obtained from: CheriBSD Reviewed By: imp Differential Revision: https://reviews.freebsd.org/D26509
show more ...
|
Revision tags: release/11.4.0, release/12.1.0, release/11.3.0 |
|
#
0269ae4c |
| 06-Jun-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @348740
Sponsored by: The FreeBSD Foundation
|
#
b5253557 |
| 02-Jun-2019 |
Warner Losh <imp@FreeBSD.org> |
Merge from upstream at 4189ef5d from https://github.com/onetrueawk/awk.git
Note: this backs out a number of changes we've made to awk because they aren't upstream, but are on the vendor branch. Thos
Merge from upstream at 4189ef5d from https://github.com/onetrueawk/awk.git
Note: this backs out a number of changes we've made to awk because they aren't upstream, but are on the vendor branch. Those will be reapplied. svn makes it needlessly difficult to know which ones, but at least r315426, r301289, and maybe r301691, though there may be others too. None of these are critical, so bisecting through this point is safe for all but awk regression tests :).
show more ...
|
Revision tags: release/12.0.0, release/11.2.0 |
|
#
c2c014f2 |
| 07-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r323559 through r325504.
|
Revision tags: release/10.4.0 |
|
#
8fcbcc2d |
| 16-Sep-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r323635
|
#
69679fc1 |
| 14-Sep-2017 |
Warner Losh <imp@FreeBSD.org> |
Bring in bit operation functions, ala gawk.
These are from OpenBSD: >>> Extend awk with bitwise operations. This is an extension to the awk >>> spec and documented as such, but comes in handy from t
Bring in bit operation functions, ala gawk.
These are from OpenBSD: >>> Extend awk with bitwise operations. This is an extension to the awk >>> spec and documented as such, but comes in handy from time to time. >>> The prototypes make it compatible with a similar GNU awk extension. >>> >>> ok millert@, enthusiasm from deraadt@
Edited to fix cut and paste in error messages, as well as using tabs instead of spaces after #defines added.
Obtained From: OpenBSD awk.h 1.12, lex.c 1.10, run.c 1.29 Differential Revision: https://reviews.freebsd.org/D12361 Sponsored by: Netflix
show more ...
|
Revision tags: release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
addad6af |
| 05-Jun-2007 |
Rong-En Fan <rafan@FreeBSD.org> |
Vendor import of bwk's 01-May-2007 release.
Approved by: delphij (mentor) Nodded by: ru Tested by: make universe
|
#
3aa1b8b9 |
| 05-Jun-2007 |
Rong-En Fan <rafan@FreeBSD.org> |
This commit was generated by cvs2svn to compensate for changes in r170331, which included commits to RCS files with non-trunk default branches.
|
Revision tags: release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0 |
|
#
c263f9bf |
| 16-May-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Vendor import of bwk's 24-Apr-2005 release.
|
#
e53d8196 |
| 16-May-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
This commit was generated by cvs2svn to compensate for changes in r146299, which included commits to RCS files with non-trunk default branches.
|
Revision tags: release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0 |
|
#
813da98d |
| 13-Dec-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Vendor import of bwk's 29-Nov-2002 release. Most significant update is the inclusion of our port's locale patches.
|
#
cf709e0a |
| 13-Dec-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
This commit was generated by cvs2svn to compensate for changes in r107806, which included commits to RCS files with non-trunk default branches.
|
Revision tags: release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs |
|
#
2a55deb1 |
| 27-Oct-2001 |
David E. O'Brien <obrien@FreeBSD.org> |
Import the One True AWK, in the form of bwk's AWK Nov 15, 2000 release.
|
#
62179fa2 |
| 27-Oct-2001 |
David E. O'Brien <obrien@FreeBSD.org> |
This commit was generated by cvs2svn to compensate for changes in r85587, which included commits to RCS files with non-trunk default branches.
|
Revision tags: release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
addad6af |
| 05-Jun-2007 |
Rong-En Fan <rafan@FreeBSD.org> |
Vendor import of bwk's 01-May-2007 release.
Approved by: delphij (mentor) Nodded by: ru Tested by: make universe
|
#
3aa1b8b9 |
| 05-Jun-2007 |
Rong-En Fan <rafan@FreeBSD.org> |
This commit was generated by cvs2svn to compensate for changes in r170331, which included commits to RCS files with non-trunk default branches.
|