]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: move UTF encoding function to lib/
authorKarel Zak <kzak@redhat.com>
Tue, 25 Feb 2020 11:00:27 +0000 (12:00 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 25 Feb 2020 11:00:27 +0000 (12:00 +0100)
commit35c6ed615f6f3ef68d26a6c4b655eeeb9d1f5d9e
tree9678b710316919c014add327ccfe127e74c13e04
parentcd781c405be82540484da3bfe3d3f17a39b8eb5c
libblkid: move UTF encoding function to lib/

Let's consolidate the code, we need to use it in libfdisk too. It
seems better to keep it generic and libblkid independent.

This patch also removes blkid_encode_alloc(), this function is overkill.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 files changed:
include/Makemodule.am
include/encode.h [new file with mode: 0644]
lib/Makemodule.am
lib/encode.c [new file with mode: 0644]
libblkid/src/blkidP.h
libblkid/src/encode.c
libblkid/src/partitions/gpt.c
libblkid/src/partitions/partitions.c
libblkid/src/superblocks/exfat.c
libblkid/src/superblocks/f2fs.c
libblkid/src/superblocks/hfs.c
libblkid/src/superblocks/iso9660.c
libblkid/src/superblocks/ntfs.c
libblkid/src/superblocks/superblocks.c
libblkid/src/superblocks/udf.c