"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libpromises/expand.c" between
cfengine-3.15.3.tar.gz and cfengine-3.15.4.tar.gz

About: CFEngine is a configuration management system for configuring and maintaining Unix-like computers (using an own high level policy language). Community version.

expand.c  (cfengine-3.15.3):expand.c  (cfengine-3.15.4)
skipping to change at line 1046 skipping to change at line 1046
{ {
new_manager->updates_ifelapsed = new_manager->updates_ifelapsed =
(int)IntFromString(RvalScalarValue(returnval)); (int)IntFromString(RvalScalarValue(returnval));
} }
else if (strcmp(cp->lval, "default_options") == 0) else if (strcmp(cp->lval, "default_options") == 0)
{ {
new_manager->options = RlistCopy(RvalRlistValue(returnval)); new_manager->options = RlistCopy(RvalRlistValue(returnval));
} }
else if (strcmp(cp->lval, "interpreter") == 0) else if (strcmp(cp->lval, "interpreter") == 0)
{ {
assert(new_manager->interpreter == NULL);
new_manager->interpreter = SafeStringDuplicate(RvalScalarValue(retur nval)); new_manager->interpreter = SafeStringDuplicate(RvalScalarValue(retur nval));
} }
else if (strcmp(cp->lval, "module_path") == 0) else if (strcmp(cp->lval, "module_path") == 0)
{ {
assert(new_manager->module_path == NULL);
new_manager->module_path = SafeStringDuplicate(RvalScalarValue(retur nval)); new_manager->module_path = SafeStringDuplicate(RvalScalarValue(retur nval));
} }
else else
{ {
/* This should be handled by the parser. */ /* This should be handled by the parser. */
assert(0); assert(0);
} }
RvalDestroy(returnval); RvalDestroy(returnval);
} }
AddPackageModuleToContext(ctx, new_manager); AddPackageModuleToContext(ctx, new_manager);
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)