summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebdir/twinx.ch
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/twinx.ch')
-rw-r--r--Build/source/texk/web2c/cwebdir/twinx.ch4
1 files changed, 3 insertions, 1 deletions
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