[tex-live] Location of recorder file

Akira Kakuto kakuto at fuk.kindai.ac.jp
Tue May 3 06:49:41 CEST 2011


Hi Karl,

> Seems to me the output_directory should be used regardless, that's why
> it is specified.

Then maybe we have to test the new_name, e.g.

--- openclose.c.orig	Mon May 02 09:51:20 2011
+++ openclose.c	Tue May 03 13:39:53 2011
@@ -84,6 +84,15 @@
 
    /* If an output directory was specified, use it.  */
    if (output_directory) {
+     string p = new_name + strlen (new_name) - 1;
+     while (p >= new_name) {
+       if (IS_DIR_SEP (*p)) {
+         p++;
+         new_name = p;
+         break;
+       }
+       p--;
+     }
      temp = concat3(output_directory, DIR_SEP_STRING, new_name);
      new_name = temp;
    }


Thanks,
Akira



More information about the tex-live mailing list