On 30 Jun 2007 at 22:28, Tomas Hajny wrote:

> The reason for the first change isn't clear to me 
> (what is being fixed or improved by this change) -
>  I recommend to provide clarifications why a 
> change is needed when sending patches.

The problem fixed by r7012 is that the variable argv0len is incremented 
before the placement of the null character in the string cmdline so it is 
resulted in a out of range by one. The original fix solves it with an auxiliary 
variable that is not strictly necessary, when you can adjust the index.
Marco.

PS: I sent the second part of the correction to the graph unit, I don't know if 
you are absent, in case please see at Graph unit under Go32v2 of the 12 
Jun 2007.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to