summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/lib/openclose.c
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 /Build/source/texk/web2c/lib/openclose.c
parent66ec556ae9f12a81b29f3bf33dfb4c2aa4a78791 (diff)
bug fix from Akira
git-svn-id: svn://tug.org/texlive/trunk@17624 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/lib/openclose.c')
-rw-r--r--Build/source/texk/web2c/lib/openclose.c2
1 files changed, 1 insertions, 1 deletions
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) {