Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > 0cef021bc717e292dd9a3b5dbb27e474 > files > 7

fmirror-0.8.4-18.mga5.src.rpm

--- fmirror-0.8.4.orig/fmirror.c
+++ fmirror-0.8.4/fmirror.c
@@ -2939,6 +3009,10 @@
     last_was_blank = 0;
     LOG(9, other, ("Permission %s = 0%o", buf, p->perm));
     buf = name + 10; /* Skip permission fields */
+    if (buf[0] == '+'){
+	    LOG(9, other, ("Skipping Solaris ACL flag"));
+	    buf=name + 11; /* skip ACL flag */
+    }
     buf = strtok(buf, whitespace); /* buf is now i-node count */
     buf = strtok(NULL, whitespace); /* buf is now owner */
     buf = strtok(NULL, ""); /* group or size ++ */