fix hardcoded errno values
Brought to you by:
blais
Currently xxdiff compares 'errno' values with hardcoded numeric values, 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 against current hg default) fixes the issue.
errno fixes