On Fri, Aug 28, 2009 at 02:53:12PM +0200, Felix Zielcke wrote:
> +      if (stat (buf, &st) < 0)
> +     grub_util_error ("can not stat %s", buf);

We should give a reason.  E.g:

  grub_util_error ("can not stat %s: %s", p, strerror (errno));

Also, I believe some of the comments in the old shell function
(e.g. the one about trailing slash) would still make sense in the
new one.

If you can fix these two things, it looks ok for commit.  Thanks.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to