mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-06-15 23:35:50 +00:00
8b401988f8
* lib/assert.in.h, m4/assert_h.m4, modules/assert-h: New files. * lib/verify.h: Revamp so that this can be copied into assert.h, while retaining the ability to use it standalone as before. Rename private identifiers so as not to encroach on the standard C namespace, since this is now used by assert.h. (_GL_VERIFY_TYPE): New macro, factoring out differing parts of the old verify_true. (_GL_VERIFY_TRUE): New macro, with much of the contents of the old verify_true. Use _GL_VERIFY_TYPE. (_GL_VERIFY): New macro, with much of the contents of the old verify. (static_assert): New macro, if _GL_STATIC_ASSERT_H is defined and static_assert is not; _GL_STATIC_ASSERT_H is defined when this file is copied into the replacement assert.h. (_Static_assert): New macro, if _GL_STATIC_ASSERT_H is defined and _Static_assert is not built in. (verify_true, verify): Define only if _GL_STATIC_ASSERT_H is not defined, and use the new macros mentioned above. * doc/posix-headers/assert.texi: Document this.
Misc notes
----------
regexprops-generic.texi is generated via a utility in findutils.
How to update gnulib manual on www.gnu.org
------------------------------------------
1) You need a non-anonymous checkout of the web pages directory.
$ cvs -d :ext:jas@cvs.savannah.gnu.org:/web/gnulib \
checkout gnulib
2) Get familiar with the instructions for web page maintainers.
http://www.gnu.org/server/standards/readme_index.html
http://www.gnu.org/server/standards/README.software.html
especially the note about symlinks.
3) Assuming GNULIB_CHECKOUT refers to a checkout of the gnulib dir,
and GNULIB_WWW_CHECKOUT refers to the other directory created above (1),
do
GNULIB_WWW_CHECKOUT=`cd $GNULIB_WWW_CHECKOUT && pwd`
cd $GNULIB_CHECKOUT/doc
make updated-stamp
../build-aux/gendocs.sh -o "$GNULIB_WWW_CHECKOUT/manual" \
gnulib "The GNU Portability Library"
cd $GNULIB_WWW_CHECKOUT
Verify that the result looks sane.
4) Commit the modified and the new files.
5) Find the files which have not been overwritten (because they belonged
to sections that have been removed or renamed):
$ cd manual/html_node
$ ls -lt
Remove these files and commit their removal to CVS.
For each of these files, add a line to the file .symlinks. This will
ensure that hyperlinks to the removed files will redirect to the entire
manual; this is better than a 404 error.
There is a problem with 'index.html' being written twice (once for POSIX
function 'index', once for the table of contents); you can ignore this issue.