This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #64772] allow for sync on read only handles
authorTony Cook <tony@develop-help.com>
Sat, 2 Jun 2012 02:15:21 +0000 (12:15 +1000)
committerTony Cook <tony@develop-help.com>
Sat, 2 Jun 2012 02:15:21 +0000 (12:15 +1000)
commitc6ed316378d6d1918fa7626803c875b84f0ec8ea
tree56718ec5576176460794e935f1443a476c1d026b
parentb626ecd96d0a4605fcd3ec87b70f09d4df690ed5
parent2ba489e651f762c7947725b01a3955891d4db36d
[perl #64772] allow for sync on read only handles

This is useful on Linux for when you open a directory with open() and
then sync the directory eg, after a rename.

Tested on Linux, NetBSD, Solaris, Haiku-OS, Darwin, cygwin.

Tests are skipped on VMS (where I have no idea if it will work), Win32
(for which opening directories requires special permissions).