]> git.saurik.com Git - apple/hfs.git/commitdiff
hfs-366.70.1.tar.gz macos-10126 v366.70.1
authorApple <opensource@apple.com>
Tue, 22 Aug 2017 18:33:37 +0000 (18:33 +0000)
committerApple <opensource@apple.com>
Tue, 22 Aug 2017 18:33:37 +0000 (18:33 +0000)
core/hfs_attrlist.c

index c6ae99fe1be3ed6f0bc2b611f9c45c79e5215b5e..40dced03fd217b586c0644f2ef4ab3044230ac2b 100644 (file)
@@ -1128,7 +1128,9 @@ hfs_attrblksize(struct attrlist *attrlist)
 
        hfs_assert((attrlist->fileattr & ~ATTR_FILE_VALIDMASK) == 0);
 
-       hfs_assert((attrlist->forkattr & ~ATTR_FORK_VALIDMASK) == 0);
+       // disable this for build machines
+       // it's not useful and will break every time we add new _CMNEXT_ bits
+       // hfs_assert((attrlist->forkattr & ~ATTR_FORK_VALIDMASK) == 0);
 
        size = 0;