[Dev-luatex] Rationale for using putenv?

David Kastrup dak at gnu.org
Mon Apr 2 15:08:45 CEST 2007


Arthur Reutenauer <arthur.reutenauer at normalesup.org> writes:

>   [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


More information about the dev-luatex mailing list