Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 12:24:35 +0100
From:      Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To:        gnome@freebsd.org
Cc:        marcus@freebsd.org
Subject:   libgtop broken on -current by latest commit
Message-ID:  <20021105112435.GA78160@i2.informatik.rwth-aachen.de>

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

Cheers,
  Volker
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME


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?20021105112435.GA78160>