<i>file exists, mtime... procedures leaks</i>.
by
.
D 2015-07-29T08:37:45.036
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment When\sI\suse\scommand\s"file\smtime"\sor\s"file\sexists"\swith\sparameter\sprovided\sas\sresult\sof\s"file\sjoin"\scommand\sit\sleaks\smemory.\r\nExample:\r\n\r\nset\spath1\sC:/example.txt\r\nset\spath2\s[file\sjoin\sC:/\sexample.txt]\r\nfile\sexists\s$path1\s;#\sthis\snot\sleaks\r\nfile\sexists\s$path2\s;#\sthis\sleaks\r\n\r\nNote\sthat\sthere\sis\sdifference\sbetween\srepresentations\sof\sboth\spaths:\r\n\r\n%\s::tcl::unsupported::representation\s$path1\r\nvalue\sis\sa\spure\sstring\swith\sa\srefcount\sof\s4,\sobject\spointer\sat\s006587A0,\sstring\srepresentation\s"C:/example.txt"\r\n%\s::tcl::unsupported::representation\s$path2\r\nvalue\sis\sa\sstring\swith\sa\srefcount\sof\s2,\sobject\spointer\sat\s00658338,\sinternal\srepresentation\s00665318:00000000,\sstring\srepresentation\s"C:/example.txt"
J foundin 8.6.4
J is_private 0
J login RP.
J priority 5\sMedium
J private_contact 8aeeb7bf106b6b88d87c6e2a0fdc8f4887991b9f
J resolution None
J severity Important
J status Open
J submitter RP.
J subsystem 37.\sFile\sSystem
J title file\sexists,\smtime...\sprocedures\sleaks
J type Bug
K f00009f7ce4b58c8b6caedf976e37ea78be6d3c0
U RP.
Z 606f2ba612ae10f5f3d4eeb6055d14ff