Patch to use strchr, strrchr

Richard Henderson rth@cygnus.com
Thu Nov 2 11:17:00 GMT 2000


On Thu, Nov 02, 2000 at 02:11:35PM +0000, Joseph S. Myers wrote:
> This patch changes uses of index () and rindex () into strchr () and
> strrchr ().

You'll want to fix up system.h such that if !HAVE_STRCHR && HAVE_INDEX
that the appropriate macros get defined.  Currently they go the wrong
direction.


r~


More information about the Gcc-patches mailing list