]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: rewrite mountinfo/fstab parsers to use sscanf()
authorKarel Zak <kzak@redhat.com>
Fri, 1 Oct 2010 11:05:58 +0000 (13:05 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 3 Jan 2011 11:28:43 +0000 (12:28 +0100)
commit8f3f6383a581e64d5dbe9a13130e078f45babf07
tree323304a71688a9fc157dceaee666ea0a449650ba
parent0a98127b8734204ffaa9faf33b59e61fafc685bb
libmount: rewrite mountinfo/fstab parsers to use sscanf()

The old solution (without scanf()) was based on old code from
mount(8). It seems that the modern libc is able to provide all
necessary functionality by sscanf() and %ms directive.

Signed-off-by: Karel Zak <kzak@redhat.com>
include/mangle.h
lib/mangle.c
shlibs/mount/src/tab_parse.c