diff options
author | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2011-02-07 22:28:04 +0000 |
---|---|---|
committer | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2011-02-07 22:28:04 +0000 |
commit | 1ac5bff82509cda4f9480fcbbccd9e260b735bbb (patch) | |
tree | 5ffa177fc98d929e6477863a32ffed02c6bd21d5 /package | |
parent | b549fce06bb8d59610836d14e2416637739fc488 (diff) | |
download | mtk-20170518-1ac5bff82509cda4f9480fcbbccd9e260b735bbb.zip mtk-20170518-1ac5bff82509cda4f9480fcbbccd9e260b735bbb.tar.gz mtk-20170518-1ac5bff82509cda4f9480fcbbccd9e260b735bbb.tar.bz2 |
hotplug2: Make missing include files non fatal
SVN-Revision: 25414
Diffstat (limited to 'package')
-rw-r--r-- | package/hotplug2/patches/170-non_fatal_include.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/hotplug2/patches/170-non_fatal_include.patch b/package/hotplug2/patches/170-non_fatal_include.patch new file mode 100644 index 0000000..672746c --- /dev/null +++ b/package/hotplug2/patches/170-non_fatal_include.patch @@ -0,0 +1,11 @@ +--- a/parser/parser.c ++++ b/parser/parser.c +@@ -578,7 +578,7 @@ int parser_file(const char *filename, st + ctx.lexer.fp = fopen(filename, "r"); + if (ctx.lexer.fp == NULL) { + parser_clear(&ctx); +- return -1; ++ return 0; + } + ctx.lexer.filename = strdup(filename); + |