[perl #64772] check both input and output file handles for sync
authorEvan Miller <eam@frap.net>
Thu, 31 May 2012 13:52:26 +0000 (23:52 +1000)
committerTony Cook <tony@develop-help.com>
Fri, 1 Jun 2012 11:21:32 +0000 (21:21 +1000)
commit2ba489e651f762c7947725b01a3955891d4db36d
tree56718ec5576176460794e935f1443a476c1d026b
parente388dffffac865357da47679aeff0b90d69abe02
[perl #64772] check both input and output file handles for sync

This allows sync() to be called on directory handles.

Originally supplied as a diff, applied and updated to pass tests by
Tony Cook.
dist/IO/IO.pm
dist/IO/IO.xs
dist/IO/t/io_xs.t