Mercurial > hg > octave-lojdl > gnulib-hg
changeset 15567:8c7936106a14
acl: Remove unused code in last commit.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 05 Sep 2011 02:38:24 +0200 |
parents | 8339ac6126c5 |
children | 3acf9fb3aa69 |
files | lib/set-mode-acl.c |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/set-mode-acl.c +++ b/lib/set-mode-acl.c @@ -335,14 +335,6 @@ { /* Running on Solaris 10 (newer version) or Solaris 11. The details here were found through "/bin/ls -lvd somefiles". */ - struct stat statbuf; - int dir; - - if ((desc != -1 ? fstat (desc, &statbuf) : stat (name, &statbuf)) >= 0) - dir = S_ISDIR (statbuf.st_mode); - else - dir = 0; - entries[0].a_type = NEW_ACE_ACCESS_DENIED_ACE_TYPE; entries[0].a_flags = NEW_ACE_OWNER; entries[0].a_who = 0; /* irrelevant */