You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@locus.apache.org on 2000/03/20 22:23:15 UTC

cvs commit: apache-2.0/src/lib/apr/network_io/win32 sockets.c

stoddard    00/03/20 13:23:15

  Modified:    src      CHANGES
               src/lib/apr/network_io/win32 sockets.c
  Log:
  ap_connect was not returning correct error in one case
  PR: 5866
  
  Revision  Changes    Path
  1.31      +3 -0      apache-2.0/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/CHANGES,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- CHANGES	2000/03/17 01:14:11	1.30
  +++ CHANGES	2000/03/20 21:23:13	1.31
  @@ -1,4 +1,7 @@
   Changes with Apache 2.0a2-dev
  +  *) Win32: ap_connect() was not returning correct error condition
  +     PR5866
  +     [Allen Prescott <al...@clanprescott.com>]
   
     *) Put in Korean and Norwegian index.html pages (2.0 and 1.3)
        which where donated by Lee Kuk Hyun and Lorant Czaran. 'Fixed'
  
  
  
  1.19      +1 -1      apache-2.0/src/lib/apr/network_io/win32/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/win32/sockets.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- sockets.c	2000/03/10 00:06:30	1.18
  +++ sockets.c	2000/03/20 21:23:14	1.19
  @@ -225,8 +225,8 @@
               if (select(sock->sock+1, NULL, &temp, NULL, NULL) == 1) {
                   return APR_SUCCESS;
               }
  -        return APR_EEXIST;
           }
  +        return lasterror;
       }
   }