Skip site navigation (1)Skip section navigation (2)
Date:      07 Nov 2002 18:40:10 -0500
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Cc:        gnome@FreeBSD.org
Subject:   Re: libgtop broken on -current by latest commit
Message-ID:  <1036712411.345.30.camel@gyros.marcuscom.com>
In-Reply-To: <20021105112435.GA78160@i2.informatik.rwth-aachen.de>
References:  <20021105112435.GA78160@i2.informatik.rwth-aachen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2002-11-05 at 06:24, Volker Stolz wrote:
> I'm currently wading through libgtop-code on -current, maybe
> somebody can lend me a hand?
> 
> A commit two days ago generates invalid C syntax as documented
> by bento, it looks like the closing +#endif comes one line too
> early:
> 
> +}
> +#else
>  if ((vnode.v_type != VREG) || (vnode.v_tag != VT_UFS) ||
> +#endif
>      !vnode.v_data) continue;
> 
> But even if I fix that, my machine complains that there's no variable
> "inode" -- which indeed isn't, because it has moved into a version check:
> 
> +#if __FreeBSD_version < 500039
>  struct inode inode;
> -struct mount mount;
> +#endif
> 
> If I remove the #if, the file compiles at least, but I won't even
> claim that I know what these changes are for.

Fixed.  Thanks for reporting.

Joe

> 
> Cheers,
>   Volker
> -- 
> http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
> 
> 
-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	marcus@FreeBSD.org
http://www.FreeBSD.org/gnome


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1036712411.345.30.camel>