From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Faylor To: gdb@sources.redhat.com Subject: Re: [Mingw-users] Re: _WIN32? Date: Thu, 03 May 2001 15:54:00 -0000 Message-id: <20010503185328.F7456@redhat.com> References: <20010503211502.21716.qmail@web6401.mail.yahoo.com> <3AF1DAA0.3060702@cygnus.com> X-SW-Source: 2001-05/msg00057.html On Thu, May 03, 2001 at 06:24:32PM -0400, Andrew Cagney wrote: >For: > >> #ifndef _WIN32 >> kill (PIDGET (inferior_pid), SIGINT); >> #endif >> >> would be replaced with something like this: >> >> #ifndef _N0_KILL_ >> kill (PIDGET (inferior_pid), SIGINT); >> #endif > >I'm actually puzzled. It looks very like someone took a shortcut and, >instead of implementing new methods, just went through and commented out >every call to kill(). cf handle_sigio(). > >Anyway, to answer your question: > >> You are proposing that something like this in inflow.c > >Yes, for the most part I would like to strongly encouraging people doing >WIN32, GO32 and CYGWIN ports to look back over all those #ifdef's and >see if they are better served by an autoconf feature test. Per my >earlier e-mail, the obvious oneis to do with how file systems are DOS >file systems are handled and there, I think things are being replaced >with a runtime test. FWIW, I strongly agree with this sentiment. Host conditionals are evil. Should this be a goal for 5.1? cgf