[net.wanted.sources] Shar archiver - need index

revc@gwsd.UUCP (Bob Van Cleef) (07/01/85)

-----
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

Bob
-- 
Bob Van Cleef			...sdcsvax!gwsd!revc
Gateway Computer Systems	 (619) 457-2701
4980 Carroll Canyon Road
San Diego, CA 92121

chute@dartvax.UUCP (Christopher Chute) (07/03/85)

> 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