Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 1996 04:57:03 +0300 (MSK)
From:      =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7=2C_Andrey_Chernov?= <ache@nagual.ru>
To:        Warner Losh <imp@freefall.freebsd.org>
Cc:        CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-ports@freefall.freebsd.org
Subject:   Re: cvs commit:  ports/archivers/arc/patches patch-aa
Message-ID:  <Pine.BSF.3.95.961223045610.1318C-100000@nagual.ru>
In-Reply-To: <199612221701.JAA11237@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 22 Dec 1996, Warner Losh wrote:

> imp         96/12/22 09:01:13
> 
>   Modified:    archivers/arc/patches  patch-aa
>   Log:
>   Apply minor patch from the OpenBSD folks to allow this to compile and
>   work on both FreeBSD and OpenBSD.
>   
>   Specifically, both FreeBSD and OpenBSD have the timelocal() function.  In
>   fact most unixes have this function, so I'm not sure what the best fix
>   generically would be.  This fix is no worse than the one that was there
>   before, however.

timelocal is non-stadard and not recommended way to do thing, exist only
for backward portability, mktime is right way. 

-- 
Andrey A. Chernov
<ache@nagual.ru>
http://www.nagual.ru/~ache/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.961223045610.1318C-100000>