Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site dartvax.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!dartvax!chute From: chute@dartvax.UUCP (Christopher Chute) Newsgroups: net.wanted.sources Subject: Re: Shar archiver - need index() for getopt.c Message-ID: <3319@dartvax.UUCP> Date: Wed, 3-Jul-85 00:49:38 EDT Article-I.D.: dartvax.3319 Posted: Wed Jul 3 00:49:38 1985 Date-Received: Fri, 5-Jul-85 06:53:11 EDT References: <112@gwsd.UUCP> Organization: Dartmouth College, Hanover, NH Lines: 18 > A short while back, the sources for a Shar archiver was posted. > When I try to compile and link it, it complains that index() > is missing. Could someone point me to it? I'm on a 3b2 > running SYS V Rel 2.2 I have run into the same problem on my UNIX PC (7300). The answer is to change all function calls to index() and rindex() as mapped: index() -> strchr() rindex()-> strrchr() This works for me, I nabbed this tidbit off the net in reference to other Sys V source problems. Hope this helps. Cheers, Chris Chute MD Dartmouth Medical School