From ea17d3262924f95a4fa721b3de6d7fe499bdcf14 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 5 Apr 2012 22:52:54 +0000 Subject: Added unique function and a workaround for non-matching inputs to rules passing the rule input filter. --- src/functionplugger.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/functionplugger.cpp') diff --git a/src/functionplugger.cpp b/src/functionplugger.cpp index 8bd2edd..1f2bcf5 100644 --- a/src/functionplugger.cpp +++ b/src/functionplugger.cpp @@ -21,6 +21,7 @@ extern Bu::PluginInfo pluginFunctionOpen; extern Bu::PluginInfo pluginFunctionClose; extern Bu::PluginInfo pluginFunctionRead; extern Bu::PluginInfo pluginFunctionWrite; +extern Bu::PluginInfo pluginFunctionUnique; FunctionPlugger::FunctionPlugger() { @@ -42,6 +43,7 @@ FunctionPlugger::FunctionPlugger() registerBuiltinPlugin( &pluginFunctionClose ); registerBuiltinPlugin( &pluginFunctionRead ); registerBuiltinPlugin( &pluginFunctionWrite ); + registerBuiltinPlugin( &pluginFunctionUnique ); DIR *dir = opendir("/usr/lib/build"); if( !dir ) -- cgit v1.2.3