Thu Jul 21 16:55:05 PDT 2005
- Previous message: [Slony1-commit] By dpage: Fix 'make install' for Win32
- Next message: [Slony1-commit] By cbbrowne: Per Ian Burrell - fix to slon_watchdog.pl Slon_watchdog.pl
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message: ----------- Fix a couple of borked Win32 macros Modified Files: -------------- slony1-engine/src/slon: slon.h (r1.49 -> r1.50) -------------- next part -------------- Index: slon.h =================================================================== RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/slon.h,v retrieving revision 1.49 retrieving revision 1.50 diff -Lsrc/slon/slon.h -Lsrc/slon/slon.h -u -w -r1.49 -r1.50 --- src/slon/slon.h +++ src/slon/slon.h @@ -360,11 +360,15 @@ /* On win32, we currently just bail out and let the service control manager * deal with possible restarts */ #define slon_abort() \ +do { \ WSACleanup(); \ -exit(1); + exit(1); \ +} while (0) #define slon_restart() \ +do { \ WSACleanup(); \ -exit(1); + exit(1); \ +} while (0) #endif extern void slon_exit(int code);
- Previous message: [Slony1-commit] By dpage: Fix 'make install' for Win32
- Next message: [Slony1-commit] By cbbrowne: Per Ian Burrell - fix to slon_watchdog.pl Slon_watchdog.pl
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list