This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
ext/POSIX/POSIX.xs: Convert do whiles into whiles
authorKarl Williamson <khw@cpan.org>
Mon, 9 Mar 2015 03:16:16 +0000 (21:16 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 9 Mar 2015 15:37:08 +0000 (09:37 -0600)
commite3bf330496b342e1b2f35bb5de8f2f619b42f9aa
treebc3d8985ca5721aaaed823676ac348a9cb96ec71
parent9b7098c1c609d4628b5baab6f2c82660c2f29aef
ext/POSIX/POSIX.xs: Convert do whiles into whiles

I don't know why these are do { ] while's, but with the correct
combination of compile flags (such as -DNO_LOCALE), and/or perhaps
platform, one or the other could be called the first time with nulls, so
they need to be straight while{}s to avoid segfaults.
ext/POSIX/POSIX.xs
ext/POSIX/lib/POSIX.pm