]> wimlib.net Git - wimlib/blobdiff - src/dentry.c
Comment fixes
[wimlib] / src / dentry.c
index 37405eb027316af95a8661cb6a99e1d57fe5408a..8670d2745fdd9b240a442d63c770b6ea9054b54f 100644 (file)
@@ -141,7 +141,9 @@ struct wim_dentry_on_disk {
         * As a further special case, if this field is all zeroes but there is
         * an alternate data stream entry with no name and a nonzero SHA-1
         * message digest field, then that hash must be used instead of this
-        * one.  (wimlib does not use this quirk on WIM images it creates.)
+        * one.  In fact, when named data streams are present, some versions of
+        * Windows PE contain a bug where they only look in the alternate data
+        * stream entries for the unnamed data stream, not here.
         */
        u8 unnamed_stream_hash[SHA1_HASH_SIZE];
 
@@ -1635,7 +1637,7 @@ inode_get_unix_data(const struct wim_inode *inode,
        if (size != sizeof(struct wimlib_unix_data))
                return BAD_UNIX_DATA;
 
-       ret = read_full_resource_into_buf(lte, unix_data);
+       ret = read_full_stream_into_buf(lte, unix_data);
        if (ret)
                return ret;