This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
msgrcv: properly downgrade the receive buffer
[perl5.git] / README.openbsd
CommitLineData
23e2b7a9
SP
1If you read this file _as_is_, just ignore the funny characters you
2see. It is written in the POD format (see pod/perlpod.pod) which is
3specifically designed to be readable as is.
4
5=head1 NAME
6
de2902a6 7perlopenbsd - Perl version 5 on OpenBSD systems
23e2b7a9
SP
8
9=head1 DESCRIPTION
10
11This document describes various features of OpenBSD that will affect how Perl
12version 5 (hereafter just Perl) is compiled and/or runs.
13
14=head2 OpenBSD core dumps from getprotobyname_r and getservbyname_r with ithreads
15
16When Perl is configured to use ithreads, it will use re-entrant library calls
f858446f 17in preference to non-re-entrant versions. There is an incompatibility in
23e2b7a9
SP
18OpenBSD's C<getprotobyname_r> and C<getservbyname_r> function in versions 3.7
19and later that will cause a SEGV when called without doing a C<bzero> on
20their return structs prior to calling these functions. Current Perl's
21should handle this problem correctly. Older threaded Perls (5.8.6 or earlier)
22will run into this problem. If you want to run a threaded Perl on OpenBSD
233.7 or higher, you will need to upgrade to at least Perl 5.8.7.
24
25=head1 AUTHOR
26
27Steve Peters <steve@fisharerojo.org>
28
8166b4e0
DB
29Please report any errors, updates, or suggestions to
30L<https://github.com/Perl/perl5/issues>.
23e2b7a9 31