}
bool
-handleFile(char const *name, char const * display_name,
- struct stat const *exp_st)
+handleFile(char const *name, char const * display_name)
{
- int rc = vc_set_iattr_compat(name, exp_st->st_dev, exp_st->st_ino,
- global_args->ctx, 0, VC_IATTR_XID,
- &exp_st->st_mode);
+ int rc = vc_set_iattr(name, global_args->ctx, 0, VC_IATTR_XID);
if (rc==-1) {
perror(display_name);
exit(1);
}
- args->ctx = resolveCtx(args->ctx_str);
+ args->ctx = vc_xidopt2xid(args->ctx_str, true, 0);
args->do_display_dir = !args->do_recurse;
args->do_display_dot = true;
}