This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
do_msgsnd, do_msgrcv: use STRLEN/SSize_t as appropriate
authorTony Cook <tony@develop-help.com>
Tue, 11 Apr 2023 06:40:46 +0000 (16:40 +1000)
committerTony Cook <tony@develop-help.com>
Thu, 27 Jul 2023 03:58:54 +0000 (13:58 +1000)
commitf6ada4d416b87cdcb33e90b491998f950e00d023
tree16af953a05d7ebab08255acc478150c26dae4007
parent5261e751dc3387281222eb0ac4d87ce0b4538983
do_msgsnd, do_msgrcv: use STRLEN/SSize_t as appropriate

The size parameters for msgsnd() and msgrcv() are size_t, and
the return value of msgrcv() is ssize_t, adjust perl to match.

Unfortunately Linux appears to limit the size of the message queue
to well under 2GB, so I wasn't able to write a failing test for
this.
doio.c
embed.fnc
proto.h