]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: make probing data structures more dynamic
authorOndrej Oprala <ooprala@redhat.com>
Tue, 3 Feb 2015 15:30:15 +0000 (16:30 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 24 Feb 2015 09:22:37 +0000 (10:22 +0100)
commit6c4a7811f85fc64cb0b0fb9f3e266592ed9c40dc
treefa3dd1b62a64c4240171fa80e9c3946e08e91b03
parent85589c4c4975c3a9c12663cbd5e16904cdbdaac7
libblkid: make probing data structures more dynamic

* replace static probing result array with list
* use allocated buffers for probing result variables

[kzak@redhat.com: - rename some functions
                  - clean up \0 terminator usage in variables
                  - remove never used code to convert UUID to lower-case
                  - remove possible memory leaks on errors]

Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/blkidP.h
libblkid/src/encode.c
libblkid/src/partitions/partitions.c
libblkid/src/probe.c
libblkid/src/superblocks/superblocks.c