-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 10 Mar 2006 14:53:17 +0100, Kristoffer A. Tjernås kt@nupi.no wrote:
Hi,
on typing the closing bracket (}) geany would crash.
It occurs on my system, too. So it will be fixed soon, although I still have no idea where it crashes ;-).
That's "great" news.. not that it crashes.. but that it will be fixed ;)
it is fixed. The answer is late, but positive ;-). The line was simply too long, because it was read into a buffer with fixed size of 256 chars, now the buffer will be allocated with the length of the line.
It was originally just an if-else clause, then I was gonna add the elseif(){} part in the middle of it. Upon typing the last bracket it crashed. Note that I didn't try multiple times as I couldn't get geany running at the time, so I finished that piece in vim. Thus this could've been a random crash, as I've experienced quite a few of these lately. And not only with Geany.. Both gPHPEdit and Anjuta has randomly crashed on me too! Bluefish has remained stable. I've not tested the other editors enough to say for sure, but I think the brackets-bug is specific to Geany.
I hope this was related to the brackets-bug. With your code snippet I can't reproduce a crash.
The fix is already in CVS and perhaps Joo will build a new Debian package within the next days.
regards, Enrico
- -- Get my GPG key from http://www.uvena.de/pub.key Geany, a lightweight IDE using GTK2 - http://geany.uvena.de