changeset: 4490:61aff09a758969c7690c17763a5f4fb9e6594662
user: Vin Shelton <acs(a)xemacs.org>
date: Thu May 15 07:46:41 2008 -0400
files: lib-src/ChangeLog lib-src/winclient.c
description:
Increase DDE connection retries because waiting for XEmacs to start
can take awhile.
diff -r 5c651a4e8ed359668781cdd92c41c3f46c065ebb -r
61aff09a758969c7690c17763a5f4fb9e6594662 lib-src/ChangeLog
--- a/lib-src/ChangeLog Wed May 14 21:54:54 2008 -0700
+++ b/lib-src/ChangeLog Thu May 15 07:46:41 2008 -0400
@@ -1,3 +1,8 @@ 2008-05-13 Aidan Kehoe <kehoea@parhasa
+2008-05-14 Vin Shelton <acs(a)xemacs.org>
+
+ * winclient.c: Create CONNECT_RETRIES and increase retry count
+ from 5 to 10.
+
2008-05-13 Aidan Kehoe <kehoea(a)parhasard.net>
* make-docfile.c (scan_file):
diff -r 5c651a4e8ed359668781cdd92c41c3f46c065ebb -r
61aff09a758969c7690c17763a5f4fb9e6594662 lib-src/winclient.c
--- a/lib-src/winclient.c Wed May 14 21:54:54 2008 -0700
+++ b/lib-src/winclient.c Thu May 15 07:46:41 2008 -0400
@@ -40,6 +40,7 @@ static char * getNextArg (const char **p
/* -- Post-Include Defines -------------------------------------------------- */
/* Timeouts & delays */
+#define CONNECT_RETRIES 10
#define CONNECT_DELAY 500 /* ms */
#define TRANSACTION_TIMEOUT 5000 /* ms */
#define MAX_INPUT_IDLE_WAIT INFINITE /* ms */
@@ -206,7 +207,7 @@ openConversation (void)
CloseHandle (pi.hProcess);
/* Try to connect */
- for (n = 0; n < 5; n++)
+ for (n = 0; n < CONNECT_RETRIES; n++)
{
Sleep (CONNECT_DELAY);
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches