summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/cwebdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/cwebdir/twinx.ch4
2 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog
index 36ad07121cd..319d925c2a0 100644
--- a/Build/source/texk/web2c/cwebdir/ChangeLog
+++ b/Build/source/texk/web2c/cwebdir/ChangeLog
@@ -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.
diff --git a/Build/source/texk/web2c/cwebdir/twinx.ch b/Build/source/texk/web2c/cwebdir/twinx.ch
index 9d2aaa92b67..af524856205 100644
--- a/Build/source/texk/web2c/cwebdir/twinx.ch
+++ b/Build/source/texk/web2c/cwebdir/twinx.ch
@@ -42,10 +42,12 @@ int main(
if((f=fopen(*++argv,"r"))==NULL)
@z
-@x l.28
+@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