[net.news.b] Why the "-Dindex=strchr" in the 2.10.2 Makefile?

rees@apollo.uucp (Jim Rees) (09/19/84)

I have asked this same question several times before, and have never
gotten an adequate answer.

Given that index() and rindex() are defined in funcs.c, what is the
point of the "-Dindex=strchr" in the USG makefile?  The code would
compile and run just fine without it, and either way it uses the
version in funcs.c rather than the (presumably faster) ones in the
C library.