dovecot-2.2-pigeonhole: Fixed compile problem reported by OpenSU...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Fri Jul 25 22:47:58 UTC 2014
details: http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/c4202808573a
changeset: 1893:c4202808573a
user: Stephan Bosch <stephan at rename-it.nl>
date: Sat Jul 26 00:46:26 2014 +0200
description:
Fixed compile problem reported by OpenSUSE build service.
diffstat:
src/lib-sieve/storage/file/sieve-file-script-sequence.c | 2 --
src/lib-sieve/storage/file/sieve-file-script.c | 1 -
src/lib-sieve/storage/file/sieve-file-storage-active.c | 2 --
src/lib-sieve/storage/file/sieve-file-storage-list.c | 2 --
src/lib-sieve/storage/file/sieve-file-storage-quota.c | 3 ---
src/lib-sieve/storage/file/sieve-file-storage-save.c | 1 -
src/lib-sieve/storage/file/sieve-file-storage.c | 2 --
src/lib-sieve/storage/file/sieve-file-storage.h | 7 +++++--
8 files changed, 5 insertions(+), 15 deletions(-)
diffs (118 lines):
diff -r e3d3d7a5f642 -r c4202808573a src/lib-sieve/storage/file/sieve-file-script-sequence.c
--- a/src/lib-sieve/storage/file/sieve-file-script-sequence.c Fri Jul 25 15:59:40 2014 +0200
+++ b/src/lib-sieve/storage/file/sieve-file-script-sequence.c Sat Jul 26 00:46:26 2014 +0200
@@ -13,9 +13,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <sys/types.h>
#include <dirent.h>
-#include <sys/stat.h>
/*
* Script sequence
diff -r e3d3d7a5f642 -r c4202808573a src/lib-sieve/storage/file/sieve-file-script.c
--- a/src/lib-sieve/storage/file/sieve-file-script.c Fri Jul 25 15:59:40 2014 +0200
+++ b/src/lib-sieve/storage/file/sieve-file-script.c Sat Jul 26 00:46:26 2014 +0200
@@ -15,7 +15,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
-#include <sys/stat.h>
#include <ctype.h>
#include <time.h>
#include <fcntl.h>
diff -r e3d3d7a5f642 -r c4202808573a src/lib-sieve/storage/file/sieve-file-storage-active.c
--- a/src/lib-sieve/storage/file/sieve-file-storage-active.c Fri Jul 25 15:59:40 2014 +0200
+++ b/src/lib-sieve/storage/file/sieve-file-storage-active.c Sat Jul 26 00:46:26 2014 +0200
@@ -9,8 +9,6 @@
#include "sieve-file-storage.h"
-#include <sys/types.h>
-#include <sys/stat.h>
#include <unistd.h>
static int _file_path_cmp(const char *path1, const char *path2)
diff -r e3d3d7a5f642 -r c4202808573a src/lib-sieve/storage/file/sieve-file-storage-list.c
--- a/src/lib-sieve/storage/file/sieve-file-storage-list.c Fri Jul 25 15:59:40 2014 +0200
+++ b/src/lib-sieve/storage/file/sieve-file-storage-list.c Sat Jul 26 00:46:26 2014 +0200
@@ -11,9 +11,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <sys/types.h>
#include <dirent.h>
-#include <sys/stat.h>
struct sieve_file_list_context {
struct sieve_storage_list_context context;
diff -r e3d3d7a5f642 -r c4202808573a src/lib-sieve/storage/file/sieve-file-storage-quota.c
--- a/src/lib-sieve/storage/file/sieve-file-storage-quota.c Fri Jul 25 15:59:40 2014 +0200
+++ b/src/lib-sieve/storage/file/sieve-file-storage-quota.c Sat Jul 26 00:46:26 2014 +0200
@@ -11,10 +11,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <sys/types.h>
-#include <sys/stat.h>
#include <dirent.h>
-#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
diff -r e3d3d7a5f642 -r c4202808573a src/lib-sieve/storage/file/sieve-file-storage-save.c
--- a/src/lib-sieve/storage/file/sieve-file-storage-save.c Fri Jul 25 15:59:40 2014 +0200
+++ b/src/lib-sieve/storage/file/sieve-file-storage-save.c Sat Jul 26 00:46:26 2014 +0200
@@ -18,7 +18,6 @@
#include <unistd.h>
#include <fcntl.h>
#include <utime.h>
-#include <sys/stat.h>
struct sieve_file_save_context {
struct sieve_storage_save_context context;
diff -r e3d3d7a5f642 -r c4202808573a src/lib-sieve/storage/file/sieve-file-storage.c
--- a/src/lib-sieve/storage/file/sieve-file-storage.c Fri Jul 25 15:59:40 2014 +0200
+++ b/src/lib-sieve/storage/file/sieve-file-storage.c Sat Jul 26 00:46:26 2014 +0200
@@ -20,9 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
-#include <sys/stat.h>
#include <ctype.h>
-#include <sys/types.h>
#include <utime.h>
#include <sys/time.h>
diff -r e3d3d7a5f642 -r c4202808573a src/lib-sieve/storage/file/sieve-file-storage.h
--- a/src/lib-sieve/storage/file/sieve-file-storage.h Fri Jul 25 15:59:40 2014 +0200
+++ b/src/lib-sieve/storage/file/sieve-file-storage.h Sat Jul 26 00:46:26 2014 +0200
@@ -12,6 +12,9 @@
#include "sieve-script-private.h"
#include "sieve-storage-private.h"
+#include <sys/types.h>
+#include <sys/stat.h>
+
#define SIEVE_FILE_READ_BLOCK_SIZE (1024*8)
#define SIEVE_FILE_DEFAULT_PATH "~/.dovecot."SIEVE_SCRIPT_FILEEXT
@@ -32,7 +35,7 @@
const char *active_path;
const char *active_fname;
const char *link_path;
-
+
mode_t dir_create_mode;
mode_t file_create_mode;
gid_t file_create_gid;
@@ -137,7 +140,7 @@
struct sieve_file_script *sieve_file_script_init_from_filename
(struct sieve_file_storage *fstorage, const char *filename,
const char *scriptname);
-struct sieve_file_script *sieve_file_script_open_from_filename
+struct sieve_file_script *sieve_file_script_open_from_filename
(struct sieve_file_storage *fstorage, const char *filename,
const char *scriptname);
struct sieve_file_script *sieve_file_script_init_from_name
More information about the dovecot-cvs
mailing list