X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Funix.c;h=f604d79b8258a44ccdb5b228d18c543f40bda77c;hb=4054f4b3c85ecab060dafd46c0d3632cadbb5803;hp=2822221e0d9cd145932ceb38802640ce48646447;hpb=8cfcbaea66c691c147a334b39e9f8b4561f34343;p=netatalk.git diff --git a/etc/afpd/unix.c b/etc/afpd/unix.c index 2822221e..f604d79b 100644 --- a/etc/afpd/unix.c +++ b/etc/afpd/unix.c @@ -1,6 +1,4 @@ /* - * $Id: unix.c,v 1.61 2010-02-10 14:05:37 franklahm Exp $ - * * Copyright (c) 1990,1993 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. */ @@ -38,6 +36,7 @@ char *strchr (), *strrchr (); #include #include #include +#include #include "auth.h" #include "directory.h" @@ -158,6 +157,7 @@ mode_t mode; } #ifdef accessmode + #undef accessmode #endif /* @@ -181,8 +181,7 @@ void accessmode(char *path, struct maccess *ma, struct dir *dir _U_, struct stat } utommode( st, ma ); #ifdef HAVE_ACLS - /* 10.5 Finder looks at OS 9 mode, so we must do some mapping */ - acltoownermode( path, st, uuid, ma); + acltoownermode(path, st, ma); #endif }