From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 25 05:01:17 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 ABBDC16A400 for ; Mon, 25 Jun 2007 05:01:17 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.freebsd.org (Postfix) with ESMTP id 2808B13C483 for ; Mon, 25 Jun 2007 05:01:17 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from [10.0.0.222] (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id l5P4PZH7061456; Sun, 24 Jun 2007 21:25:35 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <467F43BF.5050900@freebsd.org> Date: Sun, 24 Jun 2007 21:25:35 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060422 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Angus Barrow References: <467F2411.7070709@aggyb.org> In-Reply-To: <467F2411.7070709@aggyb.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 05:01:17 -0000 Angus Barrow wrote: > I'm trying to develop a BSD licensed version of the ar utility using > the new libelf library ... > > The time shown in arh->ar_date (this is the struct that the libelf > library provides for each entry in the ar archive) seems to have a negative > value (using the GNU ar the date is Jun 3 13:09 2007.... Kai Wang recently added 'ar' support to libarchive/bsdtar; what does 'tar -tv' say? Note: You'll need a recent 7-CURRENT system for this or you can install libarchive/bsdtar from the most recent development snapshot on http://people.freebsd.org/~kientzle/ Tim Kientzle