Red Hat Bugzilla – Bug 35051
VIM can't execute external commands because of tmp file
Last modified: 2007-04-18 12:32:34 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.16-22 i586)
The recent security update of VIM breaks the ability to use external
like "fmt" to format text. The program complains "/tmp/vouDuYYB: File
the specific tmp filename is different each time, of course.
Steps to Reproduce:
1. Run vim
2. Enter some text
3. Try formatting it with something like !}fmt
Actual Results: The "File exists" error is given and the text piped out to
the fmt command
Expected Results: The text should have been piped through fmt (and thus
formatted) and then
re-inserted in place of the text that was removed.
Further experimentation shows that the problem only crops up if the (t)csh
"noclobber" is set.
Before "set noclobber", the pipe through fmt works fine. Afterwards, the /tmp
file error comes
This is fixed in the current version.