bug-gnulib
[Top][All Lists]
Advanced

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

[Bug-gnulib] Re: setenv/unsetenv


From: Simon Josefsson
Subject: [Bug-gnulib] Re: setenv/unsetenv
Date: Fri, 29 Oct 2004 14:50:01 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Simon Josefsson wrote:
>> Aren't setenv and unsetenv POSIX?
>>
>> Perhaps "setenv" should be moved from "Extra functions based on ANSI C
>> 89" to "Support for systems lacking POSIX:2001" in MODULES.html.sh,
>> though.
>
> Perhaps. I put them under "Extra functions based on ANSI C 89" because
> getenv() is ANSI C, and the replacement of setenv() and unsetenv() doesn't
> need anything from POSIX.

I thought the meaning of "Support for systems lacking POSIX:2001" was
to implement replacements for POSIX functions.

However, I'd agree that it would be complicated to handle
re-implementations of an POSIX function that use other POSIX
functions.  There probably shouldn't be a hard "Depends-on", because
the application developer probably should decide which POSIX feature
could be assume or not.  But if there is no Depends-on, a developer
might accidentally forget to add another POSIX function
re-implementation that may be needed.

I might have misunderstood the meaning of the various MODULES.sh.in
headings, though.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]