mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Fix the behaviour of the read built-in when IFS is unset.
Obtained from: NetBSD
This commit is contained in:
parent
8b1fa08c95
commit
86d8da5d5b
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ readcmd(int argc __unused, char **argv __unused)
|
|||
if (*(ap = argptr) == NULL)
|
||||
error("arg count");
|
||||
if ((ifs = bltinlookup("IFS", 1)) == NULL)
|
||||
ifs = nullstr;
|
||||
ifs = " \t\n";
|
||||
|
||||
if (tv.tv_sec >= 0) {
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue