OSSP CVS Repository

ossp - Difference in ossp-pkg/cfg/perl/cfg.xs versions 1.6 and 1.7
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/cfg/perl/cfg.xs 1.6 -> 1.7

--- cfg.xs       2004/11/20 14:52:57     1.6
+++ cfg.xs       2004/12/04 12:48:42     1.7
@@ -283,7 +283,7 @@
             cfg_node_attr_t attr
             char *va_arg1
         CODE:
-            RETVAL = cfg_node_set(cfg, node, attr, va_arg1);
+            RETVAL = cfg_node_set(cfg, node, attr|CFG_ATTR_COPY, va_arg1);
         OUTPUT:
             RETVAL
     CASE: ((cfg_node_attr_t)SvIV(ST(2)) == CFG_NODE_ATTR_TYPE)
@@ -357,7 +357,7 @@
             cfg_node_attr_t attr
             char *&va_arg1 = NO_INIT
         CODE:
-            RETVAL = cfg_node_get(cfg, node, attr, &va_arg1);
+            RETVAL = cfg_node_get(cfg, node, attr|CFG_ATTR_COPY, &va_arg1);
         OUTPUT:
             va_arg1
             RETVAL

CVSTrac 2.0.1