1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-01 03:29:29 +03:00

[package] hotplug2: Make missing include files non fatal

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25414 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
acinonyx 2011-02-07 22:28:04 +00:00
parent b6310b517c
commit c19308e08c

View File

@ -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);