]> git.saurik.com Git - bison.git/commit - src/output.c
maint: use xconcat-filename.
authorAkim Demaille <akim@lrde.epita.fr>
Tue, 5 Jun 2012 15:26:55 +0000 (17:26 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Tue, 5 Jun 2012 15:34:57 +0000 (17:34 +0200)
commitd9a7c07c5a522f770b0f28c82c91b8010cb7b95c
treec07ded602e42ac5dd39bf6099b072a8bdab8679f
parent28126202a52cda40411bc33ed795ceb4cfdd302d
maint: use xconcat-filename.

* bootstrap.conf (gnulib_modules): Request it.
* src/output.h, src/output.c (compute_pkgdatadir): Rename as...
(pkgdatadir): this.
Adjust dependencies.
* src/output.c (output_skeleton): Reduce the scope of "in".
Use xconcatenated_filename to simplify the construction of the
qualified paths to m4sugar.m4, bison.m4, and the selected skeleton.
There are a few minor differences: the new code uses strchr instead of
mbschr (but this was not really justified), and the new code does not
garantee a single slash even if $BISON_PKGDATADIR ends with several
(which was considered more accurate).  See the discussion at
<http://lists.gnu.org/archive/html/bison-patches/2012-05/msg00052.html>.
bootstrap.conf
lib/.gitignore
src/getargs.c
src/output.c
src/output.h