Hi folks,

I've been working on a script of mine and found this problem. If I call this 
command:

:echo 
bufexists("/home/mossberg/team/dalarson/mossberg/sim/tests/test1/Makefile")

it returns 1. It should have returned 0 because this buffer doesn't exist:

:ls!
  1 #    "/home/mossberg/team/dalarson/mossberg/vcs_help.txt" line 1
  2u  =  "~/.vim/favorite.files"        line 1
  3u h   "~/.vimprojects"               line 18
  4 %a   "/home/mossberg/team/dalarson/mossberg/sim/tests/Makefile" line 1
  5u  -  "[BufExplorer]"                line 1

Buffer 4 is close, but it isn't exact. The documentation for bufexists says 
that if the expression is a string, then it must match a buffer name exactly.

This looks like a clear bug to me.

I'm running Vim 7.2, patches 1-284 on 64 bit GNU/Linux.

Thanks,
David

-- 
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui