jelmer | 1 Apr 01:28 2006
Picon

svn commit: samba r14844 - in branches/SAMBA_4_0/source: build/m4 client include lib/appweb/mpr lib/replace param

Author: jelmer
Date: 2006-03-31 23:28:18 +0000 (Fri, 31 Mar 2006)
New Revision: 14844

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14844

Log:
Support a stdbool.h replacement in lib/replace/

Modified:
   branches/SAMBA_4_0/source/build/m4/check_types.m4
   branches/SAMBA_4_0/source/build/m4/rewrite.m4
   branches/SAMBA_4_0/source/client/cifsdd.c
   branches/SAMBA_4_0/source/include/core.h
   branches/SAMBA_4_0/source/include/includes.h
   branches/SAMBA_4_0/source/lib/appweb/mpr/miniMpr.h
   branches/SAMBA_4_0/source/lib/replace/README
   branches/SAMBA_4_0/source/lib/replace/config.m4
   branches/SAMBA_4_0/source/lib/replace/replace.h
   branches/SAMBA_4_0/source/param/param.h

Changeset:
Modified: branches/SAMBA_4_0/source/build/m4/check_types.m4
===================================================================
--- branches/SAMBA_4_0/source/build/m4/check_types.m4	2006-03-31 13:41:49 UTC (rev 14843)
+++ branches/SAMBA_4_0/source/build/m4/check_types.m4	2006-03-31 23:28:18 UTC (rev 14844)
 <at>  <at>  -15,8 +15,6  <at>  <at> 

 AC_HEADER_STDC

(Continue reading)

build | 1 Apr 02:00 2006
Picon

Build status as of Sat Apr 1 00:00:02 2006

URL: http://build.samba.org/

--- /home/build/master/cache/broken_results.txt.old	2006-03-31 00:00:03.000000000 +0000
+++ /home/build/master/cache/broken_results.txt	2006-04-01 00:00:09.000000000 +0000
 <at>  <at>  -1,17 +1,17  <at>  <at> 
-Build status as of Fri Mar 31 00:00:02 2006
+Build status as of Sat Apr  1 00:00:02 2006

 Build counts:
 Tree         Total  Broken Panic 
 ccache       9      1      0     
 distcc       11     2      0     
 lorikeet-heimdal 15     15     0     
-ppp          16     0      0     
-rsync        32     2      0     
-samba        2      0      0     
+ppp          17     0      0     
+rsync        33     2      0     
+samba        3      0      0     
 samba-docs   0      0      0     
 samba4       34     27     0     
-samba_3_0    34     7      0     
-smb-build    24     0      0     
-talloc       8      7      0     
-tdb          28     3      0     
+samba_3_0    33     8      0     
+smb-build    22     0      0     
+talloc       9      7      0     
+tdb          29     3      0     

(Continue reading)

tridge | 1 Apr 05:46 2006
Picon

svn commit: samba r14845 - in branches/SAMBA_4_0/source/torture/raw: .

Author: tridge
Date: 2006-04-01 03:46:46 +0000 (Sat, 01 Apr 2006)
New Revision: 14845

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14845

Log:

expanded the number of info levels tested for continue in the
RAW-SEARCH test

Modified:
   branches/SAMBA_4_0/source/torture/raw/search.c

Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/search.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/search.c	2006-03-31 23:28:18 UTC (rev 14844)
+++ branches/SAMBA_4_0/source/torture/raw/search.c	2006-04-01 03:46:46 UTC (rev 14845)
 <at>  <at>  -87,24 +87,105  <at>  <at> 
 static struct {
 	const char *name;
 	enum smb_search_level level;
+	int name_offset;
+	int resume_key_offset;
 	uint32_t capability_mask;
 	NTSTATUS status;
 	union smb_search_data data;
 } levels[] = {
-	{"FFIRST",                 RAW_SEARCH_FFIRST, },
(Continue reading)

jra | 1 Apr 07:41 2006
Picon

svn commit: samba r14846 - in trunk/source: include smbd

Author: jra
Date: 2006-04-01 05:41:02 +0000 (Sat, 01 Apr 2006)
New Revision: 14846

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14846

Log:
Tell static checkers that exit_server() doesn't
return.
Jeremy.

Modified:
   trunk/source/include/includes.h
   trunk/source/smbd/server.c

Changeset:
Modified: trunk/source/include/includes.h
===================================================================
--- trunk/source/include/includes.h	2006-04-01 03:46:46 UTC (rev 14845)
+++ trunk/source/include/includes.h	2006-04-01 05:41:02 UTC (rev 14846)
 <at>  <at>  -1563,4 +1563,5  <at>  <at> 
 #endif

 void smb_panic( const char *why ) NORETURN_ATTRIBUTE ;
+void exit_server(const char *reason) NORETURN_ATTRIBUTE ;
 #endif /* _INCLUDES_H */

Modified: trunk/source/smbd/server.c
===================================================================
--- trunk/source/smbd/server.c	2006-04-01 03:46:46 UTC (rev 14845)
(Continue reading)

jra | 1 Apr 07:41 2006
Picon

svn commit: samba r14847 - in branches/SAMBA_3_0/source: include smbd

Author: jra
Date: 2006-04-01 05:41:34 +0000 (Sat, 01 Apr 2006)
New Revision: 14847

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14847

Log:
Tell static checkers that exit_server() doesn't
return.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/include/includes.h
   branches/SAMBA_3_0/source/smbd/server.c

Changeset:
Modified: branches/SAMBA_3_0/source/include/includes.h
===================================================================
--- branches/SAMBA_3_0/source/include/includes.h	2006-04-01 05:41:02 UTC (rev 14846)
+++ branches/SAMBA_3_0/source/include/includes.h	2006-04-01 05:41:34 UTC (rev 14847)
 <at>  <at>  -1562,4 +1562,5  <at>  <at> 
 #endif

 void smb_panic( const char *why ) NORETURN_ATTRIBUTE ;
+void exit_server(const char *reason) NORETURN_ATTRIBUTE ;
 #endif /* _INCLUDES_H */

Modified: branches/SAMBA_3_0/source/smbd/server.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/server.c	2006-04-01 05:41:02 UTC (rev 14846)
(Continue reading)

metze | 1 Apr 10:12 2006
Picon

svn commit: samba r14848 - in branches/SAMBA_4_0/source/lib/compression: .

Author: metze
Date: 2006-04-01 08:12:49 +0000 (Sat, 01 Apr 2006)
New Revision: 14848

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14848

Log:
use the constant instead of the interger value

metze
Modified:
   branches/SAMBA_4_0/source/lib/compression/mszip.c

Changeset:
Modified: branches/SAMBA_4_0/source/lib/compression/mszip.c
===================================================================
--- branches/SAMBA_4_0/source/lib/compression/mszip.c	2006-04-01 05:41:34 UTC (rev 14847)
+++ branches/SAMBA_4_0/source/lib/compression/mszip.c	2006-04-01 08:12:49 UTC (rev 14848)
 <at>  <at>  -341,7 +341,7  <at>  <at> 
         ZIPNEEDBITS(e)
       } while ((e = (t = t->v.t + ((uint32_t)b & Zipmask[e]))->e) > 16);
     ZIPDUMPBITS(t->b)
-    if (w >= 32768) break;
+    if (w >= CAB_BLOCKMAX) break;
     if (e == 16)                /* then it's a literal */
       CAB(outbuf)[w++] = (uint8_t)t->v.n;
     else                        /* it's an EOB or a length */

jra | 1 Apr 20:22 2006
Picon

svn commit: samba r14849 - in branches/SAMBA_3_0/source/smbd: .

Author: jra
Date: 2006-04-01 18:22:31 +0000 (Sat, 01 Apr 2006)
New Revision: 14849

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14849

Log:
Fix >= that should be >. Too strict condition
checked by Volker.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/smbd/ipc.c

Changeset:
Modified: branches/SAMBA_3_0/source/smbd/ipc.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/ipc.c	2006-04-01 08:12:49 UTC (rev 14848)
+++ branches/SAMBA_3_0/source/smbd/ipc.c	2006-04-01 18:22:31 UTC (rev 14849)
 <at>  <at>  -509,7 +509,7  <at>  <at> 
 				goto bad_param;
 			if (pdisp > tpscnt)
 				goto bad_param;
-			if ((smb_base(inbuf) + poff + pcnt >= inbuf + bufsize) ||
+			if ((smb_base(inbuf) + poff + pcnt > inbuf + bufsize) ||
 					(smb_base(inbuf) + poff + pcnt < smb_base(inbuf)))
 				goto bad_param;
 			if (params + pdisp < params)
 <at>  <at>  -525,7 +525,7  <at>  <at> 
 				goto bad_param;
(Continue reading)

jelmer | 1 Apr 20:25 2006
Picon

svn commit: samba r14850 - in branches/SAMBA_4_0/source/param: .

Author: jelmer
Date: 2006-04-01 18:25:07 +0000 (Sat, 01 Apr 2006)
New Revision: 14850

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14850

Log:
Don't assume that sizeof(BOOL) == sizeof(int)

Modified:
   branches/SAMBA_4_0/source/param/loadparm.c

Changeset:
Modified: branches/SAMBA_4_0/source/param/loadparm.c
===================================================================
--- branches/SAMBA_4_0/source/param/loadparm.c	2006-04-01 18:22:31 UTC (rev 14849)
+++ branches/SAMBA_4_0/source/param/loadparm.c	2006-04-01 18:25:07 UTC (rev 14850)
 <at>  <at>  -128,9 +128,9  <at>  <at> 
 	char *ntptr_providor;
 	char *szWinbindSeparator;
 	char *szWinbinddSocketDirectory;
-	BOOL bWinbindSealedPipes;
+	int bWinbindSealedPipes;
 	char *swat_directory;
-	BOOL tls_enabled;
+	int tls_enabled;
 	char *tls_keyfile;
 	char *tls_certfile;
 	char *tls_cafile;
 <at>  <at>  -142,7 +142,7  <at>  <at> 
(Continue reading)

jelmer | 1 Apr 20:26 2006
Picon

svn commit: samba r14851 - in branches/SAMBA_4_0/source/include: .

Author: jelmer
Date: 2006-04-01 18:26:30 +0000 (Sat, 01 Apr 2006)
New Revision: 14851

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14851

Log:
Make BOOL, False and True simple aliases to the POSIX-defined 
bool, false and true (guaranteed to be defined by lib/replace)

Modified:
   branches/SAMBA_4_0/source/include/core.h

Changeset:
Modified: branches/SAMBA_4_0/source/include/core.h
===================================================================
--- branches/SAMBA_4_0/source/include/core.h	2006-04-01 18:25:07 UTC (rev 14850)
+++ branches/SAMBA_4_0/source/include/core.h	2006-04-01 18:26:30 UTC (rev 14851)
 <at>  <at>  -26,10 +26,10  <at>  <at> 

 #include "libcli/util/nt_status.h"

-typedef int BOOL;
+typedef bool BOOL;

-#define False (0)
-#define True (1)
+#define False false
+#define True true

(Continue reading)

jelmer | 1 Apr 20:41 2006
Picon

svn commit: samba r14852 - in branches/SAMBA_4_0/source: . heimdal_build

Author: jelmer
Date: 2006-04-01 18:41:07 +0000 (Sat, 01 Apr 2006)
New Revision: 14852

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14852

Log:
See if all target platforms support multiple .SUFFIXES lines.

Modified:
   branches/SAMBA_4_0/source/heimdal_build/config.mk
   branches/SAMBA_4_0/source/main.mk

Changeset:
Modified: branches/SAMBA_4_0/source/heimdal_build/config.mk
===================================================================
--- branches/SAMBA_4_0/source/heimdal_build/config.mk	2006-04-01 18:26:30 UTC (rev 14851)
+++ branches/SAMBA_4_0/source/heimdal_build/config.mk	2006-04-01 18:41:07 UTC (rev 14852)
 <at>  <at>  -428,6 +428,10  <at>  <at> 
 include perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/k524_err.et|
 include perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/krb5_err.et|

+.SUFFIXES: .hin 
+.hin.h:
+	 <at> cp $< $ <at> 
+
 $(patsubst heimdal/lib/des/%.h,heimdal/lib/des/hcrypto/%.h,$(wildcard heimdal/lib/des/*.h)): heimdal/lib/des/hcrypto

 heimdal/lib/des/hcrypto: 

(Continue reading)


Gmane