[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grub-devel
Subject:    Re: Transparent decompression with file system filter
From:       Bean <bean123ch () gmail ! com>
Date:       2007-12-31 18:54:05
Message-ID: ca0f59980712311054t6e2e6c8k32af5a51c5c7374d () mail ! gmail ! com
[Download RAW message or body]


On Jan 1, 2008 2:40 AM, Robert Millan <rmh@aybabtu.com> 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
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>

Ok.

-- 
Bean

["grub2-fshook3.diff" (application/octet-stream)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic