1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- menu.c.orig Sun Apr 29 00:54:06 2007
+++ menu.c Sun Apr 29 00:54:30 2007
@@ -9,7 +9,7 @@
#include <errno.h>
#ifndef _UNIX_
#include <process.h>
-#endif _UNIX_
+#endif /* _UNIX_ */
#define PROMPT "FindHier>"
/*
@@ -102,7 +102,7 @@
(void)sprintf(tmpfname,"/tmp/FindHier_%d",getpid());
#else
(void)sprintf(tmpfname,".\\findhier.%3x",getpid() & 0xfff);
-#endif _UNIX_
+#endif /* _UNIX_ */
pager=getenv("PAGER");
if (pager==NULL) {
pager=(char *)myalloc(sizeof("more"),"menu");
@@ -112,7 +112,7 @@
(void)sprintf(pagercmd,"%s %s",pager,tmpfname);
#else
(void)sprintf(pagercmd,"%s < %s",pager,tmpfname);
-#endif _UNIX_
+#endif /* _UNIX_ */
for(;;) {
|