summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipsk/search.c')
-rw-r--r--Build/source/texk/dvipsk/search.c4
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;