[Top][All Lists]

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

Re: [RP] cleaning up cmd_clock

From: shawn
Subject: Re: [RP] cleaning up cmd_clock
Date: Sun, 15 Apr 2001 13:41:41 -0700

>Envelope-to: address@hidden
>Delivery-date: Sun, 15 Apr 2001 13:03:30 -0700
>Date: Fri, 13 Apr 2001 11:45:40 -0700 (PDT)
>From: Jonathan Walther <address@hidden>
>X-Sender: address@hidden
>Cc: address@hidden
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>Ok, this patch fixes that.  I took out the error check for time()
>for a very good reason:  look at how we invoke it.  The only possible
>error condition for time() is if the pointer you pass it is out of the
>area you can access; because of how we allocate it we will not get that
>error.  Also, no matter what value you throw at it, ctime() knows what
>to do.  All our bases are covered.

I've applied your patch. I did however expand it a bit, so it didn't
look so daunting. And I used strncpy since strndup is a GNU extension.

reply via email to

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