develooper Front page | perl.perl5.porters | Postings from May 2015

Re: [PATCH for 5.22.0] [perl #125240] POSIX.pm does not guard againstctermid() being unavailable (as it is on Android 5+)

Thread Next
From:
Max Maischein
Date:
May 26, 2015 19:51
Subject:
Re: [PATCH for 5.22.0] [perl #125240] POSIX.pm does not guard againstctermid() being unavailable (as it is on Android 5+)
Message ID:
5564CE9E.60703@cpan.org
Hi all,

attached is the patch that I tested on Android 5 (Cyanogenmod 12) and 
Android 4.4 (Cyanogenmod 11). It also still passed the tests on Windows.

I submit this patch for consideration for 5.22.0 - it marks termios.h as 
unavailable on Android if ctermid() does not compile. The side-effect 
for other platforms is non-existent and building on Android currently 
doesn't pass all its tests.

If this patch doesn't make it into 5.22.0, it should go into the section 
of known problems instead :-)

I'll look at patching POSIX.xs for 5.23 so it can use the detection 
result(s) of Configure whether ctermid() exists and works.

-max

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About