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