Re: [PATCH 0/5] Implement clearenv

2018-06-05 Thread Corinna Vinschen
Hi Ken, On Jun 4 15:36, Ken Brown wrote: > This is a followup to https://cygwin.com/ml/cygwin/2018-05/msg00334.html. > > In this patch series I attempt to implement the glibc extension > clearenv(). I also implement glibc's notion of environ==NULL being > shorthand for an empty environment. >

Re: [PATCH 0/5] Implement clearenv

2018-06-04 Thread Yaakov Selkowitz
On 2018-06-04 14:36, Ken Brown wrote: 2. I guarded the declaration of clearenv() with __GNU_VISIBLE, but again I'm not sure about this. On the one hand, clearenv() is a GNU extension, so __GNU_VISIBLE would seem to be the right guard. On the other hand, glibc declares clearenv() if _

[PATCH 0/5] Implement clearenv

2018-06-04 Thread Ken Brown
This is a followup to https://cygwin.com/ml/cygwin/2018-05/msg00334.html. In this patch series I attempt to implement the glibc extension clearenv(). I also implement glibc's notion of environ==NULL being shorthand for an empty environment. Two questions: 1. I haven't yet absorbed what SIGFE me