summaryrefslogtreecommitdiff
path: root/perly.y
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2014-09-12 15:36:34 -0400
committerFather Chrysostomos <sprout@cpan.org>2014-10-24 20:36:35 -0700
commitd40610d16eaa2c4551c2284e77d67581fc9ac258 (patch)
tree87065c5c0a89c51937ca2a49a25abb05302a5d0d /perly.y
parent83b69bfde6226f4bb6cc380f4730edc47f166ed9 (diff)
downloadperl-d40610d16eaa2c4551c2284e77d67581fc9ac258.tar.gz
do not lock files when doing open() on :win32 layer
MS CRT uses _SH_DENYNO flag internally for all open() calls. Not passing FILE_SHARE_READ and FILE_SHARE_WRITE to CreateFile means we want exclusive access to the file, otherwise CreateFile fails. Always locking the files causes :win32 is base layer perl to not be able to have 2 handles/FDs/PIOs open simultaneously to the same disk file. This causes a behavior different from :unix is base layer win32 perl, and also causes a number of test fails to fail. See #122224 for details of test fails. Getting read/write lock on open behavior comes from initial commit a8c08ecdc5 of win32 layer.
Diffstat (limited to 'perly.y')
0 files changed, 0 insertions, 0 deletions