APPROVE COMMIT 21.4
On Sat, Dec 27, 2008 at 8:43 PM, Vin Shelton <acs(a)xemacs.org> wrote:
The old default of 5 retries was not sufficient for me under some
circumstances. I made a similar change to 21.5 in May.
- Vin
lib-src/ChangeLog addition:
2008-01-09 Vin Shelton <acs(a)xemacs.org>
* winclient.c: Create CONNECT_RETRIES and increase retry count
from 5 to 10.
21.4 source patch:
Diff command: cvs -q diff -u
Files affected: lib-src/winclient.c
Index: lib-src/winclient.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lib-src/winclient.c,v
retrieving revision 1.3.2.2
diff -a -u -u -r1.3.2.2 winclient.c
--- lib-src/winclient.c 2005/01/31 04:05:02 1.3.2.2
+++ lib-src/winclient.c 2008/12/28 01:40:36
@@ -43,6 +43,7 @@
/* -- 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 */
@@ -209,7 +210,7 @@
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
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches