[dovecot-cvs] dovecot/src/imap Makefile.am,1.23,1.24 main.c,1.42,1.43 rawlog.c,1.13,NONE rawlog.h,1.1,NONE

cras at procontrol.fi cras at procontrol.fi
Thu Aug 21 03:24:31 EEST 2003


Update of /home/cvs/dovecot/src/imap
In directory danu:/tmp/cvs-serv21652/src/imap

Modified Files:
	Makefile.am main.c 
Removed Files:
	rawlog.c rawlog.h 
Log Message:
Separated rawlog into it's own binary.



Index: Makefile.am
===================================================================
RCS file: /home/cvs/dovecot/src/imap/Makefile.am,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- Makefile.am	27 Jul 2003 04:48:32 -0000	1.23
+++ Makefile.am	20 Aug 2003 23:24:29 -0000	1.24
@@ -70,8 +70,7 @@
 	imap-thread.c \
 	mail-storage-callbacks.c \
 	main.c \
-	namespace.c \
-	rawlog.c
+	namespace.c
 
 
 noinst_HEADERS = \
@@ -84,5 +83,4 @@
 	imap-search.h \
 	imap-sort.h \
 	imap-thread.h \
-	namespace.h \
-	rawlog.h
+	namespace.h

Index: main.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/main.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- main.c	27 Jul 2003 04:48:32 -0000	1.42
+++ main.c	20 Aug 2003 23:24:29 -0000	1.43
@@ -5,7 +5,6 @@
 #include "ostream.h"
 #include "str.h"
 #include "lib-signals.h"
-#include "rawlog.h"
 #include "restrict-access.h"
 #include "fd-close-on-exec.h"
 #include "process-title.h"
@@ -88,7 +87,6 @@
 {
 	struct client *client;
 	const char *user, *str;
-	int hin, hout;
 
 	lib_init_signals(sig_quit);
 
@@ -103,9 +101,6 @@
 	capability_string = str_new(default_pool, sizeof(CAPABILITY_STRING)+32);
 	str_append(capability_string, CAPABILITY_STRING);
 
-	hin = 0; hout = 1;
-	rawlog_open(&hin, &hout);
-
         mail_storage_init();
 	mail_storage_register_all();
 	clients_init();
@@ -132,7 +127,7 @@
 		MAILBOX_OPEN_MMAP_INVALIDATE : 0;
 
 	namespace_pool = pool_alloconly_create("namespaces", 1024);
-	client = client_create(hin, hout, namespace_init(namespace_pool, user));
+	client = client_create(0, 1, namespace_init(namespace_pool, user));
 
         o_stream_cork(client->output);
 	if (IS_STANDALONE()) {

--- rawlog.c DELETED ---

--- rawlog.h DELETED ---



More information about the dovecot-cvs mailing list