[issue1337] HEAD can't build 2.2-RELEASE
Stathis Kamperis (via DragonFly issue tracker)
sinknull at crater.dragonflybsd.org
Wed Apr 15 11:20:43 PDT 2009
Stathis Kamperis <ekamperi at gmail.com> added the comment:
:Well, it seems that old setenv(3) just skipped all "=" in the "name". That said,
:it was actually possible to call env with foo=bar=lala=123 and a variable named
:"foo=bar=lala" would be created and assigned a value of "123".
Just checked on leaf (running 2.1.1) and it seems that it's slightly more
complicated:
-bash-3.2$ env foo=bar=lala=123 printenv foo=bar=lala
123
-bash-3.2$ env foo=bar=lala=123 printenv foo=bar
lala=123
-bash-3.2$ env foo=bar=lala=123 printenv foo
bar=lala=123
-bash-3.2$
(three variables created, not just one)
Bottom line is that old env/old setenv was playing together nicely (although
allowed insane results to be produced under certain circumstances), whereas old
env/new setenv don't any more. What remains to be seen is whether new env/old
setenv is an accepted combination.
Anyway, I'll keep you up to date with any results from my tests.
Cheers, Stathis
_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1337>
_____________________________________________________
More information about the Bugs
mailing list