Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

touch which node upon set_var #72

Open
jmettraux opened this issue Feb 5, 2016 · 0 comments
Open

touch which node upon set_var #72

jmettraux opened this issue Feb 5, 2016 · 0 comments
Assignees
Labels

Comments

@jmettraux
Copy link
Member

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);

@jmettraux jmettraux self-assigned this Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant