]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
- remove usage of SUSv3 LEGACY functions
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 2 Oct 2007 11:25:37 +0000 (11:25 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 2 Oct 2007 11:25:37 +0000 (11:25 -0000)
package/ltrace/ltrace-0.5-00-susv3-legacy.patch [new file with mode: 0644]

diff --git a/package/ltrace/ltrace-0.5-00-susv3-legacy.patch b/package/ltrace/ltrace-0.5-00-susv3-legacy.patch
new file mode 100644 (file)
index 0000000..7518124
--- /dev/null
@@ -0,0 +1,11 @@
+--- ltrace-0.5.orig/read_config_file.c 2006-02-20 22:48:07.000000000 +0100
++++ ltrace-0.5/read_config_file.c      2007-10-02 12:18:21.000000000 +0200
+@@ -57,7 +57,7 @@
+       while (tmp->name) {
+               if (!strncmp(*str, tmp->name, strlen(tmp->name))
+-                  && index(" ,)#", *(*str + strlen(tmp->name)))) {
++                  && strchr(" ,)#", *(*str + strlen(tmp->name)))) {
+                       *str += strlen(tmp->name);
+                       return tmp->pt;
+               }