• Show log

    Commit

  • Hash : 4e793c35
    Author : Eric Blake
    Date : 2009-09-11T13:57:55

    canonicalize-lgpl: fix glibc bug with trailing slash
    
    Consolidate the m4 macros into a single file, since both modules
    now have to worry about replacing canonicalize_file_name on
    buggy glibc.
    
    * m4/canonicalize-lgpl.m4: Move contents...
    * m4/canonicalize.m4: ...here.
    (gl_CANONICALIZE_LGPL): Factor realpath check...
    (gl_FUNC_REALPATH_WORKS): ...into new macro.  Enhance to catch
    glibc 2.3.5 bug, fixed 2005-04-27.
    (gl_FUNC_CANONICALIZE_FILENAME_MODE): Use it.
    (gl_PREREQ_CANONICALIZE_LGPL): Inline...
    (gl_CANONICALIZE_LGPL_SEPARATE): ...into this macro.
    * modules/canonicalize-lgpl (Files): Manage file rename.
    * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Provide default.
    * modules/stdlib (Makefile.am): Substitute witness.
    * lib/stdlib.in.h (canonicalize_file_name): Declare if replacement
    is needed.
    * lib/canonicalize-lgpl.c: Also compile if canonicalize_file_name
    replacement is required.
    * lib/canonicalize.c (canonicalize_file_name): Likewise.
    * doc/glibc-functions/canonicalize_file_name.texi
    (canonicalize_file_name): Document this.
    * doc/posix-functions/realpath.texi (realpath): Likewise.
    
    Signed-off-by: Eric Blake <ebb9@byu.net>
    

  • README

  • 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.