~ubuntu-branches/ubuntu/wily/grub2/wily-proposed

« back to all changes in this revision

Viewing changes to normal/handler.c

  • Committer: Bazaar Package Importer
  • Author(s): Felix Zielcke, Robert Millan, Felix Zielcke
  • Date: 2010-01-26 19:26:25 UTC
  • mfrom: (1.13.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100126192625-coq6czap2ofjollf
Tags: 1.98~20100126-1
* New Bazaar snapshot.
  - Includes mipsel-yeeloong port.

[ Robert Millan ]
* config.in: Lower priority of grub2/linux_cmdline_default.

[ Felix Zielcke ]
* Drop `CFLAGS=-O0' workaround on powerpc. Should be fixed correctly now.
* Ship grub-bin2h and grub-script-check in grub-common.
* Terminate NEWS.Debian with a blank line like lintian would suggest
  if that check would be working correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
    {
173
173
      char *filename;
174
174
 
175
 
      filename = grub_malloc (grub_strlen (prefix) + sizeof ("/handler.lst"));
 
175
      filename = grub_xasprintf ("%s/handler.lst", prefix);
176
176
      if (filename)
177
177
        {
178
178
          grub_file_t file;
179
179
 
180
 
          grub_sprintf (filename, "%s/handler.lst", prefix);
181
180
          file = grub_file_open (filename);
182
181
          if (file)
183
182
            {