[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] lib/setenv.c
From: |
Simon Josefsson |
Subject: |
Re: [Bug-gnulib] lib/setenv.c |
Date: |
Fri, 29 Nov 2002 01:30:28 +0100 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu) |
Bruno Haible <address@hidden> writes:
> Thanks for reporting this. But we are not done by taking setenv.c from
> glibc: it does not work on AIX 4.3.3 because this platform has
> setenv() but no unsetenv().
>
> For gettext, I've taken glibc's setenv.c and made a few portability
> fixes. What do you think, can I put this into gnulib? The files are
> attached below.
It looks good. I don't like to depend on alloca() though, but it
seems it is not needed unless USE_TSEARCH is defined. Thanks. (I
have only tested it on Linux and Solaris yet, but will test it on AIX
4.3.2 sooner or later too.)