]> arthur.barton.de Git - netatalk.git/commitdiff
Conversion from adouble v2 to ea for directories
authorFrank Lahm <franklahm@googlemail.com>
Sat, 9 Mar 2013 13:23:33 +0000 (14:23 +0100)
committerFrank Lahm <franklahm@googlemail.com>
Sat, 9 Mar 2013 13:23:33 +0000 (14:23 +0100)
Fixes bug #500.

NEWS
libatalk/adouble/ad_conv.c

diff --git a/NEWS b/NEWS
index ba0c0cc7891498f3348f58a2c5008156487add0d..42f7d498386e1b8ac08cae07ead23ee0d57e7bf0 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -28,6 +28,8 @@ Changes in 3.0.3
        Fixes bug #502.
 * FIX: File's ressource fork can't be read if metadata EA is missing.
        Fixes bug #501.
+* FIX: Conversion from adouble v2 to ea for directories.
+       Fixes bug #500.
 
 Changes in 3.0.2
 ================
index 151ab9fd12412313732fce2756aaae050d7524b9..486b0313594e0e71e17e39f622f43c5b225119af 100644 (file)
@@ -65,6 +65,7 @@ static int ad_conv_v22ea_hf(const char *path, const struct stat *sp, const struc
 
     switch (S_IFMT & sp->st_mode) {
     case S_IFREG:
+    case S_IFDIR:
         break;
     default:
         return 0;