summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebdir
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2020-06-10 13:25:41 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2020-06-10 13:25:41 +0000
commit10ea2d43b2a54d06a93f949af0753391c6d9f275 (patch)
treee2645590feb2f12ea2f5eaa21f3e46d8c4ce1adf /Build/source/texk/web2c/cwebdir
parentfd519fa375def3b2453210f5bc55f7542ed3d7a6 (diff)
[CWEB] Add short comments to new material.
git-svn-id: svn://tug.org/texlive/trunk@55505 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir')
-rw-r--r--Build/source/texk/web2c/cwebdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/cwebdir/ctang-w2c.ch12
2 files changed, 13 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog
index afad20247c0..c8c84f501be 100644
--- a/Build/source/texk/web2c/cwebdir/ChangeLog
+++ b/Build/source/texk/web2c/cwebdir/ChangeLog
@@ -1,5 +1,9 @@
2020-06-10 Andreas Scherer <https://ascherer.github.io>
+ * ctang-w2c.ch: Add short comments to new material.
+
+2020-06-10 Andreas Scherer <https://ascherer.github.io>
+
* texinputs/p+cwebmac.tex: Switch on PDF creation with 'cweave -lp+'
followed by 'tex'+'dvipdfm' or 'xetex' on your CWEB source.
diff --git a/Build/source/texk/web2c/cwebdir/ctang-w2c.ch b/Build/source/texk/web2c/cwebdir/ctang-w2c.ch
index d3027f5bd04..44b10f99ce4 100644
--- a/Build/source/texk/web2c/cwebdir/ctang-w2c.ch
+++ b/Build/source/texk/web2c/cwebdir/ctang-w2c.ch
@@ -856,7 +856,9 @@ else {
rename(check_file_name,output_file_name);
}
-@ @<Redirect temporary output to \.{/dev/stdout}@>={
+@ Copy secondary output to |stdout|.
+
+@<Redirect temporary output to \.{/dev/stdout}@>={
@<Setup system redirection@>@;
do {
in_size = fread(in_buf,1,BUFSIZ,check_file);
@@ -867,7 +869,9 @@ else {
@<Create the secondary output...@>@;
}
-@ @<Redirect temporary output to \.{/dev/stderr}@>={
+@ Copy secondary output to |stderr|.
+
+@<Redirect temporary output to \.{/dev/stderr}@>={
@<Setup system redirection@>@;
do {
in_size = fread(in_buf,1,BUFSIZ,check_file);
@@ -878,7 +882,9 @@ else {
@<Create the secondary output...@>@;
}
-@ @<Redirect temporary output to \.{/dev/null}@>={
+@ No copying necessary, just remove the temporary output file.
+
+@<Redirect temporary output to \.{/dev/null}@>={
int comparison=true;
@<Create the secondary output...@>@;
}