summaryrefslogtreecommitdiffstats
path: root/package/ltrace/ltrace-0.5.3-susv3-legacy.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/ltrace/ltrace-0.5.3-susv3-legacy.patch')
-rw-r--r--package/ltrace/ltrace-0.5.3-susv3-legacy.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/package/ltrace/ltrace-0.5.3-susv3-legacy.patch b/package/ltrace/ltrace-0.5.3-susv3-legacy.patch
deleted file mode 100644
index 4c9bb8ae1..000000000
--- a/package/ltrace/ltrace-0.5.3-susv3-legacy.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Use the strchr() function instead of the legacy index() function.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
----
- read_config_file.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: ltrace-0.5.3/read_config_file.c
-===================================================================
---- ltrace-0.5.3.orig/read_config_file.c
-+++ ltrace-0.5.3/read_config_file.c
-@@ -83,7 +83,7 @@
-
- while (tmp->name) {
- if (!strncmp(*str, tmp->name, strlen(tmp->name))
-- && index(" ,()#*;012345[", *(*str + strlen(tmp->name)))) {
-+ && strchr(" ,()#*;012345[", *(*str + strlen(tmp->name)))) {
- *str += strlen(tmp->name);
- return lookup_prototype(tmp->pt);
- }