Re: [pypy-dev] pytest test_rposix.py with mingw32

2012-05-27 Thread Matti Picus
On 26/05/2012 4:47 PM, bookaa wrote: keywords: _PyVerify_fd __pioinfo _msize PyPy can not pass this test: pytest.py --cc=mingw32-gcc pypy\rlib\test\test_rposix.py::TestPosixUnicode::()::test_is_valid_fd After 2 days of hard work, I finally realise why. Patch file attached. The problem is in _P

[pypy-dev] pytest test_rposix.py with mingw32

2012-05-26 Thread bookaa
keywords: _PyVerify_fd __pioinfo _msize PyPy can not pass this test: pytest.py --cc=mingw32-gcc pypy\rlib\test\test_rposix.py::TestPosixUnicode::()::test_is_valid_fd After 2 days of hard work, I finally realise why. Patch file attached. The problem is in _PyVerify_fd: FILE* f = fopen("d:\\55.