Whamcloud - gitweb
badblocks: support languages which use multi-column wide characters
authorTheodore Ts'o <tytso@mit.edu>
Tue, 30 May 2017 00:04:56 +0000 (20:04 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 30 May 2017 00:04:56 +0000 (20:04 -0400)
commit0c574883dda4a44eeb4586fd7784373de3d8c030
tree0c40c8c86e8f674abb3d527243b9b447e4849bf2
parentb67bf3b085c38e30c35bded55004d6dadefb7dd4
badblocks: support languages which use multi-column wide characters

CJK characters take up two columns for each character; teach badblocks
to take this into account.

Addresses-Debian-Bug: #860926

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reported-by: "Mingye Wang (Arthur2e5)" <arthur200126@gmail.com>
misc/badblocks.c