summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-03-30 09:10:20 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-03-30 09:10:20 +0000
commit7482d13398fc0a4bd4d29417da061e8705f78207 (patch)
tree8c36680fe37b7c5bfffa9171a5eff17225c190aa
parent66ec556ae9f12a81b29f3bf33dfb4c2aa4a78791 (diff)
bug fix from Akira
git-svn-id: svn://tug.org/texlive/trunk@17624 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/lib/ChangeLog5
-rw-r--r--Build/source/texk/web2c/lib/openclose.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog
index afa92ae30b3..f7cb3ca6936 100644
--- a/Build/source/texk/web2c/lib/ChangeLog
+++ b/Build/source/texk/web2c/lib/ChangeLog
@@ -1,3 +1,8 @@
+2010-03-30 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * openclose.c (open_input): Fixed a typo.
+ From Akira Kakuto <kakuto@fuk.kindai.ac.jp>, 30 Mar 2010 12:33:33.
+
2010-03-30 Karl Berry <karl@tug.org>
* (recorder_start): throw in pid in recorder_name so parallel builds
diff --git a/Build/source/texk/web2c/lib/openclose.c b/Build/source/texk/web2c/lib/openclose.c
index 4ca22d71294..1d21476b2b1 100644
--- a/Build/source/texk/web2c/lib/openclose.c
+++ b/Build/source/texk/web2c/lib/openclose.c
@@ -133,7 +133,7 @@ open_input (FILE **f_ptr, int filefmt, const_string fopen_mode)
absolute. This is because .aux and other such files will get
written to the output directory, and we have to be able to read
them from there. We only look for the name as-is. */
- if (output_directory && kpse_absolute_p (nameoffile+1, false)) {
+ if (output_directory && !kpse_absolute_p (nameoffile+1, false)) {
fname = concat3 (output_directory, DIR_SEP_STRING, nameoffile + 1);
*f_ptr = fopen (fname, fopen_mode);
if (*f_ptr) {