This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: pexecute.c on cygwin for cross compile


Cygwin does have a working fork().  Whether it should use fork or
spawn is up to the cygwin folks, but it looks like what you propose is
correct.  Still...

1. Your patch is backwards (should be diff old new, not diff new old)
2. Please use "cvs diff -p -c 3"
3. Please include a ChangeLog entry with each patch.

> 254c254
> < #if (defined (_WIN32) || defined(__CYGWIN__)) && ! defined (_UWIN)
> ---
> > #if defined (_WIN32) && ! defined (_UWIN)
> 665c665
> <     && ! ((defined (_WIN32) || defined(__CYGWIN__)) && ! defined (_UWIN))
> ---
> >     && ! (defined (_WIN32) && ! defined (_UWIN))


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