From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 25 15:19:46 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6709C16A41F for ; Mon, 25 Jun 2007 15:19:46 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 2AC0B13C48A for ; Mon, 25 Jun 2007 15:19:46 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id CA51620AF; Mon, 25 Jun 2007 17:19:41 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id BD60E20AB; Mon, 25 Jun 2007 17:19:41 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 8814E5C77; Mon, 25 Jun 2007 17:19:41 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Angus Barrow References: <467F2411.7070709@aggyb.org> Date: Mon, 25 Jun 2007 17:19:41 +0200 In-Reply-To: <467F2411.7070709@aggyb.org> (Angus Barrow's message of "Mon\, 25 Jun 2007 03\:10\:25 +0100") Message-ID: <867ipsnjsi.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: libelf question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2007 15:19:46 -0000 Angus Barrow writes: > 30 time_t timet=3Darh->ar_date; > (gdb) n > 31 strftime(timestring, sizeof(timestring), "%b %e %H:%M %Y", > gmtime(&timet)); > (gdb) n > ... > (gdb) print timet > $1 =3D -1515870811 (gdb) p/x -1515870811 $1 =3D 0xa5a5a5a5 from malloc(3): J Each byte of new memory allocated by malloc(), realloc() or reallocf() will be initialized to 0xa5. All memory returned by free(), realloc() or reallocf() will be initialized to 0x5a. This is intended for debugging and will impact performance neg= a- tively. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no