OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-418-ge2b4fde
Gerrit Code Review
gerrit@openafs.org
Wed, 17 Nov 2010 08:13:10 -0800 (PST)
The following commit has been merged in the master branch:
commit e2b4fde0b5850e42cb0ed00852f581fb7d24f8ff
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Sat Oct 30 15:17:09 2010 +0100
libroken: Build on windows
A minimal change set to get libroken to build on Windows. Sadly,
libroken contains definitions for a number of platform compatibility
macros which were previously scattered throughout the windows code.
These scattered macros have to be removed in order to build libroken.
The impact of this removal is that a very large number of files
throughout the tree require the addition of "roken.h" to pick up the
new compatibility code. The bulk of this change is adding these
includes.
In addition, some of the added includes add roken dependencies to the
Unix build. So, also add libroken to the build rules in affected Unix
Makefiles.
Change-Id: Ifba431bd37e67b1e273fbc6f69b805a232193456
Reviewed-on: http://gerrit.openafs.org/3205
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
NTMakefile | 18 ++++-
src/WINNT/afsadmsvr/TaAfsAdmSvr.cpp | 2 +
src/WINNT/afsadmsvr/TaAfsAdmSvrCallback.cpp | 2 +
src/WINNT/afsadmsvr/TaAfsAdmSvrCell.cpp | 2 +
src/WINNT/afsadmsvr/TaAfsAdmSvrDebug.cpp | 2 +
src/WINNT/afsadmsvr/TaAfsAdmSvrGeneral.cpp | 2 +
src/WINNT/afsadmsvr/TaAfsAdmSvrGroup.cpp | 2 +
src/WINNT/afsadmsvr/TaAfsAdmSvrMain.cpp | 2 +
src/WINNT/afsadmsvr/TaAfsAdmSvrProperties.cpp | 2 +
src/WINNT/afsadmsvr/TaAfsAdmSvrSearch.cpp | 2 +
src/WINNT/afsadmsvr/TaAfsAdmSvrUser.cpp | 2 +
src/WINNT/afsapplib/al_browse.cpp | 3 +
src/WINNT/afsapplib/al_creds.cpp | 2 +
src/WINNT/afsapplib/al_dynlink.cpp | 2 +
src/WINNT/afsapplib/al_misc.cpp | 2 +
src/WINNT/afsclass/afsclassfn.cpp | 2 +
src/WINNT/afsclass/c_agg.cpp | 2 +
src/WINNT/afsclass/c_cell.cpp | 2 +
src/WINNT/afsclass/c_grp.cpp | 2 +
src/WINNT/afsclass/c_ident.cpp | 2 +
src/WINNT/afsclass/c_identlist.cpp | 2 +
src/WINNT/afsclass/c_notify.cpp | 2 +
src/WINNT/afsclass/c_set.cpp | 2 +
src/WINNT/afsclass/c_svc.cpp | 2 +
src/WINNT/afsclass/c_svr.cpp | 2 +
src/WINNT/afsclass/c_usr.cpp | 2 +
src/WINNT/afsclass/internal.cpp | 2 +
src/WINNT/afsclass/worker.cpp | 2 +
src/WINNT/afsd/NTMakefile | 10 ++-
src/WINNT/afsd/afscpcc.c | 4 +
src/WINNT/afsd/afsd_eventlog.c | 4 +
src/WINNT/afsd/afsd_flushvol.c | 3 +
src/WINNT/afsd/afsd_init.c | 4 +
src/WINNT/afsd/afsd_service.c | 4 +
src/WINNT/afsd/afskfw.c | 4 +
src/WINNT/afsd/afslogon.c | 5 +-
src/WINNT/afsd/cklog.c | 4 +
src/WINNT/afsd/cm_access.c | 3 +
src/WINNT/afsd/cm_aclent.c | 3 +
src/WINNT/afsd/cm_btree.c | 4 +
src/WINNT/afsd/cm_buf.c | 3 +
src/WINNT/afsd/cm_callback.c | 3 +
src/WINNT/afsd/cm_cell.c | 3 +
src/WINNT/afsd/cm_config.c | 6 ++-
src/WINNT/afsd/cm_conn.c | 3 +
src/WINNT/afsd/cm_daemon.c | 3 +
src/WINNT/afsd/cm_dcache.c | 4 +
src/WINNT/afsd/cm_dir.c | 3 +
src/WINNT/afsd/cm_dnlc.c | 3 +
src/WINNT/afsd/cm_dns.c | 4 +
src/WINNT/afsd/cm_freelance.c | 3 +
src/WINNT/afsd/cm_ioctl.c | 3 +
src/WINNT/afsd/cm_memmap.c | 5 ++
src/WINNT/afsd/cm_performance.c | 4 +
src/WINNT/afsd/cm_rpc.c | 3 +
src/WINNT/afsd/cm_scache.c | 3 +
src/WINNT/afsd/cm_server.c | 3 +
src/WINNT/afsd/cm_user.c | 4 +
src/WINNT/afsd/cm_utils.c | 3 +
src/WINNT/afsd/cm_vnodeops.c | 3 +
src/WINNT/afsd/cm_volstat.c | 3 +
src/WINNT/afsd/cm_volume.c | 3 +
src/WINNT/afsd/ctokens.c | 4 +
src/WINNT/afsd/cunlog.c | 3 +
src/WINNT/afsd/fs.c | 3 +
src/WINNT/afsd/fs_utils.c | 3 +
src/WINNT/afsd/msrpc.c | 4 +
src/WINNT/afsd/rawops.c | 4 +
src/WINNT/afsd/rpc_srvsvc.c | 5 ++
src/WINNT/afsd/rpc_wkssvc.c | 5 ++
src/WINNT/afsd/smb.c | 3 +
src/WINNT/afsd/smb3.c | 3 +
src/WINNT/afsd/smb_ioctl.c | 3 +
src/WINNT/afsd/smb_rpc.c | 3 +
src/WINNT/afsd/symlink.c | 3 +
src/WINNT/afsreg/afssw.c | 2 +-
src/WINNT/afssvrcfg/admin_info_dlg.cpp | 2 +
src/WINNT/afssvrcfg/afscfg.cpp | 2 +
src/WINNT/afssvrcfg/backup_server_page.cpp | 2 +
src/WINNT/afssvrcfg/cfg_utils.cpp | 2 +
src/WINNT/afssvrcfg/config_server_page.cpp | 2 +
src/WINNT/afssvrcfg/create_partition_dlg.cpp | 2 +
src/WINNT/afssvrcfg/db_server_page.cpp | 2 +
src/WINNT/afssvrcfg/file_server_page.cpp | 2 +
src/WINNT/afssvrcfg/get_cur_config.cpp | 2 +
src/WINNT/afssvrcfg/get_pw_dlg.cpp | 2 +
src/WINNT/afssvrcfg/graphics.cpp | 2 +
src/WINNT/afssvrcfg/info2_page.cpp | 2 +
src/WINNT/afssvrcfg/info_page.cpp | 2 +
src/WINNT/afssvrcfg/intro_page.cpp | 2 +
src/WINNT/afssvrcfg/logfile.cpp | 2 +
src/WINNT/afssvrcfg/partition_page.cpp | 2 +
src/WINNT/afssvrcfg/partition_utils.cpp | 2 +
src/WINNT/afssvrcfg/partitions_page.cpp | 2 +
src/WINNT/afssvrcfg/replicatition_page.cpp | 2 +
src/WINNT/afssvrcfg/root_afs_page.cpp | 2 +
src/WINNT/afssvrcfg/salvage_dlg.cpp | 2 +
src/WINNT/afssvrcfg/salvage_results_dlg.cpp | 6 ++
src/WINNT/afssvrcfg/services_page.cpp | 2 +
src/WINNT/afssvrcfg/sys_control_page.cpp | 2 +
src/WINNT/afssvrcfg/toolbox.cpp | 2 +
src/WINNT/afssvrcfg/validation.cpp | 6 ++
src/WINNT/afssvrcfg/volume_utils.cpp | 2 +
src/WINNT/afssvrmgr/creds.cpp | 2 +
src/WINNT/aklog/NTMakefile | 4 +-
src/WINNT/aklog/aklog.c | 4 +
src/WINNT/client_config/drivemap.cpp | 2 +
src/WINNT/client_config/tab_general.cpp | 2 +
src/WINNT/client_config/tab_hosts.cpp | 2 +
src/WINNT/client_creds/advtab.cpp | 2 +
src/WINNT/client_creds/afswiz.cpp | 2 +
src/WINNT/client_creds/creds.cpp | 4 +-
src/WINNT/client_creds/credstab.cpp | 2 +
src/WINNT/client_creds/ipaddrchg.c | 5 ++
src/WINNT/client_creds/main.cpp | 2 +
src/WINNT/client_creds/misc.cpp | 2 +
src/WINNT/client_creds/mounttab.cpp | 3 +
src/WINNT/client_creds/settings.cpp | 2 +
src/WINNT/client_creds/shortcut.cpp | 2 +
src/WINNT/client_creds/trayicon.cpp | 2 +
src/WINNT/client_creds/window.cpp | 2 +
src/WINNT/client_exp/gui2fs.cpp | 2 +
src/WINNT/client_exp/klog_dlg.cpp | 3 +-
src/WINNT/client_exp/unlog_dlg.cpp | 2 +
src/WINNT/netidmgr_plugin/afsconfigdlg.c | 4 +
src/WINNT/netidmgr_plugin/afsext.c | 4 +
src/WINNT/netidmgr_plugin/afsfuncs.c | 5 ++
src/WINNT/netidmgr_plugin/afshelp.c | 5 ++
src/WINNT/netidmgr_plugin/afsicon.c | 4 +
src/WINNT/netidmgr_plugin/afsnewcreds.c | 4 +
src/WINNT/netidmgr_plugin/afsplugin.c | 4 +
src/WINNT/netidmgr_plugin/main.c | 5 ++
src/afs/UKERNEL/sysincludes.h | 3 +-
src/afsd/Makefile.in | 7 +-
src/afsmonitor/Makefile.in | 5 +-
src/aklog/Makefile.in | 7 +-
src/audit/audit.c | 1 +
src/auth/NTMakefile | 3 +-
src/auth/authcon.c | 2 +
src/auth/cellconfig.c | 1 +
src/auth/ktc_nt.c | 3 +-
src/auth/setkey.c | 1 +
src/auth/token.c | 3 +
src/auth/userok.c | 1 +
src/auth/writeconfig.c | 1 +
src/bozo/Makefile.in | 9 ++-
src/bozo/NTMakefile | 6 +-
src/bozo/bnode.c | 2 +
src/bozo/bos.c | 2 +
src/bozo/bosoprocs.c | 1 +
src/bozo/bosserver.c | 3 +
src/bozo/cronbnodeops.c | 2 +
src/bozo/ezbnodeops.c | 2 +
src/bozo/fsbnodeops.c | 2 +
src/bubasics/NTMakefile | 16 ++--
src/bucoord/Makefile.in | 2 +-
src/bucoord/NTMakefile | 3 +-
src/bucoord/bc_status.c | 1 +
src/bucoord/commands.c | 1 +
src/bucoord/config.c | 1 +
src/bucoord/dlq.c | 3 +
src/bucoord/dsstub.c | 1 +
src/bucoord/dsvs.c | 1 +
src/bucoord/dump.c | 1 +
src/bucoord/dump_sched.c | 1 +
src/bucoord/main.c | 1 +
src/bucoord/restore.c | 1 +
src/bucoord/server.c | 1 +
src/bucoord/status.c | 1 +
src/bucoord/tape_hosts.c | 1 +
src/bucoord/ubik_db_if.c | 2 +
src/bucoord/vol_sets.c | 1 +
src/bucoord/volstub.c | 1 +
src/budb/Makefile.in | 2 +-
src/budb/NTMakefile | 11 ++--
src/budb/database.c | 1 +
src/budb/db_alloc.c | 1 +
src/budb/db_dump.c | 1 +
src/budb/db_hash.c | 1 +
src/budb/db_lock.c | 1 +
src/budb/db_text.c | 1 +
src/budb/dbs_dump.c | 1 +
src/budb/ol_verify.c | 1 +
src/budb/procs.c | 1 +
src/budb/server.c | 1 +
src/budb/struct_ops.c | 1 +
src/butc/Makefile.in | 6 +-
src/butc/NTMakefile | 3 +-
src/butc/dbentries.c | 1 +
src/butc/dump.c | 11 +---
src/butc/list.c | 1 +
src/butc/lwps.c | 3 +
src/butc/recoverDb.c | 1 +
src/butc/tcmain.c | 4 +
src/butc/tcprocs.c | 2 +
src/butc/tcstatus.c | 1 +
src/butc/tcudbprocs.c | 3 +
src/butm/NTMakefile | 3 +-
src/butm/file_tm.c | 2 +
src/butm/test_ftm.c | 1 +
src/comerr/error_msg.c | 1 +
src/config/NTMakefile | 3 +
src/config/afsconfig-windows.h | 31 ++++++--
src/config/param.amd64_w2k.h | 5 --
src/crypto/hcrypto/NTMakefile | 1 +
src/crypto/hcrypto/roken.h | 8 ++
src/dir/buffer.c | 1 +
src/dviced/Makefile.in | 6 +-
src/dviced/NTMakefile | 4 +-
src/dvolser/Makefile.in | 2 +-
src/dvolser/NTMakefile | 3 +-
src/external/heimdal/roken/getopt.c | 3 +
src/finale/Makefile.in | 2 +-
src/finale/translate_et_nt.c | 1 +
src/fsint/afsaux.c | 1 +
src/fsprobe/Makefile.in | 3 +-
src/kauth/Makefile.in | 38 +++++++----
src/kauth/NTMakefile | 3 +-
src/kauth/admin_tools.c | 1 +
src/kauth/authclient.c | 2 +
src/kauth/client.c | 2 +
src/kauth/kaaux.c | 1 +
src/kauth/kaauxdb.c | 1 +
src/kauth/kadatabase.c | 1 +
src/kauth/kalocalcell.c | 2 +
src/kauth/kalog.c | 1 +
src/kauth/kaprocs.c | 1 +
src/kauth/kas.c | 1 +
src/kauth/kaserver.c | 1 +
src/kauth/katoken.c | 2 +
src/kauth/kautils.c | 1 +
src/kauth/kpasswd.c | 1 +
src/kauth/krb_tf.c | 1 +
src/kauth/krb_udp.c | 1 +
src/kauth/rebuild.c | 1 +
src/kauth/user_nt.c | 1 +
src/libacl/aclprocs.c | 1 +
src/libacl/netprocs.c | 1 +
src/libadmin/adminutil/afs_utilAdmin.c | 1 +
src/libadmin/bos/afs_bosAdmin.c | 1 +
src/libadmin/cfg/cfgclient.c | 1 +
src/libadmin/cfg/cfgdb.c | 1 +
src/libadmin/cfg/cfghost.c | 1 +
src/libadmin/cfg/cfginternal.c | 1 +
src/libadmin/cfg/cfgservers.c | 1 +
src/libadmin/client/afs_clientAdmin.c | 1 +
src/libadmin/kas/afs_kasAdmin.c | 1 +
src/libadmin/pts/afs_ptsAdmin.c | 1 +
src/libadmin/samples/Makefile.in | 42 ++++++------
src/libadmin/test/Makefile.in | 3 +-
src/libadmin/test/afscp.c | 1 +
src/libadmin/test/bos.c | 2 +
src/libadmin/test/client.c | 1 +
src/libadmin/test/kas.c | 1 +
src/libadmin/test/pts.c | 1 +
src/libadmin/test/util.c | 1 +
src/libadmin/test/vos.c | 3 +
src/libadmin/vos/afs_vosAdmin.c | 1 +
src/libadmin/vos/lockprocs.c | 1 +
src/libadmin/vos/vosutils.c | 1 +
src/libadmin/vos/vsprocs.c | 1 +
src/libafsauthent/NTMakefile | 3 +-
src/libafsrpc/NTMakefile | 3 +-
src/libuafs/Makefile.common.in | 6 ++-
src/log/Makefile.in | 8 +-
src/lwp/lock.c | 2 +
src/ptserver/Makefile.in | 23 ++++---
src/ptserver/NTMakefile | 6 +-
src/ptserver/db_verify.c | 1 +
src/ptserver/display.c | 1 +
src/ptserver/pt_util.c | 4 +
src/ptserver/ptclient.c | 1 +
src/ptserver/ptprocs.c | 1 +
src/ptserver/pts.c | 1 +
src/ptserver/ptserver.c | 1 +
src/ptserver/ptuser.c | 2 +
src/ptserver/ptutils.c | 1 +
src/ptserver/readgroup.c | 1 +
src/ptserver/readpwd.c | 1 +
src/ptserver/testpt.c | 1 +
src/ptserver/ubik.c | 1 +
src/ptserver/utils.c | 2 +
src/roken/NTMakefile | 94 +++++++++++++++++++++++++
src/roken/afsroken.def | 26 +++++++
src/roken/afsroken.rc | 15 ++++
src/roken/config.h | 1 -
src/rx/rx.c | 1 +
src/rx/rx_conncache.c | 4 +
src/rx/rx_event.c | 1 +
src/rx/rx_globals.c | 13 ++--
src/rx/rx_identity.c | 1 +
src/rx/rx_lwp.c | 3 +
src/rx/rx_misc.c | 2 +-
src/rx/rx_multi.c | 5 +-
src/rx/rx_null.c | 2 +
src/rx/rx_opaque.c | 1 +
src/rx/rx_packet.c | 1 +
src/rx/rx_packet.h | 8 ++-
src/rx/rx_pthread.c | 3 +
src/rx/rx_rdwr.c | 1 +
src/rx/rx_stats.c | 1 +
src/rx/rx_trace.c | 3 +
src/rx/rx_user.c | 3 +
src/rx/rx_xmit_nt.c | 20 +++---
src/rx/rx_xmit_nt.h | 17 +----
src/rx/xdr.c | 3 +-
src/rx/xdr_array.c | 8 ++-
src/rx/xdr_refernce.c | 5 ++
src/rx/xdr_rx.c | 2 +-
src/rxdebug/Makefile.in | 4 +-
src/rxdebug/rxdebug.c | 1 +
src/rxgen/rpc_main.c | 8 ++
src/rxkad/bg-fcrypt.c | 1 +
src/rxkad/crc.c | 1 +
src/rxkad/crypt_conn.c | 1 +
src/rxkad/md4.c | 2 +
src/rxkad/md5.c | 2 +
src/rxkad/rxkad_client.c | 1 +
src/rxkad/rxkad_common.c | 1 +
src/rxkad/rxkad_server.c | 1 +
src/rxkad/ticket.c | 2 +
src/rxkad/ticket5.c | 2 +
src/rxstat/rxstat.c | 3 +
src/scout/Makefile.in | 2 +-
src/sys/Makefile.in | 6 +-
src/sys/pioctl_nt.c | 1 +
src/tbutc/Makefile.in | 3 +-
src/tbutc/NTMakefile | 3 +-
src/tsalvaged/Makefile.in | 17 +++--
src/tsm41/Makefile.in | 9 ++-
src/tviced/Makefile.in | 2 +-
src/tviced/NTMakefile | 4 +-
src/tviced/serialize_state.c | 1 +
src/tvolser/Makefile.in | 5 +-
src/tvolser/NTMakefile | 3 +-
src/ubik/Makefile.in | 6 +-
src/ubik/beacon.c | 1 +
src/ubik/disk.c | 1 +
src/ubik/lock.c | 1 +
src/ubik/phys.c | 1 +
src/ubik/recovery.c | 1 +
src/ubik/remote.c | 1 +
src/ubik/ubik.c | 1 +
src/ubik/ubikclient.c | 2 +
src/ubik/ubikcmd.c | 1 +
src/ubik/udebug.c | 1 +
src/ubik/uinit.c | 1 +
src/ubik/vote.c | 1 +
src/update/Makefile.in | 6 +-
src/update/NTMakefile | 3 +-
src/update/client.c | 3 +
src/update/server.c | 2 +
src/update/utils.c | 1 +
src/uss/Makefile.in | 2 +-
src/util/get_krbrlm.c | 1 +
src/util/netutils.c | 1 +
src/util/serverLog.c | 3 +
src/util/uuid.c | 1 +
src/venus/Makefile.in | 22 +++---
src/venus/afsio.c | 3 +
src/venus/cmdebug.c | 2 +-
src/viced/Makefile.in | 8 +-
src/viced/NTMakefile | 3 +-
src/viced/afsfileprocs.c | 1 +
src/viced/callback.c | 1 +
src/viced/host.c | 1 +
src/viced/physio.c | 1 +
src/viced/viced.c | 2 +
src/vlserver/Makefile.in | 13 ++--
src/vlserver/NTMakefile | 3 +-
src/vlserver/vlclient.c | 1 +
src/vlserver/vldb_check.c | 1 +
src/vlserver/vlprocs.c | 1 +
src/vlserver/vlserver.c | 1 +
src/vlserver/vlutils.c | 1 +
src/vol/Makefile.in | 15 +++--
src/vol/NTMakefile | 3 +-
src/vol/clone.c | 1 +
src/vol/daemon_com.c | 1 +
src/vol/fssync-client.c | 1 +
src/vol/fssync-server.c | 1 +
src/vol/ihandle.c | 1 +
src/vol/namei_ops.c | 2 +
src/vol/ntops.c | 1 +
src/vol/nuke.c | 1 +
src/vol/partition.c | 1 +
src/vol/physio.c | 1 +
src/vol/purge.c | 1 +
src/vol/salvager.c | 3 +-
src/vol/vg_cache.c | 2 +
src/vol/vg_scan.c | 2 +
src/vol/vnode.c | 3 +
src/vol/vol-info.c | 1 +
src/vol/vol-salvage.c | 2 +
src/vol/volume.c | 1 +
src/vol/vutil.c | 1 +
src/volser/Makefile.in | 11 ++-
src/volser/NTMakefile | 3 +-
src/volser/common.c | 2 +
src/volser/dumpstuff.c | 1 +
src/volser/lockprocs.c | 1 +
src/volser/physio.c | 1 +
src/volser/volmain.c | 1 +
src/volser/volprocs.c | 1 +
src/volser/voltrans.c | 1 +
src/volser/vos.c | 2 +
src/volser/vsprocs.c | 4 +-
src/volser/vsutils.c | 1 +
src/xstat/Makefile.in | 6 +-
src/xstat/NTMakefile | 3 +-
src/xstat/xstat_cm.c | 2 +-
src/xstat/xstat_cm_test.c | 1 +
src/xstat/xstat_fs.c | 2 +-
src/xstat/xstat_fs_callback.c | 2 +
src/xstat/xstat_fs_test.c | 1 +
tests/rpctestlib/NTMakefile | 3 +-
tests/rpctestlib/rpc_test_cb_procs.c | 3 +
tests/rpctestlib/rpc_test_main.c | 3 +
tests/rpctestlib/rpc_test_procs.c | 3 +
419 files changed, 1142 insertions(+), 248 deletions(-)
--
OpenAFS Master Repository