[tex-live] Location of recorder file

Akira Kakuto kakuto at fuk.kindai.ac.jp
Sun May 8 03:27:57 CEST 2011


Hi Karl, Taco,

> 1) Seems like that is a general problem that should be fixed.  It
>    shouldn't be "garbage".

I found that all is ok by the following changes for LuaTeX.
I assume openclose.c in the present TeX Live repository.

Thanks,
Akira


--- luainit.w.orig	Thu May 05 23:59:18 2011
+++ luainit.w	Sun May 08 10:18:18 2011
@@ -741,6 +741,7 @@
     ptexbanner = banner;
 
     kpse_invocation_name = cleaned_invocation_name(argv[0]);
+    kpse_program_name = kpse_invocation_name;
 
     /* be 'luac' */
     if (argc > 1 &&

--- texfileio.w.orig	Thu May 05 23:59:18 2011
+++ texfileio.w	Sun May 08 10:18:56 2011
@@ -785,13 +785,7 @@
 unsigned char *texmf_log_name;  /* full name of the log file */
 
 static void set_recorder_filename(char *filename) {
-    if (output_directory) {
-        filename = concat3(output_directory, DIR_SEP_STRING, filename);
-        recorder_change_filename(filename);
-        free(filename);
-    } else {
-        recorder_change_filename(filename);
-    }
+     recorder_change_filename(filename);
 }
 
 



More information about the tex-live mailing list