Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site inuxh.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!inuxc!inuxh!stevens From: stevens@inuxh.UUCP (W Stevens) Newsgroups: net.lang.c Subject: Re: 6 character external identifiers Message-ID: <292@inuxh.UUCP> Date: Wed, 11-Jul-84 14:09:04 EDT Article-I.D.: inuxh.292 Posted: Wed Jul 11 14:09:04 1984 Date-Received: Thu, 12-Jul-84 04:41:42 EDT References: <74@datagen.UUCP> <598@sdcsla.UUCP> <7804@umcp-cs.UUCP> Organization: AT&T Consumer Products Div., Indianapolis Lines: 24 > I can live with 6 character names: I'll just run programs I want > to be ``portable'' through another program that finds identifiers > that aren't unique to 6 characters, and replaces them with new > made up ones that are. For example, > > int ReplaceString () { ... } > int ReplaceChar () { ... } > > would turn into > > int _1ReplaceString () { ... } > int _2ReplaceChar () { ... } Okay. But what if ReplaceString and ReplaceChar are to be placed in a library? How do you guarantee that your special program will generate _1ReplaceString for ReplaceString, and _2ReplaceChar for ReplaceChar, in any program that tries to use these routines (e.g., in a program that includes a function called ReplaceNode)? -- Scott Stevens AT&T Consumer Products Indianapolis, Indiana, USA UUCP: inuxh!stevens