[dovecot-cvs] dovecot/src/lib lib-signals.c, 1.12, 1.13 lib-signals.h, 1.6, 1.7

cras at dovecot.org cras at dovecot.org
Thu May 4 01:58:18 EEST 2006


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv6721/lib

Modified Files:
	lib-signals.c lib-signals.h 
Log Message:
And s/lib_signals_ignore_signal/lib_signals_ignore/



Index: lib-signals.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/lib-signals.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- lib-signals.c	3 May 2006 22:54:38 -0000	1.12
+++ lib-signals.c	3 May 2006 22:58:15 -0000	1.13
@@ -53,6 +53,8 @@
 
 static void sig_ignore(int signo __attr_unused__)
 {
+	/* if we used SIG_IGN instead of this function,
+	   the system call might be restarted */
 }
 
 static void signal_read(void *context __attr_unused__)
@@ -144,7 +146,7 @@
 	signal_handlers[signo] = h;
 }
 
-void lib_signals_ignore_signal(int signo)
+void lib_signals_ignore(int signo)
 {
 	struct sigaction act;
 

Index: lib-signals.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/lib-signals.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- lib-signals.h	3 May 2006 22:54:38 -0000	1.6
+++ lib-signals.h	3 May 2006 22:58:15 -0000	1.7
@@ -12,7 +12,7 @@
 			     signal_handler_t *handler, void *context);
 /* Ignore given signal. The difference to lib_signals_set_handler() with NULL
    handler is that this function tries to restart the system calls. */
-void lib_signals_ignore_signal(int signo);
+void lib_signals_ignore(int signo);
 void lib_signals_unset_handler(int signo,
 			       signal_handler_t *handler, void *context);
 



More information about the dovecot-cvs mailing list