X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fvolume.c;h=eaedf53c9e98d98afe0f061ea618ab5c8befb0ff;hb=b1338b390059f9f7019edc1080833f5002e948d8;hp=7bdff75dff53ecf87007a9b001a45c87bae944de;hpb=ab6e6f8ed24667ced438afe4df5997469a2ff53b;p=netatalk.git diff --git a/etc/afpd/volume.c b/etc/afpd/volume.c index 7bdff75d..eaedf53c 100644 --- a/etc/afpd/volume.c +++ b/etc/afpd/volume.c @@ -386,6 +386,8 @@ static int getvolparams(const AFPObj *obj, uint16_t bitmap, struct vol *vol, str ashort |= VOLPBIT_ATTR_EXT_ATTRS; if (vol->v_flags & AFPVOL_ACLS) ashort |= VOLPBIT_ATTR_ACLS; + if (vol->v_casefold & AFPVOL_CASESENS) + ashort |= VOLPBIT_ATTR_CASESENS; } } } @@ -611,7 +613,7 @@ static int volume_codepage(AFPObj *obj, struct vol *volume) } if ( NULL == (charset = find_charset_functions(volume->v_volcodepage)) || charset->flags & CHARSET_ICONV ) { - LOG (log_warning, logtype_afpd, "WARNING: volume encoding %s is *not* supported by netatalk, expect problems !!!!", volume->v_volcodepage); + LOG (log_warning, logtype_afpd, "WARNING: volume encoding %s is *not* supported by netatalk, expect problems!", volume->v_volcodepage); } if (!volume->v_maccodepage) @@ -744,7 +746,7 @@ int afp_openvol(AFPObj *obj, char *ibuf, size_t ibuflen _U_, char *rbuf, size_t } if ( volume == NULL ) { - return AFPERR_PARAM; + return AFPERR_NOOBJ; } /* check for a volume password */