Index: src/interfaces/libpq/fe-auth.c =================================================================== RCS file: /opt/src/cvs/pgsql-server/src/interfaces/libpq/fe-auth.c,v retrieving revision 1.77 diff -c -r1.77 fe-auth.c *** src/interfaces/libpq/fe-auth.c 15 May 2003 16:35:30 -0000 1.77 --- src/interfaces/libpq/fe-auth.c 16 May 2003 04:50:53 -0000 *************** *** 389,395 **** * anyway. So we temporarily make it blocking. Win32 doesn't support this. */ flags = fcntl(sock, F_GETFL); ! if (flags < 0 || fcntl(sock, F_SETFL, flags & ~O_NONBLOCK))) { snprintf(PQerrormsg, PQERRORMSG_LENGTH, libpq_gettext("could not set socket to blocking mode: %s\n"), strerror(errno)); --- 389,395 ---- * anyway. So we temporarily make it blocking. Win32 doesn't support this. */ flags = fcntl(sock, F_GETFL); ! if (flags < 0 || fcntl(sock, F_SETFL, flags & ~O_NONBLOCK)) { snprintf(PQerrormsg, PQERRORMSG_LENGTH, libpq_gettext("could not set socket to blocking mode: %s\n"), strerror(errno));