[issue46303] _Py_stat using incorrect type for status argument

2022-01-07 Thread Paul Campbell
Change by Paul Campbell : -- keywords: +patch pull_requests: +28681 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30478 ___ Python tracker ___

[issue46303] _Py_stat using incorrect type for status argument

2022-01-07 Thread Paul Campbell
Change by Paul Campbell : -- components: +Build, Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware type: -> compile error ___ Python tracker ___

[issue46303] _Py_stat using incorrect type for status argument

2022-01-07 Thread Paul Campbell
New submission from Paul Campbell : While attempting to embed the full cpython source in my application, I found that during compilation on Windows, there was a compilation issue due to struct stat not being defined. Taking a look at the file cpython/fileutils.h, it seems that the type of