]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r280919: wordexp: Explicitly pass along IFS.
authorjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 19 Apr 2015 13:51:25 +0000 (13:51 +0000)
committerjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 19 Apr 2015 13:51:25 +0000 (13:51 +0000)
commitb3116f34aaa1c339a565db922c1bfc914c756ef6
treed5d20584c4665b8e63816a96cc1449b6d3ade575
parent9da7d3e1a3877a80df4cbf4e0fd29ffe08763ccc
MFC r280919: wordexp: Explicitly pass along IFS.

Per Austin group issue #884, sh should not import IFS from the environment
but always set it to $' \t\n'. For wordexp(), however, it is documented and
useful for it to use IFS from the environment.

Since sh currently imports IFS from the environment, this change has no
functional effect.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281743 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/gen/wordexp.c