[gnumeric] fn-r: use unique name for function group.



commit 830f6234b52ee9d8353365ee2da5cc0c08a48d2f
Author: Morten Welinder <terra gnome org>
Date:   Thu May 14 08:31:47 2015 -0400

    fn-r: use unique name for function group.
    
    It seems like gcc's/clang's address sanitizer get confused.

 plugins/fn-r/functions.c   |    2 +-
 plugins/fn-r/generate      |    2 +-
 plugins/fn-r/plugin.xml.in |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/fn-r/functions.c b/plugins/fn-r/functions.c
index 0e6a0de..d631fa0 100644
--- a/plugins/fn-r/functions.c
+++ b/plugins/fn-r/functions.c
@@ -1360,7 +1360,7 @@ go_plugin_shutdown (GOPlugin *plugin, GOCmdContext *cc)
 
 /* ------------------------------------------------------------------------- */
 
-GnmFuncDescriptor const stat_functions[] = {
+GnmFuncDescriptor const rstat_functions[] = {
        {
                "r.dnorm",
                "fff|b",
diff --git a/plugins/fn-r/generate b/plugins/fn-r/generate
index 6770293..dc10e90 100644
--- a/plugins/fn-r/generate
+++ b/plugins/fn-r/generate
@@ -224,7 +224,7 @@ foreach my $header ($mathfunch, "extra.h") {
 
 &emit_line ();
 
-&emit ("GnmFuncDescriptor const stat_functions[] = {\n" .
+&emit ("GnmFuncDescriptor const rstat_functions[] = {\n" .
        $funcdefs .
        "\t{ NULL }\n" .
        "};\n");
diff --git a/plugins/fn-r/plugin.xml.in b/plugins/fn-r/plugin.xml.in
index e13101c..7e347de 100644
--- a/plugins/fn-r/plugin.xml.in
+++ b/plugins/fn-r/plugin.xml.in
@@ -8,7 +8,7 @@
                <attribute name="module_file" value="rstat"/>
        </loader>
        <services>
-               <service type="function_group" id="stat">
+               <service type="function_group" id="rstat">
                        <_category>Statistics</_category>
                        <functions textdomain="gnumeric-VERSION-functions">
                                <function name="r.dbeta"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]