- 04 Mar, 2015 1 commit
-
-
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.
-
- 25 Jan, 2014 1 commit
-
-
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
-
- 24 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
follow the same algorithm to avoid method mismatch. Don't assume DMRAID- UUID to mean full disk but instead check that mapping is linear.
-
- 20 Dec, 2013 1 commit
-
-
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.
-
- 17 Dec, 2013 2 commits
-
-
Vladimir Serbinenko authored
-
Andrey Borzenkov authored
We need to hide "modprobe efivars" error output to avoid confusion. So consolidate grub_util_exec_* into single function that can optionally redirect all three standard descriptors and make all other functions compatibility wrappers. Also remove include/grub/osdep/exec_unix.h which does not appear to be used anywhere.
-
- 27 Nov, 2013 2 commits
-
-
Vladimir Serbinenko authored
Fixes build for windows.
-
Colin Watson authored
Add grub_util_disable_fd_syncs call to turn grub_util_fd_sync calls into no-ops, and use it in programs that copy files but do not need to take special care to sync writes (grub-mknetdir, grub-rescue, grub-mkstandalone). On my laptop, this reduces partmap_test's runtime from 1236 seconds to 204 seconds.
-
- 17 Nov, 2013 1 commit
-
-
Vladimir Serbinenko authored
the function of these files exceeds what can be sanely handled in shell in posix-comaptible way. Also writing it in C extends the functionality to non-UNIX-like OS and minimal environments.
-
- 28 Oct, 2013 2 commits
-
-
Vladimir Serbinenko authored
and grub_hostfs_init.
-
Vladimir Serbinenko authored
Modify mkrelpath to work even if device is mounted with subvolid option.
-
- 19 Oct, 2013 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
* osdep/unix/exec.c: ... here. Add few additional exec_* variants.
-
Vladimir 'phcoder' Serbinenko authored
(grub_util_check_char_device): Likewise. * include/grub/emu/getroot.h: Likewise.
-
- 18 Oct, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* include/grub/emu/misc.h: Likewise.
-
- 15 Oct, 2013 5 commits
-
-
Vladimir 'phcoder' Serbinenko authored
use OS-dependent versions rather than to rely on stat().
-
Vladimir 'phcoder' Serbinenko authored
* include/grub/emu/hostfile.h: ... here.
-
Vladimir 'phcoder' Serbinenko authored
and remove export.h.
-
Vladimir 'phcoder' Serbinenko authored
platform-dependent part in kernel for easy access to OS functions.
-
Vladimir 'phcoder' Serbinenko authored
open/read/write.
-
- 14 Oct, 2013 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
fseeko.
-
Vladimir 'phcoder' Serbinenko authored
windows use unicode version.
-
- 10 Oct, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
in OS-specific headers which may redefine generic names like "far".
-
- 09 Oct, 2013 4 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
Removed. * grub-core/osdep/linux/hostdisk.c (grub_hostdisk_linux_find_partition): Made static.
-
Vladimir 'phcoder' Serbinenko authored
leftover.
-
Vladimir 'phcoder' Serbinenko authored
moves OS-dependent parts from kern/emu/hostdisk.c to grub-core/osdep/*/hostdisk.c.
-
- 08 Oct, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* util/getroot_linux.c: ... here. Make all functions static.
-
- 04 Oct, 2013 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
and not just printable.
-
- 24 Sep, 2013 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
Migrate all explicit defines to this new one.
-
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.
-
- 23 Sep, 2013 3 commits
-
-
Vladimir 'phcoder' Serbinenko authored
Define dummy grub_util_pull_lvm_by_command to decrease number of #if's.
-
Vladimir 'phcoder' Serbinenko authored
Use windows path for DEFAULT_DIRECTORY.
-
Vladimir 'phcoder' Serbinenko authored
-
- 22 Sep, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
files rather than one file with loads of #if's. * util/getroot.c: Likewise.
-
- 22 Aug, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
mingw32 as well based on grub_util_get_disk_size. * util/misc.c (grub_util_get_disk_size): Removed. all users switched to grub_util_get_fd_size. (sync): Removed. (fsync): Moved to ... * grub-core/kern/emu/misc.c (fsync): ... here.
-
- 11 May, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
for vasprintf presence.
-
- 05 May, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 02 May, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 27 Apr, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-