Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!linus!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.micro.att,net.unix-wizards Subject: Re: Re: instability in Berkeley versus AT&T releases Message-ID: <2505@sun.uucp> Date: Sat, 27-Jul-85 07:14:48 EDT Article-I.D.: sun.2505 Posted: Sat Jul 27 07:14:48 1985 Date-Received: Sun, 28-Jul-85 06:22:49 EDT References: <2067@ucf-cs.UUCP> <363@cuae2.UUCP> <2423@sun.uucp> <5827@utzoo.UUCP> Organization: Sun Microsystems, Inc. Lines: 16 Xref: linus net.micro.att:346 net.unix-wizards:11239 > > * Don't flame me if the index/strchr difference isn't an example of NIH -- > > I haven't used V5 much... > > I'd be suprised if you had, since V5 means "Version 5", which was a Bell > Labs (not USG) Unix around 1974. If you mean "System V", please say it > that way -- they are not the same thing. Furthermore, the index/strchr difference is probably not an example of NIH in the way the original poster thought. *Both* routines are products of AT&T - the routine was called "index" in V7 and "strchr" in System III. At what point it was renamed, I dunno. The S3 documentation comes with a description of changes between S3 and some unspecified earlier version of UNIX. One of the changes was that "strcpyn" was renamed "strncpy". This predates V7, since it was called "strncpy" there as well. Guy Harris