This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix typo in libmudflap on tree-ssa branch
- From: "Steven G. Kargl" <kargls at comcast dot net>
- To: fche at redhat dot com (Frank Ch. Eigler)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 8 Sep 2003 10:31:04 -0700
- Subject: Re: Fix typo in libmudflap on tree-ssa branch
- References: <20030907162635.4045f552.kargls@comcast.net><o5n0dfkxn0.fsf@toenail.toronto.redhat.com>
On 08 Sep 2003 13:17:39 -0400
fche@redhat.com (Frank Ch. Eigler) wrote:
>
> "Steven G. Kargl" <kargls@comcast.net> writes:
>
> > #ifdef IPC_INFO
> > case IPC_INFO:
> > - MF_VALIDATE_EXTENT (arg.__buf, sizeof (*arg.__buf), __MF_CHECK_WRITE,
> > - "semctl __buf");
> > + MF_VALIDATE_EXTENT (arg.buf, sizeof (*arg.buf), __MF_CHECK_WRITE,
> > + "semctl buf");
> > break;
> > #endif
>
> Thanks, though this looks like another item to leave to autoconf, as
> the existing code does run on some targets. Want to give some new
> configure.in chunks a try?
Sure, I'll try a new chunk for configure.in.
I'll also note that according to "The Open Group Base Specifications Issue 6
IEEE Std 1003.1, 2003 Edition", the standard conforming definition of
senum is
The semctl() function provides a variety of semaphore control operations
as specified by cmd. The fourth argument is optional and depends upon the
operation requested. If required, it is of type union semun, which the
application shall explicitly declare:
union semun {
int val;
struct semid_ds *buf;
unsigned short *array;
} arg;
--
Steve