Vladimir Serbinenko
ca3e20886e
Build fixes for argp.h with older gcc.
2013-12-21 18:08:25 +01:00
Vladimir Serbinenko
27db1a9b64
* util/grub-glue-efi.c: Use "universal binary" rather "fat binary"
...
in strings.
Suggested by: David Prévot.
2013-12-21 16:12:24 +01:00
Vladimir Serbinenko
8a913e664e
* include/grub/crypto.h (grub_crypto_xor): Fix cast-align warning.
2013-12-21 15:35:15 +01:00
Vladimir Serbinenko
ae558c2ccf
Enable -Wformat=2 if it's supported.
2013-12-21 15:28:28 +01:00
Vladimir Serbinenko
bbac6789aa
* configure.ac: Add -Wmissing-include-dirs -Wmissing-prototypes
...
-Wmissing-declarations if supported.
2013-12-21 14:47:55 +01:00
Vladimir Serbinenko
ab216512d7
* grub-core/commands/macbless.c (grub_mac_bless_inode): Pass inode as u32
...
as both HFS and HFS+ have 32-bit inodes.
2013-12-21 14:40:53 +01:00
Vladimir Serbinenko
0d4aa91d0d
* include/grub/misc.h (grub_strtol): Fix overflow.
2013-12-21 14:35:46 +01:00
Vladimir Serbinenko
a997af68e3
* include/grub/term.h (grub_unicode_estimate_width): Use grub_size_t
...
as return type in both conditionals.
2013-12-21 14:33:36 +01:00
Vladimir Serbinenko
36bcaf2903
* include/grub/video.h (grub_video_rgba_color_rgb): Fix prototype
...
to use uint8_t for color.
2013-12-21 14:31:47 +01:00
Vladimir Serbinenko
74763e9615
* util/misc.c (grub_util_get_image_size): Check for overflow.
2013-12-21 14:28:14 +01:00
Vladimir Serbinenko
80b29fc9b4
* grub-core/disk/raid6_recover.c (grub_raid_block_mulx): Use grub_size_t
...
for size.
2013-12-21 14:16:49 +01:00
Vladimir Serbinenko
6e327fcd4c
* grub-core/disk/lvm.c: Use grub_size_t for sizes and grub_ssize_t
...
for pointer difference.
2013-12-21 14:15:04 +01:00
Vladimir Serbinenko
62ce03cf40
* util/import_gcry.py: Skip sample keys.
2013-12-21 14:07:42 +01:00
Vladimir Serbinenko
f4d70fd02b
* util/misc.c (grub_qsort_strcmp): Don't discard const attribute.
2013-12-21 14:04:50 +01:00
Vladimir Serbinenko
93bf55e616
* configure.ac: Remove duplicate warning arguments.
2013-12-21 13:53:42 +01:00
Vladimir Serbinenko
579ee114b1
Add missing static qualifiers.
2013-12-21 13:50:13 +01:00
Vladimir Serbinenko
ee5283d66b
Add missing includes.
2013-12-21 13:47:27 +01:00
Vladimir Serbinenko
5dbde526a8
Inline printf templates when possible to enable format checking.
2013-12-21 13:40:18 +01:00
Vladimir Serbinenko
d88ae4f0a4
* include/grub/crypto.h: Don't discard const attribute.
2013-12-21 13:36:42 +01:00
Vladimir Serbinenko
17b4355943
* grub-core/net/bootp.c (grub_cmd_dhcpopt): Use snprintf where it
...
was intended.
2013-12-21 13:35:28 +01:00
Vladimir Serbinenko
76a2a43011
* grub-core/lib/crypto.c: Don't discard const attribute.
2013-12-21 13:34:03 +01:00
Vladimir Serbinenko
0d26164edd
* grub-core/lib/disk.c: Fix potential overflow.
2013-12-21 13:32:39 +01:00
Vladimir Serbinenko
2622b1e8a8
* grub-core/lib/arg.c: Don't discard const attribute.
2013-12-21 13:28:52 +01:00
Vladimir Serbinenko
05126706b0
* grub-core/kern/dl.c: Don't discard const attribute.
2013-12-21 13:26:27 +01:00
Vladimir Serbinenko
2f9c48041a
* grub-core/kern/disk.c: Fix potential overflow.
2013-12-21 13:23:37 +01:00
Vladimir Serbinenko
0438ebf1c3
* conf/Makefile.common: Don't include non-existing directory
...
grub-core/lib/libgcrypt-grub/include.
2013-12-21 13:21:42 +01:00
Vladimir Serbinenko
065adc346c
Clarify several translatable messages.
2013-12-21 03:21:45 +01:00
David Prévot
496a6b3024
Correct some translatable strings.
2013-12-21 03:03:31 +01:00
Colin Watson
971038be55
* util/grub-mkrescue.c: Rephrase mkrescue description.
2013-12-21 02:37:14 +01:00
Vladimir Serbinenko
bfdfeb2508
Clarify several translatable messages.
2013-12-21 01:41:16 +01:00
Vladimir Serbinenko
c00c34efe1
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub
2013-12-20 17:13:24 +01:00
Colin Watson
d642d76197
Be more verbose about some configure failures.
2013-12-20 16:09:43 +00:00
Vladimir Serbinenko
871aa709af
* util/grub-install.c: Inform user about install platform.
2013-12-20 16:57:48 +01:00
Colin Watson
3bc1b2daab
Fix various build problems on GNU/Hurd.
...
* 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.
2013-12-20 14:02:27 +00:00
Vladimir Serbinenko
2fa5a58ca3
* configure.ac: Set version to 2.02~beta1.
2013-12-19 01:54:43 +01:00
Allen Pais
ee281fd0c6
* grub-core/boot/sparc64/ieee1275/boot.S: Fix order of fields.
...
Also-By: Bob Picco <bob.picco@oracle.com>
2013-12-19 01:53:56 +01:00
Vladimir Serbinenko
2e238b3708
Make grub_zlib_decompress handle incomplete chunks.
...
Fixes squash4.
2013-12-18 23:39:49 +01:00
Vladimir Serbinenko
2984035e1a
* grub-core/Makefile.am: Don't attempt to export grub_bios_interrupt on i386-multiboot.
2013-12-18 21:19:11 +01:00
Aleš Nesrsta
b9f03772b5
* grub-core/disk/usbms.c: Retry on unknown errors.
...
Reuse the same tag on retries.
2013-12-18 19:00:45 +01:00
Aleš Nesrsta
e3ef0d30cf
* grub-core/bus/usb/ehci.c: Fix handling of newborn transfers.
...
Avoid confusing them with already completed transfers.
2013-12-18 18:59:49 +01:00
Vladimir Serbinenko
72c9a50773
Remove xen VFB.
...
Due to XEN bug it prevents Linux boot. Remove it at least, until
workaround is found.
2013-12-18 18:43:09 +01:00
Vladimir Serbinenko
8445567046
* po/exclude.pot: Add 2 missing excludes.
2013-12-18 17:12:13 +01:00
Vladimir Serbinenko
64dd5fdc00
Add missing license section in macbless.mod and macho.mod.
2013-12-18 17:11:11 +01:00
Vladimir Serbinenko
a29f317af1
Allow compilation without thumb-interwork as long as no thumb is
...
involved or only thumb2 is used.
2013-12-18 13:33:39 +01:00
Vladimir Serbinenko
063f2a04d1
Use -Wl,--no-relax rather than -mno-relax for uniformity.
2013-12-18 13:13:23 +01:00
Vladimir Serbinenko
113f786989
* INSTALL: Update comment as to why sparc64 clang isn't usable.
2013-12-18 13:11:29 +01:00
Vladimir Serbinenko
eba2afeda1
Add __attribute__ ((sysv_abi)) only if it's really needed.
...
Some compilers don't support it.
2013-12-18 13:09:39 +01:00
Vladimir Serbinenko
1962ed95cc
* grub-core/lib/syslinux_parse.c: Declare timeout unsigned.
2013-12-18 12:29:30 +01:00
Vladimir Serbinenko
c2be6f7ef8
Remove -Wold-style-definition.
...
Not very useful and interaction of it with regexp depends on GCC
version.
2013-12-18 07:48:09 +01:00
Vladimir Serbinenko
7a7f52388b
Make grub_util_get_windows_path_real static.
2013-12-18 07:45:15 +01:00