diff options
author | Alain Magloire <alainm@rcsm.ee.mcgill.ca> | 1999-10-12 04:11:40 +0000 |
---|---|---|
committer | Alain Magloire <alainm@rcsm.ee.mcgill.ca> | 1999-10-12 04:11:40 +0000 |
commit | da75e9e83b27fe7a3f8edc8bb6df8af259fc19fe (patch) | |
tree | 8dd761e0d7c753f550b2db00238e1fabd242e0e0 /THANKS | |
parent | 0a526bf4b9ba55477cd000a1954a0b270430089f (diff) | |
download | grep-da75e9e83b27fe7a3f8edc8bb6df8af259fc19fe.tar.gz |
new set o patches from Paul
new set o patches from Paul
new set o patches from Paul
* NEWS, doc/grep.1, doc/grep.texi: New option --mmap.
* src/grep.c (mmap_option): New variable.
(long_options, reset, usage): Add --mmap.
Default is now read, not mmap.
* doc/grep.1: Document -Z or --null.
* doc/grep.texi: Fix texinfo glitches. POSIX -> POSIX.2 where
appropriate.
* doc/grep.texi: Fix texinfo glitches. POSIX -> POSIX.2 where
appropriate.
* acconfig.h (ssize_t): New #undef.
* configure.in (AC_CHECK_TYPE): Add ssize_t.
* src/grep.c (PREFERRED_SAVE_FACTOR): New macro.
(reset): If the buffer has already been allocated, set bufsalloc to
be bufalloc / PREFERRED_SAVE_FACTOR. This avoids problems when
bufsalloc == bufalloc (possible after reading a large binary file).
(reset): Use PREFERRED_SAVE_FACTOR instead of magic constant.
Do not set bufbeg; nobody uses it.
Always set buflim.
Check for lseek error.
Use SEEK_CUR, not a magic constant.
(fillbuf): Return an error indication, not a count.
All callers changed.
Do not assume ssize_t fits in int.
Use PREFERRED_SAVE_FACTOR instead of magic constant.
Clean up mmap code.
Do not attempt to mmap zero bytes.
Check for lseek error.
Use SEEK_SET, not a magic constant.
Work correctly if read is interrupted.
(grepfile): Work correctly if open or close is interrupted.
* src/system.h (SEEK_SET, SEEK_CUR): New macros.
Diffstat (limited to 'THANKS')
-rw-r--r-- | THANKS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -9,6 +9,7 @@ Florian La Roche <florian@knorke.saar.de> Franc,ois Pinard <pinard@IRO.UMontreal.CA> Grant McDorman <grant@isgtec.com> Harald Hanche-Olsen <hanche@math.ntnu.no> +Jeff Bailey <jbailey@nisa.net> Jim Hand <jhand@austx.tandem.com> Jim Meyering <meyering@asic.sc.ti.com> Jochen Hein <jochen.hein@delphi.central.de> |