From: sjhill at uclibc.org <sjhill@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/samba
Date: Sat, 20 Jan 2007 21:17:08 -0800 (PST) [thread overview]
Message-ID: <20070121051708.3D5C648583@busybox.net> (raw)
Author: sjhill
Date: 2007-01-20 21:17:06 -0800 (Sat, 20 Jan 2007)
New Revision: 17428
Log:
Patch to remove usage of legacy 'index' function.
Added:
trunk/buildroot/package/samba/samba-remove-legacy-index.patch
Changeset:
Added: trunk/buildroot/package/samba/samba-remove-legacy-index.patch
===================================================================
--- trunk/buildroot/package/samba/samba-remove-legacy-index.patch (rev 0)
+++ trunk/buildroot/package/samba/samba-remove-legacy-index.patch 2007-01-21 05:17:06 UTC (rev 17428)
@@ -0,0 +1,22 @@
+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 @@
+ 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';
next reply other threads:[~2007-01-21 5:17 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-21 5:17 sjhill at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-04-03 15:35 [Buildroot] svn commit: trunk/buildroot/package/samba jacmet at uclibc.org
2007-07-17 0:21 sjhill at uclibc.org
2007-07-23 7:56 ulf at uclibc.org
2007-07-28 21:51 ulf at uclibc.org
2007-09-23 23:23 ulf at uclibc.org
2008-03-06 18:23 ninevoltz at uclibc.org
2008-03-11 19:13 ninevoltz at uclibc.org
2008-06-24 8:36 jacmet at uclibc.org
2008-07-03 8:12 ulf at uclibc.org
2008-10-06 19:53 wberrier at uclibc.org
2008-12-02 14:46 egtvedt at uclibc.org
2008-12-05 14:46 egtvedt at uclibc.org
2008-12-12 9:09 egtvedt at uclibc.org
2008-12-12 9:29 egtvedt at uclibc.org
2008-12-12 10:06 ` Peter Korsgaard
2008-12-12 10:14 ` Hans-Christian Egtvedt
2008-12-12 10:29 ` Peter Korsgaard
2008-12-12 10:35 ` Hans-Christian Egtvedt
2008-12-12 10:34 egtvedt at uclibc.org
2009-01-13 7:26 egtvedt at uclibc.org
2009-01-13 8:00 ` Bernhard Reutner-Fischer
2009-01-13 8:03 ` Hans-Christian Egtvedt
2009-01-13 7:29 egtvedt at uclibc.org
2009-01-13 8:02 egtvedt at uclibc.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070121051708.3D5C648583@busybox.net \
--to=sjhill@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox