Commit 59136ece authored by Gisle Vanem's avatar Gisle Vanem
Browse files

'FD_CLOXEC' is meaningless on MSDOS/Watt-32.

parent 08fd1829
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -800,7 +800,7 @@ static int configure_socket(int s, ares_channel channel)
{
{
  nonblock(s, TRUE);
  nonblock(s, TRUE);


#ifdef FD_CLOEXEC
#if defined(FD_CLOEXEC) && !defined(MSDOS)
  /* Configure the socket fd as close-on-exec. */
  /* Configure the socket fd as close-on-exec. */
  if (fcntl(s, F_SETFD, FD_CLOEXEC) == -1)
  if (fcntl(s, F_SETFD, FD_CLOEXEC) == -1)
    return -1;
    return -1;