OpenAFS Master Repository branch, master, updated. 6d6390338c7b3eadb725f916464ddb7d3b3e7b09

Gerrit Code Review
Tue, 14 Jul 2009 20:47:20 -0700 (PDT)

The following commit has been merged in the master branch:
commit 6d6390338c7b3eadb725f916464ddb7d3b3e7b09
Author: Jeffrey Altman <>
Date:   Mon Jul 13 21:24:58 2009 -0400

    Improve Windows Build System By Using MT-safe Versions of Libraries
    For many years the Windows Build System has incorrectly mixed
    some Pthread and LWP code.  One of the side effects of this
    mixing was the need for the EXT2 extern macro definition in
    src/rx/rx_globals.h which permitted the LWP compiled routines
    to link with the Pthreaded afsrpc library.
    This commit creates or modifies multi-threaded versions of various
    libraries including mtafsubik.lib, mtafsutil.lib, mtafsvldb.lib,
    and mtafsvol.lib.
    All of the threaded servers now make use of these libraries.
    This reduces the number of times that many source files were
    recompiled for each server directory.
    util_GetInt32 was defined in both src/util/volparse.c and
    src/WINNT/afsd/fs_utils.c.  Now that mtafsutil.lib is being
    used within src/WINNT/afsd there is no need to maintain the
    duplicate copy.
    The export list for afsauthent.def now includes all of the
    ubik_PR_xxxx function variants and afsrpc.def now include
    rxi_CallError as it is linked to outside the rx library.
    The top-level NTMakefile has been modified to permit the
    tree to build with the new header and library dependencies.
    The threaded volserver which never built before now does.
    Verified-by: Russ Allbery <>
    Reviewed-by: Russ Allbery <>
    Verified-by: Derrick Brashear <>
    Reviewed-by: Derrick Brashear <>
    Reviewed-by: Asanka Herath <>
    Verified-by: Asanka Herath <>
    Verified-by: Jeffrey Altman <>
    Reviewed-by: Jeffrey Altman <>

 src/NTMakefile                   |   34 +++++++++----
 src/WINNT/afsd/NTMakefile        |    5 +-
 src/WINNT/afsd/fs_utils.c        |   45 -----------------
 src/config/NTMakefile            |    3 +
 src/libafsauthent/afsauthent.def |   25 +++++++++-
 src/libafsrpc/afsrpc.def         |    1 +
 src/rx/rx_globals.h              |   12 ++---
 src/tbutc/NTMakefile             |   28 ++---------
 src/tviced/NTMakefile            |   34 +++----------
 src/tvolser/NTMakefile           |   97 ++++++++++++++++++++++++-------------
 src/ubik/NTMakefile              |   40 +++++++++++++++-
 src/util/NTMakefile              |   43 ++++++++++++++++-
 src/vol/NTMakefile               |   53 ++++++++++++++++++++-
 13 files changed, 265 insertions(+), 155 deletions(-)

OpenAFS Master Repository