From owner-freebsd-current@FreeBSD.ORG Tue Mar 15 11:15:33 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02A7E16A4CE; Tue, 15 Mar 2005 11:15:33 +0000 (GMT) Received: from ford.blinkenlights.nl (ford.blinkenlights.nl [213.204.211.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81F2643D2D; Tue, 15 Mar 2005 11:15:32 +0000 (GMT) (envelope-from sten@blinkenlights.nl) Received: from tea.blinkenlights.nl (tea.blinkenlights.nl [IPv6:2001:960:301:3:a00:20ff:fe85:fa39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ford.blinkenlights.nl (Postfix) with ESMTP id D1BB43F294; Tue, 15 Mar 2005 12:15:30 +0100 (CET) Received: by tea.blinkenlights.nl (Postfix, from userid 101) id 6C2DF265; Tue, 15 Mar 2005 12:15:30 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by tea.blinkenlights.nl (Postfix) with ESMTP id 5F97F156; Tue, 15 Mar 2005 12:15:30 +0100 (CET) Date: Tue, 15 Mar 2005 12:15:30 +0100 (CET) From: Sten Spans To: Philip Paeps In-Reply-To: <20050315100007.GF696@loge.nixsys.be> Message-ID: References: <20050315092801.840557306E@freebsd-current.sentex.ca> <20050315100007.GF696@loge.nixsys.be> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: alpha@freebsd.org cc: FreeBSD Tinderbox cc: current@freebsd.org Subject: Re: [current tinderbox] failure on alpha/alpha X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2005 11:15:33 -0000 On Tue, 15 Mar 2005, Philip Paeps wrote: >> *** Error code 1 > > Ugh, looks like I broke this... > > Is there a special magical format to use to printf a time_t without having it > break on at least one of the architectures we support? The only portable way seems to be strftime. But almost nobody bothers. strftime(output, sizeof(output), "%s", gmtime(&data->uptime)); -- Sten Spans "There is a crack in everything, that's how the light gets in." Leonard Cohen - Anthem