Skip to content
Tcl Source Code Artifact [47b7e228b7]
Login

Artifact [47b7e228b7]

Artifact 47b7e228b7bd96a929774f026b9dd9071c197294:

Ticket change [47b7e228b7] - Ticket [219139ffffffffff|219139ffff] <i>file delete -force does not work on read-only directories</i> status still Open with 4 other changes by vincentdarley on 2001-09-04 19:57:24.
D 2001-09-04T19:57:24
J icomment Logged\sIn:\sYES\s\nuser_id=32170\n\nI\sconsidered\sdoing\sthat,\sperhaps\scombining\sthe\sfunction\s\nwith\sthe\s(existing)\s'TclpCreateTempFile'\swhich\sis\sabove.\s\s\n\nI\sappreciate\sthe\scomment\sabout\s'tmpnam';\sthe\sapproach\sin\s\nthe\spatch\sdoes\shave\sthe\sbenefit\sthat\sthe\sfile\sactually\s\nexists\s(even\sthough\swe\sclosed\sit),\sso\sI\sdon't\sthink\san\s\nattacker\scan\smess\swith\sit.\s\sWhat\shappens\snext\sis\sthat\swe\s\noverwrite\sthe\sexisting\sfile.\n\nAll\sin\sall\sI\sdidn't\ssee\smassive\sbenefits\sfrom\sreturning\s\nboth\sthe\sname\sand\sthe\schannel.\s\sWhile\savoiding\sthe\s'open-\nclose-open'\sbehaviour\sof\sthe\scurrent\scode,\sin\sother\sways\sit\s\ncomplicates\sthings\s(the\sWin/Mac\sports\smust\sexplicitly\sopen\s\nthe\stemp\sfile,\sthe\sfile\shandle\smust\sbe\sconverted\sto\sa\s\nTcl_Channel\sin\sall\sthree\splatforms,\swe\sneed\sto\smodify\sthe\s\nshared\sCrossFilesystemCopy,\setc...)\n\nAnyway,\sI\sdon't\sfeel\sthat\sstrongly\sabout\sit,\sso\sam\shappy\sto\s\nbe\sargued\sback\s(!).\s\s\sDoes\sthe\spatch\sactually\scompile\sand\s\npass\sthe\stests?\n\n
J login vincentdarley
J mimetype text/plain
J username vincentdarley
K 219139ffffffffffffffffffffffffffffffffff
U vincentdarley
Z dc8271b3d013a83acd47499854218780