comparison auto/os/linux @ 539:5f4de8cf0d9d

Merge with current.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 15 Sep 2009 03:43:40 +0400
parents 7efcdb937752
children c04fa65fe604
comparison
equal deleted inserted replaced
522:40fd8d7b82f9 539:5f4de8cf0d9d
16 16
17 17
18 # Linux kernel version 18 # Linux kernel version
19 19
20 version=$((`uname -r \ 20 version=$((`uname -r \
21 | sed 's/^\([^.]*\)\.\([^.]*\)\.\([^.-]*\).*/\1*256*256+\2*256+\3/'`)) 21 | sed 's/^\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1*256*256+\2*256+\3/'`))
22 22
23 version=${version:-0} 23 version=${version:-0}
24 24
25 25
26 # enable the rt signals on Linux between 2.2.19 and 2.6.17 26 # enable the rt signals on Linux between 2.2.19 and 2.6.17