[PATCH 0/5] Implement clearenv

Yaakov Selkowitz yselkowitz@cygwin.com
Mon Jun 4 23:16:00 GMT 2018

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 _DEFAULT_SOURCE is
>     defined, so maybe the guard should be relaxed if our goal is to
>     emulate Linux.



More information about the Cygwin-patches mailing list