This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
(perl #134221) support O_APPEND for open ..., undef on VMS
authorTony Cook <tony@develop-help.com>
Mon, 15 Jul 2019 01:53:23 +0000 (11:53 +1000)
committerTony Cook <tony@develop-help.com>
Tue, 16 Jul 2019 05:30:06 +0000 (15:30 +1000)
commit74b421cc877e412c4eda06757396a1e19fc756ba
treed51488c4218e0f6407eeac7a0d1dc586884c458d
parent0424723402ef153af8ee44222315d9b6a818d1ba
(perl #134221) support O_APPEND for open ..., undef on VMS

VMS doesn't allow you to delete an open file like POSIXish systems
do, but you can mark a file to be deleted once it's closed, but
only when you open it.

Since VMS doesn't (yet) have mkostemp() we can add our own flag to
our mkostemp() emulation to pass the necessary magic to open() call
to delete the file on close.
perlio.c
util.c
util.h