diff options
author | Colin Watson <cjwatson@debian.org> | 2011-03-20 12:59:02 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2011-03-20 12:59:02 +0000 |
commit | 34b38e61fd4f1ed342c47390646606839282724a (patch) | |
tree | 5f50cec6787aee6606198d2678fe033088517c71 /Makefile.am | |
parent | 52d0d5db998461171da2cd7222daaa982672cf18 (diff) |
Remove the need for our patched version of xstrdup.
* lib/encodings.c (get_locale_charset): Check return value of
setlocale before passing to xstrdup.
(find_charset_locale): Likewise.
* lib/pathsearch.c (pathsearch): Check return value of getenv before
passing to xstrdup.
(pathsearch_executable): Likewise.
* lib/tempfile.c (create_tempdir): Adjust appendstr call to avoid
needing to pass return value of path_search to xstrdup.
* src/check_mandirs.c (test_manfile): Don't pass NULL lg.whatis to
xstrdup.
* src/descriptions.c (parse_descriptions): Don't pass NULL
head->whatis to xstrdup.
* src/man.c (main): Check return value of setlocale before passing
to xstrdup.
(add_col): Only call find_charset_locale if locale_charset is
non-NULL.
(add_candidate): Don't pass NULL ult to xstrdup.
* src/manp.c (read_config_file): Adjust appendstr call to avoid
needing to pass return value of getenv to xstrdup.
* src/whatis.c (do_apropos): Don't pass NULL info.whatis to xstrdup.
(main): Check return value of setlocale before passing to xstrdup.
* src/zsoelim.l (zsoelim_stdin_data_new): Don't pass NULL path to
xstrdup.
* Makefile.am (EXTRA_DIST): Remove gnulib/lib/xmalloc.c.orig and
gnulib/lib/xmalloc.patch.
* autogen.sh: Stop applying gnulib/lib/xmalloc.patch.
* gnulib/lib/xmalloc.c.orig, gnulib/lib/xmalloc.patch: Remove.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 991cf1d6..33da2e29 100644 --- a/Makefile.am +++ b/Makefile.am @@ -26,8 +26,6 @@ dist_noinst_DATA = NEWS README include/README EXTRA_DIST = \ .bzrignore \ autogen.sh \ - gnulib/lib/xmalloc.c.orig \ - gnulib/lib/xmalloc.patch \ gnulib/m4/gnulib-cache.m4 \ gnulib/m4/gnulib-tool.m4 \ release.sh |