svn commit: samba r3586 - in branches/SAMBA_4_0/source: auth
build/pidl build/smb_build client gtk/tools lib lib/ldb
lib/registry lib/registry/common lib/registry/tools
lib/socket libcli/auth librpc librpc/rpc ntvfs ntvfs/posix
ntvfs/unixuid rpc_server rpc_server/remote smbd torture utils
utils/net
jelmer at samba.org
jelmer at samba.org
Sat Nov 6 23:23:15 GMT 2004
Author: jelmer
Date: 2004-11-06 23:23:15 +0000 (Sat, 06 Nov 2004)
New Revision: 3586
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3586
Log:
Fix some of the issues with the module init functions.
Both subsystems and modules can now have init functions, which can be
specified in .mk files (INIT_FUNCTION = ...)
The build system will define :
- SUBSYSTEM_init_static_modules that calls the init functions of all statically compiled modules. Failing to load will generate an error which is not fatal
- BINARY_init_subsystems that calls the init functions (if defined) for the subsystems the binary depends on
This removes the hack with the "static bool Initialised = " and the
"lazy_init" functions
Modified:
branches/SAMBA_4_0/source/auth/auth.c
branches/SAMBA_4_0/source/auth/config.mk
branches/SAMBA_4_0/source/build/pidl/header.pm
branches/SAMBA_4_0/source/build/pidl/server.pm
branches/SAMBA_4_0/source/build/smb_build/depend.pl
branches/SAMBA_4_0/source/build/smb_build/public.m4
branches/SAMBA_4_0/source/build/smb_build/smb_build_h.pl
branches/SAMBA_4_0/source/client/client.c
branches/SAMBA_4_0/source/gtk/tools/gepdump.c
branches/SAMBA_4_0/source/gtk/tools/gregedit.c
branches/SAMBA_4_0/source/gtk/tools/gwcrontab.c
branches/SAMBA_4_0/source/gtk/tools/gwsam.c
branches/SAMBA_4_0/source/lib/iconv.c
branches/SAMBA_4_0/source/lib/ldb/config.m4
branches/SAMBA_4_0/source/lib/registry/common/reg_interface.c
branches/SAMBA_4_0/source/lib/registry/config.mk
branches/SAMBA_4_0/source/lib/registry/tools/regdiff.c
branches/SAMBA_4_0/source/lib/registry/tools/regpatch.c
branches/SAMBA_4_0/source/lib/registry/tools/regshell.c
branches/SAMBA_4_0/source/lib/registry/tools/regtree.c
branches/SAMBA_4_0/source/lib/socket/socket_ipv4.c
branches/SAMBA_4_0/source/lib/socket/socket_ipv6.c
branches/SAMBA_4_0/source/lib/socket/socket_unix.c
branches/SAMBA_4_0/source/libcli/auth/gensec.c
branches/SAMBA_4_0/source/libcli/auth/gensec.mk
branches/SAMBA_4_0/source/librpc/config.mk
branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c
branches/SAMBA_4_0/source/ntvfs/config.mk
branches/SAMBA_4_0/source/ntvfs/ntvfs_base.c
branches/SAMBA_4_0/source/ntvfs/posix/config.mk
branches/SAMBA_4_0/source/ntvfs/unixuid/config.mk
branches/SAMBA_4_0/source/rpc_server/config.mk
branches/SAMBA_4_0/source/rpc_server/dcerpc_server.c
branches/SAMBA_4_0/source/rpc_server/remote/dcesrv_remote.c
branches/SAMBA_4_0/source/smbd/config.mk
branches/SAMBA_4_0/source/smbd/process_model.c
branches/SAMBA_4_0/source/smbd/process_model.mk
branches/SAMBA_4_0/source/smbd/rewrite.c
branches/SAMBA_4_0/source/smbd/service.c
branches/SAMBA_4_0/source/torture/gentest.c
branches/SAMBA_4_0/source/torture/locktest.c
branches/SAMBA_4_0/source/torture/masktest.c
branches/SAMBA_4_0/source/torture/torture.c
branches/SAMBA_4_0/source/utils/getntacl.c
branches/SAMBA_4_0/source/utils/ndrdump.c
branches/SAMBA_4_0/source/utils/net/net.c
branches/SAMBA_4_0/source/utils/ntlm_auth.c
branches/SAMBA_4_0/source/utils/setntacl.c
branches/SAMBA_4_0/source/utils/setnttoken.c
Changeset:
Sorry, the patch is too large (1380 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3586
More information about the samba-cvs
mailing list