]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - GRUB2/grub-2.04/grub-core/fs/udf.c
1.0.10 release
[Ventoy.git] / GRUB2 / grub-2.04 / grub-core / fs / udf.c
index c5ea54e4cab15d3cb913dc64d63d436ff58def0c..dab046b6ead21c880bdc9689cb3544f65b0be962 100644 (file)
@@ -1152,6 +1152,8 @@ grub_udf_dir_iter (const char *filename, enum grub_fshelp_filetype filetype,
 
       info.mtime -= 60 * tz;
     }
+  if (!info.dir)
+    info.size = U64 (node->block.fe.file_size);
   grub_free (node);
   return ctx->hook (filename, &info, ctx->hook_data);
 }