[issue18197] insufficient error checking causes crash on windows

2013-06-11 Thread Max DeLiso
New submission from Max DeLiso: hi. if you cross compile the mercurial native extensions against python 2.7.5 (x64) on 64 bit windows 7 and then try to clone something, it will crash. I believe the reason for this is that the c runtime functions in the microsoft crt will throw a win32

[issue18197] insufficient error checking causes crash on windows

2013-06-11 Thread Max DeLiso
Changes by Max DeLiso : -- hgrepos: -199 ___ Python tracker <http://bugs.python.org/issue18197> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18197] insufficient error checking causes crash on windows

2013-06-15 Thread Max DeLiso
Max DeLiso added the comment: ok I checked in to this more deeply and I was wrong about a few things. first, my patch is worthless - there are several more instances where the retval of fileno is passed directly to fstat and that is totally valid (provided the file* points to a valid file