From: SF/projects/mingw n. l. <min...@li...> - 2012-02-28 16:15:45
|
Patches item #3495304, was opened at 2012-02-28 05:32 Message generated for change (Settings changed) made by earnie You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=3495304&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: MinGW runtime Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: a.kruis () Assigned to: Chris Sutcliffe (ir0nh34d) Summary: stat() and fstat() broken for __MSVCRT_VERSION__ >= 0x0800 Initial Comment: libmoldnames maps stat and fstat to _stat and _fstat. Unfortunately recent versions of msvcrXX.dll do not contain the functions _stat and _fstat. Instead Visual studio uses inline functions to replace stat and fstat. (See http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/cbd12c1b-80e2-4659-a889-90b79ea007a0/ for the definitions.) The attached patch adds similar inline functions to include/sys/stat.h. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=3495304&group_id=2435 |