wizkit fix
This commit is contained in:
+2
-3
@@ -1596,7 +1596,8 @@ fopen_wizkit_file()
|
|||||||
char *envp;
|
char *envp;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (wizkit[0]) {
|
if (!wizkit[0]) return (FILE *)0;
|
||||||
|
|
||||||
#ifdef UNIX
|
#ifdef UNIX
|
||||||
if (access(wizkit, 4) == -1) {
|
if (access(wizkit, 4) == -1) {
|
||||||
/* 4 is R_OK on newer systems */
|
/* 4 is R_OK on newer systems */
|
||||||
@@ -1621,7 +1622,6 @@ fopen_wizkit_file()
|
|||||||
wait_synch();
|
wait_synch();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
#if defined(MICRO) || defined(MAC) || defined(__BEOS__) || defined(WIN32)
|
#if defined(MICRO) || defined(MAC) || defined(__BEOS__) || defined(WIN32)
|
||||||
if ((fp = fopenp(fqname(wizkit, CONFIGPREFIX, 0), "r"))
|
if ((fp = fopenp(fqname(wizkit, CONFIGPREFIX, 0), "r"))
|
||||||
@@ -1652,7 +1652,6 @@ fopen_wizkit_file()
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
return (FILE *)0;
|
return (FILE *)0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user