]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: fix copy from readline and whitespace stripping
authorVaclav Dolezal <vdolezal@redhat.com>
Mon, 28 Aug 2017 11:20:34 +0000 (13:20 +0200)
committerVaclav Dolezal <vdolezal@redhat.com>
Mon, 28 Aug 2017 12:06:15 +0000 (14:06 +0200)
commit1d775aa260bdc20c2e8e618691eabb193d496e05
treef9b74d2362594dd65be3f564590548b80159cd23
parent306367042565c8ff9caeacfc79b6bf35d7ecd55d
fdisk: fix copy from readline and whitespace stripping

Bug fixed:
---
678: fdisk:      ASK: asking for number ['Partition number', <1,4>, default=1, range: 1-4]
678: fdisk:      ASK: asking for user replay [interactive]
Partition number (1-4, default 1): 12345
678: fdisk:      ASK: user's reply: >>>12345<<<
Value out of range.
678: fdisk:      ASK: asking for user replay [interactive]
Partition number (1-4, default 1): 1
678: fdisk:      ASK: user's reply: >>>12345<<<
Value out of range.
678: fdisk:      ASK: asking for user replay [interactive]
Partition number (1-4, default 1):
678: fdisk:      ASK: user's reply: >>>22345<<<
Value out of range.
---

Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
disk-utils/fdisk.c