[net.sources.d] MSG strchr problem

jarob@ucrmath.UUCP (Karl Bunch, System's Security Specialist) (03/19/86)

> Does anyone have the code for the strchr routine in the Msg program?
> 
> This is the only thing between me and a screen full of mail!
> 
> 
> Bill

I had the same problem. Try:

#define strchr=index

in hdrs/msg.h

And the recompile it again. The strchr function is the same in 
function as index.

--Karl

jpn@teddy.UUCP (03/19/86)

In article <2403@burdvax.UUCP> wpl@burdvax.UUCP (William P Loftus) writes:
>Does anyone have the code for the strchr routine in the Msg program?
>
>This is the only thing between me and a screen full of mail!
>

Yes, I do:

#define strchr index

Actually, it is even easier to change the Makefile to have the CFLAGS include
the line -Dstrchr=index!

campbell@maynard.UUCP (Larry Campbell) (03/19/86)

> Does anyone have the code for the strchr routine in the Msg program?

strchr == index, so:

	CFLAGS=-Dstrchr=index

in your makefile should do the trick.
-- 
Larry Campbell                                 The Boston Software Works, Inc.
ARPA: maynard.UUCP:campbell@harvard.ARPA       120 Fulton Street
UUCP: {harvard,cbosgd}!wjh12!maynard!campbell  Boston MA 02109