[comp.lang.misc] Mistake in System V TCL distribution.

peter@ficc.uu.net (Peter da Silva) (03/23/90)

In converting the program to System V, I inadvertently changed the
string ``index'' to ``strchr'' in one place too many. Index is a tcl
function. In tclBasic.c, in the table of function names, replace the
occurrence of ``"strchr"'' with ``"index"''.
-- 
 _--_|\  `-_-' Peter da Silva. +1 713 274 5180. <peter@ficc.uu.net>.
/      \  'U`
\_.--._/
      v

peter@ficc.uu.net (Peter da Silva) (03/23/90)

> This is probably one of those things that falls under the heading
> of "really big mistakes."  The number of systems which have "index"
> as a library function is non-small.  Given that the most common
> trick used to port USG stuff to BSD land is "-Dstrchr=index", you
> are going to have [ and anyone else who intentionally pulls this
> stunt ] one hell of a large body of people pissed off at you.

Are you pissed off at me because I converted the program to conform to
the ANSI library specs, or because I missed one spot? The single case
where this is a problem is in a string constant and immune to #define.

Actually, it took me a while to figure out what you're getting at. When I
said that "index" was a TCL function, I meant "index" is a *TCL* function.
TCL is an interpreted language, and has its own name space.

Frankly, if I had made that boner I'd hope that a hell of a large body of
people were pissed off at me.

It's beginning to look like, apart from a few people here and the folks
using Karl's TCL-for-the-Amiga version, nobody outside sprite.berkeley.edu
has actually done anything *with* TCL after the initial euphoria wore off.
-- 
 _--_|\  `-_-' Peter da Silva. +1 713 274 5180. <peter@ficc.uu.net>.
/      \  'U`
\_.--._/
      v

allbery@NCoast.ORG (Brandon S. Allbery) (03/24/90)

As quoted from <.GF2F+Bficc@ficc.uu.net> by peter@ficc.uu.net (Peter da Silva):
+---------------
| It's beginning to look like, apart from a few people here and the folks
| using Karl's TCL-for-the-Amiga version, nobody outside sprite.berkeley.edu
| has actually done anything *with* TCL after the initial euphoria wore off.
+---------------

It's in the queue... maybe next month.  :-(  I *do* intend to at least look at
it, although I've switched to using Perl for most simple tools now.

I wouldn't be surprised to find that I'm not the only one who doesn't have
time to immediately examine everything that comes across the Usenet.

++Brandon
-- 
Brandon S. Allbery (human), allbery@NCoast.ORG (Inet), BALLBERY (MCI Mail)
ALLBERY (Delphi), uunet!cwjcc.cwru.edu!ncoast!allbery (UUCP), B.ALLBERY (GEnie)
BrandonA (A-Online) ("...and a partridge in a pear tree!" ;-)