DragonFly bugs List (threaded) for 2009-04
DragonFly BSD
DragonFly bugs List (threaded) for 2009-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[issue1337] HEAD can't build 2.2-RELEASE


From: "Stathis Kamperis \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Apr 2009 18:20:15 +0000

Stathis Kamperis <ekamperi@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@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1337>
_____________________________________________________



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]