This is an automated email from the git hooks/post-receive script.
andyp pushed a commit to branch master
in repository gfs2-utils.
The following commit(s) were added to refs/heads/master by this push:
new c0d3232 gfs2_edit: Don't move cursor when displaying indirect blocks
c0d3232 is described below
commit c0d323249c19b07a1983c1a356c16e9e3c265c9b
Author: Andrew Price <anprice(a)redhat.com>
AuthorDate: Fri Sep 13 17:51:00 2019 +0100
gfs2_edit: Don't move cursor when displaying indirect blocks
This move() call moves the cursor to column 9 which can cause already
printed characters to be overwritten in interactive mode. Remove it
so that the lines are formatted as in command line mode.
Before: " 24: 0x180x5106 / 20742"
After: " 24: 0x18 => 0x5106 / 20742"
Signed-off-by: Andrew Price <anprice(a)redhat.com>
---
gfs2/edit/extended.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/gfs2/edit/extended.c b/gfs2/edit/extended.c
index d24d755..f38fc7b 100644
--- a/gfs2/edit/extended.c
+++ b/gfs2/edit/extended.c
@@ -178,8 +178,6 @@ static int display_indirect(struct iinfo *ind, int indblocks, int level,
print_gfs2(" ");
}
print_gfs2("%d: 0x%"PRIx64" => ", pndx, ind->ii[pndx].ptroff);
- if (termlines)
- move(line,9);
print_gfs2("0x%"PRIx64" / %"PRId64, ind->ii[pndx].block,
ind->ii[pndx].block);
if (termlines) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.