grub2/0401-grub-install-common-Increase-buf-size-to-8192-as-mod.patch
Peter Jones 8c6b1ac71e Reconcile with upstream once again.
Also include some minor fixes for gcc 5.1.1

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-07-22 09:46:32 -04:00

27 lines
701 B
Diff

From 9916ed6f82d12b203b61cbc6d6bb9c56af707c02 Mon Sep 17 00:00:00 2001
From: Vladimir Serbinenko <phcoder@gmail.com>
Date: Thu, 7 May 2015 17:09:58 +0200
Subject: [PATCH 401/506] grub-install-common: Increase buf size to 8192 as
modinfo.sh is bigger.
---
util/grub-install-common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/grub-install-common.c b/util/grub-install-common.c
index 37c1a98..0364b32 100644
--- a/util/grub-install-common.c
+++ b/util/grub-install-common.c
@@ -902,7 +902,7 @@ grub_install_get_target (const char *src)
{
char *fn;
grub_util_fd_t f;
- char buf[2048];
+ char buf[8192];
ssize_t r;
char *c, *pl, *p;
size_t i;
--
2.4.3