SYSDEP_PROVIDER_SOURCES =
else
SYSDEP_PROVIDER_SOURCES = \
- camel-mh-folder.c \
- camel-mh-store.c \
- camel-mh-summary.c \
- camel-maildir-folder.c \
- camel-maildir-store.c \
- camel-maildir-summary.c \
camel-spool-folder.c \
camel-spool-store.c \
camel-spool-summary.c
camel-mbox-folder.c \
camel-mbox-store.c \
camel-mbox-summary.c \
+ camel-mh-folder.c \
+ camel-mh-store.c \
+ camel-mh-summary.c \
+ camel-maildir-folder.c \
+ camel-maildir-store.c \
+ camel-maildir-summary.c \
$(SYSDEP_PROVIDER_SOURCES)
noinst_HEADERS = \
if (!g_ascii_strcasecmp (folder_name, "Inbox")) {
/* special case "." (aka inbox), may need to be created */
- if (g_stat (tmp, &st) != 0 || !S_ISDIR (st.st_mode)
- || g_stat (cur, &st) != 0 || !S_ISDIR (st.st_mode)
- || g_stat (new, &st) != 0 || !S_ISDIR (st.st_mode)) {
- if (mkdir (tmp, 0700) != 0
- || mkdir (cur, 0700) != 0
- || mkdir (new, 0700) != 0) {
+ if (g_stat(tmp, &st) != 0 || !S_ISDIR(st.st_mode)
+ || g_stat (cur, &st) != 0 || !S_ISDIR(st.st_mode)
+ || g_stat (new, &st) != 0 || !S_ISDIR(st.st_mode)) {
+ if (g_mkdir (tmp, 0700) != 0
+ || g_mkdir (cur, 0700) != 0
+ || g_mkdir (new, 0700) != 0) {
g_set_error (
error, G_IO_ERROR,
g_io_error_from_errno (errno),
_("Cannot get folder '%s': folder does not exist."),
folder_name);
} else {
- if (mkdir (name, 0700) != 0
- || mkdir (tmp, 0700) != 0
- || mkdir (cur, 0700) != 0
- || mkdir (new, 0700) != 0) {
+ if (g_mkdir (name, 0700) != 0
+ || g_mkdir (tmp, 0700) != 0
+ || g_mkdir (cur, 0700) != 0
+ || g_mkdir (new, 0700) != 0) {
g_set_error (
error, G_IO_ERROR,
g_io_error_from_errno (errno),
if (err != 0) {
/* easier just to mkdir all (and let them fail), than remember what we got to */
- mkdir (name, 0700);
- mkdir (cur, 0700);
- mkdir (new, 0700);
- mkdir (tmp, 0700);
+ g_mkdir (name, 0700);
+ g_mkdir (cur, 0700);
+ g_mkdir (new, 0700);
+ g_mkdir (tmp, 0700);
g_set_error (
error, G_IO_ERROR,
g_io_error_from_errno (err),