texlive[55505] Build/source/texk/web2c: [CWEB] Add short comments to

commits+ascherer at tug.org commits+ascherer at tug.org
Wed Jun 10 15:25:41 CEST 2020


Revision: 55505
          http://tug.org/svn/texlive?view=revision&revision=55505
Author:   ascherer
Date:     2020-06-10 15:25:41 +0200 (Wed, 10 Jun 2020)
Log Message:
-----------
[CWEB] Add short comments to new material.

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/ctangleboot.cin
    trunk/Build/source/texk/web2c/cwebdir/ChangeLog
    trunk/Build/source/texk/web2c/cwebdir/ctang-w2c.ch

Modified: trunk/Build/source/texk/web2c/ctangleboot.cin
===================================================================
--- trunk/Build/source/texk/web2c/ctangleboot.cin	2020-06-10 13:11:08 UTC (rev 55504)
+++ trunk/Build/source/texk/web2c/ctangleboot.cin	2020-06-10 13:25:41 UTC (rev 55505)
@@ -290,7 +290,7 @@
 #line 128 "cwebdir/ctangle.w"
 
 /*:15*//*108:*/
-#line 899 "cwebdir/ctang-w2c.ch"
+#line 905 "cwebdir/ctang-w2c.ch"
 
 extern char cb_banner[];
 
@@ -525,7 +525,7 @@
 section_text[0]= ' ';
 
 /*:71*//*109:*/
-#line 902 "cwebdir/ctang-w2c.ch"
+#line 908 "cwebdir/ctang-w2c.ch"
 
 strncpy(cb_banner,banner,max_banner-1);
 
@@ -832,10 +832,10 @@
 
 if(0==strcmp("/dev/stdout",output_file_name))
 /*104:*/
-#line 859 "cwebdir/ctang-w2c.ch"
+#line 861 "cwebdir/ctang-w2c.ch"
 {
 /*107:*/
-#line 886 "cwebdir/ctang-w2c.ch"
+#line 892 "cwebdir/ctang-w2c.ch"
 
 char in_buf[BUFSIZ+1];
 int in_size,comparison= true;
@@ -844,7 +844,7 @@
 
 
 /*:107*/
-#line 860 "cwebdir/ctang-w2c.ch"
+#line 862 "cwebdir/ctang-w2c.ch"
 
 do{
 in_size= fread(in_buf,1,BUFSIZ,check_file);
@@ -863,7 +863,7 @@
 }
 
 /*:103*/
-#line 867 "cwebdir/ctang-w2c.ch"
+#line 869 "cwebdir/ctang-w2c.ch"
 
 }
 
@@ -872,10 +872,10 @@
 
 else if(0==strcmp("/dev/stderr",output_file_name))
 /*105:*/
-#line 870 "cwebdir/ctang-w2c.ch"
+#line 874 "cwebdir/ctang-w2c.ch"
 {
 /*107:*/
-#line 886 "cwebdir/ctang-w2c.ch"
+#line 892 "cwebdir/ctang-w2c.ch"
 
 char in_buf[BUFSIZ+1];
 int in_size,comparison= true;
@@ -884,7 +884,7 @@
 
 
 /*:107*/
-#line 871 "cwebdir/ctang-w2c.ch"
+#line 875 "cwebdir/ctang-w2c.ch"
 
 do{
 in_size= fread(in_buf,1,BUFSIZ,check_file);
@@ -903,7 +903,7 @@
 }
 
 /*:103*/
-#line 878 "cwebdir/ctang-w2c.ch"
+#line 882 "cwebdir/ctang-w2c.ch"
 
 }
 
@@ -912,7 +912,7 @@
 
 else if(0==strcmp("/dev/null",output_file_name))
 /*106:*/
-#line 881 "cwebdir/ctang-w2c.ch"
+#line 887 "cwebdir/ctang-w2c.ch"
 {
 int comparison= true;
 /*103:*/
@@ -926,7 +926,7 @@
 }
 
 /*:103*/
-#line 883 "cwebdir/ctang-w2c.ch"
+#line 889 "cwebdir/ctang-w2c.ch"
 
 }
 

Modified: trunk/Build/source/texk/web2c/cwebdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ChangeLog	2020-06-10 13:11:08 UTC (rev 55504)
+++ trunk/Build/source/texk/web2c/cwebdir/ChangeLog	2020-06-10 13:25:41 UTC (rev 55505)
@@ -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.
 

Modified: trunk/Build/source/texk/web2c/cwebdir/ctang-w2c.ch
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ctang-w2c.ch	2020-06-10 13:11:08 UTC (rev 55504)
+++ trunk/Build/source/texk/web2c/cwebdir/ctang-w2c.ch	2020-06-10 13:25:41 UTC (rev 55505)
@@ -856,7 +856,9 @@
   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 @@
   @<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 @@
   @<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...@>@;
 }



More information about the tex-live-commits mailing list.