Chris Sutcliffe
1e9f105575
2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
...
* mingwex/mingw-fseek.c: The anonymous union feature for LARGE_INTEGER is
not always available, go the long way and use the explicit named union
members, which are also declared in winnt.h.
2011-05-23 02:54:21 +00:00
Chris Sutcliffe
69080f58f0
2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
...
* mingwex/isblank.c: Fix typo in declaration.
2011-05-23 02:38:49 +00:00
Keith Marshall
98ac2593b0
Correct hexadecimal formatting of double and long double values.
2011-01-07 22:57:00 +00:00
Chris Sutcliffe
5f7eee9ec9
2010-04-27 Danny Smith <dannysmith@users.sourceforge.net>
...
* mingwex/mb_wc_common.h (get_codepage): Revert change of 2006-09-19.
2010-05-19 02:59:46 +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
Charles Wilson
c16cd85665
Honor DESTDIR for winsup/mingw and winsup/w32api
2009-10-29 21:53:47 +00:00
Keith Marshall
e97ad66a84
Make MinGW printf() "%p" format compatible with MSVCRT scanf().
2009-09-29 20:43:50 +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
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
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
Keith Marshall
ce6ef36015
MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.
2009-02-08 18:02:17 +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
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
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
e77c4e6672
Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
2008-10-03 22:56:18 +00:00
Keith Marshall
acf5111a6f
Fix MinGW-Bug [2119504].
2008-09-19 22:41:01 +00:00
Keith Marshall
f43d60be62
Reimplement getopt.c to add getopt_long_only() function.
2008-08-31 22:27:58 +00:00
Keith Marshall
31966e0931
Erase all file content, preparatory to rewrite.
2008-08-31 22:26:52 +00:00
Keith Marshall
05a6cb1bb2
Avoid access violations, passing NULL to printf( "...%s..." ).
2008-08-27 20:23:42 +00:00
Keith Marshall
d434b57f86
Add missing dependencies for building libmingwex.a.
2008-08-14 15:13:18 +00:00
Keith Marshall
e587bc0e7d
Add replacements for remaining members of printf() family.
2008-08-11 22:41:55 +00:00
Keith Marshall
f2cb69fd8e
Replace __mingw_snprintf() with new generic family implementation; likewise, replace __mingw_vsnprintf().
2008-07-28 23:24:20 +00:00
Keith Marshall
47140f3cdb
Avoid precision errors in round(), lround() and llround() functions.
2008-06-03 18:42:21 +00:00
Danny Smith
0b99028af4
Committed as obvious.
...
2008-05-22 Danny Smith <dannysmith@users.sourceforge.net>
[ mingw-Bugs-1961893 ]
* mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa mode to 2
for E format.
2008-05-22 02:09:06 +00:00
Chris Sutcliffe
a8e45d3968
2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
...
* mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
* include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
2008-05-07 02:35:16 +00:00
Chris Sutcliffe
1e6db69571
2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
...
* include/sys/time.h (useconds_t): typedef.
* include/unistd.h (usleep): Add prototype.
* mingwex/usleep.c: New file.
* mingwex/makefile.in: Add usleep source and object.
2008-05-04 12:18:52 +00:00
Chris Sutcliffe
4f3fad2366
2008-04-02 Ramiro Polla <ramiro@lisha.ufsc.br>
...
Make strtod() conform to C99.
* include/stdlib.h (strtod): Declare this mingwex function, and...
(_strtod): rename this MSVCRT counterpart.
* mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
2008-05-03 02:13:48 +00:00
Chris Sutcliffe
6382a9e785
2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/wchar.h (fwide): Return success code rather than failure in inline
definition.
* mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
code rather than failure.
2008-04-26 00:16:37 +00:00
Chris Sutcliffe
b6f8240fa0
2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
...
* mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
* mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
(x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
2008-03-20 02:55:56 +00:00
Chris Sutcliffe
4694cc18c2
2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
* msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
* mingwex/math/log10f.S: Correct issue with comments.
* mingwex/math/log10l.S: Ditto.
* mingwex/math/log1p.S: Ditto.
* mingwex/math/log1pf.S: Ditto.
* mingwex/math/log1pl.S: Ditto.
* mingwex/math/log2.S: Ditto.
* mingwex/math/log2f.S: Ditto.
* mingwex/math/log2l.S: Ditto.
* mingwex/math/logf.S: Ditto.
* mingwex/math/logl.S: Ditto.
2007-11-27 02:14:19 +00:00
Chris Sutcliffe
b980db14b8
2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
...
* mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
2007-10-03 20:45:58 +00:00
Danny Smith
c67e696c47
Committed as obvious:
...
2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
* mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
case. Add missing break in 's'/LEN_S case.
2007-09-23 22:23:18 +00:00
Keith Marshall
01cd95204e
Make snprintf() and vsnprintf() conform to C99.
2007-08-25 13:49:37 +00:00
Danny Smith
b363c819dd
* mingwex/gdtoa/mingw_snprintf.c: New file.
...
* mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
(GDTOA_OBJS): Add mingw_snprintf.O.
2007-06-29 10:11:57 +00:00
Danny Smith
8820b5ec12
* mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
...
Good night all.
2007-06-22 10:22:49 +00:00
Danny Smith
e54e4d47f1
Add POSIX binary tree search API.
...
* mingwex/tfind.c: New file.
* mingwex/tdelete.c: New file.
* mingwex/tsearch.c: New file.
* mingwex/twalk.c: New file.
* mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
* mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
* include/search.h (tfind): Declare.
(tdelete): Declare.
(tsearch): Declare.
(twalk): Declare.
(ENTRY): Define.
(ACTION): Define.
(VISIT): Define.
(node_t): Define, on condition of _SEARCH_PRIVATE.
2007-06-22 10:09:20 +00:00
Keith Marshall
af8e63023a
Make basename and dirname functions work with path names
...
containing multibyte character strings.
2007-03-08 23:15:58 +00:00
Danny Smith
5643b1ee86
* mingwex/fesetround.c (fesetround): Use unsigned int as operand
...
to stmxcsr.
Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
2007-03-05 07:42:36 +00:00
Danny Smith
18c27356c4
* Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
...
(ALL_CXXFLAGS): Likewise.
* mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.
* profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.
2007-02-14 23:42:07 +00:00
Keith Marshall
724dbeea36
* include/libgen.h: New file; required by...
...
* mingwex/basename.c, mingwex/dirname.c: New files.
* mingwex/Makefile.in (DISTFILES): Add them...
(POSIX_OBJS): ...with corresponding basename.o, dirname.o
(Dependencies): Typo; s/Dependancies/Dependencies/
2006-12-31 18:03:33 +00:00
Danny Smith
5f2d9e5fac
* Makefile.in: Add aclocal.m4:to source release.
...
* mingwex/Makefile.in: Ditto.
* profile/Makefile.in: Ditto.
2006-11-21 09:30:15 +00:00
Danny Smith
c0b5e094e2
* mingwex/mb_wc_common.h (get_codepage): Get it
...
from __lc_codepage.
2006-09-19 09:09:58 +00:00
Danny Smith
dad3363707
* mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity. Use fpclassify.
...
* mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to void*.
* mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with others.
2006-09-17 22:27:56 +00:00
Danny Smith
3e231d9a38
* mingwex/gdtoa/strtopx.c (strtopx): Fix (sic) infinity.
2006-09-16 07:35:45 +00:00