summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-06-25 06:32:15 -0600
committerEric Blake <ebb9@byu.net>2009-06-25 06:34:23 -0600
commitcd172d932ce467b2c592eb9a603962b280aa0570 (patch)
tree88e92c2ffea9b695a859361633a77c9959bd8303
parent5f008b95238b6d655f08cb69a807975ee8f96186 (diff)
downloadm4-cd172d932ce467b2c592eb9a603962b280aa0570.tar.gz
Fix description of limits on diversions.
* doc/m4.texinfo (Diversions): Fix grammar. Be less pessimistic about limitations. * THANKS: Update. Reported by Elias Benali. Signed-off-by: Eric Blake <ebb9@byu.net>
-rw-r--r--ChangeLog8
-rw-r--r--THANKS1
-rw-r--r--doc/m4.texinfo9
3 files changed, 13 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index e6756163..1a8a7c31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-06-25 Eric Blake <ebb9@byu.net>
+
+ Fix description of limits on diversions.
+ * doc/m4.texinfo (Diversions): Fix grammar. Be less pessimistic
+ about limitations.
+ * THANKS: Update.
+ Reported by Elias Benali.
+
2009-06-17 Eric Blake <ebb9@byu.net>
Update to latest gnulib.
diff --git a/THANKS b/THANKS
index 7fc3c63d..949322ad 100644
--- a/THANKS
+++ b/THANKS
@@ -31,6 +31,7 @@ Dan Jacobson jidanni@jidanni.org
David J. MacKenzie djm@uunet.uu.net
David Perlin davep@nanosoft.com
Elbert Pol elbert.pol@gmail.com
+Elias Benali elptr@users.sourceforge.net
Erez Zadok ezk@cs.columbia.edu
Eric Allman eric@cs.berkeley.edu
Eric Backus ericb@lsid.hp.com
diff --git a/doc/m4.texinfo b/doc/m4.texinfo
index 1c5230ab..48aa74ec 100644
--- a/doc/m4.texinfo
+++ b/doc/m4.texinfo
@@ -5090,17 +5090,16 @@ time.
@cindex @env{TMPDIR}
Numbered diversions are counted from 0 upwards, diversion number 0
-being the normal output stream. The number of simultaneous diversions
-is limited mainly by the memory used to describe them, because @acronym{GNU}
+being the normal output stream. @acronym{GNU}
@code{m4} tries to keep diversions in memory. However, there is a
-limit to the overall memory usable by all diversions taken altogether
+limit to the overall memory usable by all diversions taken together
(512K, currently). When this maximum is about to be exceeded,
a temporary file is opened to receive the contents of the biggest
diversion still in memory, freeing this memory for other diversions.
When creating the temporary file, @code{m4} honors the value of the
environment variable @env{TMPDIR}, and falls back to @file{/tmp}.
-So, it is theoretically possible that the number and aggregate size of
-diversions is limited only by available disk space.
+Thus, the amount of available disk space provides the only real limit on
+the number and aggregate size of diversions.
@ignore
@comment We need to test spilled diversions, but don't need to expose