Le 16/05/2017 à 15:21, Kevin Wolf a écrit :
Am 15.05.2017 um 22:31 hat Hervé Poussineau geschrieben:
@@ -806,7 +806,7 @@ static int read_directory(BDRVVVFATState* s, int 
mapping_index)
                 (ROOT_ENTRIES - cur) * sizeof(direntry_t));
     }

-     /* reget the mapping, since s->mapping was possibly realloc()ed */
+    /* reset the mapping, since s->mapping was possibly realloc()ed */

Are you sure that this was a typo? It seems to make more sense to me as
"re-get" (maybe easer to read with the hyphen).

IMO, both are valid. But I'll change it to "re-get" for v2.


     mapping = array_get(&(s->mapping), mapping_index);
     first_cluster += (s->directory.next - mapping->info.dir.first_dir_index)
         * 0x20 / s->cluster_size;

Kevin



Reply via email to