| To: | pcp@xxxxxxxxxxx |
|---|---|
| Subject: | pcp updates - replace troublesome mmap() use |
| From: | Ken McDonell <kenj@xxxxxxxxxxxxxxxx> |
| Date: | Thu, 15 Apr 2010 16:59:35 +1000 |
| Reply-to: | kenj@xxxxxxxxxxxxxxxx |
Nathan, try this out ...
Changes committed to git://oss.sgi.com/kenj/pcp.git dev
src/libpcp/src/connectlocal.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
commit a1413f7770ea4136dcd4d3f943d629f5954aba27
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Apr 15 16:56:20 2010 +1000
Replace mmap() use in parsing pmcd.conf
To assist portability, the recently introduced mmap() use has
been replaced by a malloc() and fread() combination. The pmcd.conf
file is small, so this should not be an issue for all platforms.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [pcp] pcp updates - roll to 3.1.3 and pmcd.conf driving available PMDAs for PM_CONTEXT_LOCAL, Nathan Scott |
|---|---|
| Next by Date: | Welcome to the homqqy group, homqqy Moderator |
| Previous by Thread: | Re: [pcp] pcp updates - roll to 3.1.3 and pmcd.conf driving available PMDAs for PM_CONTEXT_LOCAL, nathans |
| Next by Thread: | Welcome to the homqqy group, homqqy Moderator |
| Indexes: | [Date] [Thread] [Top] [All Lists] |