aboutsummaryrefslogtreecommitdiffstats
path: root/package/hotplug2
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2011-02-07 22:28:04 +0000
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2011-02-07 22:28:04 +0000
commitc587116c29f657eff2b4887a25ec79384ca3942c (patch)
treea933c4aea77eade3dfa73a5e9239874e8d03ded9 /package/hotplug2
parent65c486c168aef28368d139471539c3b1b1e95053 (diff)
downloadupstream-c587116c29f657eff2b4887a25ec79384ca3942c.tar.gz
upstream-c587116c29f657eff2b4887a25ec79384ca3942c.tar.bz2
upstream-c587116c29f657eff2b4887a25ec79384ca3942c.zip
[package] hotplug2: Make missing include files non fatal
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25414 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hotplug2')
-rw-r--r--package/hotplug2/patches/170-non_fatal_include.patch11
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 0000000000..672746c6d2
--- /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);
+