summaryrefslogtreecommitdiff
path: root/THANKS
diff options
context:
space:
mode:
authorAlain Magloire <alainm@rcsm.ee.mcgill.ca>2001-07-29 19:32:15 +0000
committerAlain Magloire <alainm@rcsm.ee.mcgill.ca>2001-07-29 19:32:15 +0000
commit418c7f7900a794eb647c9cb69d496757f9723fca (patch)
treeaf99702b9c07bdb8e39b47d25dc81d0c5f40edad /THANKS
parentf81b20eb931851b5cac82cbf4fe7abea0a2c7ec1 (diff)
downloadgrep-418c7f7900a794eb647c9cb69d496757f9723fca.tar.gz
* grep/src/grep.c (usage): Typos corrected.
Patches from Santiago Vila. 2001-07-29 Alain Magloire David Clissold, wrote: a small bug in the GNU grep 2.4.2, which may have gone unnoticed because it only causes a failure if building on a system with large files enabled (e.g. an "off_t" is a "long long" rather than a "long"). savedir() takes on off_t argument, but in grepdir() the parameter is cast to an (unsigned). Well, if an off_t is larger than an int, the value gets truncated. This would not normally have an effect on a little-endian platform (unless the file is >2GB), but on a big-endian system it will always fail. The external effect is that "grep -r foo dir_name" fails with ENOMEM (from malloc() within savedir()). * grep/src/grep.c (grepdir): Remove the (unsigned) cast when calling savedir(). * grep/src/grep.c (usage): Typos corrected. Patches from Santiago Vila. David Clissold, wrote: a small bug in the GNU grep 2.4.2, which may have gone unnoticed because it only causes a failure if building on a system with large files enabled (e.g. an "off_t" is a "long long" rather than a "long"). savedir() takes on off_t argument, but in grepdir() the parameter is cast to an (unsigned). Well, if an off_t is larger than an int, the value gets truncated. This would not normally have an effect on a little-endian platform (unless the file is >2GB), but on a big-endian system it will always fail. The external effect is that "grep -r foo dir_name" fails with ENOMEM (from malloc() within savedir()). * grep/src/grep.c (grepdir): Remove the (unsigned) cast when calling savedir(). * grep/doc/grep.texi: In Bugs report use {n,m} for consistency. * grep/doc/grep.1: Likewised. Noted by Steven Lucy.
Diffstat (limited to 'THANKS')
-rw-r--r--THANKS2
1 files changed, 2 insertions, 0 deletions
diff --git a/THANKS b/THANKS
index ee676e3c..624aa567 100644
--- a/THANKS
+++ b/THANKS
@@ -10,6 +10,7 @@ Bob Proulx <rwp@hprwp.fc.hp.com>
Brian Youmans <3diff@gnu.org>
Bruno Haible <haible@ilog.fr>
Christian Groessler <cpg@aladdin.de>
+David Clissold <cliss@austin.ibm.com>
David J MacKenzie <djm@catapult.va.pubnix.com>
David O'Brien <obrien@freebsd.org>
Eli Zaretskii <eliz@is.elta.co.il>
@@ -51,6 +52,7 @@ Philippe De Muyter <phdm@info.ucl.ac.be>
Philip Hazel <ph10@cus.cam.ac.uk>
Roland Roberts <rroberts@muller.com>
Ruslan Ermilov <ru@freebsd.org>
+Santiago Vila <sanvila@unex.es>
Shannon Hill <hill@synnet.com>
Sotiris Vassilopoulos <Sotiris.Vassilopoulos@betatech.gr>
Stewart Levin <stew@sep.stanford.edu>