summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebdir/refsort.ch
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2021-05-03 13:03:46 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2021-05-03 13:03:46 +0000
commit60712e2174bfaa66828692206c37af9b20d9fc9a (patch)
tree3e9284ecd37b56a42a67118bb5aa94482e07112b /Build/source/texk/web2c/cwebdir/refsort.ch
parentd3de05fb9dda5d710a51f3ad2097d67d8452a166 (diff)
[CWEB] New release 4.3.1.
This release is almost the same as CWEB 4.3 of 2021-04-16, but * it fixes the indexing bug in CWEAVE/CTWILL that got retracted * it extracts and collects all additions made in CTWILL, so that the section numbers of CWEAVE are retained up to ยง272 and new material is described in the (first) appendix, including the CTWILL user manual * it provides fully revised and (hopefully) corrected mini-indexes for CTWILL, if it is processed by itself (to be published in package 'knuth-pdf' on CTAN) git-svn-id: svn://tug.org/texlive/trunk@59061 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/refsort.ch')
-rw-r--r--Build/source/texk/web2c/cwebdir/refsort.ch44
1 files changed, 44 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/cwebdir/refsort.ch b/Build/source/texk/web2c/cwebdir/refsort.ch
new file mode 100644
index 00000000000..79a8867b84c
--- /dev/null
+++ b/Build/source/texk/web2c/cwebdir/refsort.ch
@@ -0,0 +1,44 @@
+Changes for the REFSORT utility from the CTWILL tarball.
+
+This minimal set of changes tries to satisfy the GCC compiler.
+
+This file is not copyrighted and can be used freely.
+
+@x
+\datethis
+@y
+\datethis
+\let\maybe=\iffalse % print only sections that change
+@z
+
+@x standard C library interface
+#include "stdio.h"
+#include "strings.h"
+#include "ctype.h"
+@y
+#include <stdio.h>
+#include <string.h>
+#include <ctype.h>
+@z
+
+@x declare return type
+main()
+@y
+int main()
+@z
+
+@x variable not used
+{ register int k;
+@y
+{
+@z
+
+@x add 'Index.' section
+ for (;*p;p++) *q++=*p;
+}
+@y
+ for (;*p;p++) *q++=*p;
+}
+
+@* Index.
+@z