bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH 4/7] stdlib: putenv() needs a cast on OS/2 kLIBC


From: KO Myung-Hun
Subject: Re: [PATCH 4/7] stdlib: putenv() needs a cast on OS/2 kLIBC
Date: Fri, 22 Jan 2021 23:35:50 +0900
User-agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.6esrpre) Gecko/20120715 Firefox/10.0.6esrpre SeaMonkey/2.7.2

Hi/2, Bruno!

Bruno Haible wrote:
> Hi KO,
> 
>> On OS/2 kLIBC, the first parameter of putenv () is `const char *string'
>> not `char *string'.
> 
> Can't you fix that in OS/2 kLIBC? Then a workaround in Gnulib would not be
> needed.
> 

I have no such a right. Instead I'll suggest that to maintainer.
However, I think, it's more proper that Gnulib has a workaround. Because
Gnulib provides such consistent interfaces and functionality.

BTW, do you know the reason why `char *string' not `const char *string'
? I think, `const char *string' is more proper, because putenv() does
not modify the content of `string'.

Thanks as always!

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v6.1.10 on Intel Core i7-3615QM 2.30GHz with 8GB RAM

Korean OS/2 User Community : http://www.os2.kr/




reply via email to

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