]> git.ipfire.org Git - thirdparty/util-linux.git/commit - configure.ac
libmount: scandirat based mnt_table_parse_dir implementation
authorMasatake YAMATO <yamato@redhat.com>
Thu, 19 Jan 2012 04:16:20 +0000 (13:16 +0900)
committerKarel Zak <kzak@redhat.com>
Mon, 23 Jan 2012 12:52:51 +0000 (13:52 +0100)
commit485a8bfa98f8d89855b7ae0305e6698048c6f050
tree6a9de8182079005637183a8fecbfd44879da5ca5
parentac8ecab4bec840a381b1e901e905ca78f7c3e453
libmount: scandirat based mnt_table_parse_dir implementation

In comment of `mnt_table_parse_dir' of libmount/src/tab_parse.c:

/* TODO: it would be nice to have a scandir() implementation that
 *       is able to use already opened directory */

Nowadays glibc provides `scandirat'. This patch implements `scandirat'
based `mnt_table_parse_dir'.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
configure.ac
libmount/src/tab_parse.c