This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: 'bad code' in tcl file command
- From: "Martin M. Hunt" <hunt at redhat dot com>
- To: Jeff Mincy <mincy at rcn dot com>
- Cc: "insight at sources dot redhat dot com" <insight at sources dot redhat dot com>
- Date: 06 Feb 2003 20:28:55 -0800
- Subject: Re: 'bad code' in tcl file command
- References: <15937.50357.880000.85263@antarres.muniversal.com>
Jeff,
Thanks for catching this. There is a problem with high levels of
optimization and some inline assembly code. I will check in a fix as
soon as I am finished testing to make sure nothing else got broken.
Martin
On Wed, 2003-02-05 at 18:13, Jeff Mincy wrote:
>
>
> The latest tcl 8.4 gets 'command returned bad code' errors when doing
> the file copy and file rename commands. Other than the 'bad code'
> errors which have to be caught, the file commands appear to work correctly.
>
> Here is sample output:
>
> ================
> bash% rm -r -f foo bar baz
>
> bash% which tclsh84
> /usr/bin/tclsh84
>
> bash% echo "foo bar" >> foo
>
> bash% cat foo
> foo bar
>
> bash% tclsh84
> =================
>
> puts [file copy foo bar]
> command returned bad code: 269325160
>
> puts $errorInfo
> command returned bad code: 269325160
> while executing
> "puts [file copy foo bar]"
>
> puts [file rename bar baz]
> command returned bad code: 269325832
>
> puts $errorInfo
> command returned bad code: 269325832
> while executing
> "puts [file rename bar baz]"
>
> exit
> ================
>
> I am on w98, running the latest cygwin.
>
> -jeff
>