1999-06-12 20:49:20 +00:00
|
|
|
--- we_fl_unix.c.orig Fri May 7 22:34:29 1999
|
|
|
|
+++ we_fl_unix.c Fri May 7 22:38:00 1999
|
1998-05-09 18:52:44 +00:00
|
|
|
@@ -14,6 +14,10 @@
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <errno.h>
|
|
|
|
|
|
|
|
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
|
|
|
|
+#include <sys/param.h>
|
|
|
|
+#endif
|
|
|
|
+
|
1999-06-12 20:49:20 +00:00
|
|
|
struct dirfile *e_make_win_list(FENSTER * f);
|
|
|
|
extern char *e_tmp_dir;
|
|
|
|
extern int (*e_u_system) (char *exe);
|
|
|
|
@@ -3549,7 +3553,13 @@
|
|
|
|
if(getenv("MANPATH"))
|
|
|
|
strcpy(manpath, getenv("MANPATH"));
|
|
|
|
if(manpath[0] == '\0')
|
|
|
|
- strcpy(manpath, "/usr/man:/usr/local/man");
|
|
|
|
+ strcpy(manpath,
|
1998-05-09 18:52:44 +00:00
|
|
|
+#if (defined(BSD) && (BSD >= 199306)) || (defined(sun) && defined(__svr4__))
|
|
|
|
+ "/usr/share/man:/usr/local/man");
|
|
|
|
+#else
|
|
|
|
+ "/usr/man:/usr/local/man");
|
|
|
|
+#endif
|
|
|
|
+
|
1999-06-12 20:49:20 +00:00
|
|
|
while(manpath[i])
|
|
|
|
{
|
|
|
|
for(n = 0; (subpath[n] = manpath[i]) && manpath[i] != PTHD; i++, n++);
|