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

2021-01-31 Thread KO Myung-Hun
Hi/2. 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. > This was rejected by the maintainer of kLIBC. See details here:

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

2021-01-22 Thread KO Myung-Hun
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

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

2021-01-19 Thread Bruno Haible
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. Bruno

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

2021-01-18 Thread KO Myung-Hun
On OS/2 kLIBC, the first parameter of putenv () is `const char *string' not `char *string'. * lib/stdlib.in.h: Use _GL_CXXALIAS_SYS_CAST() for putenv(). --- lib/stdlib.in.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index