Artifacts Associated With Ticket 3551313fffffffffffffffffffffffffffffffff
Ticket change [207bc99cf5] (rid 91316) by lloydwood on 2012-07-29 11:45:39:
- assignee initialized to: "vincentdarley"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Using 8.5.11 Cygwin package on Win7 64-bit; Cygwin recently moved from Insight Tcl/Tk 8.4, I'm able to hang it by asking about non-existent files/directories on the filesystem: $ tclsh % set a [file exists /cygdrive ] 1 % set a [file exists /cygdrive2 ] (hangs, must ctrl-c, should report 0) $ tclsh % set a [file exists /gffg ] (hangs, must ctrl-c, should report 0) $ tclsh % set a [file exists /bin ] 1 % set a [file exists /usr ] 1 % set a [file exists /banana ] 0 % set a [file exists /gffg ] (hangs, must ctrl-c, should report 0) aim of using file exists /cygdrive was to reliably detect Cygwin, as } elseif {[string equal [tk windowingsystem] win32]} { # Tcl on Windows - grey is no longer reliable, as it returns X11. and I'm also seeing some Tk oddities with e.g. inconsistent tiling of PhotoImages and abutting edges in my app that aren't present on other platforms (and haven't been in over a decade of cross-platform maintenance). - foundin initialized to: "obsolete: 8.5.12"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "lloydwood"
- subsystem initialized to: "37. File System"
- title initialized to: "Cygwin file exists failure"
- type initialized to: "Bug"
Ticket change [1fd0c64e5e] (rid 91209) by nijtmans on 2012-07-29 19:57:50:
- assignee changed to: "nijtmans"
Ticket change [de38d8a8f7] (rid 114808) by nijtmans on 2012-07-29 21:38:22:
- closedate changed to: "2012-07-29T14:38:22"
- closer changed to: "nijtmans"
- foundin changed to: "obsolete: 8.5.11"
- icomment:
Tried the same with a Cygwin build of tclsh8.5.12. (Official package not available yet, but built from sources): $ tclsh8.5 % info patchlevel 8.5.12 % set a [file exists /cygdrive ] 1 % set a [file exists /cygdrive2 ] 0 % set a [file exists /gffg ] 0 % So it looks like this is fixed in 8.5.12. Therefore, modifying the Group and the Resolution to "Out of Date". Please wait for the new Cygwin package to become available. If this still turns out to be not-working then, it might be a problem in the way the Cygwin package is built. Anyway, feel free to re-open this issue, changing the Group to "8.5.12" For the other issues, chances are that they are fixed in 8.5.12 as well: It contains many fixes related to Cygwin. So, please, wait for the new Cygwin package, and if it is still a problem report it here (for Tcl) or in "tktoolkit" (for Tk-related bugs) Thanks!
- login: "nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- status changed to: "Pending"
- username: "nijtmans"
Ticket change [22fcc014b5] (rid 134186) by dkf on 2013-09-24 22:07:55:
- assignee changed to: "aku"
- closedate changed to: "2456560.42217528"
- closer changed to: "dkf"
- comment changed to:
Using 8.5.11 Cygwin package on Win7 64-bit; Cygwin recently moved from Insight Tcl/Tk 8.4, I'm able to hang it by asking about non-existent files/directories on the filesystem: $ tclsh % set a [file exists /cygdrive ] 1 % set a [file exists /cygdrive2 ] (hangs, must ctrl-c, should report 0) $ tclsh % set a [file exists /gffg ] (hangs, must ctrl-c, should report 0) $ tclsh % set a [file exists /bin ] 1 % set a [file exists /usr ] 1 % set a [file exists /banana ] 0 % set a [file exists /gffg ] (hangs, must ctrl-c, should report 0) aim of using file exists /cygdrive was to reliably detect Cygwin, as } elseif {[string equal [tk windowingsystem] win32]} { # Tcl on Windows - grey is no longer reliable, as it returns X11. and I'm also seeing some Tk oddities with e.g. inconsistent tiling of PhotoImages and abutting edges in my app that aren't present on other platforms (and haven't been in over a decade of cross-platform maintenance). - login: "dkf"
- mimetype: "text/plain"
- severity changed to: "Minor"
- status changed to: "Closed"