summaryrefslogtreecommitdiff
path: root/mail/dbmail21/files/patch-2.0.7_001_266
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-11-15 00:10:58 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-11-15 00:10:58 +0000
commitefc03a7db42e86c5b41383ebda01bbbb4fcab4e8 (patch)
treecc2c75a3105316183ad3858c5730546d9428a621 /mail/dbmail21/files/patch-2.0.7_001_266
parent- Update to 0.4.6 (diff)
- Integrate vendor patches:
1. #266 - Excessive db connects and quits 2. #271 - BUG with connect to postgresql database 3. #272 - Non-UTF characters in a message's body 4. #277 - Fix "INTERNALDATE" calculation in imaputil.c 5. other patches from repository. - Add SHA256 PR: ports/88277 Submitted by: Mark Starovoytov <mark_sf@kikg.ifmo.ru> (maintainer)
Notes
Notes: svn path=/head/; revision=148303
Diffstat (limited to 'mail/dbmail21/files/patch-2.0.7_001_266')
-rw-r--r--mail/dbmail21/files/patch-2.0.7_001_26627
1 files changed, 27 insertions, 0 deletions
diff --git a/mail/dbmail21/files/patch-2.0.7_001_266 b/mail/dbmail21/files/patch-2.0.7_001_266
new file mode 100644
index 000000000000..b3650d832c24
--- /dev/null
+++ b/mail/dbmail21/files/patch-2.0.7_001_266
@@ -0,0 +1,27 @@
+--- server.c.orig Wed Aug 24 13:35:38 2005
++++ server.c Tue Sep 13 22:21:59 2005
+@@ -119,7 +119,7 @@
+
+ trace(TRACE_DEBUG, "StartServer(): children created, starting main service loop");
+ while (!GeneralStopRequested) {
+- if (db_connect() != 0) {
++ if (db_check_connection() != 0) {
+
+ if (! stopped)
+ manage_stop_children();
+@@ -128,12 +128,11 @@
+ sleep(10);
+
+ } else {
+- if (stopped)
++ if (stopped) {
++ manage_restart_children();
+ stopped=0;
+-
+- db_disconnect();
++ }
+
+- manage_restart_children();
+ manage_spare_children();
+
+ sleep(1);