Mercurial > hg > octave-kai > gnulib-hg
comparison modules/parse-duration @ 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 | 71e6ee885536 |
children | 84563bab7ebd |
comparison
equal
deleted
inserted
replaced
14405:6b613ec494cf | 14406:8d1ec7b0bc4d |
---|---|
4 Files: | 4 Files: |
5 lib/parse-duration.h | 5 lib/parse-duration.h |
6 lib/parse-duration.c | 6 lib/parse-duration.c |
7 | 7 |
8 Depends-on: | 8 Depends-on: |
9 xalloc | |
10 | 9 |
11 configure.ac: | 10 configure.ac: |
12 AC_REQUIRE([AC_C_INLINE]) | 11 AC_REQUIRE([AC_C_INLINE]) |
13 | 12 |
14 Makefile.am: | 13 Makefile.am: |