Commit 60a18ad2 60a18ad2f796664630155267a6fc07606325d114 by Alain Magloire

* acconfig.h: Define _REENTRANT.

	* configure.in: Check for sigaction().
	* configuire.in: AC_DEFINE(_REENTRANT).

	* doc/Makefile.am: add rfc2060-errata.
	* doc/rfc2060-errata: New File.

	* imap4d/copy.c: First Implementation.
	* imap4d/status.c: First implementation.

	* mailbox/file_stream.c (_file_open): For CREAT, close
	the fd if we failed.
	* mailbox/folder_imap.c: Remove the _REENTRANT.
	* mailbox/mbx_mbox.c: Remove the _REENTRANT.
	* mailbox/monitor.c: Remove the _REENTRANT.

	* pop3d/pop3d.c (main): maxchildren boosted to 20.
	(pop3_daemon_init): Use sigaction() for SIGCHLD,
	the sematics of signal() is unreliable on some platforms.
	* pop3d/signal.c: Save errno.
1 parent 020839e9
...@@ -116,7 +116,7 @@ if test x"$usepthread" = x"yes"; then ...@@ -116,7 +116,7 @@ if test x"$usepthread" = x"yes"; then
116 AC_SEARCH_LIBS(pthread_cancel, pthread, 116 AC_SEARCH_LIBS(pthread_cancel, pthread,
117 [AC_CHECK_FUNCS(pthread_rwlock_init) 117 [AC_CHECK_FUNCS(pthread_rwlock_init)
118 AC_CHECK_HEADERS(pthread.h, AC_DEFINE(WITH_PTHREAD)) 118 AC_CHECK_HEADERS(pthread.h, AC_DEFINE(WITH_PTHREAD))
119 ACDEFINE(_REENTRANT)])) 119 AC_DEFINE(_REENTRANT)]))
120 fi 120 fi
121 121
122 dnl Do we need extra libs for networking? 122 dnl Do we need extra libs for networking?
......