bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in unix.cpp


From: Christopher Boumenot
Subject: bug in unix.cpp
Date: Fri, 8 Nov 2002 13:10:45 -0500
User-agent: Mutt/1.4i

Greetings,

I don't believe this was the intent of the author.  

--- unix.cpp.orig       Fri Nov  8 13:03:16 2002
+++ unix.cpp    Fri Nov  8 13:00:38 2002
@@ -464,7 +464,7 @@
  #ifdef WIN32
                if( WSAGetLastError() == WAEISCONN )
  #else
-               if( errno = EINPROGRESS )
+               if( errno == EINPROGRESS )
  #endif
                {
                        Socket::state = CONNECTING;

This is against Common C++ v2-1.0.3.  I found this while compiling with icc
on FreeBSD v4.7.  If you have any further questions please CC me.


Regards,
Christopher 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]