: <i>Open file descriptor leak: better align dir operations(opendir/readdir/closedir) all to either 64bit or 32bit ones.</i> plus 5 other changes
by
.
D 2018-05-09T02:12:28.906
J closer nobody
J icomment As\sthe\scomments\sto\s"sebres\sadded\son\s2018-05-08\s10:02:04:"\r\n\r\nSebres,\r\n\r\nThanks\sfor\sthe\sprompt\sreply.\sI\sthought\syour\sfix\swas\snot\scompleted\sone,\syou\smissed\sDIR/DIR64.\sI\sattached\sthe\spartial\spatch\sbased\son\smy\slocal\s8.5.19\sfor\syour\sreference\shere(DIR\sto\sTcl_Dir),\sthe\sother\stwo\stclUnixFile.c\sand\stclUnixFCmd.c\sfiles\sneed\sa\slight\supdate\sas\swell\son\swhere\sDIR\sis\splaced.\sI\stag\sthe\sbug\swith\s"rejected"\sand\s"pending"\sto\sdrive\sthe\sworkflow.\r\n\r\nThe\schanges\sto\smy\slocal\sis\sbuilt\sgood\son\sAIX\sand\stesting\sis\spassed.\r\n\r\nIndex:\stclUnixPort.h\r\n===================================================================\r\n---\stclUnixPort.h\t(revision\s88561)\r\n+++\stclUnixPort.h\t(working\scopy)\r\n@@\s-59,10\s+59,18\s@@\r\n\s\r\n\s#ifdef\sHAVE_STRUCT_DIRENT64\r\n\stypedef\sstruct\sdirent64\tTcl_DirEntry;\r\n+typedef\sDIR64\t\t\tTcl_Dir;\r\n\s#\s\s\sdefine\sTclOSreaddir\t\treaddir64\r\n+#\s\s\sdefine\sTclOSopendir\t\topendir64\r\n+#\s\s\sdefine\sTclOSrewinddir\trewinddir64\r\n+#\s\s\sdefine\sTclOSclosedir\tclosedir64\r\n\s#else\r\n\stypedef\sstruct\sdirent\tTcl_DirEntry;\r\n+typedef\sDIR\t\tTcl_Dir;\r\n\s#\s\s\sdefine\sTclOSreaddir\t\treaddir\r\n+#\s\s\sdefine\sTclOSopendir\t\topendir\r\n+#\s\s\sdefine\sTclOSrewinddir\trewinddir\r\n+#\s\s\sdefine\sTclOSclosedir\tclosedir\r\n\s#endif\r\n\s\r\n\s#ifdef\sHAVE_TYPE_OFF64_T
J login wrenashe
J mimetype text/plain
J resolution Rejected
J status Pending
K 92564326a98b551099d3e61bbe88e3b5f9720c15
U wrenashe
Z 6ac4da6a502ff6b32982848609a35026