Changes committed to git://oss.sgi.com/nathans/pcp.git
src/include/impl.h | 7 +
src/include/platform_defs.h.in | 3
src/libpcp/src/util.c | 57 ++++++-----
src/libpcp/src/win32.c | 195
+++++++++++++++++++++++++++++++++++++++++
src/pmcd/src/pmcd.c | 22 +---
src/pmcd/src/util.c | 5 -
src/pmie/src/pmie.c | 22 ++--
src/pmlogger/ports.c | 14 +-
src/pmns/pmnsdel.c | 8 -
src/pmns/pmnsmerge.c | 8 -
src/pmnscomp/pmnscomp.c | 8 -
src/pmproxy/GNUmakefile | 2
src/pmproxy/pmproxy.c | 56 +----------
src/pmproxy/pmproxy.h | 1
src/pmproxy/util.c | 97 ++++++++++++++++++++
src/pmsignal/pmsignal.sh | 2
src/pmstat/pmstat.c | 2
src/win32ctl/pcp-setevent.c | 8 -
18 files changed, 383 insertions(+), 134 deletions(-)
commit 08fea1c58b507cf1a1e43161083178905b297683
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Feb 23 16:49:14 2009 +1100
Build fix, handle SIGBUS more cleanly.
commit ef7240c5bcb3d94e2dfc5a6a9170311ac6c7a00c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Feb 23 16:42:14 2009 +1100
Implement SIGUSR1 and SIGHUP functionality on Windows.
The __pmSetSignalHandler and __pmResetSignal handler impl.h
routines are added to hide platform differences - simple
signal(2) wrappers on Unices but more involved under Win32.
__pmSetProgname is extended on Windows to install a default
handler for SIGTERM for all processes, allowing atexit(3)
functionality to be implemented for clean shutdowns.
pmcd, pmie, pmproxy, pmlogger now use the new functionality.
commit e6c933f7454f4d4195fc35213bc05ca4b131dde3
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Feb 23 09:27:30 2009 +1100
Build fix for debian/mips - linker error on pmProgname.
Debian bug 516582 describes a build failure on this platform:
> Automatic build of pcp_2.7.8-20090217 on ball by sbuild/mips 99.99
This is the error:
> /usr/bin/ld: non-dynamic relocations refer to dynamic symbol
pmProgname
> /usr/bin/ld: failed to set dynamic section sizes: Bad value
> collect2: ld returned 1 exit status
I think this will be due to the inadvertant symbol name shadowing
from the local (instead of extern) declaration of pmProgname in
pmstat - this is clearly not the intention anyway, so fix it up by
just using the impl.h declaration (we already include impl.h here)
and hopefully resolve this mips build issue at the same time.
|