This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/5] Cygwin: Allow the environment pointer to be NULL


On Jun  4 16:35, Ken Brown wrote:
> On 6/4/2018 3:36 PM, Ken Brown wrote:
> > Following glibc, interpret this as meaning the environment is empty.
> 
> Sorry, please hold off on reviewing this patch.  I just noticed that I
> missed at least one place (build_env()) where environ==NULL could cause a
> crash.  I need to fix this and try to make sure there are no others.

Headsup in terms of the differences betwen 32 and 64 bit.  Note the
(historical and oh so ugly) usage of cur_environ().


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]