# HG changeset patch # User Vin Shelton # Date 1210852001 14400 # Node ID 61aff09a758969c7690c17763a5f4fb9e6594662 # Parent 5c651a4e8ed359668781cdd92c41c3f46c065ebb Increase DDE connection retries because waiting for XEmacs to start can take awhile. diff -r 5c651a4e8ed3 -r 61aff09a7589 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-14 Vin Shelton + + * winclient.c: Create CONNECT_RETRIES and increase retry count + from 5 to 10. + 2008-05-13 Aidan Kehoe * make-docfile.c (scan_file): diff -r 5c651a4e8ed3 -r 61aff09a7589 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 @@ /* -- 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 @@ CloseHandle (pi.hProcess); /* Try to connect */ - for (n = 0; n < 5; n++) + for (n = 0; n < CONNECT_RETRIES; n++) { Sleep (CONNECT_DELAY);