A space cannot be a header string seperator it appears given the SUSv3

description of ps(1), which uses them.  I question whether newline and tab
can be either, but I'm not touching them.  Yet.
This commit is contained in:
jmallett 2002-06-05 02:01:46 +00:00
parent d6bbfbe40b
commit 399bb45a09

View File

@ -233,7 +233,7 @@ parsefmt(const char *p)
static struct varent *vtail;
char *tempstr, *tempstr1;
#define FMTSEP " \t,\n"
#define FMTSEP "\t,\n"
tempstr1 = tempstr = strdup(p);
while (tempstr && *tempstr) {
char *cp;