Skip to content

touch which node upon set_var #72

@jmettraux

Description

@jmettraux

Shouldn't rather the node containing the receiving vars be touched?

static void set_var(fdja_value *node, char mode, char *key, fdja_value *val)
{
  if (mode != 'g' && mode != 'l' && mode != 'd') mode = 'l';

  fdja_value *vars = lookup_vars(mode, node);

  if (vars) fdja_pset(vars, key, val);

  touch(node);
}

touch(node);

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions