OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-951-g8c1f725

Gerrit Code Review gerrit@openafs.org
Sun, 27 Mar 2011 16:44:01 -0700 (PDT)


The following commit has been merged in the master branch:
commit 8c1f7259314b1d81ce7be2fe7abe3f28672b2ce0
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Thu Mar 24 15:36:49 2011 +0000

    afs_snprintf is dead, long live rk_snprintf
    
    We were shipping our own implementation of snprintf and friends, as
    afs_snprintf. Now that we're using roken everywhere, we can make use
    of roken's rk_snprintf, and no longer need to ship our own.
    
    As Window's snprintf isn't C99 compliant, roken always uses its own
    on this platform. The effect of this is that we can no longer use
    AFS_UINT64_FMT and AFS_INT64_FMT for snprintf calls (and the Log
    functions that call them). Instead, we need to always use the
    Unix format specifiers when calling these functions.
    
    Make thse changes across the whole tree.
    
    Change-Id: I3fffef97566f239ad639f15c4decd136d5bbd765
    Reviewed-on: http://gerrit.openafs.org/4316
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
    Tested-by: Jeffrey Altman <jaltman@openafs.org>

 src/WINNT/afsd/cm_scache.c             |    4 +-
 src/WINNT/afsd/cm_volume.c             |    4 +-
 src/WINNT/afsreg/afssw.c               |    3 +
 src/WINNT/netidmgr_plugin/krb5common.c |    2 +
 src/aklog/aklog.c                      |    3 +-
 src/audit/audit-sysvmq.c               |    4 +-
 src/butc/lwps.c                        |    9 +-
 src/libafsauthent/Makefile.in          |    4 -
 src/ptserver/pt_util.c                 |    2 +-
 src/shlibafsauthent/Makefile.in        |    4 -
 src/shlibafsauthent/libafsauthent.map  |    1 -
 src/tbudb/Makefile.in                  |    5 +-
 src/tptserver/Makefile.in              |    5 +-
 src/tubik/Makefile.in                  |    6 +-
 src/tviced/serialize_state.c           |    2 +-
 src/tvlserver/Makefile.in              |    7 +-
 src/ubik/phys.c                        |    4 +-
 src/ubik/recovery.c                    |   20 +-
 src/ubik/remote.c                      |   16 +-
 src/util/Makefile.in                   |   10 +-
 src/util/NTMakefile                    |    2 -
 src/util/afsutil.h                     |   29 -
 src/util/serverLog.c                   |   21 +-
 src/util/snprintf.c                    |  906 --------------------------------
 src/util/test/snprintf_test.c          |  407 --------------
 src/venus/fstrace.c                    |    5 +-
 src/viced/afsfileprocs.c               |    5 +-
 src/viced/host.c                       |   69 ++--
 src/vol/namei_ops.c                    |   54 +-
 src/vol/partition.c                    |   16 +-
 src/vol/salvaged.c                     |   10 +-
 src/vol/vol-info.c                     |   16 +-
 src/vol/vol-salvage.c                  |   53 +-
 src/vol/volume.c                       |    7 +-
 src/vol/vutil.c                        |   22 +-
 src/volser/restorevol.c                |   91 ++--
 src/volser/vol-dump.c                  |    8 +-
 src/volser/vol_split.c                 |   29 +-
 src/volser/volprocs.c                  |    2 +-
 39 files changed, 258 insertions(+), 1609 deletions(-)

-- 
OpenAFS Master Repository