1. 04 Mar, 2015 1 commit
    • Vladimir Serbinenko's avatar
      Fix canonicalize_file_name clash. · 27d1a67f
      Vladimir Serbinenko authored
      canonicalize_file_name clashed with gnulib function. Additionally
      it was declared in 2 places: emu/misc.h and util/misc.h. Added
      grub_ prefix and removed second declaration.
      27d1a67f
  2. 25 Jan, 2014 1 commit
    • Andrey Borzenkov's avatar
      fix Mingw W64-32 cross compile failure due to printf redefinition in libintl.h · 5ae584c0
      Andrey Borzenkov authored
      In file included from util/misc.c:36:0:
      ./include/grub/emu/misc.h:56:1: error: 'libintl_printf' is an unrecognized format function type [-Werror=format=]
       char * EXPORT_FUNC(xasprintf) (const char *fmt, ...) __attribute__ ((format (printf, 1, 2))) WARN_UNUSED_RESULT;
       ^
      ./include/grub/emu/misc.h:58:1: error: 'libintl_printf' is an unrecognized format function type [-Werror=format=]
      
      The reason is libintl.h which redefines printf as libintl_printf. The problem
      is not present in native MinGW build which avoids redefinition.  Use
      (format (__printf__) instead which is valid replacement in GCC.
      
      v2: add grub-core/lib/libgcrypt/src/g10lib.h
      v3: modify g10lib.h during import
      5ae584c0
  3. 24 Dec, 2013 1 commit
  4. 20 Dec, 2013 1 commit
    • Colin Watson's avatar
      Fix various build problems on GNU/Hurd. · 3bc1b2da
      Colin Watson authored
      * grub-core/osdep/unix/getroot.c (strip_extra_slashes): Move inside
      !defined (__GNU__).
      (xgetcwd): Likewise.
      * include/grub/emu/hostdisk.h (grub_util_hurd_get_disk_info)
      [__GNU__]: Add prototype.
      * util/getroot.c (grub_util_biosdisk_get_grub_dev) [__GNU__]: Format
      long int using %ld rather than %d.
      3bc1b2da
  5. 17 Dec, 2013 2 commits
  6. 27 Nov, 2013 2 commits
  7. 17 Nov, 2013 1 commit
  8. 28 Oct, 2013 2 commits
  9. 19 Oct, 2013 2 commits
  10. 18 Oct, 2013 1 commit
  11. 15 Oct, 2013 5 commits
  12. 14 Oct, 2013 2 commits
  13. 10 Oct, 2013 1 commit
  14. 09 Oct, 2013 4 commits
  15. 08 Oct, 2013 1 commit
  16. 04 Oct, 2013 2 commits
  17. 24 Sep, 2013 2 commits
    • Vladimir 'phcoder' Serbinenko's avatar
      * include/grub/emu/hostdisk.h (GRUB_FD_STAT_IS_FUNTIONAL): New define. · bab7b1eb
      Vladimir 'phcoder' Serbinenko authored
      	Migrate all explicit defines to this new one.
      bab7b1eb
    • Vladimir 'phcoder' Serbinenko's avatar
      * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_open): Use · 43b1c99d
      Vladimir 'phcoder' Serbinenko authored
      	grub_util_fd_strerror when using grub_util_fd_*.
      	(grub_util_fd_open_device): Likewise.
      	(grub_util_biosdisk_read): Likewise.
      	(grub_util_biosdisk_write): Likewise.
      	* grub-core/kern/emu/hostdisk_unix.c (grub_util_fd_open): New function.
      	(grub_util_fd_strerror): Likewise.
      	(grub_util_fd_sync): Likewise.
      	(grub_util_fd_close): Likewise.
      	* grub-core/kern/emu/hostdisk_windows.c (grub_util_fd_sync): Likewise.
      	(grub_util_fd_close): Likewise.
      	(grub_util_fd_strerror): Likewise.
      	* include/grub/emu/hostdisk.h (grub_util_fd_close): Make into real
      	function proto rather than macro.
      	(grub_util_fd_sync): Likewise.
      	(grub_util_fd_open): Likewise.
      	(grub_util_fd_strerror): New proto.
      43b1c99d
  18. 23 Sep, 2013 3 commits
  19. 22 Sep, 2013 1 commit
  20. 22 Aug, 2013 1 commit
  21. 11 May, 2013 1 commit
  22. 05 May, 2013 1 commit
  23. 02 May, 2013 1 commit
  24. 27 Apr, 2013 1 commit