QiangF / autokey

Automatically exported from code.google.com/p/autokey
GNU General Public License v3.0
0 stars 0 forks source link

[PATCH] fix hardcoded errno value #140

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently autokey compares an 'errno' values with an hardcoded numeric value, 
instead of using the constants of the 'errno' Python module.
This can lead to bugs due to E* values being potentially different per-OS, and 
even per-arch for the same OS.

The attached patch (made on SVN trunk r333) fixes the issues.

Original issue reported on code.google.com by toscano....@tiscali.it on 17 Sep 2011 at 10:27

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by cdekter on 18 Sep 2011 at 12:14

GoogleCodeExporter commented 9 years ago

Original comment by cdekter on 18 Sep 2011 at 11:40