[Python-Dev] HAVE_FSTAT? (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Fri May 17 15:01:19 CEST 2013
- Previous message: [Python-Dev] [Python-checkins] cpython: fix compilation on Windows
- Next message: [Python-Dev] HAVE_FSTAT?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
Some pieces of code are still guarded by: #ifdef HAVE_FSTAT ... #endif
I would expect all systems to have fstat() these days. It's pretty basic POSIX, and even Windows has had it for ages. Shouldn't we simply make those code blocks unconditional? It would avoid having to maintain unused fallback paths.
Regards
Antoine.
- Previous message: [Python-Dev] [Python-checkins] cpython: fix compilation on Windows
- Next message: [Python-Dev] HAVE_FSTAT?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]