This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Convert Fcntl::S_IS{LNK,SOCK,BLK,CHR,FIFO,WHT,ENFMT} to XS.
authorNicholas Clark <nick@ccl4.org>
Mon, 18 Oct 2010 17:30:12 +0000 (19:30 +0200)
committerNicholas Clark <nick@ccl4.org>
Mon, 18 Oct 2010 17:32:26 +0000 (19:32 +0200)
commit96d24b8ce2ce0411b22e29e30ee26700bb1213cf
tree6767b189834133a98c2c29aa35615e4a72a9bd3a
parentefe77345f79553ebc2eff1978e461a89d4448f00
Convert Fcntl::S_IS{LNK,SOCK,BLK,CHR,FIFO,WHT,ENFMT} to XS.

This reduces the memory usage of Fcntl by quite a bit, as the same XSUB is used
by all 9 S_IS* functions.
ext/Fcntl/Fcntl.pm
ext/Fcntl/Fcntl.xs