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: 0xbfc099e8 ***
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.