Xref: utzoo alt.sources:1637 comp.lang.misc:4612 Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!chinacat!sequoia!rpp386!jfh From: jfh@rpp386.cactus.org (John F. Haugh II) Newsgroups: alt.sources,comp.lang.misc Subject: Big Mistake in System V TCL distribution. Message-ID: <18169@rpp386.cactus.org> Date: 23 Mar 90 07:13:44 GMT References: Reply-To: jfh@rpp386.cactus.org (John F. Haugh II) Organization: Lone Star Cafe and BBS Service Lines: 15 In article peter@ficc.uu.net (Peter da Silva) writes: >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"''. 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. -- John F. Haugh II UUCP: ...!cs.utexas.edu!rpp386!jfh Ma Bell: (512) 832-8832 Domain: jfh@rpp386.cactus.org