diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-10-02 11:25:37 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-10-02 11:25:37 +0000 |
commit | 378a02b3661e1974d477715081f88a81fdcde74a (patch) | |
tree | 6d6836ca040f7197e92112c15f3e554b5db1765b | |
parent | d0010909e2264f2bf264ee87ab41891e0c6f5587 (diff) |
- remove usage of SUSv3 LEGACY functions
-rw-r--r-- | package/ltrace/ltrace-0.5-00-susv3-legacy.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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 index 000000000..7518124ae --- /dev/null +++ b/package/ltrace/ltrace-0.5-00-susv3-legacy.patch @@ -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; + } |