Skip to content
Tcl Source Code History Of Ticket 1972879
Login

History Of Ticket 1972879

Artifacts Associated With Ticket 1972879

  1. Ticket change [e697fa816d] (rid 104316) by msofer on 2008-05-26 13:16:24:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Bytecompiling [uplevel]ed scripts (see uplevel.patch below) causes filesystem-1.11 to fail.
      
      This seems to be due to improper spoiling of some intrep when the value is stored as a literal? It looks similar to [Bug #1972867], but filesystem-1.11 test is not so easy to run in isolation (it relies on some previous tests having been run?).
      
    4. foundin initialized to: "obsolete: 8.6a0"
    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: "msofer"
    10. subsystem initialized to: "36. Pathname Management"
    11. title initialized to: "invalid pathname caching?"
    12. type initialized to: "Bug"
  2. Add attachment "uplevel.patch" [2f2c6dbd65] (rid 93017) by msofer on 2008-05-26 20:16:25.

  3. Ticket change [2b4091e03f] (rid 118711) by msofer on 2008-05-26 20:16:25:

    1. icomment:
      
      
      File Added - 279078: uplevel.patch
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  4. Ticket change [a86781048a] (rid 98988) by dgp on 2008-05-27 22:05:15:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      Any relation to 953284?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [4ae06b7fee] (rid 126609) by msofer on 2008-06-09 20:43:17:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: YES
      
      That patch has been committed to HEAD now
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  6. Ticket change [6ee8133431] (rid 100220) by msofer on 2008-06-09 20:45:00:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: YES
      
      That patch has been committed to HEAD now
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  7. Ticket change [df31f1b79d] (rid 114975) by patthoyts on 2008-06-09 21:04:00:

    1. icomment:
      Logged In: YES 
      user_id=202636
      Originator: NO
      
      Possibly the following from Windows XP are relevant:
      ==== filesystem-1.3 link normalisation FAILED
      ==== Contents of test case:
      
          testPathEqual [file normalize [file join dir.dir foo]]  [file normalize [file join dir.link foo]]
      
      ---- Result was:
      not equal: C:/opt/tcl/src/kitgen/8.6/tcl/win/dir.dir/foo C:/opt/tcl/src/kitgen/8.6/tcl/win/dir.link/foo
      ---- Result should have been (exact matching):
      1
      ==== filesystem-1.3 FAILED
      
      
      
      ==== filesystem-1.4 link normalisation FAILED
      ==== Contents of test case:
      
          testPathEqual [file normalize [file join dir.dir inside.file]]  [file normalize [file join dir.link inside.file]]
      
      ---- Result was:
      not equal: C:/opt/tcl/src/kitgen/8.6/tcl/win/dir.dir/inside.file C:/opt/tcl/src/kitgen/8.6/tcl/win/dir.link/inside.file
      ---- Result should have been (exact matching):
      1
      ==== filesystem-1.4 FAILED
      
      
      
      
    2. login: "patthoyts"
    3. mimetype: "text/plain"
    4. username: "patthoyts"
  8. Ticket change [d5e9e433ec] (rid 123715) by dgp on 2008-06-17 03:11:12:

    1. assignee changed to: "dgp"
    2. priority changed to: "9 Immediate"
  9. Ticket change [11d43dba65] (rid 95211) by dgp on 2008-06-21 04:11:51:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      dgpthe difference is whether or not [file link] is compiled
      dgpwhy that difference makes a difference is.... mysterious
      dgpdrilling down, using [eval] on just the [file join .. dir2.link] part is enough.
      dgpIck.  filesystem-1.11 depends on filesystem-1.10 ?
      dgpThis is probably an actual bug
      dgpcd ~
      akuSeeing that I remember that one time somewhere I had to replace a [file join x y] with x/y, because the join command gave bogus results, and x/y didn't. Maybe because the latter forced everything through the string rep. Could of course be an unrelated problem in the path intrep. ... Found it
      aku2007-08-08  Andreas Kupries  <[email protected]>
      
              * inplace.test: Fixed failures of some tests on Windows.
      
              * fileutil.tcl: Working around a possible bug in the handling of
                path intreps by the core, on Windows. See commentary in
                'fullnormalize', and 'find.setup' (f_setupcircle).
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  10. Ticket change [e5b33f835b] (rid 104169) by dgp on 2008-06-22 11:06:22:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      dgpconfirmed that forcing a shimmer of the value {..} is sufficient to make test filesystem-1.11 pass again.
      dgpso I bet the shared literal of that relative pathname is getting a full path cached in it
      dgp...and since [pwd] hasn't changed, that's getting used in an improper way
      dgpI fear this is wrapped up in an old debate about how [file link] is supposed to treat relative pathnames in the target value
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  11. Ticket change [9d1f81c488] (rid 96257) by dgp on 2008-06-22 11:54:59:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      line 940, tclUnixFile.c
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  12. Add attachment "1972879.patch" [49c5a6e86a] (rid 100098) by dgp on 2008-06-23 11:08:37.

  13. Ticket change [ecf2a9dd3b] (rid 103794) by dgp on 2008-06-23 11:08:37:

    1. icomment:
      
      
      File Added - 282178: 1972879.patch
      
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      here's the patch.
      File Added: 1972879.patch
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  14. Ticket change [fe079ceb24] (rid 108517) by dgp on 2008-06-23 11:14:33:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      Distributors of browsers that crash
      deserve death.
      
      I had a lengthy comment to accompany
      that patch.  All lost when my attempt
      to upload the patch file brought the
      browser down.  I'm in no mood to duplicate
      it now.
      
      This fix is a hack to correct a bug
      in Tcl_FSGetTranslatedPath.  It's not
      elegant, but I think forcing us through
      string reps at least gives us something
      we know will work, without requiring me
      to reverse engineer the whole "path"
      Tcl_ObjType.
      
      The code getting replaced by this
      patch was simply wrong wrong wrong.
      It forced a complete normalization of
      the path, and the whole "point" of a
      translated path is that it is an
      expansion of ~ **without** forcing a
      full normalization.  In particular,
      a relative path was being coerced into
      absolute form.
      
      Others are welcome to contribute better
      fix(es).
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  15. Ticket change [b91bca95f1] (rid 129075) by dgp on 2008-06-23 11:18:58:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      committed to HEAD for 8.6a1.
      needs backport.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. resolution changed to: "Fixed"
    5. username: "dgp"
  16. Ticket change [968cd1694d] (rid 106345) by dgp on 2008-06-23 22:34:18:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      Sleep is good.  Better fix committed to HEAD.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  17. Ticket change [1a82831f8d] (rid 122989) by dgp on 2008-06-23 22:48:07:

    1. closedate changed to: "2008-06-23T15:48:07"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      backporting complete.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "dgp"