summaryrefslogtreecommitdiffstats
path: root/package/samba/samba-remove-legacy-index.patch
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-07-17 00:21:16 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-07-17 00:21:16 +0000
commitbc9dcb8574e2a7e536b8176cb5a566cb51a1d7f5 (patch)
treeee755e1c80860881a2f0d874df38518a538ac860 /package/samba/samba-remove-legacy-index.patch
parentc5180589daf3bb809f1671a21aaedb18cd060ba1 (diff)
downloadbuildroot-novena-bc9dcb8574e2a7e536b8176cb5a566cb51a1d7f5.tar.gz
buildroot-novena-bc9dcb8574e2a7e536b8176cb5a566cb51a1d7f5.zip
Bump Samba to latest version and update patches.
Diffstat (limited to 'package/samba/samba-remove-legacy-index.patch')
-rw-r--r--package/samba/samba-remove-legacy-index.patch11
1 files changed, 5 insertions, 6 deletions
diff --git a/package/samba/samba-remove-legacy-index.patch b/package/samba/samba-remove-legacy-index.patch
index 9fa822879..15deb999b 100644
--- a/package/samba/samba-remove-legacy-index.patch
+++ b/package/samba/samba-remove-legacy-index.patch
@@ -1,7 +1,7 @@
-diff -ur samba-3.0.23d/source/registry/reg_perfcount.c samba-3.0.23d-patched/source/registry/reg_perfcount.c
---- samba-3.0.23d/source/registry/reg_perfcount.c 2006-07-10 11:27:54.000000000 -0500
-+++ samba-3.0.23d-patched/source/registry/reg_perfcount.c 2007-01-20 23:12:23.456180669 -0600
-@@ -614,15 +614,15 @@
+diff -ur samba-3.0.25a/source/registry/reg_perfcount.c samba-3.0.25a-patched/source/registry/reg_perfcount.c
+--- samba-3.0.25a/source/registry/reg_perfcount.c 2007-02-28 22:55:05.000000000 -0600
++++ samba-3.0.25a-patched/source/registry/reg_perfcount.c 2007-06-19 11:40:01.000000000 -0500
+@@ -615,14 +615,14 @@
obj = NULL;
memset(buf, 0, PERFCOUNT_MAX_LEN);
memcpy(buf, data.dptr, data.dsize);
@@ -13,8 +13,7 @@ diff -ur samba-3.0.23d/source/registry/reg_perfcount.c samba-3.0.23d-patched/sou
return False;
start = begin+1;
- while(start < end)
- {
+ while(start < end) {
- stop = index(start, ',');
+ stop = strchr(start, ',');
if(stop == NULL)