[Xorp-cvs] XORP cvs commit: xorp/libxorp
Pavlin Radoslavov
pavlin@icir.org
Mon, 3 Oct 2005 05:05:46 GMT
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin@xorpc.icir.org 2005-10-03 05:05:46 UTC
XORP CVS repository
Modified files:
libxorp asyncio.cc buffered_asyncio.cc selector.cc
Log message:
Reset errno before a system call or explicitly check that the system
call failed before attempting to use errno. Otherwise, if the system
call succeeded we may be reusing an obsolete value of errno
(from the last system call that failed).
This (probably) fixes bugzilla entry #224
Bugzilla URL: http://www.xorp.org/bugzilla/show_bug.cgi?id=224
Revision Changes Path
1.21 +3 -2; commitid: 14daa4340bb927ea6; xorp/libxorp/asyncio.cc
1.8 +2 -1; commitid: 14daa4340bb927ea6; xorp/libxorp/buffered_asyncio.cc
1.29 +2 -3; commitid: 14daa4340bb927ea6; xorp/libxorp/selector.cc