From: Frank Schlottmann-G. <fs...@us...> - 2001-03-23 08:14:08
|
Update of /cvsroot/firebird/interbase/remote In directory usw-pr-cvs1:/tmp/cvs-serv10657/interbase/remote Modified Files: inet.c Log Message: Comitted changes made by Lukas Zeller. INET_connect will now fall back to 3050 if no entry in the services file is found (allowing a client installation without changing the services file) I added a small modification to allow the usage of a port number instead of a service name in the connect string. Commited the changes to inet.c from the Borland tree. These should solve the start up errors on Linux (and so make the -signore switch obsolete) fsg Index: inet.c =================================================================== RCS file: /cvsroot/firebird/interbase/remote/inet.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** inet.c 2001/03/16 14:55:31 1.3 --- inet.c 2001/03/23 08:14:01 1.4 *************** *** 177,180 **** --- 177,182 ---- #define SYS_ERR gds_arg_win32 #define INET_RETRY_ERRNO WSAEINPROGRESS + #define INET_ADDR_IN_USE WSAEADDRINUSE + #define sleep(seconds) Sleep ((seconds) * 1000) #endif *************** *** 228,231 **** --- 230,237 ---- [...1005 lines suppressed...] PORT port, --- 4801,4805 ---- } #endif /* WINDOWS_ONLY */ ! static void unhook_port ( PORT port, *************** *** 4767,4771 **** } } ! #ifdef SUPERSERVER static void unhook_disconnected_ports ( --- 4829,4833 ---- } } ! #ifdef SUPERSERVER static void unhook_disconnected_ports ( |