diff options
author | Hamish Guthrie <hcg@openwrt.org> | 2009-05-28 13:20:54 +0000 |
---|---|---|
committer | Hamish Guthrie <hcg@openwrt.org> | 2009-05-28 13:20:54 +0000 |
commit | 5513f6a9e911c043111a6b675e101a9e185218e0 (patch) | |
tree | 3cd13762ce9416df464736fcf68048454ab43b98 /package/hotplug2-old/patches/110-parser_fixes.patch | |
parent | 99c63ce951c81d058e90564dd3f9c8553bfe9c24 (diff) | |
download | upstream-5513f6a9e911c043111a6b675e101a9e185218e0.tar.gz upstream-5513f6a9e911c043111a6b675e101a9e185218e0.tar.bz2 upstream-5513f6a9e911c043111a6b675e101a9e185218e0.zip |
Move hotplug2 v0.9 to hotplug2-old
SVN-Revision: 16135
Diffstat (limited to 'package/hotplug2-old/patches/110-parser_fixes.patch')
-rw-r--r-- | package/hotplug2-old/patches/110-parser_fixes.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/hotplug2-old/patches/110-parser_fixes.patch b/package/hotplug2-old/patches/110-parser_fixes.patch new file mode 100644 index 0000000000..0605ddd315 --- /dev/null +++ b/package/hotplug2-old/patches/110-parser_fixes.patch @@ -0,0 +1,22 @@ +Index: hotplug2-0.9/rules.c +=================================================================== +--- hotplug2-0.9.orig/rules.c 2007-07-18 09:15:38.968308540 +0200 ++++ hotplug2-0.9/rules.c 2007-07-18 09:18:52.135316499 +0200 +@@ -756,6 +756,7 @@ + ERROR("rules parse","Unable to parse rules file."); + return -1; + } ++ *return_rules = rules; + + unmap_file(&filemap); + +@@ -997,7 +998,8 @@ + + if (!terminate) { + /* A little bit hacky cleanup */ +- return_rules->rules_c--; ++ if (!nested) ++ return_rules->rules_c--; + return return_rules; + } else { + /* |