]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/fs/fshelp.c (grub_fshelp_find_file): Use grub_strcasecmp
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 14 Jan 2012 10:46:13 +0000 (11:46 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 14 Jan 2012 10:46:13 +0000 (11:46 +0100)
rather than a hack for grub_strncasemap.

ChangeLog
grub-core/fs/fshelp.c

index 28cb5d79204a3d356feada3be87d3d0d5b3040fc..c92e91aa9695cbb00b8ff348e75238cc61035feb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2012-01-14  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/fs/fshelp.c (grub_fshelp_find_file): Use grub_strcasecmp
+       rather than a hack for grub_strncasemap.
+
+2012-01-14  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       Support multiple initrds
+       Note: part of this was accidently committed in r3739.
+
+       * grub-core/loader/i386/linux.c (grub_cmd_initrd): Support multiple
+       initrd.
+       * grub-core/loader/i386/pc/linux.c (grub_cmd_initrd): Likewise.
+       * grub-core/loader/ia64/efi/linux.c (grub_cmd_initrd): Likewise.
+       * grub-core/loader/mips/linux.c (grub_cmd_initrd): Likewise.
+       * grub-core/loader/powerpc/ieee1275/linux.c (grub_cmd_initrd): Likewise.
+       * grub-core/loader/sparc64/ieee1275/linux.c (grub_cmd_initrd): Likewise.
+
 2012-01-14  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Skip
index 275cb9e1b4cf3c01ccd7fa489bf673b1750254ce..0944cf8c35b282abc2e60a9fa322238ff76931bc 100644 (file)
@@ -84,7 +84,7 @@ grub_fshelp_find_file (const char *path, grub_fshelp_node_t rootnode,
          if (filetype == GRUB_FSHELP_UNKNOWN ||
               (grub_strcmp (name, filename) &&
                (! (filetype & GRUB_FSHELP_CASE_INSENSITIVE) ||
-                grub_strncasecmp (name, filename, GRUB_LONG_MAX))))
+                grub_strcasecmp (name, filename))))
            {
              grub_free (node);
              return 0;