]> spindle.queued.net Git - midori/commit
Check whether the header file was created and mkdir the parent folder
authorAlexander Butenko <a.butenka@gmail.com>
Sun, 27 Dec 2009 21:00:39 +0000 (22:00 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 27 Dec 2009 21:04:27 +0000 (22:04 +0100)
commit33565cc2f3aaa454c601ec10b71e26aac6f4e7af
treee40d1d0ca79142084debc88ee80fb43b0212ff4e
parent3aeb60ec837dad3be35d8855c8fedc36a934957d
Check whether the header file was created and mkdir the parent folder

When the web cache folder is deleted, the filenames passed to callbacks
may not be updated, so trying to write headers results in a crash.
We need to make sure we only write after opening the file properly.
extensions/web-cache.c