3 ms·
I very nearly got this ternary delight into FreeBSD src: if ((Lflag ? chown : lchown)(p->fts_accpath, s->st_uid, -1)) (void)printf(" not modifi
by inopinatus 5y ago
I very nearly got this ternary delight into FreeBSD src:
if ((Lflag ? chown : lchown)(p->fts_accpath, s->st_uid, -1))
(void)printf(" not modified: %s\n",
strerror(errno));
which relies on the identical signature of chown(2) and lchown(2) syscalls.