view modules/strverscmp @ 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 8d80c477e0ad
children 4ae1058b7455
line wrap: on
line source

Description:
Compare strings holding version numbers.

Files:
lib/strverscmp.c
m4/strverscmp.m4

Depends-on:
extensions
string

configure.ac:
gl_FUNC_STRVERSCMP
gl_STRING_MODULE_INDICATOR([strverscmp])

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
Jim Meyering, glibc