diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2012-04-05 22:52:54 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2012-04-05 22:52:54 +0000 |
| commit | ea17d3262924f95a4fa721b3de6d7fe499bdcf14 (patch) | |
| tree | ba19ba5662548e94342cd922b19942cf2052781f /src/functionplugger.cpp | |
| parent | a1a513a3ec36a960f8b17dbbef04481771dc140f (diff) | |
| download | build-ea17d3262924f95a4fa721b3de6d7fe499bdcf14.tar.gz build-ea17d3262924f95a4fa721b3de6d7fe499bdcf14.tar.bz2 build-ea17d3262924f95a4fa721b3de6d7fe499bdcf14.tar.xz build-ea17d3262924f95a4fa721b3de6d7fe499bdcf14.zip | |
Added unique function and a workaround for non-matching inputs to rules passing
the rule input filter.
Diffstat (limited to 'src/functionplugger.cpp')
| -rw-r--r-- | src/functionplugger.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; | |||
| 21 | extern Bu::PluginInfo pluginFunctionClose; | 21 | extern Bu::PluginInfo pluginFunctionClose; |
| 22 | extern Bu::PluginInfo pluginFunctionRead; | 22 | extern Bu::PluginInfo pluginFunctionRead; |
| 23 | extern Bu::PluginInfo pluginFunctionWrite; | 23 | extern Bu::PluginInfo pluginFunctionWrite; |
| 24 | extern Bu::PluginInfo pluginFunctionUnique; | ||
| 24 | 25 | ||
| 25 | FunctionPlugger::FunctionPlugger() | 26 | FunctionPlugger::FunctionPlugger() |
| 26 | { | 27 | { |
| @@ -42,6 +43,7 @@ FunctionPlugger::FunctionPlugger() | |||
| 42 | registerBuiltinPlugin( &pluginFunctionClose ); | 43 | registerBuiltinPlugin( &pluginFunctionClose ); |
| 43 | registerBuiltinPlugin( &pluginFunctionRead ); | 44 | registerBuiltinPlugin( &pluginFunctionRead ); |
| 44 | registerBuiltinPlugin( &pluginFunctionWrite ); | 45 | registerBuiltinPlugin( &pluginFunctionWrite ); |
| 46 | registerBuiltinPlugin( &pluginFunctionUnique ); | ||
| 45 | 47 | ||
| 46 | DIR *dir = opendir("/usr/lib/build"); | 48 | DIR *dir = opendir("/usr/lib/build"); |
| 47 | if( !dir ) | 49 | if( !dir ) |
