summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/regex
Commit message (Collapse)AuthorAgeFilesLines
* bsdgrep: Work-around for segmentation fault.emaste2014-11-201-1/+1
| | | | | | | | Fix by David Carlier. MFC of r272127 Obtained from: HardenedBSD PR: 167921
* MFC r264581, r264744:pfg2014-04-301-1/+1
| | | | | | Various style(9) fixes and typos in printf, grep, sort and patch. #define should be followed by a tab.
* grep -i does not work for simple patterns and single byte locales, likeache2013-07-301-2/+2
| | | | | | | LANG=ru_RU.KOI8-R grep -i <some single KOI8-R letter> Fix it. MFC after: 3 days
* Revert r246917, as it is causing incorrect behaviour as reported onmarkj2013-03-121-1/+1
| | | | | | | freebsd-current. PR: bin/175213 Approved by: emaste (co-mentor)
* Strengthen the check in IS_OUT_OF_BOUNDS to ensure that (j - 1) is amarkj2013-02-171-1/+1
| | | | | | | | | valid index into the input buffer. PR: bin/175213 Reviewed by: gabor Approved by: emaste (co-mentor) MFC after: 1 week
* Fix a segfault when bsdgrep -i is given an empty pattern string.markj2013-01-051-1/+1
| | | | | | | PR: bin/172865 Reviewed by: gabor Approved by: emaste (co-mentor) MFC after: 1 week
* More -Wmissing-variable-declarations fixes.ed2012-10-191-2/+2
| | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
* - Use getprogname() instead of __prognamegabor2011-10-111-3/+3
| | | | | | | | - Allow disabling bzip2 support with WITHOUT_BZIP2 - Fix handling patterns that start with a dot - Remove superfluous semicolon Approved by: delphij (mentor)
* Fix build on i386 and arm.delphij2011-10-061-1/+1
| | | | | Tested with: make universe Pointy hat to: delphij
* Update BSD grep to the latest development version. It has some codegabor2011-10-0510-0/+2241
backported that was written for the TRE integration project in Google Summer of Code 2011. This is a temporary solution until the whole regex library is not replaced so that BSD grep development can continue and the backported code gets some review and testing. This change only improves scalability slightly, there is no big performance boost yet but several minor bugs have been found and fixed. Approved by: delphij (mentor) Sposored by: Google Summer of Code 2011 MFC after: 1 week
OpenPOWER on IntegriCloud