[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Util-linux (minus disk tools)



At 15:21 -0700 1998-09-17, David Welton wrote:
>The only thing I had to do to make it work, besides taking out the
>disk tools, was uncomment the 'semun' definition in <bits/sem.h>.

The 'semun' definition belongs in the source files that use it, previous
versions of glibc were in error (according to standards) for defining it.

<<
Envelope-to: jk@espy.org
To: Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
Cc: libc-alpha@cygnus.com
Subject: Re: glibc-2.0.94: <sys/sem.h> doesn't include union semun
Reply-To: drepper@cygnus.com (Ulrich Drepper)
X-fingerprint: BE 3B 21 04 BC 77 AC F0  61 92 E4 CB AC DD B9 5A
Mime-Version: 1.0 (generated by tm-edit 7.108)
From: Ulrich Drepper <drepper@cygnus.com>
Date: 18 Jun 1998 21:27:00 -0700
Lines: 13
Sender: owner-libc-alpha@cygnus.com
Precedence: bulk

Horst von Brand <vonbrand@sleipnir.valparaiso.cl> writes:

> This is what semctl(2) seems to specify, anyway. This makes util-linux-2.8b
> fail its build. Andries.Brouwer@cwi.nl told me <sys/sem_buf.h> (which
> contains the definition) is not mentioned by either SYSV or X/OPEN.

union semun must be specified by the application.  It was a bug that
former glibc versions defined it.

--
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------
>>
--
Joel Klecker (aka Espy)
<URL:mailto:jk@espy.org>        <URL:http://web.espy.org/>
   Debian GNU/Linux user/developer on i386 and powerpc.
<URL:mailto:espy@debian.org>  <URL:http://www.debian.org/>


Reply to: