From owner-cvs-all Mon May 3 1:40:48 1999 Delivered-To: cvs-all@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 5929415637; Mon, 3 May 1999 01:40:32 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id JAA66191; Mon, 3 May 1999 09:27:17 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Mon, 3 May 1999 09:27:17 +0100 (BST) From: Doug Rabson To: Greg Lehey Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sbin/vinum v.c In-Reply-To: <19990503075113.G10134@freebie.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Mon, 3 May 1999, Greg Lehey wrote: > On Sunday, 2 May 1999 at 15:18:40 +0100, Doug Rabson wrote: > > On Sun, 2 May 1999, Greg Lehey wrote: > > > >> grog 1999/05/02 01:00:32 PDT > >> > >> Modified files: > >> sbin/vinum v.c > >> Log: > >> Maintain a log file, by default /var/log/vinum.history, showing what > >> has been done. This name can be overridden by the value of the > >> VINUM_HISTORY environment variable. > >> > >> Print dates in log file according to the variable VINUM_DATEFORMAT, by > >> default %e %b %Y %H:%M:%S. > > > > This doesn't build on the alpha. This patch should fix it: > > Strange. Is this some problem with register variables? What's the > error message? The problem is that time_t is a different size from tv_sec so the result of the cast expression is an lvalue (which can't have an address taken). The error message was this: /host/herring/b/dfr/FreeBSD/alpha/src/sbin/vinum/v.c: In function `timestamp': /host/herring/b/dfr/FreeBSD/alpha/src/sbin/vinum/v.c:761: invalid lvalue in unary `&' -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message