Commit Graph

458 Commits

Author SHA1 Message Date
Chris Sutcliffe f94e2b9f58 2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
Issue [2134161]: time64 functions and types for msvcrt >= 8.0
        (initial implementation)

        * new type: __time32_t

        * new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
        __stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
        __wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t

        * new functions: _ctime32, _difftime32, _difftime64, _findfirst32
        _findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
        _findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
        _futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
        _mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
        _wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
        _wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
        _wstat32i64, _wstat64i32,_wutime32

        * new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
        ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
        _fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
        _stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
        _wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime
2010-02-17 02:41:06 +00:00
Chris Sutcliffe d359eb2e1f 2010-01-25 Kai Tietz <kai.tietz@onevision.com>
Implement TLS Callback.

        * tlsmcrt.c: New file.
        * tlsmthread.c: Ditto.
        * tlssup.c: Ditto.
        * tlsthrd.c: Ditto.
        * Makefile.in: Include new files.
        * crt1.c: Implement TLS Callback.
        * dllcrt1.c: Ditto.
        * mthr_stub.c: Remove.
2010-01-25 22:58:03 +00:00
Chris Sutcliffe ff928075e9 2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/_mingw.h: Increment version to 3.17.
2009-11-28 06:07:27 +00:00
Chris Sutcliffe bde3635669 2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa:
 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
2009-11-28 05:28:35 +00:00
Chris Sutcliffe 8b121daba4 2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/io.h (_open_osfhandle): Correct definition.

        Thanks to Alexander Shaduri for the information.
2009-11-14 00:54:58 +00:00
Charles Wilson 599b80fc86 Final sync of pseudo-reloc.c with mingw64 and cygwin 2009-11-02 12:16:21 +00:00
Charles Wilson c16cd85665 Honor DESTDIR for winsup/mingw and winsup/w32api 2009-10-29 21:53:47 +00:00
Charles Wilson 654d34dda5 Sync pseudo-reloc.c with mingw64 2009-10-26 13:47:13 +00:00
Charles Wilson 060a658fe1 Sync pseudo-reloc.c with cygwin/lib/ 2009-10-23 22:19:42 +00:00
Keith Marshall e97ad66a84 Make MinGW printf() "%p" format compatible with MSVCRT scanf(). 2009-09-29 20:43:50 +00:00
Keith Marshall 532032a874 Avoid multiple link time definitions of _printf() for C++ 2009-09-01 20:41:55 +00:00
Chris Sutcliffe 22fa213129 2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/_mingw.h: Increment version to 3.16.
2009-08-15 02:50:19 +00:00
Chris Sutcliffe 75bf04114e 2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit,
        __signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf,
        __fp_unordered_compare): Add prototypes.
        * include/stdio.h (vsnwprintf): Add prototype.
        * include/wchar.h (vsnwprintf): Add prototype.
        * include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard.
2009-08-08 13:26:11 +00:00
Chris Sutcliffe 7d3c3d30e7 Fix formatting issue with last entry 2009-07-30 01:55:44 +00:00
Keith Marshall 0c27cfc9b0 Correct disposition of wchar_t output in printf(). 2009-07-29 07:22:51 +00:00
Chris Sutcliffe d826cbf322 2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* mingwex/stdio/pformat.c: Implement better fix for type punned warning.
2009-07-28 01:28:22 +00:00
Keith Marshall b70cd7bca1 Convert to monolithic configuration procedure. 2009-07-27 20:27:09 +00:00
Chris Sutcliffe 6922bae9a1 2009-07-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* msvcrt.def.in: disable time symbol for libmsvcr90.a and libmsvcr90d.a due
        to complaints that it causes issues.
2009-07-24 01:29:38 +00:00
Chris Sutcliffe 4d07e72514 2009-07-23 Jacky Lai <crazyjacky@users.sourceforge.net>
* mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan().
2009-07-24 01:21:27 +00:00
Chris Sutcliffe d4e45e3b99 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
* include/inttypes.h include/math.h include/stdio.h include/stdlib.h
        include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard
        to all inline functions.
2009-07-18 15:19:03 +00:00
Chris Sutcliffe affde4a6b3 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
* CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
        * CRT_fp10.c: Ditto.
2009-07-18 15:09:18 +00:00
Chris Sutcliffe ab4b248152 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
* cpu_features.c: replace gcc-specific construct with portable alternative
        and match the code a few lines above.
        * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
2009-07-18 15:05:20 +00:00
Chris Sutcliffe f9a5b8ea6a 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
* include/_mingw.h: Changes required for PCC compiler.
2009-07-18 14:56:47 +00:00
Chris Sutcliffe 52e4653d43 2009-07-18 Jeff Lu <jll544@yahoo.com>
* mingwex/usleep.c: round up to next ms
2009-07-18 14:41:23 +00:00
Chris Sutcliffe b5fb6b0dc3 2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
        mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
        mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
        the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
2009-07-18 01:39:52 +00:00
Chris Sutcliffe 4f615d3ffe 2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.
2009-07-12 23:02:10 +00:00
Chris Sutcliffe 15e114f5c5 2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>
* mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files.
        * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c
        mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c
        mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h
        mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h
        mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c
        mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c
        mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c
        mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c
        mingwex/gdtoa/ulp.c:  Update the gdtoa library to match the netlib.org
        sources as of Apr. 20, 2009.  Update further to match the sources in
        the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX
        code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the
        double/ulong union from U to dbl_union for better grepping and white-
        space tidy-ups.
2009-07-12 22:44:37 +00:00
Chris Sutcliffe 339dde8fe5 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/stdlib.h (_wtof): Define.
2009-06-17 22:01:36 +00:00
Chris Sutcliffe 370a1171d8 2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
* include/stdint.h (int_fast8_t): Specify as signed char.
        (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
        (INT32_C, UINT32_C): Remove 'L' type specifier on constant.
2009-04-11 12:41:09 +00:00
Chris Sutcliffe 6e0e5a4fc2 2009-03-05 Kai Tietz <kai.tietz@onevision.com>
* pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2.
2009-03-05 14:48:38 +00:00
Keith Marshall ce6ef36015 MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile. 2009-02-08 18:02:17 +00:00
Chris Sutcliffe 45cda16a7f 2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/_mingw.h: Increment version to 3.15.2.
2009-01-10 18:42:32 +00:00
Keith Marshall f1170e02f2 Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga). 2009-01-04 17:35:36 +00:00
Keith Marshall 762cf3ee22 Correct mishandling of invalid characters in printf() format specs. 2008-12-31 15:34:09 +00:00
Chris Sutcliffe 99c7be03b2 2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
* msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
        ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
        ___unguarded_readlc_active_add_func, __crtCompareStringW,
        __crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
        __pwctype_func, __iob_func, __uncaught_exception, __wcserror,
        __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
        __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
        __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
        _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
        _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
        _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
        _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
        _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
        _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
2008-12-20 03:55:37 +00:00
Danny Smith cf2f4a6aef Committed as obvious.
2008-12-08  Dmitry G. Gorbachev  <d.g.gorbachev@gmail.com>

	* cpu_features.c (__cpu_features_init): Remove erroneous ';'.
2008-12-09 02:42:21 +00:00
Keith Marshall 2004f7603f Correct some binary distribution packaging defects. 2008-10-28 23:55:39 +00:00
Keith Marshall 87ab6bfb62 Fix MinGW-Bug [2136252]: Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5 2008-10-18 14:33:48 +00:00
Keith Marshall 206473437f Fix MinGW-Bug [2160227]: Eliminate conflicting declarations and implementations of scalb(). 2008-10-13 22:47:58 +00:00
Christopher Faylor a7844a1841 * Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
environment.
* mingwex/Makefile.in: Ditto.
* profile/Makefile.in: Ditto.
* configure.in: Record mingw front-end for building under Cygwin.
* mingwex/configure.in: Ditto.
* profile/configure.in: Ditto.
* configure: Regenerate.
* mingwex/configure: Ditto.
* profile/configure: Ditto.
2008-10-12 23:58:17 +00:00
Keith Marshall 374349395e Use de-facto standard Makefile goals to invoke test suite. 2008-10-11 21:59:04 +00:00
Keith Marshall 3c68dd9313 Make strtod() inline definition C89 compliant. 2008-10-11 21:47:56 +00:00
Chris Sutcliffe 665ca5231d 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/_mingw.h: Increment version to 3.15.1 and introduce
        __MINGW32_PATCHLEVEL variable.
2008-10-04 22:27:15 +00:00
Keith Marshall e77c4e6672 Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly. 2008-10-03 22:56:18 +00:00
Keith Marshall 13ff1518ee Improve package identification in configure script. 2008-10-03 22:48:22 +00:00
Keith Marshall 32bdff5294 Fix MinGW-Bug [2125708]. 2008-09-25 21:53:17 +00:00
Chris Sutcliffe 85f457567b 2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
* Makefile.in: Don't include host_os as part of snapshot filename.
2008-09-24 00:59:03 +00:00
Keith Marshall acf5111a6f Fix MinGW-Bug [2119504]. 2008-09-19 22:41:01 +00:00
Keith Marshall be66dbed41 Fix MinGW-Bug [2117379]. 2008-09-19 21:32:42 +00:00
Chris Sutcliffe 49c5a1a6b2 2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/_mingw.h: Increment version to 3.15.
2008-09-07 21:35:38 +00:00