From: <dan...@us...> - 2009-04-07 18:46:52
|
Revision: 1228 http://cegcc.svn.sourceforge.net/cegcc/?rev=1228&view=rev Author: dannybackx Date: 2009-04-07 18:46:40 +0000 (Tue, 07 Apr 2009) Log Message: ----------- Change wfdopen definition Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/stdio.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-02-08 16:52:52 UTC (rev 1227) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-04-07 18:46:40 UTC (rev 1228) @@ -1,3 +1,8 @@ +2009-04-07 Danny Backx <dan...@us...> + + * include/stdio.h (_wfdopen) : Add const keyword to 2nd parameter + after discussion on the mailing list. + 2009-02-08 Pedro Alves <ped...@us...> * include/_mingw.h (__MSVCRT_VERSION__): Only define if __MSVCRT__ Modified: trunk/cegcc/src/mingw/include/stdio.h =================================================================== --- trunk/cegcc/src/mingw/include/stdio.h 2009-02-08 16:52:52 UTC (rev 1227) +++ trunk/cegcc/src/mingw/include/stdio.h 2009-04-07 18:46:40 UTC (rev 1228) @@ -664,7 +664,7 @@ #ifndef __STRICT_ANSI__ _CRTIMP wchar_t* __cdecl _getws (wchar_t*); _CRTIMP int __cdecl _putws (const wchar_t*); -_CRTIMP FILE* __cdecl _wfdopen(int, wchar_t *); +_CRTIMP FILE* __cdecl _wfdopen(int, const wchar_t *); _CRTIMP FILE* __cdecl _wfopen (const wchar_t*, const wchar_t*); _CRTIMP FILE* __cdecl _wfreopen (const wchar_t*, const wchar_t*, FILE*); #endif /* __STRICT_ANSI__ */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |