mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-28 07:44:52 +00:00
e1531466e1
This change updates grub to the 2.04 release. The new release changed how grub is built, so the bootstrap and bootstrap.conf files have to be added to the dist-git. Also, the gitignore file changed so it has to be updated. Since the patches have been forward ported to 2.04, there's no need for a logic to maintain a patch with the delta between the release and the grub master branch. So the release-to-master.patch is dropped and no longer is updated by the do-rebase script. Also since gnulib isn't part of the grub repository anymore and cloned by the boostrap tool, a gnulib tarball is included as other source file and copied before calling the bootstrap tool. That way grub can be built even in builders that only have access to the sources lookaside cache. Resolves: rhbz#1727279 Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
27 lines
912 B
Diff
27 lines
912 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Peter Jones <pjones@redhat.com>
|
|
Date: Thu, 25 May 2017 11:27:40 -0400
|
|
Subject: [PATCH] Fix one more coverity complaint
|
|
|
|
No idea why covscan thinks this is an "added" bug, since the file hasn't
|
|
changed in 3 years, but... yeah.
|
|
|
|
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
---
|
|
grub-core/normal/completion.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/grub-core/normal/completion.c b/grub-core/normal/completion.c
|
|
index 596102848c1..c07100a8de3 100644
|
|
--- a/grub-core/normal/completion.c
|
|
+++ b/grub-core/normal/completion.c
|
|
@@ -284,7 +284,8 @@ complete_file (void)
|
|
|
|
/* Cut away the filename part. */
|
|
dirfile = grub_strrchr (dir, '/');
|
|
- dirfile[1] = '\0';
|
|
+ if (dirfile)
|
|
+ dirfile[1] = '\0';
|
|
|
|
/* Iterate the directory. */
|
|
(fs->fs_dir) (dev, dir, iterate_dir, NULL);
|