| Store | Cart

Re: [TCLCORE] TIP #431: Add 'tempdir' Subcommand to 'file'

From: Alexandre Ferrieux <alex...@gmail.com>
Sun, 14 Sep 2014 23:19:00 +0200
On Sun, Sep 14, 2014 at 9:06 PM, Porter, Don <dona...@nist.gov> wrote:
>> Every Tcl_Filesystem has to define a Tcl_FSCreateDirectoryProc for> Tcl to call to create directories in that virtual filesystem.  In the native> filesystems, this is the routine TclpObjCreateDirectory().  To my knowledge> there's never been a call for this routine to provide atomic operations,> so if we now demand such a feature, this implies adding a new driver> routine to carry the new requirement, and making this part of the> next revision of the struct, now labeled as>> TCL_FILESYSTEM_VERSION_3>> Any virtual filesystems not upgraded to the new Tcl_Filesystem> version would fail to perform the new command.

Right. And given the extremely low pressure that this TIP appears to
be relieving (since such races can be made arbitrarily improbable by
using ridiculously long, randomized, [pid] and [clock]-seeded names),
I suggest to target it for Tcl9 instead of 8.6.3. Let's not bump TFV
in a patch release for that.

-Alex

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Tcl-Core mailing list
Tcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcl-core

Recent Messages in this Thread
Kevin Pasko Sep 12, 2014 02:45 pm
Don Porter Sep 12, 2014 08:20 pm
Donal K. Fellows Sep 13, 2014 05:28 pm
Alexandre Ferrieux Sep 14, 2014 09:19 pm
Kevin Pasko Sep 16, 2014 03:22 am
Porter, Don Sep 14, 2014 07:06 pm
Brian Griffin Sep 14, 2014 08:25 pm
Messages in this thread