From owner-freebsd-current Mon Jul 8 14:14:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A043637B400; Mon, 8 Jul 2002 14:14:24 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 020F343E31; Mon, 8 Jul 2002 14:14:23 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id HAA27765; Tue, 9 Jul 2002 07:14:06 +1000 Date: Tue, 9 Jul 2002 07:17:11 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Don Lewis Cc: current@FreeBSD.org, Subject: Re: struct stat and _POSIX_SOURCE In-Reply-To: <200207081246.g68Cjvwr000350@gw.catspoiler.org> Message-ID: <20020709070934.W4175-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 8 Jul 2002, Don Lewis wrote: > Building OpenOffice is broken in -current because of a problem in > . If _POSIX_SOURCE is defined, does not > #include to get the definition of struct timespec, and it > substitutes alternate structure members for the struct timespec members. > Unfortunately it still attempts to pad the structure with bit fields > whose width is relies on the definition of struct timespec. Sorry, I haven't fixed this yet. I didn't know that anything important actually defines _POSIX_SOURCE. The fix should do something like including to get a suitable variable of the struct. (I would prefer for and <_timespec.h> to not exist. The struct has only 2 members so it is easier to repeat its declaration in a few places.) Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message