mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
- replaced all occurences of HPUX with HPUX10 (to be prepared for eventual
differences in HPUX11) acconfig.h: - fixed typo configure.in: - replaced HPUX -> HPUX10 - added -DHPUX11 (not being used yet) to hpux11 workarounds include/my_global.h: - replaced HPUX -> HPUX10 include/my_net.h: - replaced HPUX -> HPUX10 include/my_pthread.h: - replaced HPUX -> HPUX10 libmysql/libmysql.c: - replaced HPUX -> HPUX10 mysys/my_append.c: - replaced HPUX -> HPUX10 mysys/my_copy.c: - replaced HPUX -> HPUX10 mysys/my_pthread.c: - replaced HPUX -> HPUX10 mysys/my_redel.c: - replaced HPUX -> HPUX10 mysys/thr_alarm.c: - replaced HPUX -> HPUX10 sql/mini_client.cc: - replaced HPUX -> HPUX10 sql/mysqld.cc: - replaced HPUX -> HPUX10 strings/do_ctype.c: - replaced HPUX -> HPUX10
This commit is contained in:
@@ -294,11 +294,11 @@ static int mc_sock_connect(my_socket s, const struct sockaddr *name,
|
||||
FD_SET(s, &sfds);
|
||||
tv.tv_sec = (long) to;
|
||||
tv.tv_usec = 0;
|
||||
#ifdef HPUX
|
||||
#ifdef HPUX10
|
||||
res = select(s+1, NULL, (int*) &sfds, NULL, &tv);
|
||||
#else
|
||||
res = select(s+1, NULL, &sfds, NULL, &tv);
|
||||
#endif
|
||||
#endif /* HPUX10 */
|
||||
if (res <= 0) /* Never became writable */
|
||||
return(-1);
|
||||
|
||||
|
Reference in New Issue
Block a user