Re: Weird lappend issue...



Hi,

This is just a quick response as I am in and out of meetings all day
today...

Firstly, Andreas is correct - the "corruption" I was referring to was
the delimiter change from '/' to '.' Sorry this wasn't clear in my
original post. The wierd aspect (to me) is that the list contents is OK
before the append and the new string element being appended appears to
be OK before and after the append.

Regarding the use of Tcl 8.3.x...I am constrained to use this version
as my application is byte-code obfuscated and executed from within
another application which uses its own Tcl/Tk libraries. I have no
control over the other application which is closed-source so ultimately
can only upgrade if and when the other application is upgraded.

However, I will download the latest 8.4.x binaries and try them out to
eliminate the possibility that it is related to the older version of
Tcl.

I will try again to produce an isolated case of where and how this
occurs...The difficulty is that the wrapper function is part of a
farily complex data access library; It is also used several times
within the application without any previous problems - this is a recent
phenomenon. I will report back next week - hopefully with a simple
repeatable example.

Thanks for your suggestions and advice so far
Shaun

.



Relevant Pages

  • Re: Strange Performance Regression in Tcl 8.5
    ... unshared value to append to, so it can do the operation in place. ... Early releases of Tcl 8.4 suffered this same problem. ... the trunk development code already ran your demo script ... but not because the bug had been fixed. ...
    (comp.lang.tcl)
  • Tcl is blameless, apparently
    ... subsystem I'm responsible for, ... fell on a recent Tcl version upgrade, but apparently it wasn't the culprit. ... workstations running Solaris 9 instead of a mix of HP-UX boxen and X ...
    (comp.lang.tcl)
  • Re: What OO extension for 8.6?
    ... There is no need to upgrade to Tcl 8.6 for them, ... won't supply the original code so we can hunt ... But right now, we have vague ...
    (comp.lang.tcl)
  • Re: create a new file
    ... >aralerr@netscape.net (renee) wrote: ... ># I try to create a new file and append lines to it using TCL. ... you can do this in Tcl with exec ... exec echo test>> test.txt ...
    (comp.lang.tcl)
  • Cannot upgrade TCL port
    ... Each test times out after some minutes. ... The main problem is that there are other packages depending on TCL, and portupgrade won't upgrade them because TCL fails to upgrade. ...
    (freebsd-questions)