James Vega wrote: > On Mon, Aug 09, 2010 at 07:37:13PM -0400, James Vega wrote: > > On Sun, Aug 08, 2010 at 11:12:01PM -0400, James Vega wrote: > > > On Mon, Aug 09, 2010 at 09:28:01AM +0800, Nazri Ramliy wrote: > > > > I stumbled into this problem (works fine in my environment, but fails in > > > > /bin/dash) when I first attempted to write test73. > > > > > > > > At that point the find completion was implemented differently when on > > > > windows (using mch_expandpath()) than when on unix (using globpath()) > > > > and it still contained the buggy 'recursive = TRUE' stuff, which is now > > > > fixed in changeset 7ec9ada2cd81. > > > > > > > > I could not reproduce the problem that you are reporting with the latest > > > > vim (changeset 06a44c4eb3e5 "Prepare for 7.3e release"). > > > > > > I thought I was using changeset 3607f126a661, but I can't reproduce it > > > now. I guess I was using an older version. Sorry for the noise. > > > > Actually, I am still seeing this. I'll try to dig into why it's still > > happening (only in my build environment). > > Ok, I finally figured out what the environmental trigger is. The > directory I perform the builds in has a '~' in the name, which triggers > the dive into mch_expand_wildcards. This is happening even though the ~ > is in the middle of the path instead of at the beginning. Attached > patch fixes this.
Thanks. It looks OK to include. We can use vim_strchr() instead of vim_strpbrk() now that we check for only one character. And the same change should be applied a few lines lower. -- It is hard to understand how a cemetery raised its burial cost and blamed it on the cost of living. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
