[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Transparent decompression with file system filter
From: |
Robert Millan |
Subject: |
Re: Transparent decompression with file system filter |
Date: |
Mon, 31 Dec 2007 19:40:49 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
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 /.)