OSDN Git Service

Stop after the second '.' when parsing version numbers
authorTheodore Ts'o <tytso@mit.edu>
Sun, 8 Jul 2007 16:37:13 +0000 (12:37 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 8 Jul 2007 16:37:13 +0000 (12:37 -0400)
commita2df22f1e938bbce844b75801106806b56c778b5
tree7b1a16ef46298ea06cfd720748bd59fa5ce056f0
parent851bcf3fc37c86ca6a734370c97e56b96c9ba9e5
Stop after the second '.' when parsing version numbers

Now that we are moving to x.y.z version number scheme for maintenance
releases, we ned to change ext2fs_parse_version_string and
blkid_parse_version_string to ignore the second period so we don't
have maintenance releases with a substantially bigger verison number
than the initial x.y release.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/version.c