cfdisk: get_string not calculating correct limits with wide ncurses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



if you load up cfdisk and then try to change the partition type, the input 
field only allows for inputting 1 character instead of the required 2.  
building against narrow ncurses gives correct behavior.

to reproduce:
	- build util-linux against wide ncurses
	- run cfdisk on a partitioned disk
	- select an existing partition
	- select Type
	- notice that you can only input 1 char

seems like the calculation in get_string() wrt the incoming limit is slightly 
off, but i'm not familiar enough with this code to propose a correct patch.

reported by: James L. Hammons <jlhamm@xxxxxxx>
-mike	

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux