| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
* .gitignore: ... here, adjusting for differences between bzr and
git.
* Makefile.am (EXTRA_DIST): Replace .bzrignore with .gitignore.
* gnulib: Add --no-vc-files.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
(e.g. versions of groff before 1.20), and substitute TBL_X_FORMAT
accordingly.
* man/replace.sin.in: Replace "l lx." with "l l." if tbl does not
support the 'x' format character.
|
|
|
|
|
|
| |
AC_DEFINE/AC_DEFINE_UNQUOTED.
* src/tests/Makefile.am (TESTS_ENVIRONMENT): Export MANDIR_LAYOUT.
* src/tests/testlib.sh (skip): New function.
* src/tests/man-3: Skip unless the GNU layout is in use.
|
|
|
|
|
|
|
|
| |
* configure.ac: Add gl_WARN_ADD results to WARN_CFLAGS rather than
CFLAGS.
* lib/Makefile.am (AM_CFLAGS): Add $(WARN_CFLAGS).
* libdb/Makefile.am (AM_CFLAGS): Likewise.
* src/Makefile.am (AM_CFLAGS): Likewise. Move $(libpipeline_CFLAGS)
here from AM_CPPFLAGS.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* .bzrignore: Add gnulib/lib/locale.h, man/**/*.log, man/**/*.trs,
src/tests/*.log, and src/tests/*.trs.
* autogen.sh: Drop gnulib/gets.patch backport.
* gnulib/gets.patch: Remove.
* configure.ac (AM_INIT_AUTOMAKE): Set minimum Automake version to
1.11. Add parallel-tests option for compatibility with 1.11.
* man/Rules.man (TESTS_ENVIRONMENT): Move to ...
(LOG_COMPILER): ... this.
* src/tests/Makefile.am (TESTS_ENVIRONMENT): Rewrite as a list of
variable exports rather than as a command prefix, for
compatibility with parallel-tests.
|
|
|
|
|
|
| |
stop assuming gets.
* gnulib/gets.patch: New file.
* autogen.sh: Apply gnulib/gets.patch.
* NEWS: Document this.
|
| |
|
|
|
| |
20120404-stable.
|
| |
|
|
|
|
|
|
|
| |
* configure.ac: Check for lzip. Don't test for lzma if lzip is
present, as was already the case for xz.
* include/comp_src.h.in (comp_list): Add lzip.
* include/manconfig.h.in: Define UNLZIP.
* NEWS: Document this.
|
|
|
| |
* gnulib: Import closedir, fstat, and opendir modules.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* lib/Makefile.am (libman_la_SOURCES): Remove flock.h.
* lib/README: Remove flock.*.
* lib/flock.c, lib/flock.h: Remove.
|
|
|
|
| |
* gnulib: Import warnings module.
* configure.ac: Replace MAN_GCC_WARNING with gl_WARN_ADD.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lib/security.c (do_system_drop_privs_child): New function.
(do_system_drop_privs): Rewrite using libpipeline.
* src/catman.c (post_fork): New function.
(catman): Rewrite using libpipeline.
(add_arg): Rewrite as a wrapper around pipecmd_arg.
(do_catman): Remove.
(reset_cursor): Remove.
(parse_for_sec): Use libpipeline for subprocess handling.
(main): Install custom post-fork handler.
* src/man.c (gripe_no_man) [_AIX || __sgi]: Rewrite vendor fallback
using libpipeline.
* src/Makefile.am (catman_LDADD): Add $(libpipeline_LIBS).
* src/catman.c (main): Duplicate the output of setlocale if
non-NULL.
* configure.ac (AC_FUNC_VFORK): Remove.
(AC_REPLACE_FUNCS): Remove waitpid.
* gnulib: Remove waitpid module.
* lib/README: Remove waitpid.c.
* lib/waitpid.c: Remove.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/man-heirloom-nroff.m4: New file.
* configure.ac: Call MAN_PROG_HEIRLOOM_NROFF. If successful and an
nroff macro was found, prepend -mg -msafe -mpadj to the nroff and
troff options.
* lib/encodings.c (charset_table) [HEIRLOOM_NROFF]: Disable latin1
and nippon devices.
(device_table) [HEIRLOOM_NROFF]: Add locale device.
* src/man.c (heirloom_line_length) [HEIRLOOM_NROFF]: New function.
(add_roff_line_length): Optionally return a command, which should
be inserted before troff.
(add_roff_line_length) [HEIRLOOM_NROFF]: Support Heirloom, which
needs text inserted at the start of the input.
(make_roff_command) [HEIRLOOM_NROFF]: Use locale device instead of
utf8 in UTF-8 locales. Handle add_roff_line_length return value.
Unset TROFFMACS if running setuid.
(make_browser): Compile only if TROFF_IS_GROFF.
(format_display): Only declare variables related to HTML output if
TROFF_IS_GROFF.
* src/tests/zsoelim-1: Ignore .ll and .lt lines inserted by
heirloom_line_length.
* NEWS: Document this.
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Stop checking for seteuid, setreuid, and setresuid.
* lib/security.c (POSIX_SAVED_IDS, SET_EUID, SWAP_UIDS): Remove in
favour of idpriv.h.
(drop_effective_privs): Use idpriv_temp_drop.
(regain_effective_privs): Use idpriv_temp_restore.
(do_system_drop_privs): Use idpriv_drop. Drop saved-IDs case;
avoiding a fork doesn't justify having two code paths.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Remove --enable-socketpair-pipe and
--with-external-pipeline options. Remove INTERNAL_PIPELINE
Automake conditional. Check for libpipeline unconditionally.
* docs/INSTALL.quick: Mention the need to install libpipeline.
* gnulib: Remove strsignal and sys_select modules.
* lib/Makefile.am (libman_la_SOURCES): Never add pipeline.c or
pipeline.h.
* lib/pipeline.c, lib/pipeline.h: Remove.
* m4/man-socketpair.m4: Remove.
* NEWS: Document this. Bump to 2.6.0.
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Add --with-external-pipeline option.
* lib/Makefile.am (libman_la_CPPFLAGS): Add $(libpipeline_CFLAGS).
(libman_la_SOURCES): Include pipeline.c and pipeline.h only
conditionally.
(libman_la_LDFLAGS): Add $(libpipeline_LIBS).
* src/Makefile.am (AM_CPPFLAGS): Add $(libpipeline_CFLAGS).
* NEWS: Document this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Switch to external libintl instead.
* configure.ac (AM_GNU_GETTEXT): Set external.
(AC_CONFIG_FILES): Remove intl/Makefile.
* Makefile.am (SUBDIRS): Remove intl.
(EXTRA_DIST): Add gnulib/m4/glibc2.m4, gnulib/m4/intdiv0.m4,
gnulib/m4/intl.m4, gnulib/m4/intmax.m4, gnulib/m4/inttypes-pri.m4,
gnulib/m4/lcmessage.m4, gnulib/m4/printf-posix.m4,
gnulib/m4/uintmax_t.m4, and gnulib/m4/visibility.m4.
* intl: Remove.
* lib/Makefile.am (libman_la_CPPFLAGS): Remove
-I$(top_builddir)/intl.
* libdb/Makefile.am (libmandb_la_CPPFLAGS): Likewise.
* src/Makefile.am (AM_CPPFLAGS): Likewise.
* .bzrignore: Remove intl/Makefile, intl/charset.alias,
intl/libgnuintl.h, intl/libintl.h, intl/ref-add.sed, and
intl/ref-del.sed.
* NEWS: Document this.
|
|
|
| |
and strcspn.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
installed footprint by about 200K.
* configure.ac: Add LT_INIT. Move AC_GNU_SOURCE up to above it.
Remove redundant AC_PROG_RANLIB.
* gnulib/m4/gnulib-cache.m4: Enable libtool support.
* gnulib/m4/libtool.m4, gnulib/m4/ltoptions.m4,
gnulib/m4/ltsugar.m4, gnulib/m4/ltversion.m4,
gnulib/m4/lt~obsolete.m4, tools/ltmain.sh: New files, created by
libtoolize.
* autogen.sh: Export LIBTOOLIZE_OPTIONS=--quiet.
* lib/Makefile.am: Switch to libtool. Add ../gnulib/lib/libgnu.la,
$(LIBCOMPRESS), and @LIBINTL@ to LIBADD. Install the library in
$(pkglibdir), and instruct libtool to set an RPATH on binaries
built against this library.
* libdb/Makefile.am: Switch to libtool. Add ../lib/libman.la to
LIBADD. Install the library in $(pkglibdir), and instruct libtool
to set an RPATH on binaries built against this library.
* src/Makefile.am (LIBMAN): Reduce to libman.
(LIBMANDB): Reduce to libmandb.
(accessdb_LDADD, catman_LDADD, globbing_LDADD, lexgrog_LDADD,
man_LDADD, manconv_LDADD, mandb_LDADD, manpath_LDADD,
whatis_LDADD, zsoelim_LDADD): Remove dependencies of libman and
libmandb.
* .bzrignore: Add **/*.la, **/*.lo, **/.libs, and ./libtool.
* NEWS: Document this.
Avoid symbol clashes between libgnu and libman.
* lib/hashtable.c (null_hash_free, plain_hash_free, hash_create,
hash_lookup_structure, hash_lookup, hash_install, hash_remove,
hash_free): Rename to ...
(null_hashtable_free, plain_hashtable_free, hashtable_create,
hashtable_lookup_structure, hashtable_lookup, hashtable_install,
hashtable_remove, hashtable_free): ... these. Update all callers
and prototypes.
* lib/hashtable.h (hash_free_ptr): Rename to ...
(hashtable_free_ptr): ... this. Update all users.
|
|
|
| |
* configure.ac (AM_GNU_GETTEXT_VERSION): Upgrade to gettext 0.18.1.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/encodings.c (struct charset_entry): Rename locale_charset to
charset_from_locale. Update all users.
(struct less_charset_entry): Likewise.
(get_locale_charset): Use locale_charset function from Gnulib,
rather than dealing with nl_langinfo and the fallback ourselves.
(get_default_device): Rename locale_charset parameter to
charset_from_locale.
(get_less_charset): Likewise.
(get_jless_charset): Likewise.
* src/tests/Makefile.am (TESTS_ENVIRONMENT): Add
@LOCALCHARSET_TESTS_ENVIRONMENT@.
|
| |
|
|
|
|
| |
timestamps are often just too fragile for those make targets to
work well; use ./autogen.sh instead.
|
|
|
|
|
|
| |
* configure.ac: Check for xz.
* include/comp_src.h.in (comp_list): Add xz.
* include/manconfig.h.in: Define UNXZ.
* NEWS: Document this.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
if we're only producing user databases. This makes testing easier.
* configure.ac, m4/man-bdb.m4 (MAN_CHECK_BDB): Define DBTYPE to
gdbm, ndbm, or btree, indicating the database type in use.
* src/tests/testlib.sh (fake_config, db_ext, accessdb_filter): New
functions.
* src/tests/mandb-1: New test.
* src/tests/Makefile.am (TESTS_ENVIRONMENT): Set DBTYPE
appropriately in the test environment.
(TESTS): Add mandb-1.
|
|
|
|
|
|
| |
available.
* man/Rules.man (replace.sed, .man1.1, .man5.5, .man8.8): Be quieter
in silent mode.
Upgrade to Autoconf 2.64, Automake 1.11, and Gnulib 20090801.
|
|
|
| |
* tools/config.guess, tools/config.sub: Update.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
supplied via gnulib. This is required to work properly with current
versions of gettext and gnulib; see
http://lists.gnu.org/archive/html/bug-gnulib/2009-03/msg00154.html
and thread.
* autogen.sh: If gnulib-tool is installed, call autopoint first and
prevent autoreconf from calling it later. Remove special handling
of tools/config.rpath, which is not necessary with this approach.
* Makefile.am (ACLOCAL_AMFLAGS): Put gnulib/m4 before m4, so that
autopoint puts its macros in gnulib/m4 (later overwritten by
gnulib-tool).
|
| |
|