2015-07-22 13:44:51 +00:00
|
|
|
From 4b8b9135f1676924a8458da528d264bbc7bbb301 Mon Sep 17 00:00:00 2001
|
2014-06-24 15:18:06 +00:00
|
|
|
From: Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
|
Date: Sun, 20 Apr 2014 16:12:41 +0200
|
2015-07-22 13:44:51 +00:00
|
|
|
Subject: [PATCH 079/506] * grub-core/kern/misc.c (__bzero): Don't
|
2014-06-24 15:18:06 +00:00
|
|
|
compile in GRUB_UTIL.
|
|
|
|
|
|
|
|
Reported by: Yves Blusseau <blusseau@zetam.org>.
|
|
|
|
---
|
|
|
|
ChangeLog | 6 ++++++
|
|
|
|
grub-core/kern/misc.c | 3 +++
|
|
|
|
2 files changed, 9 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/ChangeLog b/ChangeLog
|
2015-07-22 13:44:51 +00:00
|
|
|
index 1be8e5e..ba5e205 100644
|
2014-06-24 15:18:06 +00:00
|
|
|
--- a/ChangeLog
|
|
|
|
+++ b/ChangeLog
|
|
|
|
@@ -1,3 +1,9 @@
|
|
|
|
+2014-04-20 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
|
+
|
|
|
|
+ * grub-core/kern/misc.c (__bzero): Don't compile in GRUB_UTIL.
|
|
|
|
+
|
|
|
|
+ Reported by: Yves Blusseau <blusseau@zetam.org>.
|
|
|
|
+
|
|
|
|
2014-04-20 Piotr Krysiuk <piotras@gmail.com>
|
|
|
|
|
|
|
|
* grub-core/lib/i386/relocator.c: Allow loading old kernels by placing
|
|
|
|
diff --git a/grub-core/kern/misc.c b/grub-core/kern/misc.c
|
|
|
|
index 54db2e1..c5c815d 100644
|
|
|
|
--- a/grub-core/kern/misc.c
|
|
|
|
+++ b/grub-core/kern/misc.c
|
|
|
|
@@ -542,6 +542,9 @@ memset (void *s, int c, grub_size_t n)
|
|
|
|
return grub_memset (s, c, n);
|
|
|
|
}
|
|
|
|
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if !defined(GRUB_UTIL) && defined(__APPLE__)
|
|
|
|
void GRUB_BUILTIN_ATTR
|
|
|
|
__bzero (void *s, grub_size_t n)
|
|
|
|
{
|
|
|
|
--
|
2015-07-22 13:44:51 +00:00
|
|
|
2.4.3
|
2014-06-24 15:18:06 +00:00
|
|
|
|