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

cleanup keyNew #3152

Open
markus2330 opened this issue Nov 3, 2019 · 0 comments
Projects
Milestone

Comments

@markus2330
Copy link
Contributor

@markus2330 markus2330 commented Nov 3, 2019

remove deprecated meta flags from keyNew (303-334)

/* deprecated flags */
case KEY_NAME:
name = va_arg (va, char *);
break;
case KEY_OWNER:
owner = va_arg (va, char *);
break;
case KEY_COMMENT:
keySetMeta (key, "comment", va_arg (va, char *));
break;
case KEY_UID:
elektraSetMetaInt (key, "uid", va_arg (va, int));
break;
case KEY_GID:
elektraSetMetaInt (key, "gid", va_arg (va, int));
break;
case KEY_DIR:
mode |= KDB_DIR_MODE;
break;
case KEY_MODE:
hasMode = 1;
mode |= va_arg (va, int);
break;
case KEY_ATIME:
elektraSetMetaInt (key, "atime", va_arg (va, time_t));
break;
case KEY_MTIME:
elektraSetMetaInt (key, "mtime", va_arg (va, time_t));
break;
case KEY_CTIME:
elektraSetMetaInt (key, "ctime", va_arg (va, time_t));
break;

@markus2330 markus2330 added the cleanup label Nov 3, 2019
@markus2330 markus2330 added this to the 0.9.* milestone Nov 3, 2019
@markus2330 markus2330 added this to To Do in 1.0 Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
1.0
  
Backlog
1 participant
You can’t perform that action at this time.