mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 08:22:27 +01:00
Fields should be separated by <blank>s, not <space>s according to P1003.2.
This commit is contained in:
parent
fc63032590
commit
a9986a105a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97528
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user