This fixes an integer overflow with very long lines.
OK?
Index: util.c
===
RCS file: /home/alex/scm/cvsync/src/usr.bin/grep/util.c,v
retrieving revision 1.41
diff -u -r1.41 util.c
--- util.c 11 Jul 2011 20:43:21 - 1.41
On Sun, Jul 17, 2011 at 11:20:28AM +0200, Alexander Schrijver wrote:
This fixes an integer overflow with very long lines.
OK?
Hmm, changing from a signed to an unsigned type might lead to
surprises. I think regoff_t is better.
-Otto
Index: util.c
On Sun, Jul 17, 2011 at 09:50:05PM +0200, Matthias Kilian wrote:
Then those ports should be fixed. There seem to be more GNUisms in
(recent?) GNU grep that are picked up by projects, for example the
use of \s and \S in pxltoraster
Oops, that was GNU sed, not grep.
Ted Unangst t...@tedunangst.com wrote:
I recently learned that our grep does not support the \\ syntax for
word boundaries, only the somewhat more difficult to use [[::]] format.
It's fairly easy to convert one to the other however.
If we actually want this, should it go into grep or into the
On Sun, Jul 17, 2011, Matthias Kilian wrote:
Then those ports should be fixed. There seem to be more GNUisms in
(recent?) GNU grep that are picked up by projects, for example the
use of \s and \S in pxltoraster (currently a disabled part of
ghostscript, for which I've got a diff and waiting
Prodded by krw, here's an update to the latest Lynx release. It's quite a big
patch (the configure script regen, mainly):
http://www.recoil.org/~avsm/openbsd-lynx2-8-7.rel2-1.diff
Most of our local patches have been merged upstream, so the kept ones are:
- restore local lynx.cfg settings [avsm]