Luca Olivetti wrote:
En/na Marc Weustink ha escrit:
Anyhow I prefer an ugly workaround to a crash ;-)
I don't share that preference.
The point is with these kind of projects where a lot of ppl are
submitting parts of code, there is a big chance that someone doesn't
understand the full code. So when another but appears, one is tempted
to make a fix on top of that, without touching the underlying code.
The result if such patches usually is a pile of spagetti where noone
understands what the real functionlity was.
I prefer to solve problems at the source, even it means that will take
longer
Well, so let me qualify: I prefer an ugly workaround as long as it is
as long as.... is the keyword here. If the problem is gone, little
chance that it get looked after ever.
clearly marked as an ugly workaround in need of a proper solution.
Since I really don't understand the full code,
Thats why I didn't apply the patch. I need to get the whole picture.
FYI, one key indication that something strange is happening there is
that PChars are returned from an internal function.
Marc
I have no other option at
the moment than apply that patch.
Bye
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives