2 Apr
2007
2 Apr
'07
1:08 p.m.
Arthur Reutenauer
[setenv]
Rationale: it is not more portable, because win32 doesn't have it (and Solaris is unknown).
No, Solaris doesn't have it either.
That's the great thing about standards. People can agree on the best thing to do, and then ignore it. Sorry, I just assumed from reading the Posix manpage for that functionality that one could expect setenv but not putenv in general. Maybe there are strict Posix systems without XSI (?) around, in which case one would need to use setenv. Perhaps a case for autoconf? -- David Kastrup