Fix version string parsing for Linux 3.0
authorPaul Khuong <pvk@pvk.ca>
Wed, 3 Aug 2011 14:20:41 +0000 (10:20 -0400)
committerPaul Khuong <pvk@pvk.ca>
Wed, 3 Aug 2011 14:20:41 +0000 (10:20 -0400)
commitb43c51beeb0569a38900e1e5a78606711f987742
tree90d3790ab65400ad5aae9a4f7a62dc85ed706984
parent95009657265e2af674bdfa9ce7dc75d819976e5b
Fix version string parsing for Linux 3.0

 Stop assuming the presence of minor and patch version numbers; missing
 values are defaulted to 0 (e.g. 3.0.0).

 Reported by a few people on IRC.
src/runtime/linux-os.c