[PATCH v8 2/2] sysv: linux: Pass 64-bit version of semctl syscall

Alistair Francis alistair23@gmail.com
Mon Jun 1 01:44:34 GMT 2020


On Wed, May 27, 2020 at 10:03 AM Andreas Schwab <schwab@linux-m68k.org> wrote:
>
> On Mai 13 2020, Alistair Francis via Libc-alpha wrote:
>
> > diff --git a/sysdeps/unix/sysv/linux/ipc_priv.h b/sysdeps/unix/sysv/linux/ipc_priv.h
> > index 15a6e683a4..a1a7cacd17 100644
> > --- a/sysdeps/unix/sysv/linux/ipc_priv.h
> > +++ b/sysdeps/unix/sysv/linux/ipc_priv.h
> > @@ -43,6 +43,10 @@ struct __old_ipc_perm
> >    unsigned short int __seq;          /* Sequence number.  */
> >  };
> >
> > +#define __IPC_TIME64 \
> > + (__WORDSIZE == 32 && __TIMESIZE == 64 \
> > +     && (!defined __SYSCALL_WORDSIZE || __SYSCALL_WORDSIZE == 32))
>
> Using defined in a macro expansion is undefined.

Fixed in v9.

Alistair

>
> Andreas.
>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
> "And now for something completely different."


More information about the Libc-alpha mailing list