From owner-freebsd-gnome@FreeBSD.ORG Fri Apr 4 22:32:24 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD7E537B401; Fri, 4 Apr 2003 22:32:24 -0800 (PST) Received: from remt19.cluster1.charter.net (remt19.cluster1.charter.net [209.225.8.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6DA243FAF; Fri, 4 Apr 2003 22:32:23 -0800 (PST) (envelope-from glennpj@charter.net) Received: from [24.158.214.251] (HELO gforce.johnson.home) by remt19.cluster1.charter.net (CommuniGate Pro SMTP 3.5.9b) with ESMTP id 8413120; Sat, 05 Apr 2003 01:32:23 -0500 Received: from gforce.johnson.home (localhost [127.0.0.1]) by gforce.johnson.home (8.12.9/8.12.9) with ESMTP id h356WMcm077494; Sat, 5 Apr 2003 00:32:22 -0600 (CST) (envelope-from glenn@gforce.johnson.home) Received: (from glenn@localhost) by gforce.johnson.home (8.12.9/8.12.9/Submit) id h356WM7F077468; Sat, 5 Apr 2003 00:32:22 -0600 (CST) (envelope-from glenn) Date: Sat, 5 Apr 2003 00:32:21 -0600 From: Glenn Johnson To: Joe Marcus Clarke Message-ID: <20030405063221.GA71103@gforce.johnson.home> Mail-Followup-To: Joe Marcus Clarke , chris@Shenton.Org, FreeBSD GNOME Users 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1049522199.55676.12.camel@shumai.marcuscom.com> User-Agent: Mutt/1.4.1i cc: FreeBSD GNOME Users cc: chris@Shenton.Org Subject: Re: ports/50089: GnuCash-1.8.1_3 fails at startup: scm date util inexact->exact X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2003 06:32:25 -0000 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