Hi, 

This question has already been posted to vim_use list, but since I suspect this 
to be a bug in vim (or in Windows ;) ), this is probably a more appropriate 
place for it.

I experience a strange problem with 64-bit vim/gvim on 64-bit Windows 7. 

When I use Rgrep on 32-bit vim build everything works perfectly fine: 
:Rgrep TODO *.cpp 
Quickfix opens with list of all my todos. The problem is when I use a 
64-bit build of vim (I need it to have YouCompleteMe running): 
Error detected while processing function 
<SNR>61_RunGrepRecursive..<SNR>61_RunGrepCmd: 
line    1: 
E484: Can't open file C:\Users\<MyUser>\AppData\Local\Temp\VIo2E04.tmp 

The temporary file is not there, the location is accessible (since it 
works for 32-bit version). I have also tried to change temp location 
to: 
let $TMP='C:/tmp' 
but the result was always the same - the error. 

I have tried Haroogan's builds 
(https://bitbucket.org/Haroogan/64-bit-vim-builds-for-windows-64-bit/wiki/Home) 
and also compiled my own from hg a couple of hours ago with VS2012. 
Both have Rgrep unusable. 

I have did some debugging and looks like the error appears on the 
system() call in grep.vim:407. If I copy-n-paste system()'s argument to cmd.exe 
- it works as expected. Looks like there is a bug with the system() function on 
64-bit Windows with 64-bit vim.

Did anyone encountered such behavior?

Thanks, 
Darek 

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui