afs_snprintf is dead, long live rk_snprintf
authorSimon Wilkinson <sxw@your-file-system.com>
Thu, 24 Mar 2011 15:36:49 +0000 (15:36 +0000)
committerJeffrey Altman <jaltman@openafs.org>
Sun, 27 Mar 2011 23:43:30 +0000 (16:43 -0700)
commit8c1f7259314b1d81ce7be2fe7abe3f28672b2ce0
treedef43a9395c09eb0973d36a7ede5f00f8e3f1467
parenta58639ee7b4c80de9f7c177549639cbf18b71e14
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>
39 files changed:
src/WINNT/afsd/cm_scache.c
src/WINNT/afsd/cm_volume.c
src/WINNT/afsreg/afssw.c
src/WINNT/netidmgr_plugin/krb5common.c
src/aklog/aklog.c
src/audit/audit-sysvmq.c
src/butc/lwps.c
src/libafsauthent/Makefile.in
src/ptserver/pt_util.c
src/shlibafsauthent/Makefile.in
src/shlibafsauthent/libafsauthent.map
src/tbudb/Makefile.in
src/tptserver/Makefile.in
src/tubik/Makefile.in
src/tviced/serialize_state.c
src/tvlserver/Makefile.in
src/ubik/phys.c
src/ubik/recovery.c
src/ubik/remote.c
src/util/Makefile.in
src/util/NTMakefile
src/util/afsutil.h
src/util/serverLog.c
src/util/snprintf.c [deleted file]
src/util/test/snprintf_test.c [deleted file]
src/venus/fstrace.c
src/viced/afsfileprocs.c
src/viced/host.c
src/vol/namei_ops.c
src/vol/partition.c
src/vol/salvaged.c
src/vol/vol-info.c
src/vol/vol-salvage.c
src/vol/volume.c
src/vol/vutil.c
src/volser/restorevol.c
src/volser/vol-dump.c
src/volser/vol_split.c
src/volser/volprocs.c