Mercurial > hg > octave-kai > gnulib-hg
view modules/progname @ 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 | 281617eccdf5 |
children |
line wrap: on
line source
Description: Program name management. Files: lib/progname.h lib/progname.c Depends-on: configure.ac: AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>]) AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include <errno.h>]) Makefile.am: lib_SOURCES += progname.h progname.c Include: "progname.h" License: GPL Maintainer: Bruno Haible