Hi Yasushi,

On Fri Apr 20, 2007 at 20:46:30 +0900, Yasushi SHOJI wrote:
> The reason was simple.  We played with variable work_dir when we draw
> the screen and left along. Then, in the next iteration, realloc() was
> upset because we gave the changed wrong address as the first argument.

Thanks for your analysis and the patch. I've applied it the upstream CVS
repository.
 
> this is very good example why we should reduce global variables to
> play with.  very nasty code.

Indeed. The file dialog is also quite ugly and probably needs to be
redone from scratch.


Adam
-- 
Adam                 [EMAIL PROTECTED]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to