From f95254a21d2bffc3e3f0d9cbefe6b75a70b67922 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 17 Oct 2011 14:49:31 +0200 Subject: update to latest stable version --- .../patches/patch-source3_registry_reg_perfcount_c | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 package/samba/patches/patch-source3_registry_reg_perfcount_c (limited to 'package/samba/patches/patch-source3_registry_reg_perfcount_c') diff --git a/package/samba/patches/patch-source3_registry_reg_perfcount_c b/package/samba/patches/patch-source3_registry_reg_perfcount_c deleted file mode 100644 index 684036b5b..000000000 --- a/package/samba/patches/patch-source3_registry_reg_perfcount_c +++ /dev/null @@ -1,20 +0,0 @@ ---- samba-3.5.3.orig/source3/registry/reg_perfcount.c 2010-05-17 13:51:23.000000000 +0200 -+++ samba-3.5.3/source3/registry/reg_perfcount.c 2010-06-11 12:21:42.911613348 +0200 -@@ -618,14 +618,14 @@ static bool _reg_perfcount_add_counter(s - obj = NULL; - memset(buf, 0, PERFCOUNT_MAX_LEN); - memcpy(buf, data.dptr, data.dsize); -- begin = index(buf, '['); -- end = index(buf, ']'); -+ begin = strchr(buf, '['); -+ end = strchr(buf, ']'); - if(begin == NULL || end == NULL) - return False; - start = begin+1; - - while(start < end) { -- stop = index(start, ','); -+ stop = strchr(start, ','); - if(stop == NULL) - stop = end; - *stop = '\0'; -- cgit v1.2.3