Displaying 1 result from an estimated 1 matches for "reopen_dumpfile".
2011 Feb 25
0
[patch] Reopen dumpfiles on signal
...abs slip through. Someday I should learn how to tweak vim to do this for me.
>> --- src/source.c (revision 17873)
>> +++ src/source.c (working copy)
>> @@ -714,6 +715,20 @@
>> }
>>
>> /* save stream to file */
>> + if (source->reopen_dumpfile) {
>> + if (source->dumpfile) {
>> + fclose(source->dumpfile);
>> + source->dumpfile = NULL;
>> + }
>
> * here you close a file, then check if there is a ->dumpfilename after
> you try to open a new one... if there is no ->dumpfilen...