On Mon, Feb 09, 2009 at 05:16:52PM +0100, phcoder wrote:
-
- if (filetype == GRUB_FSHELP_DIR)
+
+ if ((filetype GRUB_FSHELP_TYPE_MASK) == GRUB_FSHELP_DIR)
Please don't remove those spaces, they're intentional (see
Robert Millan wrote:
On Mon, Feb 09, 2009 at 05:16:52PM +0100, phcoder wrote:
- if (filetype == GRUB_FSHELP_DIR)
+ if ((filetype GRUB_FSHELP_TYPE_MASK) == GRUB_FSHELP_DIR)
Uhm actually I don't understand why you need a mask for this. filetype is
an enum, which we define ourselves.
Bugfix. Patch attached
Vladimir 'phcoder' Serbinenko
Index: fs/hfsplus.c
===
--- fs/hfsplus.c (revision 1985)
+++ fs/hfsplus.c (working copy)
@@ -899,8 +899,8 @@
grub_fshelp_node_t node)
{
grub_free (node);
-
-