vimcolor bug
-
My /tmp filled up.
Took me a while to track it down to vimcolor. It writes out a code snippet to the temp dir, runs vimcolor over that file and generates a second file. Then, basically, returns the second file without removing either. Thus, very slowly, eventually chews up the disk space.
--- plugins/dist/wp-vimcolor.php 2005-10-04 06:13:06.000000000 +0100 +++ plugins/vimcolor/wp-vimcolor.php 2007-02-14 22:40:33.086261640 +0000 @@ -95,6 +95,8 @@ $handle = fopen($out_file, "r"); $html = fread($handle, filesize($out_file)); fclose($handle); + unlink($out_file); + unlink($in_file); if( $multiline ){ $html = preg_replace('/r/s','',$html); $html = preg_replace('/n/s','',$html);so, quick two line fix and thats it sorted.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘vimcolor bug’ is closed to new replies.