blob: 5899a21e0fb9b61a19e7db58d82c46ffaca7235a (
plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
|
$NetBSD: patch-ad,v 1.4 2003/11/11 10:42:32 wiz Exp $
--- fep_defs.h.orig Mon May 10 07:23:33 1993
+++ fep_defs.h
@@ -6,5 +6,5 @@
#endif lint
-#define MAXCOMLEN 512 /* maximum command length */
+#define MAXCMDLEN 512 /* maximum command length */
#define MAXARGS 64 /* maximum number of arguments */
#define ON 1 /* on switch */
@@ -32,9 +32,9 @@
# define iswordchar(c) (c && (iskanji(c) || isalnum(c) || iscntrl(c)))
# define isWordchar(c) ((c) && !isspace((c)))
-#else KANJI
+#else /* KANJI */
# define isctlchar(c) (c && (!(c&0140) || c=='\177'))
# define iswordchar(c) (isalnum(c) || iscntrl(c))
# define isWordchar(c) ((c) && !isspace((c)))
-#endif KANJI
+#endif /* KANJI */
#define unctl(c) (((c)=='\177') ? '?' : ((c) >= 040) ? (c) : (c)|0100)
#define toctrl(c) ((c)&~0100)
@@ -54,8 +54,8 @@
# define CHAR unsigned char
# define CHARMASK 0377
-#else KANJI
+#else /* KANJI */
# define CHAR char
# define CHARMASK 0177
-#endif KANJI
+#endif /* KANJI */
/*
@@ -64,5 +64,5 @@
#ifdef vax
# define ALLOCA
-#endif vax
+#endif /* vax */
/*
|