andialbrecht / crunchyfrog

Head over to RunSQLRun, the successor of CrunchyFrog
http://runsqlrun.org
GNU General Public License v3.0
4 stars 2 forks source link

[PATCH] fix hardcoded errno value #104

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently crunchyfrog compares 'errno' value with 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 with `hg export` from the "default" branch) fixes the 
issue.

Original issue reported on code.google.com by toscano....@tiscali.it on 14 Sep 2011 at 3:52

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in revision fe6409a48805. Thanks for the patch!

Original comment by albrecht.andi on 14 Sep 2011 at 5:07