grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transparent decompression with file system filter


From: Bean
Subject: Re: Transparent decompression with file system filter
Date: Tue, 1 Jan 2008 02:54:05 +0800

On Jan 1, 2008 2:40 AM, Robert Millan <address@hidden> wrote:
>
> On Tue, Jan 01, 2008 at 12:59:57AM +0800, Bean wrote:
> > Hi,
> >
> > Changes in this new patch:
> >
> > 1, change function name grub_file_open_raw to grub_file_ropen
> > 2, replace grub_file_open in command/blocklist.c and
> > util/i386/pc/grub-setup.c to grub_file_ropen.
> >
> > If nobody objects, i would like to commit this in a few days.
>
> Please add the missing spaces in:
>
> +grub_file_t
> +grub_file_open (const char *name)
> +{
> +  grub_file_t file;
> +  grub_fshook_t p;
> +  char *val;
> +
> +  file=grub_file_ropen (name);
>       ^^
>
> +
> +  if (! file)
> +    return file;
> +
> +  val= grub_env_get ("nofshook");
> +  if ((val) && (val[0]=='1'))
>                        ^^^
>
> +    return file;
> +
> +  for (p=grub_fshook_list;p;p=p->next)
>         ^^                ^^^^^
>
> +    {
> +      grub_file_t new_file;
> +
> +      new_file = (*p->open_func) (file);
> +      if (new_file)
> +        return new_file;
> +    }
> +
> +  return file;
> +}
>
> --
> Robert Millan
>
> <GPLv2> I know my rights; I want my phone call!
> <DRM> What use is a phone call, if you are unable to speak?
> (as seen on /.)
>
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>

Ok.

-- 
Bean

Attachment: grub2-fshook3.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]