Re: [BUG] Crash when modifying a:000

2006-06-21 Thread Bram Moolenaar
Nikolai Weibull wrote: > Something I found some time ago but for some reason forgot to report: > > function A(...) > echo remove(a:000, 0) > endfunction > call A('a') > > It would be great if a:000 was modifiable, but if that hinders > efficiency, at least it should be made read-only somehow.

Re: [BUG] Crash when modifying a:000

2006-06-21 Thread Mikolaj Machowski
Dnia środa, 21 czerwca 2006 11:17, Nikolai Weibull napisał: > Something I found some time ago but for some reason forgot to report: > > function A(...) > echo remove(a:000, 0) > endfunction > call A('a') Confirming for 7.020 gdb output: *** glibc detected *** free(): invalid pointer: 0xbfc099e

Re: how to find dict corruption?

2006-06-21 Thread Eric Arnold
On 6/21/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: Eric Arnold wrote: > I've added a v:variable which is a dict type. When I set it in a > script, and echo it, everything is fine: > > let v:timertable[ 'TstTimer' ] = 1000 > echo string( v:timertable ) > > However, it is trashed (garbage in

[BUG] Crash when modifying a:000

2006-06-21 Thread Nikolai Weibull
Something I found some time ago but for some reason forgot to report: function A(...) echo remove(a:000, 0) endfunction call A('a') It would be great if a:000 was modifiable, but if that hinders efficiency, at least it should be made read-only somehow. nikolai

Re: how to find dict corruption?

2006-06-21 Thread Bram Moolenaar
Eric Arnold wrote: > I've added a v:variable which is a dict type. When I set it in a > script, and echo it, everything is fine: > > let v:timertable[ 'TstTimer' ] = 1000 > echo string( v:timertable ) > > However, it is trashed (garbage in the hash table) by the next time I > access it later i

Re: GTK vs. Gnome

2006-06-21 Thread Bram Moolenaar
Tony Mechelynck wrote: > In > *gui_x11.txt* For Vim version 7.0. Last change: 2006 Apr 30 > at lines 409-410, there is: > --8<-- > GNOME is automatically compiled with if it was found by configure. > (FIXME: Is this still true? Use --enable-gnome-check to force it to.) > -