view modules/strstr @ 17305:0e5a583a2a8d

regex: test for buffer overrun * m4/regex.m4 (gl_REGEX): Add test case, by Andreas Schwab, for the just-fixed regex bug.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 29 Jan 2013 22:34:58 -0800
parents d1397c651af7
children
line wrap: on
line source

Description:
strstr() function: efficiently locate first substring in a buffer.

Files:

Depends-on:
strstr-simple

configure.ac:
gl_FUNC_STRSTR
if test $REPLACE_STRSTR = 1; then
  AC_LIBOBJ([strstr])
fi

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
all, Eric Blake