Home | History | Annotate | Download | only in grep
History log of /src/usr.bin/grep/util.c
RevisionDateAuthorComments
 1.19  05-Feb-2018  mrg fixes for GCC 6.4:

- fix an indentation issue in radioioctl().
- fix an indentation issue in mpt_run_xfer().
- grep's printline() has some {} placement issues.
 1.18  14-Jul-2014  christos fix type, from enh at google dot com
 1.17  21-Jan-2013  msaitoh branches: 1.17.6;
Fix memory leak in file_matching().
 1.16  06-May-2012  joerg branches: 1.16.2;
Consistently short cut the pattern loop on mismatches.
Don't assign 1 conditionally, if unconditional works as well.
 1.15  06-May-2012  joerg Remove matchall handling for now, it doesn't work correctly and as such,
it is a premature optimisation.
 1.14  06-May-2012  joerg Make the matchall case a full short cut.
 1.13  18-Apr-2011  joerg branches: 1.13.4; 1.13.6;
Avoid C99 features.
 1.12  18-Apr-2011  joerg Add support for --null-data. Change -Z to behave like GNU grep's -Z.
 1.11  18-Apr-2011  joerg Redo context printing so that adjourning contexts don't print the
separator, following GNU grep's behavior in this regard.
 1.10  18-Apr-2011  joerg Include nbtool_config.h for tool builds.
 1.9  27-Feb-2011  joerg If transforming patterns with \<...\> to implicit word bounaries, don't
change the global wflag, but use a per pattern flag derived from it.
Fixes usage of grep with multiple -w arguments.
 1.8  16-Feb-2011  joerg Fix signed / unsigned issues. Refactor basename usage to use a local
copy and do it only once, not for each pattern. Remove late inline.
 1.7  16-Feb-2011  joerg Replace usr.bin/grep with the BSD grep implementation from FreeBSD.
 1.6  25-Jan-2009  lukem branches: 1.6.4;
sign-compare fixes
 1.5  06-Dec-2007  cjep sync with pkgsrc changes - reorder includes and add some casts
 1.4  15-May-2006  rillig branches: 1.4.12;
Changed the type of some size variables from int to size_t. Added const
qualifiers to some parameters. These changes allow WARNS to be raised to
4.
 1.3  13-Jan-2006  wiz warnx appends a newline, so the string does not have to contain one.
Remove it.
 1.2  30-Oct-2004  dsl Add (unsigned char) cast to ctype functions
Change a couple of local buffers to 'unsigned char'
 1.1  02-Jan-2004  cjep branches: 1.1.1;
Initial revision
 1.1.1.2  02-Jan-2004  cjep Import of our changes to grep developed in othersrc. A very
brief summary:

* Add NetBSD RCS Ids. Change to use a date based version number.
* Remove unused variables and functions.
* Move towards NetBSD code style.
* Add missing GNU options (except for --include, --exclude and
--line-buffered)
* Bug fixes
* Bug fixes and changes from OpenBSD's src/usr.bin/grep

A full list of changes can be viewed in the NetBSD CVS repository at
othersrc/usr.bin/grep. A ChangeLog is also available at:
ftp://ftp.NetBSD.org/pub/NetBSD/misc/cjep/grep-ChangeLog.txt

If you want to help out, please let me (cjep@) know so that we can
organise our efforts efficiently.
 1.1.1.1  02-Jan-2004  cjep Import of BSD-licensed grep by James Howard and Dag-Erling Co�dan
Sm�rgrav. This import is of version 0.16.
 1.4.12.1  09-Jan-2008  matt sync with HEAD
 1.6.4.2  05-Mar-2011  bouyer Sync with HEAD
 1.6.4.1  17-Feb-2011  bouyer Sync with HEAD
 1.13.6.1  08-Feb-2013  riz Pull up following revision(s) (requested by msaitoh in ticket #795):
usr.bin/grep/util.c: revision 1.17
Fix memory leak in file_matching().
 1.13.4.2  23-Jan-2013  yamt sync with head
 1.13.4.1  23-May-2012  yamt sync with head.
 1.16.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.16.2.1  25-Feb-2013  tls resync with head
 1.17.6.1  10-Aug-2014  tls Rebase.

RSS XML Feed