--8P1HSweYDcXXzwPJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2007-Oct-16 23:53:43 +0400, Igor Sysoev wrote:
>> printf(" %12lu", (unsigned long)kshmptr->u.shm_segsz); or similar.

>
>Here should be %zu.


You're correct. I wasn't aware of 'z' :-(

>However, this patch can not be commited even to 7/8, because it does not
>preserve binary compatibility for shmctl(IPC_STAT).
>
>It seems that should be new shmctl syscall.


I don't believe there is a requirement that IPC_STAT be 2 so an
alternative approach would be to change the value of IPC_STAT to
support the changed shmid_ds size (though this would also
affect semctl() and msgctl().

--=20
Peter Jeremy

--8P1HSweYDcXXzwPJ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHFeZW/opHv/APuIcRAhHCAJ4vJqrDYTci2LCscBjOd/IlOGaVLwCfawHH
GoGATHrPINrWuxDizB68/Os=
=YzjB
-----END PGP SIGNATURE-----

--8P1HSweYDcXXzwPJ--