Merged Nathan's first round of errnno changes
Changes committed to git://oss.sgi.com/kenj/pcp.git dev
configure.in | 7 ++-----
src/include/builddefs.in | 2 +-
src/include/platform_defs.h.in | 22 ++++++++++++++++------
src/libpcp/src/access.c | 21 +++------------------
src/libpcp/src/auxconnect.c | 22 +++-------------------
src/libpcp/src/logconnect.c | 2 +-
src/libpcp/src/win32.c | 6 ------
src/libpcp_http/src/http_fetcher.c | 12 ++++--------
src/libpcp_trace/src/trace.c | 4 ++--
src/pmdas/cisco/pmda.c | 4 ++--
src/pmdas/cisco/probe.c | 2 +-
src/telnet-probe/telnet-probe.c | 6 +-----
12 files changed, 36 insertions(+), 74 deletions(-)
commit 9a7943a46873208c0b5ffd922c1480daf8f2030d
Merge: c639abb 6c8e394
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Feb 25 06:53:42 2011 +1100
Merge branch 'dev' of git://oss.sgi.com/nathans/pcp into dev
commit 6c8e39480f66d87869305ff9e4b28a4723306da1
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu Feb 24 08:53:07 2011 +1100
Correct cross-platform herrno handling, particularly for Win32.
This commit adds the initial macros for correcting cross-platform
issues with how we deal with errno and friends. It introduces a
set of platform independent macros which abstract the differences
and does the translation for herrno. Various scattered hacks to
deal with hstrerror throughout the code have beem removed.
Changes for errno and the Win32 socket API error codes are alot
more extensive, thats not addressed here (that will come next).
|