monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monit ./configure.ac ./monitor.c ./socket.c ./s...


From: Christian Hopp
Subject: Re: monit ./configure.ac ./monitor.c ./socket.c ./s...
Date: Thu, 4 Sep 2003 18:34:36 +0200 (CEST)

On Thu, 4 Sep 2003, Jan-Henrik Haukeland wrote:

> Christian Hopp <address@hidden> writes:
>
> > http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/util.c.diff?tr1=1.83&tr2=1.84&r1=text&r2=text
>
> Please do not introduce new bugs. Here's a pop-quiz, what do you think
> happens when you do this :->

But you know... for one bug you fix you get the second one for free! (-|

>     free(*src);
>     free(buf);
>     *src= xstrdup(buf);

Wohoow... gosh and I didNt even wrote this at night... whether I get old I
have to increase my tea dose. (-:

> Answer:
>
> (gdb) p *mail
> $1 = {to = 0x8083e70 "address@hidden",
>   from = 0x8083f48 "¨ß\022B¨ß\022B2mdi.cm.chello.no",
>   subject = 0x8083ff0 "¨ß\022B¨ß\022Bert --  Connection test failed 
> rhn.redhat.com", message = 0x8083f68 "¨ß\022BÙ", opt_message = 0x8084030 "", 
> events = 0,
>   next = 0x0}
>
>
> Ps. The bugfix is checked in.
tnx!

I had a look on the ISO C stuff... we should forget about it... I you
would have "just" just ISO C compatibility you wont get far with monit.
We do need at least Posix.


CHopp

-- 
Christian Hopp                                email: address@hidden
Institut für Elektrische Informationstechnik             fon: +49-5323-72-2113
TU Clausthal, Leibnizstr. 28, 38678 Clausthal-Zellerf.   fax: +49-5323-72-3197
                             pgpkey: https://www.iei.tu-clausthal.de/pgp-keys/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]