Larry Wall's patch v2.0-11 (1 of 3)

Greg Comeau greg at csanta.UUCP
Wed Jun 15 00:09:15 AEST 1988


In article <409 at kosman.UUCP> kevin at kosman.UUCP (Kevin O'Gorman) writes:
>   char *s = rindex(rejname,'/');
>
>The compiler is complaining about the initializer on the declaration of
>variable s, and I don't blame it.

It is most likely complaining because rindex() has either not been
declared or because rindex is not declared a 'char *' and hence there
is a mismatched pointer.

rindex() should be declares in a .h file somewhere that probably didn't
get include.



More information about the Unix-pc.sources mailing list