All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Transparent decompression with file system filter
Date: Mon, 31 Dec 2007 19:40:49 +0100	[thread overview]
Message-ID: <20071231184048.GA7545@thorin> (raw)
In-Reply-To: <ca0f59980712310859x4e852e5cvf30ec1b3daac3293@mail.gmail.com>

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 /.)



  reply	other threads:[~2007-12-31 18:41 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-03 16:06 Transparent decompression with file system filter Bean
2007-11-10 17:33 ` Marco Gerards
2007-11-14  6:34   ` Bean
2007-11-14 19:29     ` Vesa Jääskeläinen
2007-11-15 10:53       ` Jan C. Kleinsorge
2007-11-18 11:40       ` Marco Gerards
2007-11-19  8:02         ` Bean
2007-11-19 10:23           ` Bean
2007-12-31 16:59             ` Bean
2007-12-31 18:40               ` Robert Millan [this message]
2007-12-31 18:54                 ` Bean
2008-01-02 23:19               ` Yoshinori K. Okuji
2008-01-03  8:49                 ` Bean
2008-01-03 11:35                   ` Robert Millan
2008-01-03 12:53                     ` Bean
2008-01-03 13:20                       ` Robert Millan
2008-01-03 15:53                   ` Vesa Jääskeläinen
2008-01-05  1:29                     ` Yoshinori K. Okuji
2008-01-05  6:30                       ` Bean
2008-01-05 10:39                         ` Yoshinori K. Okuji
2008-01-05 11:04                           ` Bean
2008-01-13  7:38                             ` Bean
2008-01-13 19:51                               ` Yoshinori K. Okuji
2008-01-13 20:16                                 ` Bean
2008-01-13 20:53                                   ` Yoshinori K. Okuji

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071231184048.GA7545@thorin \
    --to=rmh@aybabtu.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.