On Wed, May 16, 2007 at 03:13:07PM -0400, Christopher Faylor wrote: >On Wed, May 16, 2007 at 11:57:30AM -0700, Alex Shturm wrote: >>Christopher, >> >>I agree there is a misunderstanding here. >>Please see my original post - there I clearly say that I build this >>program in Visual Studio 2005, and not using gcc. > >SORRY. I completely misread the "run this program under CYGWIN" as >meaning that you recompiled using Cygwin's gcc even though that clearly >is not what you meant. > >I don't have Visual Studio available to test this so I don't know if >I'll be able to be of much help here. I'll try the test case under >mingw, however, as soon as I get to a computer where I can do that. > >Apologies again for wasting your time with my misreading of your >message.
Actually, nevermind. I know what the problem is. Cygwin is interpreting the exit value from your program as being indicative of a hard failure and trying to rerun it as a result. If you explicitly exit with a value less than 65535 it should work better. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
