From: Johan Linde (jlinde@telia.com)
Date: 11 Mar 01, 00:02 EST
From: Johan Linde <jlinde@telia.com>
Subject: Re: saveACopyAs bug, 7.5d1
>On Fri, 9 Mar 2001, Craig B Upright wrote:
>
>| Here's the end of a trace for saveACopyAs. Selecting "Save" does
>| not save. If attempting to over-write an existing file, the old one
>| is deleted, but not replaced. Let me know if you want the full
>| trace.
>
>This problem might be more serious -- I was trying to get a trace on the
>installation script problems described yesterday, and now (with 7.5d1) I
>cannot get anything to install.
The bug is in the "file" proc in AlphaBits.tcl. In the "copy" section
of the switch statement, change
# Approximate emulation of '-force'
if {$force && [file exists [lindex $args end]]} {
to
# Approximate emulation of '-force'
if {[info exists force] && [file exists [lindex $args end]]} {
>The implication here is that once you install 7.5d1, you won't be able
>to install any future updates.
This can be fixed by an install script which first defines a
corrected "file" proc before installing.
Johan
--
___________________________________________
Johan Linde, mailto:jlinde@telia.com
http://www.theophys.kth.se/~jl/
Alphas HTML-läge, Alpha's HTML mode
http://go.to/alpha_www_tools
_______________________________________________
AlphaTcl-developers mailing list
AlphaTcl-developers@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/alphatcl-developers