From: <wa...@us...> - 2013-04-04 10:21:50
|
Revision: 5720 http://mingw-w64.svn.sourceforge.net/mingw-w64/?rev=5720&view=rev Author: wavael Date: 2013-04-04 10:21:40 +0000 (Thu, 04 Apr 2013) Log Message: ----------- Provide _wctime/_wctime32/_wctime64 for all msvcrt versions through .def files Remove _wctime/_wctime32 .c replacements Modified Paths: -------------- trunk/mingw-w64-crt/Makefile.am trunk/mingw-w64-crt/lib32/msvcr100.def trunk/mingw-w64-crt/lib32/msvcr110.def trunk/mingw-w64-crt/lib32/msvcr80.def trunk/mingw-w64-crt/lib32/msvcr90.def trunk/mingw-w64-crt/lib32/msvcr90d.def trunk/mingw-w64-crt/lib32/msvcrt.def trunk/mingw-w64-crt/lib64/msvcr100.def trunk/mingw-w64-crt/lib64/msvcr110.def trunk/mingw-w64-crt/lib64/msvcr80.def trunk/mingw-w64-crt/lib64/msvcr90.def trunk/mingw-w64-crt/lib64/msvcr90d.def trunk/mingw-w64-crt/lib64/msvcrt.def Removed Paths: ------------- trunk/mingw-w64-crt/misc/_wctime.c trunk/mingw-w64-crt/misc/_wctime32.c Modified: trunk/mingw-w64-crt/Makefile.am =================================================================== --- trunk/mingw-w64-crt/Makefile.am 2013-04-04 10:20:56 UTC (rev 5719) +++ trunk/mingw-w64-crt/Makefile.am 2013-04-04 10:21:40 UTC (rev 5720) @@ -176,7 +176,7 @@ math/cephes_emath.h math/cephes_mconf.h math/fastmath.h math/fp_consts.h math/abs64.c \ \ misc/_localtime32.c misc/_mkgmtime.c misc/_mkgmtime32.c \ - misc/_wctime.c misc/_wctime32.c misc/alarm.c \ + misc/alarm.c \ misc/basename.c misc/btowc.c misc/delay-f.c misc/delay-n.c \ misc/delayimp.c misc/difftime.c misc/difftime32.c misc/difftime64.c misc/dirent.c \ misc/dirname.c misc/execv.c misc/execve.c misc/execvp.c misc/execvpe.c \ Modified: trunk/mingw-w64-crt/lib32/msvcr100.def =================================================================== --- trunk/mingw-w64-crt/lib32/msvcr100.def 2013-04-04 10:20:56 UTC (rev 5719) +++ trunk/mingw-w64-crt/lib32/msvcr100.def 2013-04-04 10:21:40 UTC (rev 5720) @@ -1551,7 +1551,8 @@ _wcsupr_s _wcsupr_s_l _wcsxfrm_l -_wctime32 DATA +_wctime32 +_wctime == _wctime32 _wctime32_s _wctime64 _wctime64_s Modified: trunk/mingw-w64-crt/lib32/msvcr110.def =================================================================== --- trunk/mingw-w64-crt/lib32/msvcr110.def 2013-04-04 10:20:56 UTC (rev 5719) +++ trunk/mingw-w64-crt/lib32/msvcr110.def 2013-04-04 10:21:40 UTC (rev 5720) @@ -1686,6 +1686,7 @@ _wcsupr_s_l _wcsxfrm_l _wctime32 +_wctime == _wctime32 _wctime32_s _wctime64 _wctime64_s Modified: trunk/mingw-w64-crt/lib32/msvcr80.def =================================================================== --- trunk/mingw-w64-crt/lib32/msvcr80.def 2013-04-04 10:20:56 UTC (rev 5719) +++ trunk/mingw-w64-crt/lib32/msvcr80.def 2013-04-04 10:21:40 UTC (rev 5720) @@ -446,8 +446,8 @@ _wcsrev _wcsset _wcsupr -_wctime DATA -;_wctime32 = _wctime +_wctime32 +_wctime == _wctime32 _wenviron DATA _wexecl _wexecle Modified: trunk/mingw-w64-crt/lib32/msvcr90.def =================================================================== --- trunk/mingw-w64-crt/lib32/msvcr90.def 2013-04-04 10:20:56 UTC (rev 5719) +++ trunk/mingw-w64-crt/lib32/msvcr90.def 2013-04-04 10:21:40 UTC (rev 5720) @@ -1185,7 +1185,8 @@ _wcsupr_s _wcsupr_s_l _wcsxfrm_l -_wctime32 DATA +_wctime32 +_wctime == _wctime32 _wctime32_s _wctime64 _wctime64_s Modified: trunk/mingw-w64-crt/lib32/msvcr90d.def =================================================================== --- trunk/mingw-w64-crt/lib32/msvcr90d.def 2013-04-04 10:20:56 UTC (rev 5719) +++ trunk/mingw-w64-crt/lib32/msvcr90d.def 2013-04-04 10:21:40 UTC (rev 5720) @@ -1253,6 +1253,7 @@ _wcsupr_s_l _wcsxfrm_l _wctime32 +_wctime == _wctime32 _wctime32_s _wctime64 _wctime64_s Modified: trunk/mingw-w64-crt/lib32/msvcrt.def =================================================================== --- trunk/mingw-w64-crt/lib32/msvcrt.def 2013-04-04 10:20:56 UTC (rev 5719) +++ trunk/mingw-w64-crt/lib32/msvcrt.def 2013-04-04 10:21:40 UTC (rev 5720) @@ -447,8 +447,8 @@ _wcsrev _wcsset _wcsupr -_wctime DATA -;_wctime32 = _wctime +_wctime +_wctime32 == _wctime _wenviron DATA _wexecl _wexecle Modified: trunk/mingw-w64-crt/lib64/msvcr100.def =================================================================== --- trunk/mingw-w64-crt/lib64/msvcr100.def 2013-04-04 10:20:56 UTC (rev 5719) +++ trunk/mingw-w64-crt/lib64/msvcr100.def 2013-04-04 10:21:40 UTC (rev 5720) @@ -1498,9 +1498,10 @@ _wcsupr_s _wcsupr_s_l _wcsxfrm_l -_wctime32 DATA +_wctime32 _wctime32_s _wctime64 +_wctime == _wctime64 _wctime64_s _wctomb_l _wctomb_s_l Modified: trunk/mingw-w64-crt/lib64/msvcr110.def =================================================================== --- trunk/mingw-w64-crt/lib64/msvcr110.def 2013-04-04 10:20:56 UTC (rev 5719) +++ trunk/mingw-w64-crt/lib64/msvcr110.def 2013-04-04 10:21:40 UTC (rev 5720) @@ -1626,6 +1626,7 @@ _wctime32 _wctime32_s _wctime64 +_wctime == _wctime64 _wctime64_s _wctomb_l _wctomb_s_l Modified: trunk/mingw-w64-crt/lib64/msvcr80.def =================================================================== --- trunk/mingw-w64-crt/lib64/msvcr80.def 2013-04-04 10:20:56 UTC (rev 5719) +++ trunk/mingw-w64-crt/lib64/msvcr80.def 2013-04-04 10:21:40 UTC (rev 5720) @@ -560,9 +560,9 @@ _wcstoi64 _wcstoui64 _wcsupr -_wctime DATA -;_wctime32 = _wctime +_wctime32 _wctime64 +_wctime == _wctime64 _wctype _wenviron DATA _wexecl Modified: trunk/mingw-w64-crt/lib64/msvcr90.def =================================================================== --- trunk/mingw-w64-crt/lib64/msvcr90.def 2013-04-04 10:20:56 UTC (rev 5719) +++ trunk/mingw-w64-crt/lib64/msvcr90.def 2013-04-04 10:21:40 UTC (rev 5720) @@ -1118,9 +1118,10 @@ _wcsupr_s _wcsupr_s_l _wcsxfrm_l -_wctime32 DATA +_wctime32 _wctime32_s _wctime64 +_wctime == _wctime64 _wctime64_s _wctomb_l _wctomb_s_l Modified: trunk/mingw-w64-crt/lib64/msvcr90d.def =================================================================== --- trunk/mingw-w64-crt/lib64/msvcr90d.def 2013-04-04 10:20:56 UTC (rev 5719) +++ trunk/mingw-w64-crt/lib64/msvcr90d.def 2013-04-04 10:21:40 UTC (rev 5720) @@ -1182,6 +1182,7 @@ _wctime32 _wctime32_s _wctime64 +_wctime == _wctime64 _wctime64_s _wctomb_l _wctomb_s_l Modified: trunk/mingw-w64-crt/lib64/msvcrt.def =================================================================== --- trunk/mingw-w64-crt/lib64/msvcrt.def 2013-04-04 10:20:56 UTC (rev 5719) +++ trunk/mingw-w64-crt/lib64/msvcrt.def 2013-04-04 10:21:40 UTC (rev 5720) @@ -910,8 +910,7 @@ _wcsupr_s _wcsupr_s_l _wcsxfrm_l -_wctime DATA -;_wctime32 = _wctime +_wctime ; _wctime32_s replaced by emu _wctime64 ; _wctime64_s replaced by emu Deleted: trunk/mingw-w64-crt/misc/_wctime.c =================================================================== --- trunk/mingw-w64-crt/misc/_wctime.c 2013-04-04 10:20:56 UTC (rev 5719) +++ trunk/mingw-w64-crt/misc/_wctime.c 2013-04-04 10:21:40 UTC (rev 5720) @@ -1,22 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#ifndef __NO_INLINE__ -#define __NO_INLINE__ -#endif -#include <time.h> - -#ifndef _USE_32BIT_TIME_T -wchar_t *__cdecl _wctime(const time_t *_Time) -{ - return _wctime64 (_Time); -} -#else -wchar_t *__cdecl _wctime(const time_t *_Time) -{ - return _wctime32 (_Time); -} -#endif /* _USE_32BIT_TIME_T */ - Deleted: trunk/mingw-w64-crt/misc/_wctime32.c =================================================================== --- trunk/mingw-w64-crt/misc/_wctime32.c 2013-04-04 10:20:56 UTC (rev 5719) +++ trunk/mingw-w64-crt/misc/_wctime32.c 2013-04-04 10:21:40 UTC (rev 5720) @@ -1,17 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#ifndef __NO_INLINE__ -#define __NO_INLINE__ -#endif -#include <time.h> - -extern wchar_t * (__cdecl *__MINGW_IMP_SYMBOL(_wctime))(const __time32_t *); - -wchar_t *__cdecl _wctime32(const __time32_t *_Time) -{ - return (*__MINGW_IMP_SYMBOL(_wctime))(_Time); -} - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |