pcp
[Top] [All Lists]

Re: [pcp] pmcd on mac rsize ~1.8GB

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] pmcd on mac rsize ~1.8GB
From: Max Matveev <makc@xxxxxxxxx>
Date: Mon, 15 Nov 2010 16:02:16 +1100
Cc: Nate Pearlstein <darknater@xxxxxxxxxxxxx>, pcp@xxxxxxxxxxx
In-reply-to: <1008460397.46571289795844823.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxx>
References: <19680.46333.631517.569650@xxxxxxxxxxxx> <1008460397.46571289795844823.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxx>
On Mon, 15 Nov 2010 15:37:24 +1100 (EST), Nathan Scott wrote:

 nathans> ----- "Max Matveev" <makc@xxxxxxxxx> wrote:

 >> ctime returns a pointer to internal array in libc - I didn't feel
 >> like roaching in there to chomp the line feed. The alternative I was
 >> considering is to allocate a temporary, copy then chomp - I can see
 >> now that the same effect can be achived with strcpy(ctim,
 >> ctime(NOW));

 nathans> Ah, OK, good. :)

New commit on the same leaks branch.

max

<Prev in Thread] Current Thread [Next in Thread>