]> err.no Git - util-linux/commit
libblkid: trim tailing whitespace from unicode LABELs
authorKarel Zak <kzak@redhat.com>
Tue, 22 Sep 2009 10:32:34 +0000 (12:32 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 2 Oct 2009 18:31:40 +0000 (20:31 +0200)
commit9afb99578d110014f0e1846c521eceb4f61dcbe2
tree8158f48c17351cda64cff8f72f9529f18f7aa194
parent6dcf11a5142af5332f7536a3f33ede581d46fb96
libblkid: trim tailing whitespace from unicode LABELs

old version:
$ ./blkid -o udev -p iso-joliet.img
ID_FS_LABEL=ThisIsLabel
ID_FS_LABEL_ENC=ThisIsLabel\x20\x20\x20\x20\x20
ID_FS_VERSION=Joliet\x20Extension
ID_FS_TYPE=iso9660
ID_FS_USAGE=filesystem

new version:
$ ./blkid -o udev -p iso-joliet.img
ID_FS_LABEL=ThisIsLabel
ID_FS_LABEL_ENC=ThisIsLabel
ID_FS_VERSION=Joliet\x20Extension
ID_FS_TYPE=iso9660
ID_FS_USAGE=filesystem

Reported-by: Maxim Levitsky <maximlevitsky@gmail.com>
Addresses-Ubuntu-Bug: #432215
Signed-off-by: Karel Zak <kzak@redhat.com>
shlibs/blkid/src/probe.c