git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Fix the exit code of MSVC build scripts on cygwin

From
Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Date
Oct 9, 2009, 22:04 UTC
Message-ID
<4ACFB37B.8010602@ramsay1.demon.co.uk>
In-Reply-To
<7vy6nl5ag0.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 11 quoted lines
> Alex Riesen <raa.lkml@gmail.com> writes:
>>> -exit system(@args);
>>> +system(@args) == 0
>>> +       or exit 1;
>>> +exit 0;
>> exit(system(@args) != 0);
>>
>> Yours looks a little verbose...
> 
> Thanks, will queue with a fixup.
> 
Thanks! (Alex and Junio)
I had this as my penultimate version, so I'm happy.

[I changed it to be more explicit about the actual exit values returned by the script. (and thus more verbose :) ]

ATB, Ramsay Jones

Previous: Junio C Hamano
Message 4 of 4 in “Fix the exit code of MSVC build scripts on cygwin”
  1. Fix the exit code of MSVC build scripts on cygwinRamsay Jones, Oct 8, 2009
  2. Alex RiesenOct 8, 2009
  3. Junio C HamanoOct 9, 2009
  4. Ramsay JonesOct 9, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.