texlive[59252] Build/source/texk/web2c: add url for @tug.org bug

commits+karl at tug.org commits+karl at tug.org
Tue May 18 18:58:13 CEST 2021


Revision: 59252
          http://tug.org/svn/texlive?view=revision&revision=59252
Author:   karl
Date:     2021-05-18 18:58:12 +0200 (Tue, 18 May 2021)
Log Message:
-----------
add url for @tug.org bug reporting addresses

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/ChangeLog
    trunk/Build/source/texk/web2c/PROJECTS
    trunk/Build/source/texk/web2c/README
    trunk/Build/source/texk/web2c/lib/ChangeLog
    trunk/Build/source/texk/web2c/lib/usage.c

Property Changed:
----------------
    trunk/Build/source/texk/web2c/PROJECTS

Modified: trunk/Build/source/texk/web2c/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/ChangeLog	2021-05-17 23:48:44 UTC (rev 59251)
+++ trunk/Build/source/texk/web2c/ChangeLog	2021-05-18 16:58:12 UTC (rev 59252)
@@ -1,3 +1,8 @@
+2021-05-18  Karl Berry  <karl at freefriends.org>
+
+	* README,
+	* PROJECTS: updates.
+
 2021-05-07  Karl Berry  <karl at freefriends.org>
 
 	* tex.ch (sup_save_size): increase to 30000000

Modified: trunk/Build/source/texk/web2c/PROJECTS
===================================================================
--- trunk/Build/source/texk/web2c/PROJECTS	2021-05-17 23:48:44 UTC (rev 59251)
+++ trunk/Build/source/texk/web2c/PROJECTS	2021-05-18 16:58:12 UTC (rev 59252)
@@ -1,41 +1,28 @@
+$Id$
+This file is public domain.
+
 Here are some things left to do.  If you would like to contribute, send
-mail to me (olaf at infovore.xs4all.nl) first.
+mail to tex-k at tug.org (https://lists.tug.org/tex-k).
 
-* Use binary mode for all files (but do obey end-of-line conventions for
-  the specific platforms.
+* TeX/MF: change prompt from `\n*' (for simpler cut-and-paste).
 
-* Give TeX more options: 
-  output filename:lineno: msg on error
-  change prompt from `\n*' (for simpler cut-and-paste)
-
 * Have bibtex -verbose print full pathnames.
 
-* Make TeX--XeT a configure-time or runtime option?
-
-* Deal with the configure tests that prevent cross-compilation:
-  - Remove use of schar (in dvicopy, mf, pktogf, and tangle).
-  - Learn endianness at runtime, include both Big and LittleEndian
-    versions in code, call appropriate one.
-  - Figure out what to do about the sizeof long test.
-
 * Reallocate memory arrays as needed instead of just allocating once at
   the beginning.
 
-* Possibly use spiff when doing the triptrap comparisons, so acceptable
-  differences can be eliminated.
-  
 * Make web2c handle fields correctly, i.e., to put the field identifier
   in the symbol table of the type, instead of the global symbol table. 
   This would simplify the GFtoDVI change file a fair amount.
 
 * Make web2c handle variant records.  This would make the TeX, Metafont,
-  and GFtoDVI change files all simpler.
+  and GFtoDVI change files simpler.
 
 * Implement overflow checking for adding and subtracting dimensions.
   According to Knuth "a few dozen checks" would be needed (section 104).
   Knuth calls the chances of it occuring unlikely, but unfortunately you
   will get a bad DVI file when it does.  The following source demonstrates
-  the problem.
+  the problem. (Reported many times.)
 %
 \newcount \loopcount
 \newcount \limit
@@ -60,4 +47,3 @@
 \iftrue
 \repeat
 \end
-%


Property changes on: trunk/Build/source/texk/web2c/PROJECTS
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Date Author Id Revision
\ No newline at end of property
Modified: trunk/Build/source/texk/web2c/README
===================================================================
--- trunk/Build/source/texk/web2c/README	2021-05-17 23:48:44 UTC (rev 59251)
+++ trunk/Build/source/texk/web2c/README	2021-05-18 16:58:12 UTC (rev 59252)
@@ -9,9 +9,9 @@
 Web2c no longer exists as a separate distribution.  It is maintained as
 part of TeX Live (http://tug.org/texlive).
 
-See `NEWS' for changes by release, `ChangeLog` for all changes.
-See `INSTALL' for installation instructions.
-See `PROJECTS' for future improvements you might like to work on.
+See `NEWS' for changes by release,
+`ChangeLog` for all changes.
+`PROJECTS' for some old rainy-day ideas.
 
 If present, see *dir/README for more details on each package.
 

Modified: trunk/Build/source/texk/web2c/lib/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/lib/ChangeLog	2021-05-17 23:48:44 UTC (rev 59251)
+++ trunk/Build/source/texk/web2c/lib/ChangeLog	2021-05-18 16:58:12 UTC (rev 59252)
@@ -1,3 +1,8 @@
+2021-05-18  Karl Berry  <karl at freefriends.org>
+
+	* usage.c (usagehelp): if bug_email arg ends in "@tug.org"
+	also output the url for the mailing list.
+
 2021-04-28  Marcel Fabian Krueger  <tex at 2krueger.de>
 	    Hironori KITAGAWA <h_kitagawa2001 at yahoo.co.jp>
 	    Karl Berry <karl at freefriends.org>

Modified: trunk/Build/source/texk/web2c/lib/usage.c
===================================================================
--- trunk/Build/source/texk/web2c/lib/usage.c	2021-05-17 23:48:44 UTC (rev 59251)
+++ trunk/Build/source/texk/web2c/lib/usage.c	2021-05-18 16:58:12 UTC (rev 59252)
@@ -5,8 +5,8 @@
 
 #include <w2c/config.h>
 
-/* Call usage if the program exits with an "usage error".  STR is supposed
-   to be the program name. */
+/* Print a message about trying --help with program name STR and exit
+   with bad status. */
 
 void
 usage (const_string str)
@@ -15,21 +15,39 @@
   uexit (1);
 }
 
-/* Call usage if the program exits by printing the help message.
-   MESSAGE is a NULL-terminated array of strings which make up the
-   help message.  Each string is printed on a separate line.
-   We use arrays instead of a single string to work around compiler
-   limitations (sigh).
-*/
+
+/* Print MESSAGE, a NULL-terminated array of strings which make up the
+   help message, and exit successfully.  Each string is printed on a
+   separate line. We use arrays instead of a single string to work
+   around compiler limitations (sigh). Then print a line about sending
+   bug reports to BUG_EMAIL, which defaults to tex-k at tug.org if passed
+   NULL. If BUG_EMAIL is @tug.org, also output a url to the mailing list. */
+
 void
 usagehelp (const_string *message, const_string bug_email)
 {
-    if (!bug_email)
-        bug_email = "tex-k at tug.org";
+    if (!bug_email) {
+      bug_email = "tex-k at tug.org";
+    }
+    
     while (*message) {
-        printf("%s\n", *message);
-        ++message;
+      printf ("%s\n", *message);
+      ++message;
     }
-    printf("\nEmail bug reports to %s.\n", bug_email);
-    uexit(0);
+
+    printf ("\nEmail bug reports to %s", bug_email);
+    if (strlen (bug_email) > 9) {
+      const_string domain = strchr (bug_email, '@');
+      if (domain && strcmp (domain, "@tug.org") == 0) {
+        const_string ptr;
+        
+        printf (" (https://lists.tug.org/");
+        for (ptr = bug_email; ptr < domain; ptr++) {
+          putchar (*ptr);
+        }
+        printf (")");
+      }
+    }
+    puts (".");
+    uexit (0);
 }



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