OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_65-73-g58628eb

Gerrit Code Review gerrit@openafs.org
Thu, 15 Oct 2009 12:16:00 -0700 (PDT)


The following commit has been merged in the master branch:
commit 58628eb745acdf4b1b7e9f5ab828e4ca0fa18b81
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Sun Oct 11 21:55:05 2009 -0500

    Detect and use %zu for size_t when available
    
    Commit db949b7fade69d7eb1e38ad85d5b822c443306cb was incorrect and
    generated warnings on many platforms; we cannot determine the correct
    format string for a size_t at compile-time. Instead use the %z length
    modifier when we can detect that it is safe to use. Otherwise, fall back
    to just %lu on Unix, since it is reasonable to assume
    sizeof(size_t) == sizeof(unsigned long) on Unix.
    
    Reviewed-on: http://gerrit.openafs.org/647
    Reviewed-by: Russ Allbery <rra@stanford.edu>
    Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 acinclude.m4      |    1 +
 src/cf/sizet.m4   |   27 +++++++++++++++++++++++++++
 src/config/stds.h |   24 ++++++++++++------------
 3 files changed, 40 insertions(+), 12 deletions(-)

-- 
OpenAFS Master Repository