This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
return inode numbers as strings where necessary
authorZefram <zefram@fysh.org>
Sat, 11 Nov 2017 07:40:20 +0000 (07:40 +0000)
committerZefram <zefram@fysh.org>
Sat, 11 Nov 2017 07:43:45 +0000 (07:43 +0000)
commit2e8ea15a11326145a7df027b5b2507ff3d7483ba
tree3ca50d19499e90392e60c21592332864cbba17db
parentd8f3f638c281aaee77472982fef7e6333a98aea8
return inode numbers as strings where necessary

We previously used a lossy conversion of inode numbers to floating point,
where they're too big to fit the IV/UV format.  That sucks; a rounded
inode number is nearly useless.  Instead, fall back to returning a
string of decimal digits.  That preserves the entire value, for code
that looks at it in the right way, and collapses to the former fallback
in other situations.
pod/perldelta.pod
pod/perlfunc.pod
pp_sys.c