mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
- remove usage of SUSv3 LEGACY functions
This commit is contained in:
11
package/ltrace/ltrace-0.5-00-susv3-legacy.patch
Normal file
11
package/ltrace/ltrace-0.5-00-susv3-legacy.patch
Normal file
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user