1. 16 Mar, 2016 1 commit
    • Aaron Luft's avatar
      Remove the variable oldname which is attempting to free stack space. · 76eac44a
      Aaron Luft authored
      Historically this variable hold previous value of filename that
      had to be freed if allocated previously. Currently this branch
      is entered only if filename was not allocated previously so it
      became redundant. It did not cause real problems because grub_free
      was not called, but code is confusing and causes compilation error
      in some cases.
      76eac44a
  2. 26 Jan, 2015 1 commit
  3. 15 Dec, 2013 1 commit
  4. 26 Oct, 2013 1 commit
  5. 20 Oct, 2013 1 commit
  6. 07 Mar, 2013 1 commit
  7. 28 Feb, 2013 1 commit
  8. 27 Feb, 2013 1 commit
    • Colin Watson's avatar
      Remove nested functions from disk and file read hooks. · 4eb8b756
      Colin Watson authored
      	* include/grub/disk.h (grub_disk_read_hook_t): New type.
      	(struct grub_disk): Add read_hook_data member.
      	* include/grub/file.h (struct grub_file): Likewise.
      	* include/grub/fshelp.h (grub_fshelp_read_file): Add read_hook_data
      	argument.
      
      	Update all callers.
      4eb8b756
  9. 21 Jan, 2013 1 commit
  10. 04 Jan, 2013 1 commit
  11. 27 May, 2012 1 commit
  12. 18 May, 2012 1 commit
  13. 17 May, 2012 1 commit
  14. 11 May, 2012 1 commit
  15. 31 Mar, 2012 1 commit
  16. 28 Feb, 2012 1 commit
  17. 10 Feb, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Increase warning level. · ebcecdf1
      Vladimir 'phcoder' Serbinenko authored
      	* conf/Makefile.common (CFLAGS_GNULIB): Add -Wno-redundant-decls
      	-Wno-unreachable-code -Wno-conversion -Wno-old-style-definition.
      	* configure.ac (HOST_CFLAGS): Add bunch of -W arguments.
      	(TARGET_CFLAGS): Likewise.
      	(HOST_CFLAGS): Add -Werror unless --disable-werror is activated.
      	* grub-core/Makefile.core.def (decompressor_xz): Add
      	-Wno-unreachable-code.
      	(normal): Add -Wno-redundant-decls.
      	(xzio): Add -Wno-unreachable-code.
      	(lzopio): Add -Wno-redundant-decls -Wno-error.
      	* grub-core/commands/acpi.c: Add exception to -Wcast-align.
      	* grub-core/commands/lsacpi.c: Add exception to -Wcast-align.
      	* grub-core/gensymlist.sh: Add exception to -Wmissing-format-attribute.
      	* grub-core/kern/dl.c: Add exception to -Wcast-align.
      	* grub-core/kern/efi/efi.c (grub_efi_modules_addr): Likewise.
      	* grub-core/kern/i386/coreboot/init.c: Add exception to
      	-Wsuggest-attribute=noreturn.
      	* grub-core/kern/ia64/dl.c: Add exception to -Wcast-align.
      	* grub-core/kern/ia64/dl_helper.c: Likewise.
      	* grub-core/kern/mips/dl.c: Likewise.
      	* grub-core/kern/sparc64/dl.c: Likewise.
      	* grub-core/lib/LzmaEnc.c: Add exception to -Wshadow.
      	* grub-core/lib/libgcrypt_wrap/cipher_wrap.h (memcpy): Likewise.
      	(memcmp): Likewise.
      	* grub-core/lib/pbkdf2.c: Add exception to -Wunreachable-code.
      	* grub-core/loader/ia64/efi/linux.c: Add exception to -Wcast-align.
      	* grub-core/loader/mips/linux.c: Likewise.
      	* grub-core/loader/multiboot_elfxx.c: Likewise.
      	* grub-core/script/parser.y: Add exception to -Wunreachable-code.
      	* grub-core/video/sm712.c: Add exception to -Wcast-align.
      	* util/import_gcry.py: Add -Wno-cast-align to modules checked by hand.
      	* grub-core/font/font.c (grub_font_loader_init): Add explicit cast and
      	fixme.
      	* grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Likewise.
      	* grub-core/kern/i386/multiboot_mmap.c (grub_machine_mmap_init):
      	Fix prototype.
      ebcecdf1
  18. 13 Dec, 2011 2 commits
  19. 10 Nov, 2011 2 commits
  20. 31 Oct, 2011 1 commit
  21. 28 Oct, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Prefer rockridge over Joliet. · c39224b0
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/fs/iso9660.c (grub_iso9660_mount): Move rockridge detection
      	to ...
      	(set_rockridge): ... here.
      	(grub_iso9660_mount): Check rockridge on the primary label when
      	discovering. Ignore Joliet if Rockridge is present.
      c39224b0
  22. 26 Oct, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Fix symlink handling on iso9660. · 66b40850
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/fs/iso9660.c (grub_fshelp_node): Remove dir_off. Add symlink
      	All users updated.
      	(grub_iso9660_susp_iterate): Accept zero-size iterate.
      	(grub_iso9660_read_symlink): Moved most of code ...
      	(grub_iso9660_iterate_dir): ... here. Fill node->symlink.
      66b40850
  23. 25 Oct, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Support multi-extent iso files. · e1211949
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/fs/iso9660.c (grub_iso9660_data): Remove first_sector.
      	Add node.
      	(grub_fshelp_node): Revamp. All users updated.
      	(FLAG_*): New enum.
      	(read_node): New function.
      	(grub_iso9660_susp_iterate): Use read_node. Receive a node as argument.
      	All users updated.
      	(grub_iso9660_mount): Don't attempt to read sua when there is none.
      	(get_node_size): New function.
      	(grub_iso9660_iterate_dir): Use read_node. Agglomerate multi-extent
      	entries.
      	Fix memory leak on . and ..
      	(grub_iso9660_read): Use read_node.
      	(grub_iso9660_close): Free node.
      e1211949
  24. 24 Jun, 2011 1 commit
  25. 12 Apr, 2011 1 commit
  26. 26 Mar, 2011 1 commit
  27. 10 Dec, 2010 4 commits
  28. 06 May, 2010 1 commit
  29. 22 Feb, 2010 1 commit
  30. 27 Jan, 2010 1 commit
  31. 20 Jan, 2010 1 commit
  32. 05 Jan, 2010 1 commit
  33. 04 Jan, 2010 1 commit
    • Robert Millan's avatar
      2010-01-03 Robert Millan <rmh.grub@aybabtu.com> · 58bc8bd5
      Robert Millan authored
      	
      	* boot/i386/pc/boot.S: Update copyright year.
      	* boot/i386/pc/cdboot.S: Likewise.
      	* boot/i386/pc/diskboot.S: Likewise.
      	* boot/i386/pc/lnxboot.S: Likewise.
      	* boot/i386/pc/pxeboot.S: Likewise.
      	* bus/pci.c: Likewise.
      	* commands/cmp.c: Likewise.
      	* commands/help.c: Likewise.
      	* commands/hexdump.c: Likewise.
      	* commands/i386/pc/halt.c: Likewise.
      	* commands/i386/pc/play.c: Likewise.
      	* commands/i386/pc/vbeinfo.c: Likewise.
      	* commands/ls.c: Likewise.
      	* commands/test.c: Likewise.
      	* disk/dmraid_nvidia.c: Likewise.
      	* disk/i386/pc/biosdisk.c: Likewise.
      	* disk/ieee1275/nand.c: Likewise.
      	* disk/ieee1275/ofdisk.c: Likewise.
      	* disk/lvm.c: Likewise.
      	* disk/raid.c: Likewise.
      	* disk/raid6_recover.c: Likewise.
      	* disk/scsi.c: Likewise.
      	* fs/affs.c: Likewise.
      	* fs/cpio.c: Likewise.
      	* fs/ext2.c: Likewise.
      	* fs/hfs.c: Likewise.
      	* fs/iso9660.c: Likewise.
      	* fs/ntfs.c: Likewise.
      	* fs/sfs.c: Likewise.
      	* fs/udf.c: Likewise.
      	* fs/ufs.c: Likewise.
      	* fs/xfs.c: Likewise.
      	* gencmdlist.sh: Likewise.
      	* genmk.rb: Likewise.
      	* include/grub/disk.h: Likewise.
      	* include/grub/efi/api.h: Likewise.
      	* include/grub/efi/efi.h: Likewise.
      	* include/grub/efi/pe32.h: Likewise.
      	* include/grub/elf.h: Likewise.
      	* include/grub/fs.h: Likewise.
      	* include/grub/i386/at_keyboard.h: Likewise.
      	* include/grub/i386/pc/memory.h: Likewise.
      	* include/grub/i386/pc/vbe.h: Likewise.
      	* include/grub/i386/pci.h: Likewise.
      	* include/grub/i386/tsc.h: Likewise.
      	* include/grub/ieee1275/ieee1275.h: Likewise.
      	* include/grub/ntfs.h: Likewise.
      	* include/grub/sparc64/ieee1275/ieee1275.h: Likewise.
      	* include/grub/sparc64/libgcc.h: Likewise.
      	* include/grub/symbol.h: Likewise.
      	* include/grub/types.h: Likewise.
      	* include/multiboot2.h: Likewise.
      	* io/gzio.c: Likewise.
      	* kern/device.c: Likewise.
      	* kern/disk.c: Likewise.
      	* kern/efi/efi.c: Likewise.
      	* kern/efi/mm.c: Likewise.
      	* kern/elf.c: Likewise.
      	* kern/file.c: Likewise.
      	* kern/i386/dl.c: Likewise.
      	* kern/i386/pc/init.c: Likewise.
      	* kern/i386/pc/startup.S: Likewise.
      	* kern/ieee1275/ieee1275.c: Likewise.
      	* kern/ieee1275/init.c: Likewise.
      	* kern/main.c: Likewise.
      	* kern/mm.c: Likewise.
      	* kern/powerpc/dl.c: Likewise.
      	* kern/sparc64/dl.c: Likewise.
      	* kern/x86_64/dl.c: Likewise.
      	* lib/hexdump.c: Likewise.
      	* loader/efi/appleloader.c: Likewise.
      	* loader/i386/ieee1275/linux.c: Likewise.
      	* loader/i386/pc/chainloader.c: Likewise.
      	* loader/i386/pc/linux.c: Likewise.
      	* loader/i386/pc/multiboot2.c: Likewise.
      	* loader/ieee1275/multiboot2.c: Likewise.
      	* loader/multiboot2.c: Likewise.
      	* loader/multiboot_loader.c: Likewise.
      	* loader/powerpc/ieee1275/linux.c: Likewise.
      	* normal/completion.c: Likewise.
      	* normal/menu_entry.c: Likewise.
      	* partmap/apple.c: Likewise.
      	* util/grub.d/10_hurd.in: Likewise.
      	* util/hostfs.c: Likewise.
      	* video/readers/png.c: Likewise.
      	
      58bc8bd5
  34. 29 Dec, 2009 1 commit
  35. 25 Dec, 2009 1 commit
    • carles's avatar
      2009-12-25 Carles Pina i Estany <carles@pina.cat> · 61ba42be
      carles authored
      	* commands/efi/loadbios.c: Capitalize acronyms, replace `could not' by
      	`couldn't' and `can not' by `cannot'.
      	* commands/i386/pc/drivemap.c: Likewise.
      	* disk/ata.c: Likewise.
      	* disk/ieee1275/nand.c: Likewise.
      	* fs/affs.c: Likewise.
      	* fs/fat.c: Likewise.
      	* fs/hfs.c: Likewise.
      	* fs/hfsplus.c: Likewise.
      	* fs/iso9660.c: Likewise.
      	* fs/jfs.c: Likewise.
      	* fs/minix.c: Likewise.
      	* fs/reiserfs.c: Likewise.
      	* fs/sfs.c: Likewise.
      	* fs/udf.c: Likewise.
      	* fs/ufs.c: Likewise.
      	* fs/xfs.c: Likewise.
      	* loader/powerpc/ieee1275/linux.c: Likewise.
      	* loader/sparc64/ieee1275/linux.c: Likewise.
      	* util/grub-probe.c: Likewise.
      	* util/misc.c: Likewise.
      61ba42be