[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-152-gddc1864

Volker Lendecke vlendec at samba.org
Wed Mar 4 11:23:18 GMT 2009


The branch, master has been updated
       via  ddc1864fb22dfcd86e3a8688cfd12e0dccd835da (commit)
      from  e8484e01ed6c3893f89abeec5f7a2d214d77c576 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit ddc1864fb22dfcd86e3a8688cfd12e0dccd835da
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Mar 4 12:21:26 2009 +0100

    Attempt to fix the build on IRIX

-----------------------------------------------------------------------

Summary of changes:
 source3/param/loadparm.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 89c706d..f49a1bc 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -4668,7 +4668,9 @@ static int max_open_files(void)
 
 #if (defined(HAVE_GETRLIMIT) && defined(RLIMIT_NOFILE))
 	{
-		struct rlimit rl = {};
+		struct rlimit rl;
+
+		ZERO_STRUCT(rl);
 
 		if (getrlimit(RLIMIT_NOFILE, &rl) == 0)
 			rlimit_max = rl.rlim_cur;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list