]> spindle.queued.net Git - midori/commit
Don't test file existence in adblock, katze_mkdir and check download status
authorAlexander Butenko <a.butenka@gmail.com>
Mon, 21 Dec 2009 22:57:31 +0000 (23:57 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 21 Dec 2009 23:07:39 +0000 (00:07 +0100)
commit1c424106f10f7bf8783bc3e4889654b43d5509b6
tree550c24a7d747abca2d82e79fe75c6d2430fb58d8
parent61266c26ecda1d5e61dc93b080339f04b2febcae
Don't test file existence in adblock, katze_mkdir and check download status

It is enough to see if g_fopen fails, thus we don't need g_access
to test file existence additionally.

katze_mkdir_with_parents is optimized for existing folders.

We need to check the status, to see if file downloads are finished.

For Windows, we need to use g_strndup instead of strndup.
extensions/adblock.c