[Patch] Testing loads of cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Max Kaehn
This patch contains a revised version of the "cygload" test utility, this time with better adherence to cygwin naming and indentation. --- ChangeLog for winsup/testsuite: 2005-05-27 Max Kaehn <[EMAIL PROTECTED]> * Makefile: now tests cygload. * cygload: New directory. *

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Christopher Faylor
I fat fingered my response to Max, ended up sending a personal message and never noticed until I received a personal reply from him. I, of course, asked him not to send me personal email which was pretty confusing since I'd previously just sent him a personal reply. Translation: I am a maroon.

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Max Kaehn
Resending to the cygwin list this time... On Fri, 2005-06-03 at 19:30, Christopher Faylor wrote: > Wow! That's great! Thanks for doing this. It is much appreciated. This > is something that I had been meaning to do and you did a better job than > I would have. This truly deserves a gold star.

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Igor Pechtchanski
On Mon, 6 Jun 2005, Christopher Faylor wrote: > I fat fingered my response to Max, ended up sending a personal message > and never noticed until I received a personal reply from him. I, of > course, asked him not to send me personal email which was pretty > confusing since I'd previously just sen

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Igor Pechtchanski
On Mon, 6 Jun 2005, Max Kaehn wrote: > Resending to the cygwin list this time... > > On Fri, 2005-06-03 at 19:30, Christopher Faylor wrote: > > Wow! That's great! Thanks for doing this. It is much appreciated. This > > is something that I had been meaning to do and you did a better job than > >

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Christopher Faylor
On Mon, Jun 06, 2005 at 03:40:10PM -0400, Igor Pechtchanski wrote: >On Mon, 6 Jun 2005, Christopher Faylor wrote: > >> I fat fingered my response to Max, ended up sending a personal message >> and never noticed until I received a personal reply from him. I, of >> course, asked him not to send me p

Re: [Patch] Testing loads of cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Christopher Faylor
On Mon, Jun 06, 2005 at 12:03:07PM -0700, Max Kaehn wrote: >This patch contains a revised version of the "cygload" test utility, >this time with better adherence to cygwin naming and indentation. Sorry, Max, but this is still using K&R indentation. Cygwin uses: if (x) { y; } not

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Igor Pechtchanski
On Mon, 6 Jun 2005, Christopher Faylor wrote: > On Mon, Jun 06, 2005 at 03:40:10PM -0400, Igor Pechtchanski wrote: > >On Mon, 6 Jun 2005, Christopher Faylor wrote: > > > >> I fat fingered my response to Max, ended up sending a personal message > >> and never noticed until I received a personal rep

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Christopher Faylor
On Mon, Jun 06, 2005 at 04:09:13PM -0400, Igor Pechtchanski wrote: >I wonder if this could, perhaps, be made more transparent to the >programmer, by introducing a static marker, for example. Something like >(again, modulo typos): > > void > initialize_cygwin (int (*main) (int argc, char **argv),

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Christopher Faylor
On Mon, Jun 06, 2005 at 04:42:30PM -0400, Christopher Faylor wrote: >On Mon, Jun 06, 2005 at 04:09:13PM -0400, Igor Pechtchanski wrote: >I guess you could do it that way. It would look more transparent to the >end user if you did. You'd still have to make it clear that this has to >happen first t

[Patch] Testing loads of cygwin1.dll from MinGW and MSVC, take 3

2005-06-06 Thread Max Kaehn
This patch contains a revised version of the "cygload" test utility, this time with even better adherence to cygwin naming and indentation. Igor, thanks for pointing me at "indent"-- it also pointed out that I was forgetting to put spaces in front of the parameter lists for my function calls. I'm

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Igor Pechtchanski
On Mon, 6 Jun 2005, Christopher Faylor wrote: > On Mon, Jun 06, 2005 at 04:42:30PM -0400, Christopher Faylor wrote: > >On Mon, Jun 06, 2005 at 04:09:13PM -0400, Igor Pechtchanski wrote: > >I guess you could do it that way. It would look more transparent to the > >end user if you did. You'd still

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Christopher Faylor
On Mon, Jun 06, 2005 at 05:12:02PM -0400, Igor Pechtchanski wrote: >On Mon, 6 Jun 2005, Christopher Faylor wrote: > >> On Mon, Jun 06, 2005 at 04:42:30PM -0400, Christopher Faylor wrote: >> >On Mon, Jun 06, 2005 at 04:09:13PM -0400, Igor Pechtchanski wrote: >> >I guess you could do it that way. It

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Christopher Faylor
On Mon, Jun 06, 2005 at 05:15:13PM -0400, Christopher Faylor wrote: >On Mon, Jun 06, 2005 at 05:12:02PM -0400, Igor Pechtchanski wrote: >>On Mon, 6 Jun 2005, Christopher Faylor wrote: >> >>> On Mon, Jun 06, 2005 at 04:42:30PM -0400, Christopher Faylor wrote: >>> >On Mon, Jun 06, 2005 at 04:09:13PM

Re: [Patch] Testing loads of cygwin1.dll from MinGW and MSVC, take 3

2005-06-06 Thread Christopher Faylor
On Mon, Jun 06, 2005 at 02:01:44PM -0700, Max Kaehn wrote: >This patch contains a revised version of the "cygload" test utility, >this time with even better adherence to cygwin naming and indentation. >Igor, thanks for pointing me at "indent"-- it also pointed out >that I was forgetting to put spac

Re: [Patch] Testing loads of cygwin1.dll from MinGW and MSVC, take 3

2005-06-06 Thread Max Kaehn
On Mon, 2005-06-06 at 14:33, Christopher Faylor wrote: > There were still some braces at the end of the line in cygload.h so I > changed those. I also changed the ChangeLog entry "now tests cygload" > to "Test cygload". See http://cygwin.com/contrib.html for some common > mistakes in ChangeLog en

Re: [Patch] Testing loads of cygwin1.dll from MinGW and MSVC, take 3

2005-06-06 Thread Igor Pechtchanski
On Mon, 6 Jun 2005, Max Kaehn wrote: > On Mon, 2005-06-06 at 14:33, Christopher Faylor wrote: > > There were still some braces at the end of the line in cygload.h so I > > changed those. I also changed the ChangeLog entry "now tests cygload" > > to "Test cygload". See http://cygwin.com/contrib.h

Re: [Patch] Testing loads of cygwin1.dll from MinGW and MSVC, take 3

2005-06-06 Thread Max Kaehn
On Mon, 2005-06-06 at 16:07, Igor Pechtchanski wrote: > I take it you meant > > - $(RUNTEST) --tool winsup $(RUNTESTFLAGS) ;\ > + $(RUNTEST) --tool winsup $(RUNTESTFLAGS) &&\ Oh, right, this is the world of shell scripts, not C. Thanks for catching that.

Re: [Patch] Testing loads of cygwin1.dll from MinGW and MSVC, take 3

2005-06-06 Thread Christopher Faylor
On Mon, Jun 06, 2005 at 04:11:32PM -0700, Max Kaehn wrote: >On Mon, 2005-06-06 at 16:07, Igor Pechtchanski wrote: >> I take it you meant >> >> - $(RUNTEST) --tool winsup $(RUNTESTFLAGS) ;\ >> + $(RUNTEST) --tool winsup $(RUNTESTFLAGS) &&\ > >Oh, right, this is the world of shell script

Re: [Patch] Testing loads of cygwin1.dll from MinGW and MSVC, take 3

2005-06-06 Thread Max Kaehn
On Mon, 2005-06-06 at 14:33, Christopher Faylor wrote: > So, I checked in the above and, after changing cygload.exp so that it > compiles cygload.cc rather than cygload.cpp, I found a more serious > error. I've attached the cygload.log file. It doesn't look pretty, > unfortunately. You might not