diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-01-27 18:30:36 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-01-27 18:38:25 +0100 |
commit | a3322cb171fed42bc3d15adc84d03cf560fc0fc9 (patch) | |
tree | 74edbe0858f1d7ee0e5c65438864286900e5dba9 /.gitignore | |
parent | fddba2d529c7d37b58a176525f45e5d4fc2c80b4 (diff) |
osx_common: cache OSX version number
This commit makes `is_osx_version_at_least` cache the result of reading
`/System/Library/CoreServices/SystemVersion.plist`. Since that is a file
read operation it was bad to use this function frequently (i.e.: when
processing user events).
Remove `is_lion_or_above` (introduced in c9396c0a) as that was a more
specialized wrapper which had the only advantage of adding it's own cache.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions