Mercurial > hg > octave-kai > gnulib-hg
view modules/strstr-simple @ 14406:8d1ec7b0bc4d
parse-duration: remove xalloc.h dependency
* lib/parse-duration.c (parse_period): handle NULL return from
strdup instead of calling xstrdup().
* modules/parse-duration: remove "xalloc" dependency
author | Bruce Korb <bkorb@gnu.org> |
---|---|
date | Thu, 03 Mar 2011 15:07:32 -0800 |
parents | 59047bad770e |
children | efab6978105e |
line wrap: on
line source
Description: strstr() function: locate first substring in a buffer. Files: lib/str-two-way.h lib/strstr.c m4/strstr.m4 Depends-on: string stdbool memchr memcmp configure.ac: gl_FUNC_STRSTR_SIMPLE gl_STRING_MODULE_INDICATOR([strstr]) Makefile.am: Include: <string.h> License: LGPLv2+ Maintainer: all, Eric Blake