Skip to content
Tcl Source Code History Of Ticket 3551313fffffffffffffffffffffffffffffffff
Login

History Of Ticket 3551313fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 3551313fffffffffffffffffffffffffffffffff

  1. Ticket change [207bc99cf5] (rid 91316) by lloydwood on 2012-07-29 11:45:39:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. 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).
      
      
      
      
    4. foundin initialized to: "obsolete: 8.5.12"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "lloydwood"
    10. subsystem initialized to: "37. File System"
    11. title initialized to: "Cygwin file exists failure"
    12. type initialized to: "Bug"
  2. Ticket change [1fd0c64e5e] (rid 91209) by nijtmans on 2012-07-29 19:57:50:

    1. assignee changed to: "nijtmans"
  3. Ticket change [de38d8a8f7] (rid 114808) by nijtmans on 2012-07-29 21:38:22:

    1. closedate changed to: "2012-07-29T14:38:22"
    2. closer changed to: "nijtmans"
    3. foundin changed to: "obsolete: 8.5.11"
    4. 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!
      
      
    5. login: "nijtmans"
    6. mimetype: "text/plain"
    7. resolution changed to: "Out of Date"
    8. status changed to: "Pending"
    9. username: "nijtmans"
  4. Ticket change [22fcc014b5] (rid 134186) by dkf on 2013-09-24 22:07:55:

    1. assignee changed to: "aku"
    2. closedate changed to: "2456560.42217528"
    3. closer changed to: "dkf"
    4. 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).
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. severity changed to: "Minor"
    8. status changed to: "Closed"