[1958] 2009-01-26 Daniel Mierswa <[email protected]>

Pavel Roskin <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 1958
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1958
Author:   proski
Date:     2009-01-26 04:26:47 +0000 (Mon, 26 Jan 2009)

Log Message:
-----------
2009-01-26  Daniel Mierswa  <[email protected]>

	* commands/search.c (search_fs_uuid): Ignore case of the UUID.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/commands/search.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-01-26 04:22:44 UTC (rev 1957)
+++ trunk/grub2/ChangeLog	2009-01-26 04:26:47 UTC (rev 1958)
@@ -1,5 +1,7 @@
 2009-01-26  Daniel Mierswa  <[email protected]>
 
+	* commands/search.c (search_fs_uuid): Ignore case of the UUID.
+
 	* kern/misc.c (grub_strcasecmp): New function.
 	(grub_strcasecmp): Use grub_size_t instead of int for length.
 	Fix return value.

Modified: trunk/grub2/commands/search.c
===================================================================
--- trunk/grub2/commands/search.c	2009-01-26 04:22:44 UTC (rev 1957)
+++ trunk/grub2/commands/search.c	2009-01-26 04:26:47 UTC (rev 1958)
@@ -115,7 +115,7 @@
 	      (fs->uuid) (dev, &uuid);
 	      if (grub_errno == GRUB_ERR_NONE && uuid)
 		{
-		  if (grub_strcmp (uuid, key) == 0)
+		  if (grub_strcasecmp (uuid, key) == 0)
 		    {
 		      /* Found!  */
 		      count++;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.