Displaying 1 result from an estimated 1 matches for "whitespace_eq".
2000 Feb 04
0
Patch that allows equal sign in options
...88 3814
=============================================================================
--- readconf.c.orig Mon Dec 6 01:47:29 1999
+++ readconf.c Thu Feb 3 22:37:54 2000
@@ -156,6 +156,7 @@
/* Characters considered whitespace in strtok calls. */
#define WHITESPACE " \t\r\n"
+#define WHITESPACE_EQ " \t\r\n="
/*
@@ -237,7 +238,7 @@
return 0;
/* Get the keyword. (Each line is supposed to begin with a keyword). */
- cp = strtok(cp, WHITESPACE);
+ cp = strtok(cp, WHITESPACE_EQ);
opcode = parse_token(cp, filename, linenum);
switch (opcode) {
@@ -248,7 +249,7 @@
case...