diff options
author | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-12-19 13:21:24 +0000 |
---|---|---|
committer | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-12-19 13:21:24 +0000 |
commit | 11ec71fe19b72a35612fa52cef5c25760e487d7d (patch) | |
tree | 51908a8cb1ea1d89a32284c73fcc9e035062c37b /src/dmidecode.c | |
parent | b007b775afdba38cdc3430ec9c909324d3522fb4 (diff) | |
download | python-dmidecode-11ec71fe19b72a35612fa52cef5c25760e487d7d.tar.gz python-dmidecode-11ec71fe19b72a35612fa52cef5c25760e487d7d.tar.xz python-dmidecode-11ec71fe19b72a35612fa52cef5c25760e487d7d.zip |
Check that the path given with set_dev() is writeable.
Don't crash when writing to a read-only file, return False instead.
Missing an INCREF in get_dev() fixed.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@124 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'src/dmidecode.c')
0 files changed, 0 insertions, 0 deletions