Use g_dir_open() and friends instead of opendir() and friends.
authorAndrej Kacian <ticho@claws-mail.org>
Thu, 18 Jun 2015 11:22:06 +0000 (13:22 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Mon, 29 Jun 2015 09:35:13 +0000 (11:35 +0200)
commit0faddd1e85965b10671c267f727d8be3aa791546
treef05c0c01233e823b9d1a615d1f3f83c8f41666f7
parent4e67def9e4c58a5f46e0ba01fa38264a9b8693f8
Use g_dir_open() and friends instead of opendir() and friends.

This makes more things work on Windows, since Mingw
opendir() is kind of flakey, and breaks e.g. vcalendar or rssyl
being able to read contents of their folders.

I only left opendir() in archive plugin, since it is only found
in unused part of code (excluded by #ifdef _TEST, which is never
true for claws-mail compilations).
23 files changed:
src/addressbook.c
src/addrharvest.c
src/common/utils.c
src/exphtmldlg.c
src/expldifdlg.c
src/exporthtml.c
src/exporthtml.h
src/exportldif.c
src/exportldif.h
src/imap.c
src/main.c
src/mh.c
src/plugins/libravatar/libravatar_cache.c
src/plugins/notification/notification_hotkeys.c
src/plugins/pdf_viewer/poppler_viewer.c
src/plugins/rssyl/old_feeds.c
src/plugins/rssyl/parse822.c
src/plugins/rssyl/rssyl.c
src/plugins/rssyl/rssyl_update_comments.c
src/plugins/vcalendar/vcal_folder.c
src/prefs_themes.c
src/ssl_manager.c
src/stock_pixmap.c