fb7b8af04b
resolves: rhbz#2190276 Also synch copy-patches.sh with the later version from virt-v2v c9s. I had to hand-hack the patches which touch common/ because they touch some directories that are not listed as SUBDIRS by libguestfs, so not included in the tarball. Hopefully this will go away when upstream stable-1.50 does a new stable release.
38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
From 89b6c8b458dcb00de83b543c47a6acb049f63f18 Mon Sep 17 00:00:00 2001
|
|
From: Laszlo Ersek <lersek@redhat.com>
|
|
Date: Tue, 21 Mar 2023 16:55:15 +0100
|
|
Subject: [PATCH] update common submodule
|
|
|
|
HATAYAMA Daisuke (1):
|
|
progress: fix segmentation fault when TERM variable is "dumb"
|
|
|
|
Laszlo Ersek (2):
|
|
detect_kernels: tighten "try" scope
|
|
detect_kernels: deal with RHEL's kernel-core / kernel-modules-core split
|
|
|
|
rwmjones (1):
|
|
Merge pull request #5 from d-hatayama/fix_segfault_progress_bar
|
|
|
|
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2175703
|
|
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
|
|
(cherry picked from commit be11d25b3e2770d86699e94c5087e6625477d5ec)
|
|
---
|
|
common | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Submodule common 360e037d..70c10a07:
|
|
diff --git a/common/progress/progress.c b/common/progress/progress.c
|
|
index 4d52b97e..e4b30663 100644
|
|
--- a/common/progress/progress.c
|
|
+++ b/common/progress/progress.c
|
|
@@ -318,7 +318,8 @@ progress_bar_set (struct progress_bar *bar,
|
|
* (b) it's just not possible to use tputs in a sane way here.
|
|
*/
|
|
/*tputs (UP, 2, putchar);*/
|
|
- fprintf (fp, "%s", UP);
|
|
+ if (UP)
|
|
+ fprintf (fp, "%s", UP);
|
|
}
|
|
bar->count++;
|
|
|