Author Topic: Bug in console_runner and proposed fix (was: Building C::B in Windows)  (Read 8463 times)

Offline mmebane

  • Multiple posting newcomer
  • *
  • Posts: 33
Is there any good guide to doing so? I found this, but it is incomplete. Is there some other resource I've missed? I'd like to get it building so I can try to fix this annoying bug.
« Last Edit: January 30, 2006, 10:09:20 pm by mmebane »

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline mmebane

  • Multiple posting newcomer
  • *
  • Posts: 33
Re: Building C::B in Windows
« Reply #2 on: January 30, 2006, 08:07:32 pm »
Heh, I can't believe I missed that. Thanks.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Building C::B in Windows
« Reply #3 on: January 30, 2006, 09:16:00 pm »
new installments on the cookbook are coming this week. Sorry, but been busy on debugging ;-)

Offline mmebane

  • Multiple posting newcomer
  • *
  • Posts: 33
Re: Building C::B in Windows
« Reply #4 on: January 30, 2006, 09:55:40 pm »
OK, I've got it compiled and everything is working nicely. Unfortunately, that bug seems to not be in console_runner, but in system(). :(

Offline mmebane

  • Multiple posting newcomer
  • *
  • Posts: 33
Re: Bug in console_runner and proposed fix (was: Building C::B in Windows)
« Reply #5 on: January 30, 2006, 10:10:02 pm »
Proposed fix for Windows. I don't know what to do for Linux, but this bug may not even exist in Linux.

Quick fix based on this.

http://sourceforge.net/tracker/index.php?func=detail&aid=1419173&group_id=126998&atid=707418
« Last Edit: January 30, 2006, 10:36:54 pm by mmebane »

Offline mmebane

  • Multiple posting newcomer
  • *
  • Posts: 33
Re: Bug in console_runner and proposed fix (was: Building C::B in Windows)
« Reply #6 on: February 02, 2006, 09:03:40 pm »
Does anybody have any comments? Is there a better way to fix this, or is it a good solution?

Also, is this a Windows-only bug?

Offline mmebane

  • Multiple posting newcomer
  • *
  • Posts: 33
Re: Bug in console_runner and proposed fix (was: Building C::B in Windows)
« Reply #7 on: February 03, 2006, 06:25:19 am »
OK, I updated the patch to handle the return values correctly.

Offline mmebane

  • Multiple posting newcomer
  • *
  • Posts: 33
Re: Bug in console_runner and proposed fix (was: Building C::B in Windows)
« Reply #8 on: February 03, 2006, 02:44:38 pm »
The patch is now applied. Cool.