Fields should be separated by <blank>s, not <space>s according to P1003.2.

This commit is contained in:
Tim J. Robbins 2002-05-29 23:55:44 +00:00
parent fc63032590
commit a9986a105a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97528

View File

@ -200,7 +200,7 @@ skip(str)
register int infield, nchars, nfields;
for (nfields = numfields, infield = 0; nfields && *str; ++str)
if (isspace((unsigned char)*str)) {
if (isblank((unsigned char)*str)) {
if (infield) {
infield = 0;
--nfields;