Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 1999 09:27:17 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Greg Lehey <grog@lemis.com>
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sbin/vinum v.c
Message-ID:  <Pine.BSF.4.05.9905030925020.555-100000@herring.nlsystems.com>
In-Reply-To: <19990503075113.G10134@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9905030925020.555-100000>