pcp
[Top] [All Lists]

pcp updates - replace troublesome mmap() use

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>
  • pcp updates - replace troublesome mmap() use, Ken McDonell <=