Artifacts Associated With Ticket 218869
Ticket change [fd520a5ca3] (rid 108395) by nobody on 2000-10-26 01:06:58:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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 - foundin initialized to: "obsolete: 8.2b1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "mkLinks destroys Tk's pack(n)"
- type initialized to: "Bug"
Ticket change [65b476b9ef] (rid 102595) by welch on 2000-10-26 08:30:15:
- closedate changed to: "2000-10-26T01:30:15"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [e3bc7ad587] (rid 87848) by dgp on 2001-04-18 22:12:48:
- closedate changed to: "2001-04-18T15:12:48"
- closer changed to: "dgp"
- subsystem changed to: "53. Configuration and Build Tools"