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

[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