Bug#91311: semid_ds conflicts with SUSv2
At Wed, 12 Mar 2003 08:16:37 +0000,
Mark Brown wrote:
> > > but bits/sem.h defines struct semid_ds such that sem_nsems is an
> > > unsigned long. I can't see any reference to this in the changelog
>
> > Does this bug cause some problems? Some architecture on linux defines
> > sem_nsems as unsigned long int.
>
> It causes problems for things like TenDRA that try to use standards
> pedantry to their own ends - I've got a workaround in the TenDRA package
> because of this.
So, what is the problem? TenDRA warns something? I rebuild TenDRA
without any your debian patches, but the result of my build is not
related any semid_ds issue.
Repeatedly, some architecture defined it as unsigned long.
sizeof(unsigned long) > sizeof(unsigned short).
If we change it to unsigned short, then the data may be lost.
Regards,
-- gotom
Reply to: