diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-30 23:52:49 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-30 23:52:49 (GMT) |
commit | ef974fb08972483d6852c9d5b2f23e1d33343b76 (patch) | |
tree | fa5aad1563681bf14a0fed3cdf8f599f7e8e853c /abs/core/grep/14-mem-exhausted.patch | |
parent | ba6da4b6e7eab74dd3dcac947a11361b1b9f1eed (diff) | |
download | linhes_pkgbuild-ef974fb08972483d6852c9d5b2f23e1d33343b76.zip linhes_pkgbuild-ef974fb08972483d6852c9d5b2f23e1d33343b76.tar.gz linhes_pkgbuild-ef974fb08972483d6852c9d5b2f23e1d33343b76.tar.bz2 |
Housekeeping
Diffstat (limited to 'abs/core/grep/14-mem-exhausted.patch')
-rw-r--r-- | abs/core/grep/14-mem-exhausted.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/abs/core/grep/14-mem-exhausted.patch b/abs/core/grep/14-mem-exhausted.patch deleted file mode 100644 index d6a996d..0000000 --- a/abs/core/grep/14-mem-exhausted.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- grep-2.5.1a/src/grep.c.mem-exhausted 2006-11-22 14:49:35.000000000 +0000 -+++ grep-2.5.1a/src/grep.c 2006-11-22 14:53:12.000000000 +0000 -@@ -299,6 +299,12 @@ - int cc = 1; - char *readbuf; - size_t readsize; -+ const size_t max_save = 200 * 1024 * 1024; -+ -+ /* Limit the amount of saved data to 200Mb so we don't fail on -+ * large files. */ -+ if (save > max_save) -+ save = max_save; - - /* Offset from start of buffer to start of old stuff - that we want to save. */ |