This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use a compile and run test for lchown() to satisfy clang++.
authorAndy Dougherty <doughera@lafayette.edu>
Tue, 27 Aug 2019 16:58:23 +0000 (12:58 -0400)
committerAndy Dougherty <doughera@lafayette.edu>
Sun, 29 Dec 2019 22:39:32 +0000 (17:39 -0500)
commit793824db103f6f9040802055098223c7ab840ea4
treecfee9c7ca7066514d3b32e5ead9f31164032825b
parentf16c94bc75aefb81949b423b399fac4071859f6d
Use a compile and run test for lchown() to satisfy clang++.

For glibc, previous reports were that some functions (such as lchown())
are present in libc, but are unimplemented.  That is, they always fail
and set errno=ENOSYS.  Unfortunately, the stub test doesn't work under
clang++.  Thus use a compile and run test.  This should be more reliable.
Configure