summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebdir/cwebmac.tex
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2023-08-19 14:51:23 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2023-08-19 14:51:23 +0000
commit0ce1d8e2ba8650b5135dc4ef2c70d9e1396f15f6 (patch)
treeb8284e420274cf570d1a799098cb3c134aef2e6a /Build/source/texk/web2c/cwebdir/cwebmac.tex
parent225a7da1c796b37a57d81aa3bd82a716ec99074e (diff)
[CWEB] New release 4.10.
This is a major update for CWEB 4.9 from May 2023. The base package received fixes, internal changes, and significant revisions: Fixes: * Fix issue #43: 'out_buf' overflow on malign user input - Handle border case from bug report - Discard rest of input lines exceeding 'buf_size' characters - Purge 'ungetc' from the TeX part as well * Fix typo in 'examples/wordtest.w' (reported by DEK) * 'Ilk' is of type 'eight_bits' * Avoid over-/underflow of section depth with malicious user input Internal changes: * Unroll 'init_p' helper function in COMMON - it is used for CWEAVE only (and CTWILL downstream) * Match 'common.w' and 'common.h' - Reshuffle declarations and some code sections - Add starred section titles * Demote all starred sections in 'common.w' (single star) * Code cleanup - Make 'pop_level' a simple macro in CWEAVE - Use structure assignment (as in CTANGLE) - More compact 'stack' handling - Make use of type 'mode' - Purge a few 'goto' statements (and add some others) - Replace some 'sprintf' with 'snprintf' - Syntactic sugar for functional macros - Straighten 'byte_start' arithmetic - Desolve former section 19 of CWEAVE with internal array sizes - Hide 'print_text' analytics function from C compiler with DEBUG - Streamline 'phase_two' of CTANGLE - Refurbish 'phase_three' of CWEAVE * Insert blank line after '\ch' in TeX output (cf. CWEB 3.0) Macro changes * Cleanup some '\acro' macros in 'cwebmac.tex' Also the CWEBbin package received updates and amendments: Preparation: * Fix a bug in 'twinxmac.tex' (3rd patch file applied in 'cwebbin.spec') * Apply a 5th patch file to adapt CTWILL macros to CWEB 4.9/4.10 Special formatting: * Format 'common.w' with CTWILL using 'comm-mini.ch' * Format 'ctwill.w' with HiTeX using 'proofmac.tex' and 'ctwill-hint.ch' * New 'pdfproofmac.tex' for use with HiTeX and pdfTeX and XeTeX - pdfctwimac.tex will no longer work with HiTeX * Add 'proofsort' script in addition to 'refsort' program * Minor improvements in all pdf macros TeX Live: * CTWILL in TeX Live uses 'kpse_find_file' to look up 'bux' files * Slightly extend arrays in 'ctwill' and 'refsort' for TeX Live * Max out 'max_refs' for CWEAVE/CTWILL * Add 'ctwill.test' for TeX Live Revise formatted sources: * e.g., 'twinx' * 'ctwill' in all its incarnations git-svn-id: svn://tug.org/texlive/trunk@67978 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/cwebmac.tex')
-rw-r--r--Build/source/texk/web2c/cwebdir/cwebmac.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/cwebdir/cwebmac.tex b/Build/source/texk/web2c/cwebdir/cwebmac.tex
index b4a397c2370..382400a3f7f 100644
--- a/Build/source/texk/web2c/cwebdir/cwebmac.tex
+++ b/Build/source/texk/web2c/cwebdir/cwebmac.tex
@@ -1,8 +1,8 @@
% standard macros for CWEB listings (in addition to plain.tex)
-% Version 4.9 --- May 2023
+% Version 4.10 --- August 2023
\ifx\renewenvironment\undefined\else\endinput\fi % LaTeX will use other macros
-\xdef\fmtversion{\fmtversion+CWEB4.9}
-\chardef\cwebversion=4 \chardef\cwebrevision=9
+\xdef\fmtversion{\fmtversion+CWEB4.10}
+\chardef\cwebversion=4 \chardef\cwebrevision=10
\input iftex.sty % TeX engine tests
\ifx\pdf+\pdftrue\fi % for plain TeX in combination with dvipdfm
% Uncomment the following line if you want PDF goodies to be the default