The Samba-Bugzilla – Attachment 10418 Details for
Bug 10911
SMB2 leases are not yet supported.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Leases rerequisite patch (part2) for master
master-lease-prereq-part2.txt (text/plain), 2.06 KB, created by
Stefan Metzmacher
on 2014-11-07 08:44:51 UTC
(
hide
)
Description:
Leases rerequisite patch (part2) for master
Filename:
MIME Type:
Creator:
Stefan Metzmacher
Created:
2014-11-07 08:44:51 UTC
Size:
2.06 KB
patch
obsolete
>From dd275afc077feb32ff64ecad34602e00803a5bca Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Wed, 5 Nov 2014 20:27:06 +0100 >Subject: [PATCH 1/2] s3:smbstatus: fix return value in print_share_mode() > >Signed-off-by: Stefan Metzmacher <metze@samba.org> >--- > source3/utils/status.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source3/utils/status.c b/source3/utils/status.c >index 936e87b7..978d3c5 100644 >--- a/source3/utils/status.c >+++ b/source3/utils/status.c >@@ -123,7 +123,7 @@ static int print_share_mode(const struct share_mode_entry *e, > static int count; > > if (do_checks && !is_valid_share_mode_entry(e)) { >- return; >+ return 0; > } > > if (count==0) { >-- >1.9.1 > > >From 8000663f10d6683c9b87385e33863dfc1f03d66e Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Fri, 7 Nov 2014 09:36:16 +0100 >Subject: [PATCH 2/2] wafsamba: add -Werror=return-type for developer builds >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This avoids errors like this: > > ../source3/utils/status.c: In function âprint_share_modeâ: > ../source3/utils/status.c:126:3: error: âreturnâ with no value, in function > returning non-void [-Werror=return-type] > return; > >Signed-off-by: Stefan Metzmacher <metze@samba.org> >--- > buildtools/wafsamba/samba_autoconf.py | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py >index f60ce9d..c193873 100644 >--- a/buildtools/wafsamba/samba_autoconf.py >+++ b/buildtools/wafsamba/samba_autoconf.py >@@ -671,6 +671,8 @@ def SAMBA_CONFIG_H(conf, path=None): > testflags=True) > conf.ADD_CFLAGS('-Werror=declaration-after-statement -Wdeclaration-after-statement', > testflags=True) >+ conf.ADD_CFLAGS('-Werror=return-type -Wreturn-type', >+ testflags=True) > > conf.ADD_CFLAGS('-Wformat=2 -Wno-format-y2k', testflags=True) > # This check is because for ldb_search(), a NULL format string >-- >1.9.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 10911
:
10394
|
10396
|
10397
|
10399
|
10400
|
10401
|
10406
|
10407
|
10411
|
10412
|
10415
|
10416
|
10417
|
10418
|
10421
|
10478
|
10479
|
10481
|
10484
|
10486
|
10488
|
10492
|
10493
|
10507
|
10546