Libc: __timezone_ptr_t, getpwuid_r, _stat incorrectly defined
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
I already sent this to fpc-devel mail list with subject "A few fixes for Libc unit". I guess no one had time to apply my fixes so I'm submitting it here. I'm attaching small test program. My mail "A few fixes for Libc unit" is archived here: http://www.nl.freepascal.org/lists/fpc-devel/2004-February/003586.html , it describes in detail how to fix these issues.
If you want I can also send two programs, one in Pascal and one in C, that show the differences between how the stat structure is aligned in FPC Libc unit and in Libc C headers.
Additional information:
Reporter: Michalis Kamburelis
EMail: michalis at camelot dot homedns dot org
Mantis conversion info:
- Mantis ID: 5003
- OS: Linux
- Version: 1.9.3
- Fixed in version: 1.9.3