diff options
author | Jeremy Allison <jra@samba.org> | 2005-03-24 22:34:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:18 -0500 |
commit | fcfa75b2fc19be9abe9580efa314d4c981f80098 (patch) | |
tree | c7017020aab219e5d30d6daa5e2d675a9f882c6a /source3/lib | |
parent | 27b84e5e5573cf922b77bdf935a715af2c4ce1c2 (diff) | |
download | samba-fcfa75b2fc19be9abe9580efa314d4c981f80098.tar.gz samba-fcfa75b2fc19be9abe9580efa314d4c981f80098.tar.bz2 samba-fcfa75b2fc19be9abe9580efa314d4c981f80098.zip |
r6049: Ensure "dos filetime" checks file ACLs correctly. May fix Excel "read-only"
issue.
Jeremy.
(This used to be commit 80e788143a6c3d973d3b8e57d91ca5c4a83605b2)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 265302d2d4..8f6a381944 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -274,24 +274,6 @@ const char *tmpdir(void) } /**************************************************************************** - Determine whether we are in the specified group. -****************************************************************************/ - -BOOL in_group(gid_t group, gid_t current_gid, int ngroups, const gid_t *groups) -{ - int i; - - if (group == current_gid) - return(True); - - for (i=0;i<ngroups;i++) - if (group == groups[i]) - return(True); - - return(False); -} - -/**************************************************************************** Add a gid to an array of gids if it's not already there. ****************************************************************************/ |