X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fvolume.c;h=c6547086eda3a5c96316fb0e52d9047e67f52eb5;hb=3db04e06e8e3afe0b43ca537fb96361c1006dc12;hp=ecdf2ea898dffe32d76faed5b2466e35af67035a;hpb=e1cfc5fce2507e577531f7b6d26e89d967e0276a;p=netatalk.git diff --git a/etc/afpd/volume.c b/etc/afpd/volume.c index ecdf2ea8..c6547086 100644 --- a/etc/afpd/volume.c +++ b/etc/afpd/volume.c @@ -1,5 +1,5 @@ /* - * $Id: volume.c,v 1.51.2.7.2.33.2.11 2006-09-07 00:05:46 didg Exp $ + * $Id: volume.c,v 1.51.2.7.2.33.2.12 2006-09-11 07:47:14 didg Exp $ * * Copyright (c) 1990,1993 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. @@ -2179,14 +2179,14 @@ static int create_special_folder (const struct vol *vol, const struct _special_f ad_getattr(&ad, &attr); attr |= htons( ntohs( attr ) | ATTRBIT_INVISIBLE ); ad_setattr(&ad, attr); -#if 0 + /* do the same with the finder info */ if (ad_entry(&ad, ADEID_FINDERI)) { memcpy(&attr, ad_entry(&ad, ADEID_FINDERI) + FINDERINFO_FRFLAGOFF, sizeof(attr)); attr |= htons(FINDERINFO_INVISIBLE); memcpy(ad_entry(&ad, ADEID_FINDERI) + FINDERINFO_FRFLAGOFF,&attr, sizeof(attr)); } -#endif + ad_flush( &ad, ADFLAGS_HF ); ad_close( &ad, ADFLAGS_HF ); }