texlive[71824] Build/source/texk/web2c/cwebdir: [CWEB] Compile with
commits+ascherer at tug.org
commits+ascherer at tug.org
Wed Jul 17 09:59:57 CEST 2024
Revision: 71824
https://tug.org/svn/texlive?view=revision&revision=71824
Author: ascherer
Date: 2024-07-17 09:59:57 +0200 (Wed, 17 Jul 2024)
Log Message:
-----------
[CWEB] Compile with G++-14 (locally).
Avoid a "stringop truncation" warning with 'strncpy()'.
Modified Paths:
--------------
trunk/Build/source/texk/web2c/cwebdir/ChangeLog
trunk/Build/source/texk/web2c/cwebdir/twinx.ch
Modified: trunk/Build/source/texk/web2c/cwebdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ChangeLog 2024-07-16 23:42:04 UTC (rev 71823)
+++ trunk/Build/source/texk/web2c/cwebdir/ChangeLog 2024-07-17 07:59:57 UTC (rev 71824)
@@ -1,3 +1,7 @@
+2024-07-17 Andreas Scherer <https://ascherer.github.io>
+
+ * twinx.ch: Compile CWEB with G++-14.
+
2024-07-15 Andreas Scherer <https://ascherer.github.io>
* texinputs/pdfwebtocfront.tex: Release file resource early.
Modified: trunk/Build/source/texk/web2c/cwebdir/twinx.ch
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/twinx.ch 2024-07-16 23:42:04 UTC (rev 71823)
+++ trunk/Build/source/texk/web2c/cwebdir/twinx.ch 2024-07-17 07:59:57 UTC (rev 71824)
@@ -42,10 +42,12 @@
if((f=fopen(*++argv,"r"))==NULL)
@z
- at x l.28
+ at x l.27
+ strncpy(*argv+strlen(*argv)-3,"idx",3);
f=fopen(*argv,"r");
if (!f)
@y
+ memcpy(*argv+strlen(*argv)-3,"idx",3);
if((f=fopen(*argv,"r"))==NULL)
@z
More information about the tex-live-commits
mailing list.