summaryrefslogtreecommitdiff
path: root/web/web2w/common.patch
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /web/web2w/common.patch
Initial commit
Diffstat (limited to 'web/web2w/common.patch')
-rw-r--r--web/web2w/common.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/web/web2w/common.patch b/web/web2w/common.patch
new file mode 100644
index 0000000000..c148879feb
--- /dev/null
+++ b/web/web2w/common.patch
@@ -0,0 +1,51 @@
+This file is part of web2w.
+Copyright 2017 Martin Ruckert
+
+web2w is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+web2w is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with web2w. If not, see <http://www.gnu.org/licenses/>.
+
+Martin Ruckert, Hochschule Muenchen, Lothstrasse 64, 80336 Muenchen
+--- /home/ruckert/hint/web2w/cweb/cweb/common.w 2002-02-01 00:00:00.000000000 +0100
++++ /home/ruckert/hint/web2w/cweb/common.w 2017-07-29 12:02:35.580013918 +0200
+@@ -150,8 +150,8 @@
+ some of \.{CWEB}'s routines use the fact that it is safe to refer to
+ |*(limit+2)| without overstepping the bounds of the array.
+
+-@d buf_size 100 /* for \.{CWEAVE} and \.{CTANGLE} */
+-@d longest_name 1000
++@d buf_size 5000 /* for \.{CWEAVE} and \.{CTANGLE} */
++@d longest_name 10000
+ @d long_buf_size (buf_size+longest_name) /* for \.{CWEAVE} */
+ @d xisspace(c) (isspace(c)&&((unsigned char)c<0200))
+ @d xisupper(c) (isupper(c)&&((unsigned char)c<0200))
+@@ -412,7 +412,7 @@
+ the |cur_file| has changed, we tell \.{CTANGLE} to print this
+ information in the \CEE/ file by means of the |print_where| flag.
+
+-@d max_sections 2000 /* number of identifiers, strings, section names;
++@d max_sections 5000 /* number of identifiers, strings, section names;
+ must be less than 10240 */
+
+ @<Defin...@>=
+@@ -586,9 +586,9 @@
+ the |byte_mem| array (the address where the name begins) and other data.
+ A |name_pointer| variable is a pointer into |name_dir|.
+
+-@d max_bytes 90000 /* the number of bytes in identifiers,
++@d max_bytes 150000 /* the number of bytes in identifiers,
+ index entries, and section names; must be less than $2^{24}$ */
+-@d max_names 4000 /* number of identifiers, strings, section names;
++@d max_names 6000 /* number of identifiers, strings, section names;
+ must be less than 10240 */
+
+ @<Definitions that...@>=