|
From: | Jon Kinsey |
Subject: | Re: [Bug-gnubg] Big problems with external player |
Date: | Fri, 07 May 2004 17:27:29 +0100 |
User-agent: | Mozilla Thunderbird 0.5 (Windows/20040207) |
Jon Kinsey wrote:
With this command I do get the error (accept: No such file or directory), so can look at what is happening.
I found the bug, it was staring at me (i.e. on the accept line) but a bit obscure. Anyway I will check in a fix with some better windows error messages in a bit.
I had to change external_l.c to remove the unistd.h include.More importantly there seems to be bugs in extparse() which assume szCommand will be at most 100 characters. The buf[]s need to be increased to 250 - or perhaps a better (none-size related) fix applied. It's just luck that it doesn't crash at the moment - all the position strings are well over 100 characters.
I've not got lex+yacc setup so can't recreate external_l.c, can someone else please make this change.
Jon
[Prev in Thread] | Current Thread | [Next in Thread] |