Skip to content
Tcl Source Code History Of Ticket 218869
Login

History Of Ticket 218869

Artifacts Associated With Ticket 218869

  1. Ticket change [fd520a5ca3] (rid 108395) by nobody on 2000-10-26 01:06:58:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2469 Bug
      Version: 8.2b1
      SubmitDate: '1999-07-28'
      LastModified: '1999-08-08'
      Severity: MED
      Status: Released
      Submitter: techsupp
      ChangedBy: hobbs
      RelatedBugIDs: 1857
      OS: Other
      Machine: NA
      FixedDate: '1999-07-29'
      FixedInVersion: 8.2b2
      ClosedDate: '2000-10-25'
      
      
      Name:
      
      Don Porter
      
      
      
      CVS:
      
      $Id: mkLinks.tcl,v 1.1 1998/06/28 14:11:40 welch Exp $
      
      
      
      Comments:
      
      The unix/mkLinks sh script in Tk causes the problem because it includes:
      
          
      
              if test -r pack-old.n; then
      
                  rm -f pack.n
      
                  ln pack-old.n pack.n
      
              fi
      
          
      
          tk/unix/mkLinks is generated by tcl/unix/mkLinks.tcl when 'make dist'
      
          is performed in tk/unix.  The patch to tcl/uinix/mkLinks.tcl corrects
      
          the mistaken generation of the code snippet above.
      
          
      
          Of course an alternative fix is to remove pack-old.n from Tk.  It's not
      
          clear to me why Tk 8.2 is still shipping with documentation for a
      
          command
      
          that last appeared in Tk 3.X.
      
          
      
          Note that the files tcl/unix/mkLinks and tk/unix/mkLinks distributed
      
          through
      
          NetCVS are not up to date with those in the real distributions of Tcl
      
          and Tk.
      
      
      
      ObservedBehavior:
      
      When installing Tk with 'make install', the mkLinks script is run.
      
          It destroys the pack.n man page and replaces it with a hard link to
      
          pack-old.n .  Later 'man n pack' gives documentation for the obsolete
      
          Tk 3 version of [pack].  Documentation for the current [pack] is not
      
          available.
      
      
      
      DesiredBehavior:
      
      'man n pack' should give current documentation for [pack].
      
      
      
      Patch:
      
      Index: mkLinks.tcl
      
      ===================================================================
      
      RCS file: /cvsroot/tcl/unix/mkLinks.tcl,v
      
      retrieving revision 1.1
      
      diff -c -r1.1 mkLinks.tcl
      
      *** mkLinks.tcl1998/06/28 14:11:401.1
      
      --- mkLinks.tcl1999/07/28 16:12:16
      
      ***************
      
      *** 52,58 ****
      
            regsub {\\-.*} $line {} line
      
            foreach name [split $line ,] {
      
        regsub -all { } $name "" name
      
      ! if {[string compare $tail $name$ext] != 0} {
      
            puts "if test -r $tail; then"
      
            puts "    rm -f $name$ext"
      
            puts "    ln $tail $name$ext"
      
      --- 52,58 ----
      
            regsub {\\-.*} $line {} line
      
            foreach name [split $line ,] {
      
        regsub -all { } $name "" name
      
      ! if {![string match $name*$ext $tail]} {
      
            puts "if test -r $tail; then"
      
            puts "    rm -f $name$ext"
      
            puts "    ln $tail $name$ext"
      
      
      
      PatchFiles:
      
      mkLinks.tcl
      
      
      
      
      
      Applied patch.
       
      -- 07/29/1999 redman
      
    4. foundin initialized to: "obsolete: 8.2b1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "mkLinks destroys Tk's pack(n)"
    11. type initialized to: "Bug"
  2. Ticket change [65b476b9ef] (rid 102595) by welch on 2000-10-26 08:30:15:

    1. closedate changed to: "2000-10-26T01:30:15"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [e3bc7ad587] (rid 87848) by dgp on 2001-04-18 22:12:48:

    1. closedate changed to: "2001-04-18T15:12:48"
    2. closer changed to: "dgp"
    3. subsystem changed to: "53. Configuration and Build Tools"