diff options
author | Karl Berry <karl@freefriends.org> | 2006-12-07 22:46:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-12-07 22:46:13 +0000 |
commit | 06c5c638859d4cb20fe3201df1fa9ab6f216d4f0 (patch) | |
tree | 269cc6d6c475dc30b51ddf45465197d6620b7e1c /Build/source/texk/dvipsk/search.c | |
parent | 954a067e3613a39197a4b981f5652c8fc3c25502 (diff) |
accumulated fixes from akira
git-svn-id: svn://tug.org/texlive/trunk@2613 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/search.c')
-rw-r--r-- | Build/source/texk/dvipsk/search.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvipsk/search.c b/Build/source/texk/dvipsk/search.c index 94529af6693..1f525db5c65 100644 --- a/Build/source/texk/dvipsk/search.c +++ b/Build/source/texk/dvipsk/search.c @@ -51,7 +51,7 @@ extern char *newstring P1H(char *) ; */ #ifndef SECURE -extern Boolean secure; +extern int secure ; #endif #ifdef DEBUG extern integer debug_flag; @@ -87,7 +87,7 @@ search P3C(kpse_file_format_type, format, char *, file, char *, mode) /* This change suggested by maj@cl.cam.ac.uk to disallow reading of arbitrary files. Further modified by Y. Oiwa. */ #ifndef SECURE - if (secure) { + if (secure == 2) { #endif /* an absolute path is denied */ if (kpse_absolute_p (file, false)) return NULL; |