315581 |
19-Mar-2017 |
pfg |
MFC r315426, MFV r315425: one-true-awk: have calloc(3) do the multiplication. |
305448 |
06-Sep-2016 |
ache |
MFC r305365
The bug: $ echo x | awk '/[[:cntrl:]]/' x
The NUL character in cntrl class truncates the pattern, and an empty pattern matches anything. The patch skips NUL as a quick fix.
PR: 195792 Submitted by: kdrakehp@zoho.com Approved by: bwk@cs.princeton.edu (the author) |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
301691 |
08-Jun-2016 |
pfg |
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.
|
301689 |
08-Jun-2016 |
pfg |
one-true-awk: Avoid a NULL dereference.
CID: 270862 Obtained from: NetBSD (CVS Rev. 1.8) MFC after: 2 weeks
|
301289 |
03-Jun-2016 |
pfg |
MFV r300961: one-true-awk: replace 0 with NULL for pointers
Also remove a redundant semicolon.
|
276479 |
31-Dec-2014 |
dim |
Upgrade our copy of clang, llvm and lldb to 3.5.0 release.
Please note that this version now requires C++11 support to build; see UPDATING for more information.
Release notes for llvm and clang can be found here: <http://llvm.org/releases/3.5.0/docs/ReleaseNotes.html> <http://llvm.org/releases/3.5.0/tools/clang/docs/ReleaseNotes.html>
Thanks to Ed Maste, Roman Divacky, Andrew Turner, Justin Hibbits and Antoine Brodin for their invaluable help with this import.
Approved by: portmgr (antoine) MFC after: 1 month
|
271879 |
19-Sep-2014 |
pfg |
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
|
244988 |
03-Jan-2013 |
delphij |
MFV: one-true-awk 20121220.
MFC after: 1 month
|
224776 |
11-Aug-2011 |
ru |
- 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)
|
224731 |
09-Aug-2011 |
ru |
Update to a 7-Aug-2011 release.
Approved by: re (kib)
|
223758 |
04-Jul-2011 |
attilio |
With retirement of cpumask_t and usage of cpuset_t for representing a mask of CPUs, pc_other_cpus and pc_cpumask become highly inefficient.
Remove them and replace their usage with custom pc_cpuid magic (as, atm, pc_cpumask can be easilly represented by (1 << pc_cpuid) and pc_other_cpus by (all_cpus & ~(1 << pc_cpuid))).
This change is not targeted for MFC because of struct pcpu members removal and dependency by cpumask_t retirement.
MD review by: marcel, marius, alc Tested by: pluknet MD testing by: marcel, marius, gonzo, andreast
|
222813 |
07-Jun-2011 |
attilio |
etire the cpumask_t type and replace it with cpuset_t usage.
This is intended to fix the bug where cpu mask objects are capped to 32. MAXCPU, then, can now arbitrarely bumped to whatever value. Anyway, as long as several structures in the kernel are statically allocated and sized as MAXCPU, it is suggested to keep it as low as possible for the time being.
Technical notes on this commit itself: - More functions to handle with cpuset_t objects are introduced. The most notable are cpusetobj_ffs() (which calculates a ffs(3) for a cpuset_t object), cpusetobj_strprint() (which prepares a string representing a cpuset_t object) and cpusetobj_strscan() (which creates a valid cpuset_t starting from a string representation). - pc_cpumask and pc_other_cpus are target to be removed soon. With the moving from cpumask_t to cpuset_t they are now inefficient and not really useful. Anyway, for the time being, please note that access to pcpu datas is protected by sched_pin() in order to avoid migrating the CPU while reading more than one (possible) word - Please note that size of cpuset_t objects may differ between kernel and userland. While this is not directly related to the patch itself, it is good to understand that concept and possibly use the patch as a reference on how to deal with cpuset_t objects in userland, when accessing kernland members. - KTR_CPUMASK is changed and now is represented through a string, to be set as the example reported in NOTES.
Please additively note that no MAXCPU is bumped in this patch, but private testing has been done until to MAXCPU=128 on a real 8x8x2(htt) machine (amd64).
Please note that the FreeBSD version is not yet bumped because of the upcoming pcpu changes. However, note that this patch is not targeted for MFC.
People to thank for the time spent on this patch: - sbruno, pluknet and Nicholas Esborn (nick AT desert DOT net) tested several revision of the patches and really helped in improving stability of this work. - marius fixed several bugs in the sparc64 implementation and reviewed patches related to ktr. - jeff and jhb discussed the basic approach followed. - kib and marcel made targeted review on some specific part of the patch. - marius, art, nwhitehorn and andreast reviewed MD specific part of the patch. - marius, andreast, gonzo, nwhitehorn and jceel tested MD specific implementations of the patch. - Other people have made contributions on other patches that have been already committed and have been listed separately.
Companies that should be mentioned for having participated at several degrees: - Yahoo! for having offered the machines used for testing on big count of CPUs. - The FreeBSD Foundation for having sponsored my devsummit attendance, which has been instrumental. - Sandvine for having offered offices and infrastructure during development.
(I really hope I didn't forget anyone, if it happened I apologize in advance).
|
221533 |
06-May-2011 |
ru |
Update to a 6-May-2011 release (upstreamed some of our changes).
|
221381 |
03-May-2011 |
ru |
Update to a 1-May-2011 release (except for the isblank change).
|
207736 |
07-May-2010 |
mckusick |
Merger of the quota64 project into head.
This joint work of Dag-Erling Smørgrav and myself updates the FFS quota system to support both traditional 32-bit and new 64-bit quotas (for those of you who want to put 2+Tb quotas on your users).
By default quotas are not compiled into the kernel. To include them in your kernel configuration you need to specify:
options QUOTA # Enable FFS quotas
If you are already running with the current 32-bit quotas, they should continue to work just as they have in the past. If you wish to convert to using 64-bit quotas, use `quotacheck -c 64'; if you wish to revert from 64-bit quotas back to 32-bit quotas, use `quotacheck -c 32'.
There is a new library of functions to simplify the use of the quota system, do `man quotafile' for details. If your application is currently using the quotactl(2), it is highly recommended that you convert your application to use the quotafile interface. Note that existing binaries will continue to work.
Special thanks to John Kozubik of rsync.net for getting me interested in pursuing 64-bit quota support and for funding part of my development time on this project.
|
201989 |
10-Jan-2010 |
ru |
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.
|
201951 |
09-Jan-2010 |
ru |
Update to a 26-Nov-2009 release.
|
201940 |
09-Jan-2010 |
ru |
Clean up import.
|
201939 |
09-Jan-2010 |
ru |
Bootstrap merge history.
|
172961 |
25-Oct-2007 |
obrien |
Document the bwk_20071023 import.
|
172959 |
25-Oct-2007 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r172958, which included commits to RCS files with non-trunk default branches.
|
170334 |
05-Jun-2007 |
rafan |
- Update for 2007/05/01 import.
Approved by: delphij (mentor) Nodded by: ru
|
170332 |
05-Jun-2007 |
rafan |
This commit was generated by cvs2svn to compensate for changes in r170331, which included commits to RCS files with non-trunk default branches.
|
146303 |
16-May-2005 |
ru |
Update for the 2005/04/24 import.
|
146300 |
16-May-2005 |
ru |
This commit was generated by cvs2svn to compensate for changes in r146299, which included commits to RCS files with non-trunk default branches.
|
125604 |
08-Feb-2004 |
ru |
Update for the 2004/02/07 import.
|
125602 |
08-Feb-2004 |
ru |
This commit was generated by cvs2svn to compensate for changes in r125601, which included commits to RCS files with non-trunk default branches.
|
125572 |
07-Feb-2004 |
ru |
Update for the 2003/07/31 import.
|
125506 |
05-Feb-2004 |
ru |
This commit was generated by cvs2svn to compensate for changes in r125505, which included commits to RCS files with non-trunk default branches.
|
118197 |
30-Jul-2003 |
ru |
Update for the 2003/07/29 import.
|
118195 |
30-Jul-2003 |
ru |
This commit was generated by cvs2svn to compensate for changes in r118194, which included commits to RCS files with non-trunk default branches.
|
112337 |
17-Mar-2003 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r112336, which included commits to RCS files with non-trunk default branches.
|
108075 |
19-Dec-2002 |
obrien |
Update for the 20021213 version.
|
108073 |
19-Dec-2002 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r108072, which included commits to RCS files with non-trunk default branches.
|
107809 |
13-Dec-2002 |
obrien |
Update for the just-done-import.
|
107807 |
13-Dec-2002 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r107806, which included commits to RCS files with non-trunk default branches.
|
92423 |
16-Mar-2002 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r92422, which included commits to RCS files with non-trunk default branches.
|
90905 |
19-Feb-2002 |
des |
Really document the import procedure.
|
90903 |
19-Feb-2002 |
des |
This commit was generated by cvs2svn to compensate for changes in r90902, which included commits to RCS files with non-trunk default branches.
|
90901 |
19-Feb-2002 |
des |
Document the import procedure.
|
90900 |
19-Feb-2002 |
des |
This commit was generated by cvs2svn to compensate for changes in r90899, which included commits to RCS files with non-trunk default branches.
|
90899 |
19-Feb-2002 |
des |
We don't need ths file.
|
85590 |
27-Oct-2001 |
obrien |
Tell how the import was done.
|
85588 |
27-Oct-2001 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r85587, which included commits to RCS files with non-trunk default branches.
|