[1932] 2008-11-28 Krzysztof Smiechowicz <[email protected]>

Robert Millan <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 1932
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1932
Author:   robertmh
Date:     2008-11-28 20:10:36 +0000 (Fri, 28 Nov 2008)

Log Message:
-----------
2008-11-28  Krzysztof Smiechowicz <[email protected]>

        * fs/affs.c (grub_affs_iterate_dir): Return failure when directory
        iteration failed.
        * fs/sfs.c (grub_sfs_iterate_dir): Likewise.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/fs/affs.c
    trunk/grub2/fs/sfs.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2008-11-28 20:06:55 UTC (rev 1931)
+++ trunk/grub2/ChangeLog	2008-11-28 20:10:36 UTC (rev 1932)
@@ -1,3 +1,9 @@
+2008-11-28  Krzysztof Smiechowicz <[email protected]>
+
+	* fs/affs.c (grub_affs_iterate_dir): Return failure when directory
+	iteration failed.
+	* fs/sfs.c (grub_sfs_iterate_dir): Likewise.
+
 2008-11-28  Robert Millan  <[email protected]>
 
 	Fix build on powerpc-ieee1275.  Based on patch created by

Modified: trunk/grub2/fs/affs.c
===================================================================
--- trunk/grub2/fs/affs.c	2008-11-28 20:06:55 UTC (rev 1931)
+++ trunk/grub2/fs/affs.c	2008-11-28 20:10:36 UTC (rev 1932)
@@ -381,7 +381,7 @@
  fail:
   grub_free (node);
   grub_free (hashtable);
-  return 1;
+  return 0;
 }
 
 

Modified: trunk/grub2/fs/sfs.c
===================================================================
--- trunk/grub2/fs/sfs.c	2008-11-28 20:06:55 UTC (rev 1931)
+++ trunk/grub2/fs/sfs.c	2008-11-28 20:10:36 UTC (rev 1932)
@@ -451,7 +451,7 @@
 
  fail:
   grub_free (objc_data);
-  return 1;
+  return 0;
 }
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.