diff options
Diffstat (limited to 'ports/unix/guts/fchownat.c')
-rw-r--r-- | ports/unix/guts/fchownat.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ports/unix/guts/fchownat.c b/ports/unix/guts/fchownat.c index 295726b..2888087 100644 --- a/ports/unix/guts/fchownat.c +++ b/ports/unix/guts/fchownat.c @@ -9,7 +9,6 @@ pseudo_msg_t *msg; PSEUDO_STATBUF buf; int save_errno = errno; - int doing_link = 0; #ifdef PSEUDO_NO_REAL_AT_FUNCTIONS if (dirfd != AT_FDCWD) { @@ -27,10 +26,6 @@ if (rc == -1) { return rc; } - /* pseudo won't track the ownership, here */ - if (S_ISLNK(buf.st_mode)) { - doing_link = 1; - } save_errno = errno; if (owner == (uid_t) -1 || group == (gid_t) -1) { |