Dears, I've just tested it on my old NetBSD 3.0 system. The same version of vim-7.1.315 doesn't rise any problem for it. However, for 4.99.71 it does. Looks like error in base system of NetBSD. Yours.