Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2003 00:32:21 -0600
From:      Glenn Johnson <glennpj@charter.net>
To:        Joe Marcus Clarke <marcus@freebsd.org>
Cc:        chris@Shenton.Org
Subject:   Re: ports/50089: GnuCash-1.8.1_3 fails at startup: scm date util inexact->exact
Message-ID:  <20030405063221.GA71103@gforce.johnson.home>
In-Reply-To: <1049522199.55676.12.camel@shumai.marcuscom.com>
References:  <200304030305.h3335ACH073963@freefall.freebsd.org> <20030403214016.GA12235@gforce.johnson.home> <1049406910.349.27.camel@gyros> <20030403220701.GA37237@gforce.johnson.home> <1049432171.49796.15.camel@shumai.marcuscom.com> <20030404060457.GA84119@gforce.johnson.home> <1049522199.55676.12.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 05, 2003 at 12:56:40AM -0500, Joe Marcus Clarke wrote:

> This should fix the date problem in GnuCash:
> 
> mtm         2003/04/04 21:46:44 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     lib/libc/stdtime     strptime.c 
>   Log:
>   Zero out the struct tm supplied by the caller. Otherwise,
>   strange things might happen when garbage values in the struct
>   get passed in to localtime_r() and family.
>   
>   Noticed by:     marcus
>   Approved by:    markm (mentor)(implicit)
>   
>   Revision  Changes    Path
>   1.33      +1 -0      src/lib/libc/stdtime/strptime.c

Thanks.

-- 
Glenn Johnson
glennpj@charter.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030405063221.GA71103>