1 2014-11-07 Keith Marshall <keithmarshall@users.sourceforge.net>
3 Backport glob implementation from master to legacy.
5 * include/glob.h: New file; copy it from master branch.
6 (__mingw_glob, __mingw_globfree): Add __JMPSTUB__ aliases for...
7 (glob, globfree): ...each of these, respectively.
9 * mingwex/glob.c: New file; copy it from master:src/libcrt/misc.
10 (CRT_GLOB_HARD_ESCAPE) [ifndef __CRT_GLOB_ESCAPE_CHAR__]: Provide a
11 fallback definition; default value is ASCII DEL, a.k.a. RUBOUT, code.
12 (accept_glob_nocheck_match): New static function; it adds support for
13 avoidance of globbing on patterns with no globbing token, so avoiding
14 the case transliteration effect reported as MinGW-Bug #2106.
17 * Makefile.in: Build glob.$OBJEXT; add it to libmingwex.a
19 2014-11-05 Keith Marshall <keithmarshall@users.sourceforge.net>
21 Implement conventionally named dirent function trampolines.
23 * mingwex/jmpstub.sx: New file; it implements a generic trampoline,
24 which redirects a conventionally named function call to its __mingw_
25 pseudo-namespace implementation.
27 * aclocal.m4 (MINGW_AC_PROG_COMPILE_SX): New macro; define it.
28 * configure.ac (MINGW_AC_PROG_COMPILE_SX): Use it; it identifies the
29 appropriate protocol for compiling *.sx files, (supported natively by
30 GCC >= v4.3, but older versions require `-x assembler-with-cpp').
32 * Makefile.in (COMPILE.sx): New implicit rule; GNU make does not
33 yet provide it, so we define it ourselves; deploy it for *.sx files.
34 (Makefile.stub): New sinclude file; create it dynamically, using...
35 (jmpstub_awk_script): ...this new inline script, which is based on...
36 (jmpstub_refs, jmpstub_prerequisites): ...these new macros, and...
37 (mingwex/jmpstub.sx): ...this new file; add vpath reference.
38 (mostlyclean-local): Remove Makefile.stub; do likewise...
39 (Makefile): ...when remaking this, to ensure that both will be
42 2014-11-03 Keith Marshall <keithmarshall@users.sourceforge.net>
44 Make dirent implementation namespace and time_t clean.
46 * include/_mingw.h (_EXTERN_C, _BEGIN_C_DECLS, _END_C_DECLS): New
47 macros; define them. They facilitate identification of symbols which
48 must be compiled with `extern "C"' binding, when compiling C++ code.
49 (__CRT_ALIAS): New macro; define it. It is intended to replace...
50 (_CRTALIAS): ...this, which is to be considered as deprecated.
51 (__JMPSTUB__, __LIBIMPL__): New macros; define them. They provide
52 __CRT_ALIAS build hints, while remaining transparent to GCC.
53 (UNICODE, _UNICODE) [user defined]: Define consistently.
55 * mingwex/dirent.c: Reimplement; (this is a back-port from the
56 4.0-dev branch, with additional ABI changes to improve stability).
57 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
58 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
59 Add `__mingw_' prefix to all publicly exposed symbol names.
60 (dirent_findfirst, dirent_findnext, dirent_findclose): New locally
61 implemented functions; they replace Microsoft's ambiguously defined
62 _findfirst, _findnext, and _findclose, so avoiding ABI instability
63 resulting from the ambiguous size of Microsoft's time_t.
65 * include/dirent.h (struct dirent, struct _wdirent): Redefine them,
66 removing unnecessary time_t and file size fields; (our replacements
67 for _findfirst, and _findnext do not require them to be present).
68 (DIR, _WDIR): Adjust typedefs; they are now opaque structs.
69 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
70 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
71 Adjust prototypes, making them inline aliases for public symbols which
72 are now qualified by the `__mingw_' prefix; add build hints to support
73 compilation of addressable stubs, with the original symbol names.
74 (DT_REG, DT_DIR, DT_UNKNOWN): New manifest constants; define them.
75 (DT_BLK, DT_CHR, DT_FIFO, DT_LNK, DT_SOCK): Likewise; (these are for
76 BSD compatibility, but are fundamentally unsupported on MS-Windows).
77 (_DIRENT_HAVE_D_TYPE, _DIRENT_HAVE_D_RECLEN, _DIRENT_HAVE_D_NAMLEN):
78 New macros; define them. (These show availability of optional fields
79 within the dirent struct, which client code may wish to access).
81 2014-10-31 Keith Marshall <keithmarshall@users.sourceforge.net>
83 Correct improper naming of assembly language source files.
85 * mingwex/math/*.S: Rename all files with this extension...
86 * mingwex/math/*.s: ...to this; (all are simple assembly language, and
87 not extended `assembler-with-cpp' as implied by the former extension);
88 adjust all internal `.file <name>' references accordingly.
90 * Makefile.in (vpath %.S): Adjust reference to locate files....
91 (vpath %.s): ...now renamed thus.
93 2014-10-29 Keith Marshall <keithmarshall@users.sourceforge.net>
95 Streamline the build system infrastructure.
97 * configure.ac: New file; it replaces...
98 * configure.in: ...this; (name is obsolete); delete it.
100 * aclocal.m4 Makefile.in: Substantially rewritten; avoid recursive
101 make invocations, when processing subdirectories, and add automatic
102 dependency tracking for all generated files.
104 * configure: Delete it; as a generated file, it doesn't belong in SCM.
106 * mingwex/Makefile.in: No longer required; delete it.
107 * profile/Makefile.in: Likewise.
109 * mkinstalldirs: Not required; delete it; (make should use `mkdir -p',
110 or fall back on `install-sh -d', per AC_PROG_MKDIR_P).
112 * jamfile: Delete it; it hasn't been updated in ages, is likely no
113 longer relevant, and I have no desire to maintain it.
115 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
117 * include/_mingw.h: Increment version to 3.20.
119 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
121 * tlsmthread.c: Update to reflect changes in tlssup.c.
122 * tlssup.c: code clean-up.
124 2011-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
126 * include/_mingw.h: Increment version to 3.19.
128 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
130 * include/float.h: Modify guard to accomodate CLang.
132 Thanks to Ruben Van Boxem for the report.
134 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
136 * tlssup.c: Remove mingwm10.dll fallback.
138 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
140 * include/sys/types.h (ssize_t): Defined as int as opposed to long.
142 Thanks to bvassche for the report.
144 2011-05-31 Keith Marshall <keithmarshall@users.sourceforge.net>
146 Correct checking for short option matches in getopt_long_only().
148 * mingwex/getopt.c (getopt_verify): New static inline function.
149 (getopt_parse) [getopt_mode_long_only]: Use it, to validate as a
150 possible short option match after failing to match, or ambiguously
151 matching as a long option.
153 2011-05-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
155 * include/stdlib.h (strtod): Declare as extern to resolve compilation issues.
157 Thanks to cgf for the report.
159 2011-05-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
161 * include/time.h (daylight, timezone, tzname): Rework guards to expose when
162 compiles with __STRICT_ANSI__.
164 Thanks to Felipe Contreras for the report.
166 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
168 * include/stdlib.h (strtod): Remove possible static declaration to resolve
171 Thanks to Tobias Burnus for the report.
173 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
175 * include/stdlib.h (_rotl, _lrotl, _rotr, _lrotr): Resolve conflict with gcc
176 by wrapping the functions in brackets.
178 Thanks to Kai Tietz for the report.
180 2011-05-22 A.B., Khalid <abkhd@users.sourceforge.net>
182 * Makefile.in: Add support for msvcr100.dll.
183 * msvcrt.def.in: Ditto.
185 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
187 * mingwex/mingw-fseek.c: The anonymous union feature for LARGE_INTEGER is
188 not always available, go the long way and use the explicit named union
189 members, which are also declared in winnt.h.
191 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
193 * mingwex/isblank.c: Fix typo in declaration.
195 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
197 * include/_mingw.h: Define GCC system_header only if PCC is not defined.
198 * include/stdlib.h: Fix a long-standing typo which prevented correct use of
199 the MB_CUR_MAX macro/variable when DECLSPEC is not supported and <stdlib.h>
200 is included before <ctype.h>.
202 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
204 * include/wchar.h: Include stdio.h to grab definition of FILENAME_MAX.
206 Thanks to Jim Bell for the report and Greg Chicares for the fix.
208 2011-01-07 Jacky Lai <crazyjacky@users.sourceforge.net>
210 Correct hexadecimal formatting of double and long double values.
212 * mingwex/stdio/pformat.c (__pformat_xdouble): Delete function.
213 (__pformat) [A format]: Cast double values to long double, and use...
214 (__pformat_xldouble): ...this instead, with corrected adjustment of
215 exponent and alignment of mantissa, when formatting subnormals.
217 2010-12-27 Ozkan Sezer <sezero@users.sourceforge.net>
219 * include/dirent.h (dd_handle): Define as intptr_t.
221 2010-11-08 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
223 * tlssup.c (__dyn_tls_init): Use an integer variable to iterate between
226 2010-08-17 Keith Marshall <keithmarshall@users.sourceforge.net>
228 * include/limits.h (PATH_MAX): Make it agree with Microsoft's
229 semantically identical MAX_PATH; correct value is 260.
231 2010-07-25 Keith Marshall <keithmarshall@users.sourceforge.net>
233 Accept that mingwrt headers are not guaranteed to precede GCC's in the
234 system include search path; (issue reported by Mark Brand).
236 * include/float.h: Add multiple inclusion guard around...
237 [! defined _FLOAT_H___]: ...include_next <float.h> for GCC's version,
238 only when this define does not indicate that it has already been seen;
239 update comments to document rationale; move it within the scope of...
240 [! defined _MINGW_FLOAT_H_]: ...this multiple inclusion guard, so that
241 GCC's float.h, after an appropriate complementary modification, need
242 not perform a further include path search when this implementation
243 specific extension has already been processed.
245 2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>
247 * include/io.h (_findfirst, _findnext, _findclose, _findfirst32,
248 _findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32,
249 _findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext,
250 _findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64,
251 _findnexti64): Correct definition.
253 2010-04-27 Danny Smith <dannysmith@users.sourceforge.net>
255 * mingwex/mb_wc_common.h (get_codepage): Revert change of 2006-09-19.
257 2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
259 * include/_mingw.h: Increment version to 3.18.
261 2010-03-02 Daniel Atallah <datallah@users.sourceforge.net>
263 * include/stdio.h: (_vscprintf, _vscwprintf)
264 * include/tchar.h: (_vsctprintf)
266 2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
268 Issue [2134161]: time64 functions and types for msvcrt >= 8.0
269 (initial implementation)
271 * new type: __time32_t
273 * new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
274 __stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
275 __wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t
277 * new functions: _ctime32, _difftime32, _difftime64, _findfirst32
278 _findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
279 _findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
280 _futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
281 _mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
282 _wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
283 _wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
284 _wstat32i64, _wstat64i32,_wutime32
286 * new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
287 ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
288 _fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
289 _stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
290 _wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime
292 2010-01-25 Kai Tietz <kai.tietz@onevision.com>
294 Implement TLS Callback.
296 * tlsmcrt.c: New file.
297 * tlsmthread.c: Ditto.
300 * Makefile.in: Include new files.
301 * crt1.c: Implement TLS Callback.
303 * mthr_stub.c: Remove.
305 2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
307 * include/_mingw.h: Increment version to 3.17.
309 2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
311 * mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa:
312 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
314 2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
316 * include/io.h (_open_osfhandle): Correct definition.
318 Thanks to Alexander Shaduri for the information.
320 2009-11-02 Charles Wilson <mingw@cwilson.fastmail.fm>
322 Final sync of pseudo-reloc.c with mingw64 and cygwin
323 * lib/pseudo-reloc.c (__report_error) [CYGWIN]: Correct size bug
324 regarding error messages.
326 2009-10-29 Charles Wilson <mingw@cwilson.fastmail.fm>
328 Honor DESTDIR for winsup/mingw and winsup/w32api.
329 Detect and report error if installation paths are win32
330 format, but DESTDIR is non-empty.
332 * Makefile.in (DESTDIR): Honor per convention.
333 (need-DESTDIR-compatibility): New macro; define it and a
335 (fail-DESTDIR-compatibility): New dependency goal.
336 (install-dirs): Require need-DESTDIR-compatibility.
337 * mingwex/Makefile.in (DESTDIR): Honor per convention.
338 (need-DESTDIR-compatibility): New macro; define it and a
340 (fail-DESTDIR-compatibility): New dependency goal.
341 (install): Require need-DESTDIR-compatibility.
342 * profile/Makefile.in: Ditto.
344 2009-10-25 Charles Wilson <mingw@cwilson.fastmail.fm>
346 Sync pseudo-reloc.c with mingw64
347 * psuedo-reloc.c: Remove unnecessary includes.
348 Forward declare _pei386_runtime_relocator.
349 Decorate _image_base__ symbol with macro for
350 mingw64 compatibility. Whitespace changes.
351 (__print_reloc_error): Renamed to...
352 (__report_error): This. "Returns" void, and
353 always aborts. Now used on all platforms.
354 (__write_memory): Remove special case error handling
355 for different platforms - always call __report_error.
356 (do_pseudo_reloc): Remove special case error handling
357 for different platforms - always call __report_error.
358 (_pei386_runtime_relocator): Decorate _image_base__
359 symbol with mingw64 compatibility macro.
361 2009-10-23 Charles Wilson <mingw@cwilson.fastmail.fm>
363 Sync pseudo-reloc.c with cygwin/lib/
364 * pseudo-reloc.c [CYGWIN]: Added comments throughout and various
365 whitespace fixes. Exploit cygwin_internal(CW_EXIT_PROCESS,...)
366 for fatal error handling that is consistent with cygwin process
367 life-cycle. Ensure state variable (in _pei386_runtime_relocator)
368 is unique to each address space, across fork().
369 [CYGWIN] (__print_reloc_error): New function for reporting
370 errors in a manner supported by cygwin at this early stage of
371 the process life-cycle.
372 [CYGWIN] (_pei386_runtime_relocator): Ensure relocations
373 performed only once for each address space, but are repeated
374 after fork() in the new address space.
375 [MINGW] (__write_memory): Ensure that b is always initialized
376 by call to VirtualQuery, even if -DNDEBUG.
378 2009-09-29 Keith Marshall <keithmarshall@users.sourceforge.net>
380 Make MinGW printf() "%p" format compatible with MSVCRT scanf().
381 (Based on MinGW-patch 2844514 by Peter Rosin <peda@lysator.liu.se>)
383 * mingwex/stdio/pformat.c (__printf) [%p]: Do not arbitrarily apply...
384 (PFORMAT_HASHED): ...this formatting attribute; honour only user
385 specified format qualifiers, except in special case...
386 [%p && stream.flags == flags && state == PFORMAT_INIT]: Apply...
387 (PFORMAT_ZEROFILL): ...this default formatting attribute...
388 (stream.precision): ...filled to at least 2 * sizeof( uintptr_t )
391 2009-09-01 Keith Marshall <keithmarshall@users.sourceforge.net>
393 Avoid multiple link time definitions of _printf() for C++;
394 (problem reported by Alexander Shaduri, via MinGW-users ML).
396 * include/stdio.h [__USE_MINGW_ANSI_STDIO]:
397 (__mingw_stdio_redirect__) [__cplusplus]: remove `static' keyword.
399 2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
401 * include/_mingw.h: Increment version to 3.16.
403 2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>
405 * include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit,
406 __signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf,
407 __fp_unordered_compare): Add prototypes.
408 * include/stdio.h (vsnwprintf): Add prototype.
409 * include/wchar.h (vsnwprintf): Add prototype.
410 * include/stdlib.h (_Exit): Protect inline definition with !__STRICT_ANSI__.
411 * include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard.
413 2009-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
415 Correct disposition of wchar_t output in printf().
417 * mingwex/stdio/pformat.c (__pformat) [%C]: Create new instance of...
418 (argval): ...this, in inner scope, with singular type `wchar_t'; use
419 it to pass one wchar to __pformat_wputchars(), for output.
421 2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
423 * mingwex/stdio/pformat.c: Implement better fix for type punned warning.
425 2009-07-27 Keith Marshall <keithmarshall@users.sourceforge.net>
427 Convert to monolithic configuration procedure.
429 * configure.in (AC_CHECK_TOOL): All instances; tabulate arguments.
430 (AC_SUBST): Use its 2nd argument to initialise MinGW default settings.
431 (PACKAGE_TARNAME) [target_os ~ cygwin]: Redefine it as appropriate.
432 (W32API_INCLUDE): Redefine; make it relative to `top_srcdir'.
433 (CRT0S): Relocate from `profile'; define it as appropriate.
434 (LIBM_A): Define and AC_SUBST it unconditionally.
435 (AC_CONFIG_SUBDIRS): Remove; none to configure.
436 (AC_OUTPUT_FILES): Add `Makefile' for each of...
437 (mingwex, profile): ...these subdirectories.
439 * configure: Regenerated.
441 * Makefile.in (PACKAGE, host_os): Let AC_SUBST define them.
442 (top_srcdir, top_builddir): New macros; let AC_SUBST define them.
443 (datarootdir): New macro; autoconf > 2.59 wants AC_SUBST to define it.
444 (SUBDIRS): Define explicitly, to run recursive `make' in...
445 (mingwex, profile): ...these; simplify build commands...
446 (rootme, rootsrc): ...without these shell variables.
447 (all, subdirs): Delete redundant build commands.
448 (FIXME): Flag various issues for follow up.
450 * mingwex/Makefile.in (INCLUDES): Redefined macro; refer it to...
451 (top_srcdir): ...this new macro; let AC_SUBST define it.
452 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
453 (Makefile): Make it depend on...
454 (top_builddir/config.status): ...this, itself depending on...
455 (top_srcdir/configure): ...this.
456 (FIXME): Flag various issues for follow up.
458 * mingwex/aclocal.m4: File no longer required; delete it.
459 * mingwex/configure mingwex/configure.in: Likewise.
461 * profile/Makefile.in (INCLUDES): Redefined macro; refer it to...
462 (top_srcdir): ...this new macro; let AC_SUBST define it.
463 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
464 (Makefile): Make it depend on...
465 (top_builddir/config.status): ...this, itself depending on...
466 (top_srcdir/configure): ...this.
467 (FIXME): Flag various issues for follow up.
469 * profile/aclocal.m4: File no longer required; delete it.
470 * profile/configure profile/configure.in: Likewise.
472 2009-07-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
474 * msvcrt.def.in: disable time symbol for libmsvcr90.a and libmsvcr90d.a due
475 to complaints that it causes issues.
477 2009-07-23 Jacky Lai <crazyjacky@users.sourceforge.net>
479 * mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan().
481 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
483 * include/inttypes.h include/math.h include/stdio.h include/stdlib.h
484 include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard
485 to all inline functions.
487 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
489 * CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
492 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
494 * cpu_features.c: replace gcc-specific construct with portable alternative
495 and match the code a few lines above.
496 * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
498 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
500 * include/_mingw.h: Changes required for PCC compiler.
502 2009-07-18 Jeff Lu <jll544@yahoo.com>
504 * mingwex/usleep.c: round up to next ms
506 2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
508 * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
509 mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
510 mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
511 the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
513 2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
515 * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.
517 2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>
519 * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files.
520 * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c
521 mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c
522 mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h
523 mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h
524 mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c
525 mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c
526 mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c
527 mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c
528 mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org
529 sources as of Apr. 20, 2009. Update further to match the sources in
530 the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX
531 code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the
532 double/ulong union from U to dbl_union for better grepping and white-
535 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
537 * include/stdlib.h (_wtof): Define.
539 2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
541 * include/stdint.h (int_fast8_t): Specify as signed char.
542 (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
543 (INT32_C, UINT32_C): Remove 'L' type specifier on constant.
545 2009-03-05 Kai Tietz <kai.tietz@onevision.com>
547 * pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2.
549 2009-02-08 Keith Marshall <keithmarshall@users.sourceforge.net>
551 MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.
552 (Requested by Robert Riebisch)
554 * mingwex/getopt.c (getopt_parse): Track external increments of...
555 (optind): ...this global variable.
557 2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
559 * include/_mingw.h: Increment version to 3.15.2.
561 2009-01-04 Keith Marshall <keithmarshall@users.sourceforge.net>
563 Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
564 Also add tentative support for BSD specific `optreset' feature.
566 * include/getopt.h (optreset) [_BSD_SOURCE]: Define; map it to...
567 (__mingw_optreset): ...this new global variable.
569 * mingwex/getopt.c (__mingw_optreset): Instantiate it...
570 (getopt_parse) [optind < 1]: ...make it true; use it to reset argument
573 2008-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
575 Partial fix for MinGW-Bug [2457778]: (Reported by Sisyphus).
576 Correct mishandling of invalid characters in printf() format specs.
578 * mingwex/stdio/pformat.c (__pformat): Save `fmt' scan position in...
579 (backtrack): ...this new automatic variable, at start of each format
580 conversion specification substring; use it to backtrack, and print the
581 substring literally, if any invalid character is encountered.
583 2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
585 * msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
586 ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
587 ___unguarded_readlc_active_add_func, __crtCompareStringW,
588 __crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
589 __pwctype_func, __iob_func, __uncaught_exception, __wcserror,
590 __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
591 __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
592 __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
593 _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
594 _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
595 _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
596 _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
597 _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
598 _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
600 2008-12-08 Dmitry G. Gorbachev <d.g.gorbachev@gmail.com>
602 * cpu_features.c (__cpu_features_init): Remove erroneous ';'.
604 2008-10-28 Keith Marshall <keithmarshall@users.sourceforge.net>
606 Correct some binary distribution packaging defects.
608 * Makefile.in (bindist): Remove `make' conditionals; segregate into...
609 (bindist-common, bindist-mingwrt, bindist-mingw-runtime): ...these new
610 intermediate goals; they make packages of files, as specified by...
611 (BINDIST_FILES, DEVDIST_FILES, DLLDIST_FILES): ...these new macros.
612 (dist_prefix) [target_alias !~ cygwin]: Leave it undefined.
614 2008-10-18 Keith Marshall <keithmarshall@users.sourceforge.net>
616 Fix MinGW-Bug [2136252]: (Reported by Roumen Petrov).
617 Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5
619 * mingwex/stdio/pformat.c (__pformat_emit_float): Always make output
620 of radix point conditional on precision != 0 or `#' flag specified.
622 2008-10-13 Keith Marshall <keithmarshall@users.sourceforge.net>
624 Fix MinGW-Bug [2160227]
625 Eliminate conflicting declarations and implementations of scalb().
627 * moldname.def.in (scalb): Comment out of EXPORTS list.
628 * include/math.h (scalb): Comment out OLDNAMES prototype; it conflicts
629 with GCC's built-in declaration.
631 2008-10-12 Christopher Faylor <me+cygwin@cgf.cx>
633 * Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
635 * mingwex/Makefile.in: Ditto.
636 * profile/Makefile.in: Ditto.
637 * configure.in: Record mingw front-end for building under Cygwin.
638 * mingwex/configure.in: Ditto.
639 * profile/configure.in: Ditto.
640 * configure: Regenerate.
641 * mingwex/configure: Ditto.
642 * profile/configure: Ditto.
644 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
646 Use de-facto standard Makefile goals to invoke test suite.
648 * Makefile.in: Some minor formatting adjustments.
649 (test_headers): Unconventionally named goal renamed to...
650 (check-headers): ...this; make it a prerequisite of...
651 (check): ...this new conventionally named goal.
653 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
655 Make strtod() inline definition C89 compliant.
656 (Issue reported by Ilya Shestopalov and Ian Puleston)
657 (Correction identified by Danny Smith)
659 * include/stdlib.h (strtod): Declare as `__inline__', not `inline';
660 reformat inline function definition.
662 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
664 * include/_mingw.h: Increment version to 3.15.1 and introduce
665 __MINGW32_PATCHLEVEL variable.
667 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
669 Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
670 (Reported by Christian Franke)
672 * mingwex/getopt.c (optind): Make global variable value conform to
673 behaviour specified by POSIX; do not use it for internal state in...
674 (getopt_parse): ...this static function; use...
675 (optbase): ...this new static local variable instead.
676 (getopt_resolved): Update `optind' as required.
678 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
680 Improve package identification in configure script.
682 * configure.ac (AC_INIT): Redefine parameters...
683 (PACKAGE_NAME): Set to `MinGW Runtime'.
684 (PACKAGE_BUGREPORT): Set to `http://mingw.org/reporting_bugs'
685 (PACKAGE_TARNAME): Set to `mingwrt'.
686 (PACKAGE_VERSION): Set generically to `v3.x'; reassigned by...
687 (MINGW_AC_CONFIG_SRCDIR): ...this macro, which extracts...
688 (__MINGW32_VERSION): ...this, from file `include/_mingw.h'.
690 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): Do not redefine...
691 (PACKAGE_TARNAME): ...this.
693 * configure: Regenerated.
695 2008-09-25 Keith Marshall <keithmarshall@users.sourceforge.net>
697 Fix MinGW-Bug [2125708].
698 (Reported by Alexandr Zamaraev).
700 * include/stdlib.h (intptr_t) [!_INTPTR_T_DEFINED]: Unused typedef;
701 not wanted here; remove it; replace it by...
702 (uintptr_t) [!_UINTPTR_T_DEFINED]: ...this typedef; needed by...
703 (_invalid_parameter_handler): ...this function typedef.
705 2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
707 * Makefile.in: Don't include host_os as part of snapshot filename.
709 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
711 Fix MinGW-Bug [2119504].
712 (Reported by Peiyuan Song).
714 * mingwex/getopt.c (getopt_resolved): Do not overwrite...
715 (*retindex): ...this already correctly assigned return variable...
716 (opt[index].val): ...with this; this should have been assigned to...
717 (*opt[index].flag) [opt[index].flag != NULL]: ...this instead.
719 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
721 Fix MinGW-Bug [2117379].
722 (Reported by Peiyuan Song).
724 * include/stdio.h (__argv): Replace all references in function
725 prototype argument lists and inline function local variables, with ...
726 (__local_argv): ...this, to avoid potential conflict with ...
727 * include/stdlib (__argv): ...this #defined macro.
729 2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
731 * include/_mingw.h: Increment version to 3.15.
733 2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
735 * Makefile.in: Adjust to new naming standard for MinGW while maintaining old
736 naming standard for Cygwin.
738 2008-08-31 Keith Marshall <keithmarshall@users.sourceforge.net>
740 Reimplement getopt.c to add getopt_long_only() function.
742 (N.B. this reimplementation removes support for BSD/Mac-OS-X
743 `optreset' nonsense; user code should set `optind = 0' instead,
744 to reinitialise option scanning).
746 * mingwex/getopt.c: Delete all content; reimplement it.
747 * include/getopt.h: Likewise.
749 * include/unistd.h (__UNISTD_H_SOURCED__): New macro; define it.
750 (__UNISTD_GETOPT__): This macro is no longer required; remove it.
752 2008-08-30 Keith Marshall <keithmarshall@users.sourceforge.net>
754 Implement conditional replacement for printf() family functions.
756 * include/_mingw.h (__USE_MINGW_ANSI_STDIO): New macro; define it.
757 (__MINGW_ANSI_STDIO__): New manifest constant; define as bitmapped
758 flag for use in user specified __MINGW_FEATURES__ attribute.
759 (__MINGW_LC_MESSAGES__, __MINGW_LC_ENVVARS__): New manifest constants;
760 currently unused: reserved as components of...
761 (__MINGW_LC_EXTENSIONS__): ...this new manifest constant; earmarked as
762 a __MINGW_FEATURES__ enhancement to setlocale().
764 * include/stdio.h (__mingw_printf, __mingw_vprintf): Prototype them.
765 (__mingw_fprintf, __mingw_vfprintf): Likewise.
766 (__mingw_sprintf, __mingw_vsprintf): Likewise.
767 (__msvcrt_printf, __msvcrt_vprintf): Likewise.
768 (__msvcrt_fprintf, __msvcrt_vfprintf): Likewise.
769 (__msvcrt_sprintf, __msvcrt_vsprintf): Likewise.
770 (printf, vprintf) [!__USE_MINGW_ANSI_STDIO]: Prototype for default
771 usage; link to DLL import stub, importing from MSVCRT.
772 (fprintf, vfprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
773 (sprintf, vsprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
774 (printf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_printf; use
775 locally defined static stub implementation.
776 (fprintf, sprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
777 __mingw_fprintf and __mingw_sprintf respectively.
778 (vprintf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_vprintf; use
779 static inline implementation for C++ and GNU C, or locally defined
780 static stub otherwise.
781 (vfprintf, vsprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
782 __mingw_vfprintf and __mingw_vsprintf respectively.
784 2008-08-27 Keith Marshall <keithmarshall@users.sourceforge.net>
786 Avoid access violations, passing NULL to printf( "...%s..." );
787 (inconsistencency with MSVCRT and glibc, reported by Colin Harrison).
789 * mingwex/stdio/pformat.c (__pformat_puts): Substitute "(null)"
790 for argument value, if caller passes a NULL pointer.
791 (__pformat_wcputs): Likewise, substitute L"(null)".
793 2008-08-14 Keith Marshall <keithmarshall@users.sourceforge.net>
795 Add missing dependencies for building libmingwex.a.
797 * mingwex/Makefile.in (printf.o, fprintf.o, sprintf.o): Make them...
798 (vprintf.o, vfprintf.o, vsprintf.o): ...and also these, depend on...
799 (pformat.h): ...this.
801 2008-08-11 Keith Marshall <keithmarshall@users.sourceforge.net>
803 Add replacements for remaining members of printf() family.
805 * mingwex/stdio/printf.c: New file.
806 * mingwex/stdio/fprintf.c: New file.
807 * mingwex/stdio/sprintf.c: New file.
808 * mingwex/stdio/vprintf.c: New file.
809 * mingwex/stdio/vfprintf.c: New file.
810 * mingwex/stdio/vsprintf.c: New file.
812 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
813 (STDIO_OBJS): Add their corresponding object files.
815 2008-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
817 Replace __mingw_snprintf() with new generic family implementation;
818 likewise, replace __mingw_vsnprintf().
820 * mingwex/stdio/pformat.c mingwex/stdio/pformat.h: New files.
821 * mingwex/stdio/snprintf.c mingwex/stdio/vsnprintf.c: New files.
822 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
823 (GDTOA_DISTFILES): Remove mingw_snprintf.c
824 (STDIO_OBJS): Add pformat.o, snprintf.o and vsnprintf.o
825 (GDTOA_OBJS): Remove mingw_snprintf.o
826 (PFORMAT_CFLAGS): New macro; define it, as required by...
827 (pformat.o): ...this new explicit build target.
828 (snprintf.o, vsnprintf.o): Declare prerequisites.
830 * mingwex/gdtoa/mingw_snprintf.c: Redundant file; delete it.
832 2008-07-28 Keith Marshall <keithmarshall@users.sourceforge.net>
834 Lay foundations for new printf() function family implementation.
836 * ofmt_stub.s: New file; implement forward compatibility stub for...
837 (_get_output_format): ...this MSVCR80.DLL and later function.
839 * Makefile.in (SRCDIST_FILES): Add ofmt_stub.s.
840 (NM, OBJCOPY): New macros; define them with AC_SUBSTed values.
841 (sym_prefix, NM_LOOKUP, MINGW_REPL_FUNCS): New macros; define them.
842 (lib%.a): Include ofmt_stub.o when import library does not already
843 advertise availability of the _get_output_format() function;
844 Add alias stubs for MINGW_REPL_FUNCS, such that...
845 (__msvcrt_printf): ...is an alias for Microsoft's printf().
846 (__msvcrt_fprintf): ...is an alias for Microsoft's fprintf().
847 (__msvcrt_sprintf): ...is an alias for Microsoft's sprintf().
848 (__msvcrt_vprintf): ...is an alias for Microsoft's vprintf().
849 (__msvcrt_vfprintf): ...is an alias for Microsoft's vfprintf().
850 (__msvcrt_vsprintf): ...is an alias for Microsoft's vsprintf().
851 (clean): Add msvcr*.def.
853 * configure.in (NM, OBJCOPY): Use AC_CHECK_TOOL to specify them.
854 * configure: Regenerated.
856 2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
858 * include/ctype.h (_imp____mb_cur_max): Correct spelling.
859 (_imp____mb_cur_max_dll): Likewise.
861 2008-07-04 Danny Smith <dannysmith@users,sourceforge.net>
863 * include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
864 * include/wchar.h (swprintf, vswprintf): Likewise.
866 2008-07-01 Keith Marshall <keithmarshall@users.sourceforge.net>
868 * msvcrt.def.in [__msvcr80__, __msvcr80d__, __msvcr90__, __msvcr90d__]
869 (_get_output_format, _set_output_format): Add references.
871 * include/stdio.h [__MSVCRT_VERSION__ >= 0x800]
872 (_get_output_format, _set_output_format): Declare prototypes.
873 (_TWO_DIGIT_EXPONENT): Define.
874 Some other minor formatting adjustments.
876 2008-06-14 Danny Smith <dannysmith@users.sourceforge.net>
879 * include/wchar.h (_wfdopen): Const-ify second arg.
880 * include/stdio.h (_wfdopen): Likewise.
881 Thanks to <tdragon at users dot sourceforge net>
883 2008-06-02 Keith Marshall <keithmarshall@users.sourceforge.net>
885 Avoid precision errors in round(), lround() and llround() functions.
887 * mingwex/math/round_generic.c: New file; it replaces...
888 * mingwex/math/round.c: ...this; delete it.
889 * mingwex/math/roundf.c: ...and this; ditto.
890 * mingwex/math/roundl.c: ...and this; ditto.
892 * mingwex/math/lround_generic.c: New file; it replaces...
893 * mingwex/math/lround.c: ...this; delete it.
894 * mingwex/math/lroundf.c: ...and this; ditto.
895 * mingwex/math/lroundl.c: ...and this; ditto.
896 * mingwex/math/llround.c: ...and this; ditto.
897 * mingwex/math/llroundf.c: ...and this; ditto.
898 * mingwex/math/llroundl.c: ...and this; ditto.
900 * mingwex/math/round_internal.h: New file; it provides generic common
901 code, which is shared by `round_generic.c' and `lround_generic.c'; the
902 implementation is based on techniques suggested by Danny Smith and
905 * mingwex/Makefile.in (MATH_DISTFILES): Remove `round.c', `roundf.c',
906 `roundl.c', `lround.c', `lroundf.c', `lroundl.c', `llround.c',
907 `llroundf.c' and `llroundl.c'; replace by `round_internal.h',
908 `round_generic.c' and `lround_generic.c'.
909 (MATH_OBJS): Factor out files listed in...
910 (MATH_ROUND_OBJS, MATH_LROUND_OBJS, MATH_LLROUND_OBJS): ...these new
911 macros; define them; specify dependencies and build rules; add to...
912 (LIB_OBJS): ...this list.
914 2008-05-22 Danny Smith <dannysmith@users.sourceforge.net>
916 [ mingw-Bugs-1961893 ]
917 * mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa
918 mode to 2 for E format.
920 2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
922 * include/stdlib.h: Fix strtod under C++.
924 2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
926 * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
927 * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
929 2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
931 * include/sys/types.h (useconds_t): typedef.
932 * include/unistd.h (usleep): Add prototype.
933 * mingwex/usleep.c: New file.
934 * mingwex/makefile.in: Add usleep source and object.
936 2008-05-02 Ramiro Polla <ramiro@lisha.ufsc.br>
938 Make strtod() conform to C99.
940 * include/stdlib.h (strtod): Declare this mingwex function, and...
941 (_strtod): rename this MSVCRT counterpart.
943 * mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
945 2008-04-26 Chuck Wilson <cwilso11@users.sourceforge.net>
947 * Makefile.in: correct issues with mingw10.dll having multiple relocs.
949 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
951 * include/process.h: Include stdint.h for intptr_t definition.
952 (_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
953 _spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
954 _spawnvpe): Return intptr_t.
955 (execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
956 spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
958 * include/wchar.h: Guard wide process.h functions with !__STRICT_ANSI__.
960 [!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
961 (_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
962 _wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
963 _wspawnvp, _wspawnvpe): Return intptr_t.
965 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
967 * include/wchar.h (fwide): Return success code rather than failure in inline
969 * mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
970 code rather than failure.
972 2008-03-21 Danny Smith
974 * include/math.h (float_t, double_t): Define.
976 2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
978 * mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
979 * mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
980 (x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
982 2008-02-28 Joseph Myers <joseph@codesourcery.com>
984 * include/complex.h: Don't condition contents on C99 or not
987 2008-02-01 Brian Dessent <brian@dessent.net>
989 * Makefile.in: Add rules to generate multiple versions of libmoldname.a for
990 the different runtime versions.
992 2008-01-19 Danny Smith <dannysmithusers.sourceforge.net
994 * inclue/wchar.h (fwide): Add prototype and guard inline definition.
997 2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
999 * include/_mingw.h: Increment version to 3.14.
1001 2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1003 * Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
1004 * msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
1005 * mingwex/math/log10f.S: Correct issue with comments.
1006 * mingwex/math/log10l.S: Ditto.
1007 * mingwex/math/log1p.S: Ditto.
1008 * mingwex/math/log1pf.S: Ditto.
1009 * mingwex/math/log1pl.S: Ditto.
1010 * mingwex/math/log2.S: Ditto.
1011 * mingwex/math/log2f.S: Ditto.
1012 * mingwex/math/log2l.S: Ditto.
1013 * mingwex/math/logf.S: Ditto.
1014 * mingwex/math/logl.S: Ditto.
1016 2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
1018 * mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
1020 2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
1022 * include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
1023 from '_fsize_t' to '__int64' to be consistent with the other ...64
1024 structures and the value set there is 8 bytes not 4. Add guard for both
1025 as the are only used by functions available from 6.1 on.
1027 * include/malloc.h (_HEAP_MAXREQ): Define.
1028 (_aligned_offset_recalloc): Define.
1029 (_aligned_recalloc()): Define.
1031 * include/math.h: fixed a typo in a comment.
1032 (atanhf): Fixed declaration.
1034 * include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
1035 to '__int64' to be consistent with the other ...64 structures and the value
1036 set there is 8 bytes not 4. Added guard as this function is only used by
1037 functions available from 6.1 on.
1039 * include/sys/stat.h: some members of 'stat' were declared with types with
1040 a prefixed underscore, while the ones without the underscore should have
1041 been used. Added guard to '__stat64' as it is only used by functions
1042 available from 6.1 on. Added the wide character versions of the
1043 exec()/spawn() family for completion
1044 (_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
1047 * include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
1048 from 'long' to 'time_t'
1049 (__timeb64): moved declaration of structure directly before the declaration
1050 of the function '_ftime64()', so it is guarded as well
1052 * include/sys/utime.h (__utimbuf64): moved declaration of structure directly
1053 before the declaration of the functions using it, so it is guarded as well
1055 2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
1057 * mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
1058 case. Add missing break in 's'/LEN_S case.
1060 2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1062 Make snprintf() and vsnprintf() conform to C99.
1064 * include/stdio.h: Add note about incompatibility between...
1065 (snprintf, vsnprintf): These two mingwex functions, and...
1066 (_snprintf, _vsnprintf): these MSVCRT counterparts.
1068 * mingwex/Makefile.in (STDIO_OBJS): Remove snprintf.o and vsnprintf.o
1069 (STDIO_DISTFILES): Remove snprintf.c and vsnprintf.c
1071 * mingwex/stdio/snprintf.c: Delete.
1072 * mingwex/stdio/vsnprintf.c: Delete.
1074 * mingwex/gdtoa/mingw_snprintf.c (snprintf): Alias to __mingw_snprintf
1075 (vsnprintf): Alias to __mingw_vsnprintf.
1077 2007-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1079 * include/_mingw.h: Increment version to 3.13.
1080 * Makefile.in: Reset CYGRELEASE to 1
1082 2007-07-23 Keith Marshall <keithmarshall@users.sourceforge.net>
1084 * Makefile.in (SUBDIRS): Delete stray line continuation artifact,
1085 resulting from incomplete removal of enclosing `for ...; do ...; done'
1086 loop from compound command; (reported by Greg Chicares).
1088 2007-07-19 Danny Smith <dannysmith@users.sourceforge.net>
1090 * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
1093 2007-07-12 Danny Smith <dannysmith@users.sourceforge.net>
1095 [mingw-Bugs-1734142]
1096 * include/wchar.h (_wsystem) Declare.
1098 (_wgetenv): Declare.
1099 (_wsearchenv): Declare.
1100 (_wmakepath): Declare.
1101 (_wsplitpath): Declare.
1102 (_wfullpath): Declare.
1103 * include/stdlib.h (_wsystem) Declare.
1104 (_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath,
1105 _wfullpath): Move into _WSTDLIB_DEFINED guard.
1106 * include/tchar.h (_tsystem): New UNICODE mapping define.
1108 2007-06-29 Danny Smith <dannysmith@users.sourceforge.net>
1110 * mingwex/gdtoa/mingw_snprintf.c: New file.
1111 * mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
1112 (GDTOA_OBJS): Add mingw_snprintf.o.
1114 2007-06-28 Danny Smith <dannysmith@users.sourceforge.net>
1116 * msvcrt.def.in: Update comment.
1117 Exclude _ctype stub if using msvcr71.dll or newer.
1118 * include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
1119 * include/wctype.h: Likewise.
1121 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1123 *include/wctype.h: Qualify all functions with __MINGW_NOTHROW.
1124 *include/dirent.h: Likewise.
1126 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1128 * include/assert.h: Qualify all functions with __MINGW_NOTHROW.
1129 * include/conio.h: Likewise.
1130 * include/ctype.h: Likewise.
1131 * include/direct.h: Likewise.
1132 * include/dos.h: Likewise.
1133 * include/errno.h: Likewise.
1134 * include/fenv.h: Likewise.
1135 * include/float.h: Likewise.
1136 * include/inttypes.h: Likewise.
1137 * include/io.h: Likewise.
1138 * include/libgen.h: Likewise.
1139 * include/locale.h: Likewise.
1140 * include/malloc.h: Likewise.
1141 * include/mbctype.h: Likewise.
1142 * include/mbstring.h: Likewise.
1143 * include/process.h: Likewise.
1144 * include/search.h: Likewise.
1145 * include/setjmp.h: Likewise.
1146 * include/signal.h: Likewise.
1147 * include/stdio.h: Likewise.
1148 * include/stdlib.h: Likewise.
1149 * include/string.h: Likewise.
1150 * include/time.h: Likewise.
1151 * include/wchar.h: Likewise.
1152 * include/sys/stat.h: Likewise.
1153 * include/sys/time.h: Likewise.
1154 * include/sys/timeb.h: Likewise.
1155 * include/sys/utime.h: Likewise.
1157 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1159 * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
1161 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1163 Add POSIX binary tree search API.
1165 * mingwex/tfind.c: New file.
1166 * mingwex/tdelete.c: New file.
1167 * mingwex/tsearch.c: New file.
1168 * mingwex/twalk.c: New file.
1169 * mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
1170 * mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
1171 * include/search.h (tfind): Declare.
1178 (node_t): Define, on condition of _SEARCH_PRIVATE.
1180 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1182 * include/_mingw.h (__MINGW_NOTHROW): Define.
1184 2007-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1186 * include/stdio.h (vsnprintf): Remove inline definition.
1189 2007-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1191 * CRTfmode.c: Nit-pick comment fix.
1193 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1195 * CRTfmode.c: Fix nested comment.
1197 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1199 * include/string.h (strcasecmp): Fix typo in declaration prototype.
1201 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1203 * include/io.h (lseek64) : Add prototype.
1205 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1207 * include/string.h (strcasecmp): Add prototype.
1208 (strncasecmp): Add prototype.
1210 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1212 * Makefile.in (CRT0S): Revert last change.
1213 * CRTfmode.c. Correct comment.
1215 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1217 * Makefile.in (CRT0S): Add back CRTfmode.o.
1219 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1221 * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
1222 * include/io.h: Likewise.
1224 2007-06-11 Danny Smith <dannysmith@users.sourceforge.net>
1226 * crt1.c (__mingw_CRTStartup): Add explicit call to gcc's __main.
1228 2007-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1230 * include/stdint.h (intptr_t): Fix typo.
1231 Thanks to Charles Wilson for report.
1233 2007-05-07 Danny Smith <dannysmith@users.sourceforge.net>
1235 * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
1236 Condition on _WIN64.
1237 (uintptr_t): Protect with _UINTPTR_T_DEFINED. Condition on _WIN64.
1238 (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64.
1239 (PTRDIFF_MIN): Define as INTPTR_MIN.
1240 (PTRDIFF_MAX): Define as INTPTR_MAX.
1241 (SIG_ATOMIC_MIN): Define as INTPTR_MIN.
1242 (SIG_ATOMIC_MAX): Define as INTPTR_MAX.
1244 2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1246 * Makefile.in: Removed mansuffix variable. Changed mansection to support
1247 Cygwin man page location.
1249 2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1251 * Makefile.in: Added mansection and mansuffix variables. Changed mandir to
1252 support Cygwin man page location.
1254 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1256 * Include/_mingw.h: Increment version to 3.12.
1258 2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
1260 * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__.
1262 2007-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1264 * Makefile.in: Tweak srcdist to fix build issue.
1266 2007-03-20 Keith Marshall <keithmarshall@users.sourceforge.net>
1268 Add --enable-mingw-manpage-transform configure option.
1270 * aclocal.m4 (MINGW_AC_MANPAGE_TRANSFORM): New macro.
1271 * configure.in, Makefile.in: Use it.
1272 * configure: Regenerated.
1274 2007-03-18 Danny Smith <dannysmith@users.sourceforge.net>
1276 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ for gcc 4.2.x too.
1278 2007-03-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1280 Add manpages for dirname and basename functions.
1282 * man: New directory.
1283 * man/dirname.man: New file; it sources both manpages.
1284 * Makefile.in: Add provisional rules to distribute them.
1286 2007-03-08 Keith Marshall <keithmarshall@users.sourceforge.net>
1288 * mingwex/basename.c: Make it work with path names containing
1289 multibyte character strings.
1290 * mingwex/dirname.c: Likewise.
1292 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1294 * include/io.h (__mingw_access): New static inline wrapper to restore
1295 pre-Vista 'access (fname, X_OK)' behaviour.
1296 (__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
1298 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1300 * mingwex/fesetround.c (fesetround): Use unsigned int as operand
1302 Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
1304 2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
1306 * include/stdio.h (_unlink, unlink): Add prototypes.
1308 2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
1310 * include/excpt.h: Replace "_try1" in comments with "__try1".
1312 2007-02-15 Danny Smith <dannysmith@users.sourceforge.net>
1314 * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1315 (ALL_CXXFLAGS): Likewise.
1316 * mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1317 (ALL_CXXFLAGS): Likewise.
1318 * profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1319 (ALL_CXXFLAGS): Likewise.
1321 2007-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1323 * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
1325 2007-01-27 Danny Smith <dannysmith@users.sourceforge.net>
1327 Expose some more msvcr80.dll functions.
1328 * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
1329 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
1330 * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
1331 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
1333 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1335 Expose some msvcr80.dll functions.
1336 * include/stdlib.h (_set_abort_behavior): Add prototype.
1337 (_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
1338 _set_abort_behavior mask argument.
1339 (_invalid_parameter_handler): Add typedef.
1340 (_set_invalid_parameter_handler): Add prototype.
1341 * include/stdio.h (_get_printf_count_output): Add prototype.
1342 (_set_printf_count_output): Add prototype.
1343 * msvcrt.def.in (_get_printf_count_output,_set_printf_count_output,
1344 _set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
1346 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1348 * include/_mingw.h (CRT_INLINE): Correct typo.
1350 2007-01-24 Danny Smith <dannysmith@users.sourceforge.net>
1352 * include/io.h (X_OK): Define to F_OK.
1354 2007-01-19 Danny Smith <dannysmith@users.sourceforge.net>
1356 * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1357 unconditionally. Change comment.
1358 * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1360 * include/io.h (rename): Declare.
1363 2006-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
1365 * include/libgen.h: New file; required by...
1366 * mingwex/basename.c, mingwex/dirname.c: New files.
1367 * mingwex/Makefile.in (DISTFILES): Add them...
1368 (POSIX_OBJS): ...with corresponding basename.o, dirname.o
1369 (Dependencies): Typo; s/Dependancies/Dependencies/
1371 2006-11-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1373 * Makefile.in (VERSION): Let configure define it.
1375 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): New macro.
1376 * configure.in: Use it.
1377 Correct quoting of autoconf macro arguments throughout.
1378 (AC_INIT, AC_OUTPUT): Update to autoconf 2.5x preferred syntax.
1379 (AR, AS, RANLIB, LD, DLLTOOL, DLLWRAP): Don't need AC_SUBST.
1380 (AC_ALLOCA): Invalid after GCC_NO_EXECUTABLES; removed.
1381 (AC_CONFIG_FILES): Add, to generate Makefile.
1383 * configure: Regenerated.
1385 2006-11-21 Danny Smith <dannysmith@users.sourceforge.net>
1387 * Makefile.in: Add aclocal.m4 to source release.
1388 * mingwex/Makefile.in: Ditto.
1389 * profile/Makefile.in: Ditto.
1391 2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1393 * Include/_mingw.h: Increment version to 3.11.
1394 * Makefile.in: Ditto.
1396 2006-11-09 Danny Smith <dannysmith@users.sourceforge.net>
1398 [ mingw-Bugs-1590623 ]
1399 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
1402 2006-10-04 Corinna Vinschen <corinna@vinschen.de>
1404 * Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
1405 correctly parenthesized.
1407 2006-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1409 * mingwex/mb_wc_common.h (get_codepage): Get it
1412 2006-09-18 Danny Smith <dannysmith@users.sourceforge.net>
1414 * mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity.
1416 * mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to
1418 * mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with
1421 2006-09-16 Danny Smith <dannysmith@users.sourceforge.net>
1423 * mingwex/gdtoa/strtopx.c (strtopx): Fix long double representation
1426 2006-09-11 Christopher Faylor <cgf@timesys.com>
1428 * Makefile.in: Semi-revert 2006-08-30 change.
1430 2006-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1432 * include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
1433 (__MINGW_IMPORT): Ansify.
1434 * include/stdlib.h (_sleep, _beep, _seterrormode): Add
1435 __MINGW_ATTRIB_DEPRECATED.
1437 2006-09-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1439 * aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
1440 Redundant macros; deleted.
1442 * configure.in (LIB_AC_PROG_CC): Replaced by...
1443 (AC_PROG_CC): ...this.
1445 * configure: Regenerated.
1447 2006-09-06 Danny Smith <dannysmith@users.sourceforge.net>
1449 * mingwex/gdtoa/misc.c (pow5mult): Restore original code.
1450 * mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
1451 * mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
1453 2006-09-01 Danny Smith <dannysmith@users.sourceforge.net>
1455 * mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
1456 g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
1457 gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
1458 README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
1460 * mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
1461 * mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
1462 * mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
1463 * mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
1464 * mingwex/wcstold.c: Avoid using strtold internals.
1465 * mingwex/wcstof.c: Rewrite.
1466 * mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
1467 (GDTOA_OBJS): Add to library.
1468 (DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
1469 (STDLIB_OBJS): Remove.
1470 (STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
1471 (Q8_OBJS): Add wcstof.o wcstold.o.
1472 * include/stdlib.h (strtof): Remove inline definition.
1474 * include/wchar.h (wcstof): Remove inline definition.
1476 2006-08-30 Corinna Vinschen <corinna@vinschen.de>
1478 * Makefile.in: Add with_cross_host to allow more granular checks.
1479 Set installation directories accordingly. Override CC setting only
1480 if building a Cygwin target.
1481 * aclocal.m4: Regenerate.
1482 * configure.in: Move AC_CANONICAL_SYSTEM check up. Add
1483 GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files.
1484 Test AC_ALLOCA only if building on a native system.
1485 * configure: Regenerate.
1487 2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1489 * include/ctype.h: Fix typo.
1491 2006-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1493 * include/ctype.h: Expose iswblank if __cplusplus.
1494 * include/wctype.h: Expose iswblank if __cplusplus.
1496 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1498 * include/ctype.h: Remove stray ')';
1500 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1502 * include/ctype.h (_BLANK): Expand comment.
1503 (isblank): Add prototype and inline definition.
1504 (iswblank): Add prototype and inline definition.
1505 * include/wctype.h (iswblank): Add prototype and inline definition.
1506 * mingwex/isblank.c: New file.
1507 * mingwex/iswblank.c: New file.
1508 * mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
1510 2006-07-06 Danny Smith <dannysmith@users.sourceforge.net>
1512 * include/math.h (__INFF,__INFL): Remove '#'.
1514 2006-07-04 Danny Smith <dannysmith@users.sourceforge.net>
1516 * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
1518 2006-07-03 Danny Smith <dannysmith@users.sourceforge.net>
1520 Support SSE float environment in fenv.h functions.
1521 * cpu_features.c: New file.
1522 * cpu_features.h: New file.
1523 * crt1.c: Include "cpu_features.h".
1524 (__mingw_CRTStartup): Call cpu_features_init().
1525 * Makefile.in (MING_OBJS): Add cpu_features.c.
1526 (SRCDIST_FILES): Add cpu_features.c, cpu_features.h.
1527 * include/fenv,h ( fenv_t;): Append __mxcsr field.
1528 (__MXCSR_EXCEPT_FLAG_SHIFT): New define.
1529 (__MXCSR_EXCEPT_MASK_SHIFT): New define.
1530 (__MXCSR_ROUND_FLAG_SHIFT): New define.
1531 * mingwex/feclearexcept.c: Include "cpu_features.h".
1532 Handle SSE environment.
1533 * mingwex/fegetenv.c: Likewise.
1534 * mingwex/feholdexcept.c: Likewise.
1535 * mingwex/fesetenv.c: Likewise.
1536 * mingwex/fesetexceptflag.c: Likewise.
1537 * mingwex/fesetround.c: Likewise.
1538 * mingwex/fetestexcept.c: Likewise.
1539 * mingwex/feupdateenv.c: Likewise.
1540 * mingwex/fegetround.c: Add comment.
1542 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1544 * Include/_mingw.h: Increment version to 3.10.
1545 * Makefile.in: Ditto.
1547 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1549 * mingwex/math/tgamma.c (SQTPI): Add braces.
1551 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1553 * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
1554 * mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
1556 * mingwex/math/sf_erf.c (erff): Initialize z.
1558 * mingwex/math/tgamma.c (SQTPI): Avoid type punning.
1560 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1562 * Include/_mingw.h: Increment version to 3.10.
1563 * Makefile.in: Ditto.
1565 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1567 * include/sys/time.h (struct timezone): Define.
1568 * include/time.h: Correct comment about timezone.
1570 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1572 * configure.in (AC_CONFIG_AUX_DIR): Remove.
1573 * configure: Regenerate.
1575 2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
1577 * configure: add srcdir as a possible location for install-sh.
1579 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1581 * mingwex/dirent.c (_tGetFileAttributes): New helper function.
1582 (_topendir): Use it.
1584 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1586 * include/sys/time.h: Add header guard. Add extern "C" bracketing
1588 (gettimeofday): Add prototype.
1589 * mingwex/gettimeofday.c: New file.
1590 * mingwex/makefile.in: Add gettimeofday source and object.
1592 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1594 * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
1595 else global library variable.
1596 (HUGEVALF): Likewise.
1597 (HUGEVALL): Likewise.
1598 (INFINITY): Likewise.
1601 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1603 * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
1605 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1607 * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
1609 2006-05-24 Christopher Faylor <cgf@timesys.com>
1611 * configure.in: Update to newer autoconf.
1612 (thanks to Steve Ellcey)
1613 * mingwex/configure.in: Ditto.
1614 * profile/configure.in: Ditto.
1615 * configure: Regenerate.
1616 * mingwex/configure: Ditto.
1617 * profile/configure: Ditto.
1618 * aclocal.m4: New file.
1619 * mingwex/aclocal.m4: Ditto.
1620 * profile/aclocal.m4: Ditto.
1622 2006-05-17 Danny Smith <dannysmith@users.sourceforge.net>
1624 * mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.
1625 Use supplied codepage as arg to WideCharToMultiByte.
1627 2006-02-13 Earnie Boyd <earnie@users.sf.net>
1629 * Makefile.in (libmsvcr80.a): Add import lib.
1630 (libmsvcr80d.a): Ditto.
1632 2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1634 * Makefile.in: Bump cygwin build number.
1636 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1638 * Include/_mingw.h: Increment version to 3.9.
1639 * Makefile.in: Ditto.
1641 2005-10-14 Danny Smith <dannysmith@users.sourceforge.net>
1643 * include/limits.h (SSIZE_MAX): Define.
1644 (LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.
1646 2005-10-13 Wu Yongwei <adah@users.sourceforge.net>
1648 * include/tchar.h: Include <wchar.h> when _UNICODE is defined.
1649 (_TEOF): New macro definition for _UNICODE and non_UNICODE cases.
1651 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1653 * include/stddef.h: Remove.
1654 * include/stdarg.h: Remove.
1656 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1658 * mingwex/complex/csqrt.c (csqrt): The sign of real part
1659 of result is positive when real part of arg == 0;
1660 * mingwex/complex/csqrtf.c (csqrtf): Ditto.
1661 * mingwex/complex/csqrtl.c (csqrtl): Ditto.
1663 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1665 * include/time.h (_time64): Correct prototype.
1667 2005-10-08 Danny Smith <dannysmith@users.sourceforge.net>
1669 * mingwex/fegetenv.c (fegetenv): Restore exception masks.
1670 * mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
1671 to non-stop. Use "fnclex" to clear exception flags.
1673 2005-09-24 Danny Smith <dannysmith@users.sourceforge.net>
1675 * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
1676 Avoid raising FP exceptions.
1678 2005-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1680 * include/stdlib.h (strtof): Add prototype. Uglify
1681 parameter names in inline definition.
1683 (_Exit): Uglify parameter names in inline definition.
1684 (llabs): Add prototype.
1685 (_set_error_mode): Add prototype and input defines.
1687 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1689 * mingwex/fe*.c: Revert previous changes.
1690 * include/fenv.h: Revert previous changes.
1692 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1694 * mingwex/feclearexcept.c (feclearexcept): Change declaration.
1695 Do not return a value.
1696 * mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
1697 * mingwex/feraiseexcept.c (feraiseexcept): Likewise.
1698 * mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
1699 * mingwex/fegetenv.c (fegetenv): Likewise.
1700 * mingwex/fesetenv.c (fesetenv): Likewise.
1701 * mingwex/feupdateenv.c (feupdateenv): Likewise.
1702 * include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
1703 fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
1706 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1708 * mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
1709 getting filelength for SEEK_END.
1711 2005-08-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1713 * Include/_mingw.h: Increment version to 3.8.
1714 * Makefile.in: Ditto.
1716 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1718 * include/wctype.h (towupper, towlower): Change arg and return value
1720 * include/ctype.h (towupper, towlower): Likewise.
1722 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1724 * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
1725 a diagnostic, guarded by #ifdef DEBUG.
1726 (__mingwthr_remove_key_dtor): Likewise.
1728 2005-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1730 * moldname.def.in (sleep, beep, seterrormode): Remove.
1732 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1734 * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
1735 (_MCOUNT_DECL): Use it.
1736 (MCOUNT): Save and restore eax, ecx, edx registers.
1737 * profile/mcount.c (_mcount): ANSI-fy.
1739 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1741 * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
1742 guard __MINGW_ATTRIB macro definitions.
1743 * include/math.h (logb[fl]): Don't define inlines for
1744 GCC-4.0+ && __FAST_MATH__.
1745 (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up
1746 line-continuation backslashes.
1748 2005-06-06 Danny Smith <dannysmith@users.sourceforge.net>
1750 * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
1751 in GNUC version guard.
1753 2005-05-20 Danny Smith <dannysmith@users.sourceforge.net>
1755 * crt1.c (_gnu_exception_handler): Handle illegal instruction
1756 OS exception as a signal if user has defined a SIGILL handler.
1758 2005-05-10 Danny Smith <dannysmith@users.sourceforge.net>
1760 * mingwex/math/nexttoward.c: New file.
1761 * mingwex/math/nexttowardf.c: New file.
1762 * mingwex/math/nextafterl.c: Add nexttowardl alias.
1763 * mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
1765 (MATH_OBJS): Add nexttoward.o, nexttowardf.o,
1766 * include/math.h (nexttoward, nextowardf, nexttowardl): Add
1769 2005-05-09 Danny Smith <dannysmith@users.sourceforge.net>
1771 * mingwex/math/nextafterf.c (nextafterf): Correct
1773 * mingwex/math/nextafterl.c: New file.
1774 * mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
1775 (MATH_OBJS): Add nextafterl.o.
1776 * include/math.h (nextafterl): Uncomment prototype.
1778 2005-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1780 * mingwex/math/erfl.c: New file.
1781 * mingwex/Makefile.in (MATH_DISTFILES): Add erfl.c.
1782 (MATH_OBJS): Add erfl.o.
1783 * include/math.h (erfl, erfcl): Uncomment prototypes.
1785 2005-05-04 Danny Smith <dannysmith@users.sourceforge.net>
1787 * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
1788 #if (WCHAR_MAX <= WCHAR_MIN) is false.
1789 * include/stdint.h (WCHAR_MAX): Likwise.
1790 (WINT_MAX): Likewise.
1792 2005-05-03 Danny Smith <dannysmith@users.sourceforge.net>
1794 * mingwex/math/signbit.c (__signbit): Make return value
1795 consistent with GCC's __builtin_signbit.
1796 * mingwex/math/signbitf.c (__signbitf): Likewise.
1797 * mingwex/math/signbitf.c (__signbitl): Likewise.
1798 * include/math.h (__signbit, __signbitf, __signbitl): Likewise
1801 2005-05-02 Danny Smith <dannysmith@users.sourceforge.net>
1803 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
1805 * mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
1806 Remove unused MBTOWC_FLAGS define.
1808 2005-04-23 Danny Smith <dannysmith@users.sourceforge.net>
1810 * mingwex/mbrtowc.c: New file.
1811 * mingwex/wcrtomb.c: New file.
1812 * mingwex/btowc.c: New file.
1813 * mingwex/wctob.c: New file.
1814 * mingwex/mb_wc_common.h: New file.
1815 * mingwex/Makefile.in (DISTFILES): Add new files.
1816 (Q8_OBJS): Add new objects.
1817 * include/wchar.h: Adjust comment about mbrtowc() and related
1818 funcions. Add __restrict__ to pointer params in prototypes.
1819 (wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
1820 arg names from protototypes.
1822 2005-04-23 Wu Yongwei <adah@sh163.net>
1824 * mingwex/dirent.c: Formatting changes.
1825 * mingwex/dirent.c (_topendir): Make the end-of-path slash check
1828 2005-03-31 Danny Smith <dannysmith@users.sourceforge.net>
1830 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
1832 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
1834 * include/stdio.h (__mingw_fwrite): Change return value to
1836 * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
1838 2005-03-15 Hans Leidekker <hans@it.vu.nl>
1840 * include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
1842 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1844 * include/wctype.h (wctrans): Remove _CRTIMP.
1845 (towctrans): Likewise.
1848 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1850 * include/wctype.h: Add comment on wctrans, towctrans, wctype.
1852 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1854 * mingwex/wctype.c: New file.
1855 * mingwex/wctrans.c: New file.
1856 * mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c.
1857 * mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.
1859 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
1861 * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.
1863 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
1865 * include/assert.h: Remove header guard. #undef assert macro.
1866 (_assert): Use __MINGW_ATTRIB_NORETURN define.
1868 2005-02-11 Gregory W. Chicares <chicares@cox.net>
1869 Danny Smith <dannysmith@users.sourceforge.net>
1871 * include/math.h (expm1, expm1f, expmll): Add prototypes.
1872 * mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
1874 (MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
1875 * mingwex/math/expm1.c: New file.
1876 * mingwex/math/expm1f.c: New file.
1877 * mingwex/math/expm1l.c: New file.
1879 2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
1881 * include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
1882 * include/wchar.h (struct stat): Likwwise.
1883 Bug reported to Debian by Anand Kumria <wildfire@progsoc.org>
1885 * include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
1887 2005-02-01 Danny Smith <dannysmith@users.sourceforge.net>
1889 * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
1890 string is not valid.
1892 2005-01-26 Oliver Stoeneberg <oliverst@online.de>
1894 * include/malloc.h: Add missing return code defines for
1897 2005-01-17 Danny Smith <dannysmith@users.sourceforge.net>
1899 * include/sys/stat.h (struct __stat64): Change st_size type to
1901 * include/wchar.h (struct __stat64): Change st_size type to __int64.
1903 2005-01-13 Earnie Boyd <earnie@users.sf.net>
1905 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
1907 * include/errno.h (ELOOP): Ditto.
1908 * include/_mingw.h: Increment version to 3.7.
1909 * Makefile.in: Ditto.
1911 2005-01-11 Danny Smith <dannysmith@users.sourceforge.net>
1913 * include/tchar.h (_tfreopen): Add UNICODE mappings.
1915 2005-01-11 Earnie Boyd <earnie@users.sf.net>
1917 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
1918 lstat): Conditionalize defines for __STRICT_ANSI__.
1920 2005-01-10 Earnie Boyd <earnie@users.sf.net>
1922 * include/errno.h (ELOOP): Add definition.
1924 2005-01-10 Danny Smith <dannysmith@users.sourceforge.net>
1926 * mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
1927 casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
1928 clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
1929 ctanl.c ctanhl.c): New files.
1930 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
1931 (COMPLEX_OBJS): Adjust.
1932 * include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
1933 casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
1934 cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
1937 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
1939 * include/_mingw.h (__int16): Define as short.
1940 Thanks to: Leo Yuriev <leoyuriev at users dot sf dot net>
1942 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
1944 * include/stdio.h (P_tmpdir): Add define.
1946 2005-01-03 Earnie Boyd <earnie@users.sf.net>
1948 * Makefile.in (inst_docdir): For Cygwin target set to share/doc/.
1950 2005-01-02 Earnie Boyd <earnie@users.sf.net>
1952 * include/_mingw.h: Increment version to 3.6
1953 * Makefile.in: Ditto
1955 2004-12-26 Danny Smith <dannysmith@users.sourceforge.net>
1957 * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
1958 casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
1959 clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
1960 ctanf.c ctanhf.c): New files.
1961 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
1962 (COMPLEX_OBJS): Adjust.
1963 * include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
1964 casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
1965 cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
1968 2004-12-20 Danny Smith <dannysmith@users.sourceforge.net>
1970 * include/wchar.h (wcsdup): Correct prototype.
1971 * include/string.h (wcsdup): Correct prototype.
1973 2004-10-14 Danny Smith <dannysmith@users.sourceforge.net>
1975 * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
1977 2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
1979 * mingwex/math/fastmath.h: New file.
1980 * mingwex/math/asinh.c: New file.
1981 * mingwex/math/asinhf.c: New file.
1982 * mingwex/math/asinhl.c: New file.
1983 * mingwex/math/acosh.c: New file.
1984 * mingwex/math/acoshf.c: New file.
1985 * mingwex/math/acoshl.c: New file.
1986 * mingwex/math/atanh.c: New file.
1987 * mingwex/math/atanhf.c: New file.
1988 * include/math.h (asinh, asinhf, asinhl, acosh, acoshf, acoshl,
1989 atanh, atanhf, atanhl): Add prototypes.
1990 * mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
1991 (MATH_DISTFILES): Add sources for above and fastmath.h to list.
1992 Specify dependency on fastmath.h for new objects.
1994 2004-09-08 Earnie Boyd <earnie@users.sf.net>
1996 * include/sys/stat.h (_S_IFLNK): Add definition.
2003 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2005 * include/sys/stat.h (_S_ISLNK): Add definition.
2008 2004-09-05 Earnie Boyd <earnie@users.sf.net>
2010 * include/_mingw.h: Increment minor version for 3.5 release.
2011 * Makefile.in: Ditto.
2012 * mingwex/Makefile.in: Correct typo in list of DISTFILES.
2014 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2016 * include/malloc.h (__mingw_aligned_offset_malloc,
2017 __mingw_aligned_offset_realloc, __mingw_aligned_malloc,
2018 __mingw_aligned_realloc, __mingw_aligned_free): Add
2020 * mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
2021 tst-aligned-malloc.c.
2022 (REPLACE_OBJS): Add mingw-aligned-malloc.o.
2024 2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
2026 * mingwex/mingw-aligned-malloc.c: New file.
2027 * mingwex/tst-aligned-malloc.c: New file.
2029 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2031 * crt1.c: (__mingw_CRTStartup): Change return to void. Add
2032 noreturn attribute. Align stack to 16 bytes before passing args
2034 (mainCRTStartup): Change return to void.
2035 (WinMainCRTStartup): Likewise.
2037 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2039 * profile/COPYING: New file.
2040 * profile/CYGWIN_LICENSE: New file.
2041 * profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
2043 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2045 * mingwex/fopen64.c: Move.
2046 * mingwex/fseeko64.c: Move.
2047 * mingwex/ftello64.c: Move.
2048 * mingwex/lseek64.c: Move.
2049 * mingwex/stdio/fopen64.c: To here.
2050 * mingwex/stdio/fseeko64.c: To here.
2051 * mingwex/stdio/ftello64.c: To here.
2052 * mingwex/stdio/lseek64.c: To here.
2054 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2056 * profile/gmon.c [__MINGW32__]: Include string.h for
2059 2004-08-08 Christopher Faylor <cgf@timesys.com>
2061 * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
2063 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2065 * include/complex.h: Remove __attribute__ ((const)) from
2066 transcendantal and trig functions. Replace __attribute__ ((const))
2067 with __MINGW_ATTRIB_CONST on other declarations.
2069 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2071 * include/wchar.h: Reorganize, avoid including other headers.
2073 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2075 * include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
2076 (strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
2079 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2081 * include/dirent.h (struct _wdirent): Remove obsolete comment.
2083 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2085 * include/string.h: Revert 2004-07-26 additions of
2088 2004-07-28 Danny Smith <dannysmith@users.sourceforge.net>
2090 * mingwex/math/powl.c (powl): Revert change of 2004-02-01.
2091 (__convert_inf_to_maxnum): New.static inline.
2092 (reducl): Use it to protect against Inf - Inf.
2093 (__fast_ldexpl): New function. Use in lieu of ldexpl.
2095 2004-07-27 Danny Smith <dannysmith@users.sourceforge.net>
2097 * mingwex/math/expl.c (expl): Move body of code to new static
2098 function __expl, removing tests for +/-Inf. Extern function
2099 expl calls __expl after testing for max, min log thresholds.
2101 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2103 * mingwex/stdio/vsscanf.c: Add "edi" to registers-modified field
2104 * mingwex/stdio/vfscanf.c: Likewise.
2105 * mingwex/stdio/vswscanf.c: Likewise.
2106 * mingwex/stdio/vfwscanf.c: Likewise.
2108 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2110 * include/_mingw.h: Use only two underscores to uglify
2111 __MINGW_ATTRIB_* macros.
2112 * include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
2113 * include/setjmp.h: Likewise.
2115 * include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
2117 (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
2119 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2121 * include/string.h: Group wide string functions together,
2122 and protect with _WSTRING_DEFINED.
2124 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2126 * include/_mingw.h (__MINGW_ATTR_*): Replace with
2128 * include/stdlib.h (_ATTRIB_NORETURN): Replace with
2129 __MINGW_ATTRIB_NORETURN, throughout.
2130 (malloc): Declare with __MINGW_ATTRIB_MALLOC.
2132 (abs): Declare with __MINGW_ATTRIB_CONST.
2141 * include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
2143 2004-07-21 Danny Smith <dannysmith@users.sourceforge.net>
2145 * include/_mingw.h: Undefine __attribute__.
2146 (__MINGW_ATTR_NORETURN): New define.
2147 (__MINGW_ATTR_CONST): New define.
2148 (__MINGW_ATTR_MALLOC): New define.
2149 (__MINGW_ATTR_PURE): New define.
2150 (_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
2153 2004-07-19 Danny Smith <dannysmith@users.sourceforge.net>
2155 * include/time.h (__time64_t): Add missing ';'.
2157 2004-07-17 Danny Smith <dannysmith@users.sourceforge.net>
2159 * include/time.h (wcsftime): Move out of !__STRICT_ANSI
2161 (struct tm): Protect with _TM_DEFINED.
2163 2004-07-17 Christopher Faylor <cgf@timesys.com>
2165 * Makefile.in (CC): Strip inappropriate include file settings from any
2168 2004-07-15 "dgun" <dgun@umpire.com>
2170 * include/complex.h (conj): Correct typo in prototype.
2172 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2174 * include/math.h: Add pragma GCC system_header.
2176 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2178 * mingwex/complex/carg.c: New file.
2179 * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
2181 2004-07-15 Corinna Vinschen <corinna@vinschen.de>
2183 * Makefile.in (INCLUDES): Temporarily revert previous change.
2184 * mingwex/Makefile,in (INCLUDES): Ditto.
2185 * profile/Makefile,in (INCLUDES): Ditto.
2186 * mingwex/Makefile,in: Drop carg.o dependency.
2188 2004-07-14 Christopher Faylor <cgf@timesys.com>
2190 * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
2192 2004-07-14 Danny Smith <dannysmith@users.sourceforge.net>
2194 * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
2196 * mingwex/Makefile,in (INCLUDES): Ditto.
2197 * profile/Makefile,in (INCLUDES): Ditto.
2199 * mingwex/Makefile,in: Add carg.o to libmingwex.a.
2201 2004-07-13 Earnie Boyd <earnie@users.sourcefourge.net>
2203 * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
2205 * mingwex/Makefile.in: Ditto.
2206 * profile/Makefile.in: Ditto.
2207 * include/limits.h: Change to new file header preamble.
2208 * include/_mingw.h: Increment minor version for 3.4 release.
2209 * Makefile.in: Ditto.
2211 2004-07-12 Danny Smith <dannysmith@users.sourceforge.net>
2213 * mingwex/math/cephes_emath.h (__etens): Remove declaration.
2215 2004-07-11 Danny Smith <dannysmith@users.sourceforge.net>
2217 * include/unistd.h (ftruncate): Add inline definition.
2218 * mingwex/ftruncate.c: New file.
2219 * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
2221 2004-07-10 Danny Smith <dannysmith@users.sourceforge.net>
2223 * include/time.h: Do not include sys/types.h.
2225 2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
2227 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
2228 (MATH_OBJS): Remove pow,o.
2229 * include/math.h (pow): Declare with _CRTIMP.
2230 Add comment on how to avoid excess precision problems.
2232 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
2234 * include/stdio.h (__mingw_fseeko64): Add prototype.
2235 * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
2236 (__mingw_fwrite): Handle huge files.
2238 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
2239 Danny Smith <dannysmith@users.sourceforge.net>
2241 * include/stdio.h (fopen64): Add inline function.
2242 (fseeko64): Add prototype.
2243 (ftello64): Add inline function.
2244 * include/io.h (lseek64): Add inline function.
2245 * include/sys/types (off64_t): Add typedef.
2246 (fpos64_t): Add typedef.
2247 * mingwex/fopen64.c: New file.
2248 * mingwex/fseeko64.c: New file.
2249 * mingwex/ftello64.c: New file.
2250 * mingwex/lseek64.c: New file.
2251 * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
2252 fseeko.64.c, ftello64.c, lseek64.c.
2253 (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
2255 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
2257 * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
2259 2004-04-22 Earnie Boyd <earnie@users.sf.net>
2261 * DISCLAIMER: Add words about "free to use".
2262 * README: Modify "Win32 runtime" to "Microsoft C Runtime".
2263 * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
2264 (inst_docdir): New variable.
2266 (FLAGS_TO_PASS): Include inst_docdir.
2267 (install-dirs): Add inst_docdir.
2268 (install): Add loop for INSTDOCS.
2269 * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
2270 section to CONTRIBUTORS file. Remove RCS tags.
2272 2004-04-22 Danny Smith <dannysmith@users.sourceforge.net>
2274 * mingwex/math/lround.c: Rewrite.
2275 * mingwex/math/lroundf.c: Rewrite.
2276 * mingwex/math/lroundl.c: Rewrite.
2277 * mingwex/math/llround.c: Rewrite.
2278 * mingwex/math/llroundf.c: Rewrite.
2279 * mingwex/math/llroundl.c: Rewrite.
2281 2004-04-20 Earnie Boyd <earnie@users.sf.net>
2283 * CONTRIBUTORS: New file.
2284 * DISCLAIMER: Ditto.
2285 * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
2286 section to CONTRIBUTORS file. Remove RCS tags.
2287 * CRTFmode.c: Ditto.
2291 * crtdll.dev: Ditto.
2301 * msvcrt.def.in: Ditto.
2302 * strcasecmp.c: Ditto.
2305 * include/assert.h: Ditto.
2306 * include/conio.h: Ditto.
2307 * include/ctype.h: Ditto.
2308 * include/direct.h: Ditto.
2309 * include/dirent.h: Ditto.
2310 * include/dos.h: Ditto.
2311 * include/errno.h: Ditto.
2312 * include/excpt.h: Ditto.
2313 * include/fcntl.h: Ditto.
2314 * include/float.h: Ditto.
2315 * include/io.h: Ditto.
2316 * include/locale.h: Ditto.
2317 * include/malloc.h: Ditto.
2318 * include/math.h: Ditto.
2319 * include/process.h: Ditto.
2320 * include/setjmp.h: Ditto.
2321 * include/share.h: Ditto.
2322 * include/signal.h: Ditto.
2323 * include/stdio.h: Ditto.
2324 * include/stdlib.h: Ditto.
2325 * include/string.h: Ditto.
2326 * include/tchar.h: Ditto.
2327 * include/time.h: Ditto.
2328 * include/wchar.h: Ditto.
2329 * include/sys/locking.h: Ditto.
2330 * include/sys/param.h: Ditto.
2331 * include/sys/stat.h: Ditto.
2332 * include/sys/timeb.h: Ditto.
2333 * include/sys/types.h: Ditto.
2334 * include/sys/utime.h: Ditto.
2335 * mingwex/dirent.c: Ditto.
2337 2004-04-19 Earnie Boyd <earnie@users.sf.net>
2339 * include/_mingw.h: Revert to primary release 3 and increment minor
2341 * Makefile.in (VERSION): Ditto.
2343 2004-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2345 * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
2346 _fmode if not __MSVCRT__.
2348 2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
2350 * include/io.h: (_findfirst): Correct prototype.
2352 2004-03-30 Hans Leidekker <hans@it.vu.nl>
2354 * include/io.h: (_findnext, _findclose): Correct prototype.
2356 2004-03-28 Hans Leidekker <hans@it.vu.nl>
2358 * include/math.h (FP_*): Add defines.
2360 2004-03-29 Danny Smith <dannysmith@users.sourceforge.net>
2362 * mingwex/math/round.c: Rewrite.
2363 * mingwex/math/roundf.c: Rewrite.
2364 * mingwex/math/roundl.c: Rewrite.
2366 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2368 * include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.
2369 * include/time.h (__time64_t): Add typedef.
2370 (_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2371 (_ctime64): Likewise.
2372 (_wctime64): Likewise.
2373 (_gmtime64): Likewise.
2374 (_localtime64): Likewise.
2375 (wcsftime): Move into _WTIME_DEFINED block.
2376 Regroup non-ANSI prototypes.
2377 * include/io.h: Include <stdint.h>.
2378 (__finddata64_t): Add struct definition.
2379 (__wfinddata64_t): Likewise.
2380 (_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2381 (_findnext64): Likewise.
2382 (_wfindfirst64): Likewise.
2383 (_wfindnext64): Likewise.
2384 * include/sys/timeb.h (__timeb64): Add struct definition.
2385 (_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2386 * include/sys/utime.h (__utimbuf64): Add struct definition.
2387 (_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2388 (_futime64): Likewise.
2389 (_wutime64): Likewise.
2390 * include/sys/stat.h (__stat64): Add struct definition.
2391 (_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2392 (_stat64): Likewise.
2393 (_wstat64): Likwise.
2394 * include/sys/types.h (__time64_t): Add typedef.
2395 * include/wchar.h (__wfinddata64_t): Add structure definition.
2396 (__stat64): Likewise.
2397 (_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2398 (_wfindfirst64): Likewise.
2399 (_wfindnext64): Likewise.
2400 (_wutime64): Likewise.
2401 (_wstat64): Likwise.
2402 * include/malloc.h (_aligned_free): Add prototype for
2403 __MSVCRT_VERSION__ >= 0x0700.
2404 (_aligned_malloc): Likewise.
2405 (_aligned_offset_malloc): Likewise.
2406 (_aligned_offset_realloc): Likewise.
2407 (_aligned_realloc): Likewise.
2408 * include/string.h (_wcserror): Add prototype for
2409 __MSVCRT_VERSION__ >= 0x0700.
2410 (__wcserror): Likewise.
2411 * include/math.h (_set_SSE2_enable): Add prototype for
2412 __MSVCRT_VERSION__ >= 0x0701.
2414 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2416 * include/stdio.h (_fsopen): Add prototype.
2417 * include/tchar.h (_tfsopen): Add defines.
2418 Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
2420 2004-03-19 Danny Smith <dannysmith@users.sourceforge.net>
2422 * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
2423 msvcr70.dll, and msvcr71.dll.
2424 * Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant
2425 using basename of output def file.
2427 2004-03-13 Danny Smith <dannysmith@users.sourceforge.net>
2429 * include/malloc.h: Remove __STRICT_ANSI__ guard.
2431 2004-03-11 Brian Keener <bkeener@thesoftwaresource.com>
2433 * include/process.h: Remove the #endif associated with removal of
2434 __STRICT_ANSI__ guard from non-ANSI header.
2436 2004-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2438 * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
2439 * include/direct.h: Ditto.
2440 * include/dirent.h: Ditto.
2441 * include/dos.h: Ditto.
2442 * include/excpt.h: Ditto.
2444 * include/io.h: Ditto.
2445 * inlude/mem.h: Ditto.
2446 * include/memory.h: Ditto.
2447 * include/process.h: Ditto.
2448 * inlude/search.h: Ditto.
2449 * include/share.h: Ditto.
2450 * include/unistd.h: Ditto.
2451 * include/sys/fcntl.h: Ditto.
2452 * include/file.h: Ditto.
2453 * include/sys/locking.h: Ditto.
2454 * include/sys/param.h: Ditto.
2455 * include/sys/stat,h
2456 * include/sys/time.h: Ditto.
2457 * include/sys/timeb.h: Ditto.
2458 * include/sys/types.h: Ditto.
2459 * include/sys/unistd.h: Ditto.
2460 * include/sys/utime.h: Ditto.
2462 2004-02-21 Danny Smith <dannysmith@users.sourceforge.net>
2464 * include/_mingw.h (__UNUSED_PARAM): Define macro.
2465 * include/wchar.h (fwide): Use it.
2468 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2470 * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
2471 NetBSD getopt_long.c.
2473 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2475 * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
2476 codes and handling of special chars.
2478 2004-02-02 Danny Smith <dannysmith@users.sourceforge.net>
2480 * include/stdio.h (feof): Add inlined definition.
2483 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2485 * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
2486 directly, rather than via scabnl.
2488 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2490 * mingwex/math/powl.c (powl): Return infinity if
2491 extended precision multiplication of x by log2(y)
2494 2004-01-31 Danny Smith <dannysmith@users.sourceforge.net>
2496 * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
2497 (__enan_NI16): Fix another one.
2498 (__enan_NBITS): Tidy.
2500 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
2502 * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
2503 types. (Thanks to John Maddock for report.)
2505 2004-01-14 Greg Chicares <chicares@users.sourceforge.net>
2507 * include/tchar.h (_puttchar): Define.
2509 2003-12-13 Danny Smith <dannysmith@users.sourceforge.net>
2511 * include/stdio.h:(_fileno): Define macro version after both
2512 fileno and _fileno functions declared.
2514 * include/stdio.h (_rmtmp, rmtmp): Add prototypes.
2515 * moldnames.def.in (rmtmp) Add stub.
2517 2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
2519 * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
2521 2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
2523 * include/math.h: Guard ISO C99 additions with __cplusplus
2526 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2528 * include/_mingw.h: Define __attribute__((x)) to nothing
2531 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2533 * include/complex.h: New file.
2534 * mingwex/complex: New directory.
2535 * mingwex/complex/cabs.c: New file.
2536 * mingwex/complex/cacos.c: New file.
2537 * mingwex/complex/cacosh.c: New file.
2538 * mingwex/complex/casin.c: New file.
2539 * mingwex/complex/casinh.c: New file.
2540 * mingwex/complex/catan.c: New file.
2541 * mingwex/complex/catanh.c: New file.
2542 * mingwex/complex/ccos.c: New file.
2543 * mingwex/complex/ccosh.c: New file.
2544 * mingwex/complex/cexp.c: New file.
2545 * mingwex/complex/cimag.c: New file.
2546 * mingwex/complex/clog.c: New file.
2547 * mingwex/complex/cpow.c: New file.
2548 * mingwex/complex/cproj.c: New file.
2549 * mingwex/complex/creal.c: New file.
2550 * mingwex/complex/csin.c: New file.
2551 * mingwex/complex/csinh.c: New file.
2552 * mingwex/complex/csqrt.c: New file.
2553 * mingwex/complex/ctan.c: New file.
2554 * mingwex/complex/ctanh.c: New file.
2555 * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
2558 (COMPLEX_OBJS): New list of objects.
2559 (LIB_OBJS): Include it in the library.
2561 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2563 * include/math.h (cabs): Remove non-ISO prototype.
2565 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2567 * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
2568 Use GCC __builtin's if available.
2569 (INFINITY, INFINITYF, INFINITYL): Likewise.
2571 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2573 * mingwex/math/s_erf.c (erf): Set errno to ERANGE if
2574 beyond approximation limit.
2575 * mingwex/math/sf_erf.c (erff): Likewise.
2577 2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
2579 * include/stdio.h (getc): Cast result to unsigned char before
2582 (getchar): Likewise.
2583 (putchar): Likewise.
2584 Thanks to M.Fujii <boochang@m4.kcn.ne.jp>
2586 2003-10-10 Earnie Boyd <earnie@users.sf.net>
2588 * include/_mingw.h: Increment version to 3.2.
2589 * Makefile.in: Ditto.
2591 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2593 * include/sys/types.h: Revert last change.
2595 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2597 * include/sys/types.h (ssize_t): Correct the definition.
2599 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2601 * include/stdio.h (_filbuf): Add prototype.
2602 (_flsbuf): Add prototype.
2603 (getc): Add inline version.
2605 (getchar): Likewise.
2606 (putchar): Likewise.
2608 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2610 * mingwex/dirent.c (_treaddir): Reset errno to 0 if end
2613 2003-09-29 Danny Smith <dannysmith@users.sourceforge.net>
2615 * include/stdlib.h: Guard non-ISO functions with
2616 !__STRICT_ANSI__, throughout.
2618 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2620 * include/io.h (_fileno): Remove prototype.
2622 (FILENAME_MAX): Define, if needed.
2623 Don't include <stdio.h>.
2624 * include/stdio.h (FILENAME_MAX): Protect against
2626 (_fileno): Define macro implementation.
2629 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2631 * include/inttypes.h: Include _mingw.h.
2633 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2635 * include/_mingw.h (__CRT_INLINE): Define.
2636 * include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
2638 * include/inttypes.h: Likewise.
2639 * include/math.h: Likewise.
2640 * include/stdio.h: Likewise.
2641 * include/stdlib.h: Likewise.
2642 * include/string.h: Likewise.
2643 * include/wchar.h: Likewise.
2644 * include/wctype.h: Likewise.
2646 2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
2648 * mingwex/dirent.c (_topendir): Allocate enough memory for
2649 DIR struct in UNICODE case too.
2651 2003-09-15 Earnie Boyd <earnie@users.sf.net>
2653 * include/_mingw.h: Increment version to 3.2.
2654 * Makefile.in: Ditto.
2656 2003-07-03 Earnie Boyd <earnie@users.sf.net>
2658 * config.guess, config.sub: Update with versions from ftp.gnu.org.
2660 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2662 * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
2663 * mingwex/math/truncf.c (truncf): Likewise.
2664 * mingwex/math/truncl.c (truncl): Likewise.
2665 * mingwex/math/modff.c (modff): Likewise.
2666 * mingwex/math/modfl.c (modfl): Likewise.
2668 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2670 * include/search.h: New file.
2671 * include/stdlib.h: Add comment about qsort, bsearch in
2673 * test_headers.c: Include search.h.
2674 * moldname.def.in (lfind, lsearch): Add.
2676 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2678 * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
2679 _execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
2680 execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
2682 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2684 * include/_mingw.h (small, hyper): Change to __small and __hyper to
2685 avoid user space name conflicts.
2687 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2689 * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
2690 Note: Also added to w32api/include/basetyps.h.
2691 * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
2692 Rename to Small (case difference).
2694 2003-06-18 Earnie Boyd <earnie@users.sf.net>
2696 * include/dirent.h (dirent): Make d_name and array instead of a pointer.
2697 * mingwex/dirent.c: Modifications througout to fill d_name array.
2698 * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
2699 libmsvcr71, including debug versions.
2700 (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
2702 2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
2704 * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
2705 __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
2707 Thanks to: Aaron W LaFramboise <AWLaFramboise@aol.com>
2709 2003-05-30 Sascha Sommer <saschasommer@freenet.de>
2711 * include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
2713 2003-05-15 Danny Smith <dannysmith@users.sourceforge.net>
2715 * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
2716 but still protect inline definition with __STRICT_ANSI__.
2718 2003-05-14 Danny Smith <dannysmith@users.sourceforge.net>
2720 * string_old.c: Remove, splitting into...
2721 * strcasecmp.c: New file.
2722 * strncasecmp.c: New file.
2723 * wscmpi.c : New file.
2724 * ctype_old.c: Remove, splitting into...
2725 * isascii.c: New file.
2726 * iscsym.c: New file.
2727 * iscsymf.c: New file.
2728 * toascii.c: New file.
2729 * Makefile.in (MOLD_OBJS): Adjust.
2730 (SRCDIST_FILES): Adjust.
2732 2003-05-13 Danny Smith <dannysmith@users.sourceforge.net>
2734 * include/math.h (fabs) : Remove inline definition.
2738 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2740 * include/_mingw.h: Change version to 3.0
2741 * Makefile.in: Ditto.
2743 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2745 * configure.in (W32API_INCLUDE): Need the -I switch in the value.
2746 * mingwex/configure.in (W32API_INCLUDE): Ditto.
2747 * profile/configure.in (W32API_INCLUDE): Ditto.
2749 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2751 * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
2752 of multiply defined symbols if the symbols is defined locally. E.G.:
2753 A local definition of malloc causes this problem.
2754 * configure: Regenerate.
2755 * profile/Makefile.in (W32API_INCLUDE): New variable.
2756 (ALL_CFLAGS): Use W32API_INCLUDE value.
2757 (ALL_CXXFLAGS): Ditto.
2758 (gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
2759 Thanks to Jeff Bonggren <jbon@users.sf.net>.
2760 * profile/configure.in (W32API_INCLUDE): Set default value.
2761 * profile/configure: Regenerate.
2762 * mingwex/Makefile.in (W32API_INCLUDE): New variable.
2763 (ALL_CFLAGS): Use W32API-INCLUDE value.
2764 (ALL_CXXFLAGS): Ditto.
2765 * mingwex/configure.in (W32API_INCLUDE): Set default value.
2766 * mingwex/configure: Regenerate.
2768 2003-05-05 Earnie Boyd <earnie@users.sf.net>
2770 * Makefile.in (W32API_INCLUDE): New variable.
2771 (ALL_CFLAGS): Use W32API_INCLUDE value.
2772 (ALL_CXXFLAGS): Ditto.
2773 * configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
2774 (W32API_INCLUDE): Set default value.
2775 * configure: Regenerate.
2777 2003-04-11 Earnie Boyd <earnie@users.sf.net>
2779 * configure.in (LIBM_A): Define for cygwin target.
2780 * configure (LIBM_A): Ditto.
2782 2003-04-07 Danny Smith <dannysmith@users.sourceforge.net>
2784 * include/time.h (strftime): Remove duplicate declaration.
2786 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2788 * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
2790 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2792 * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
2793 * mingwex/strtoimax.c (strtoimax): Likewise.
2794 * mingwex/wcstoimax.c (wcstoimax): Likewise.
2795 * mingwex/wtoll.c (wtoll): Remove unnecessary ';'
2796 * mingwex/fesentenv.c: Include float.h.
2797 * mingwex/math/powl.c: Eliminate type punning/strict aliasing
2799 * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
2801 * mingwex/math/tgammal.c: Likewise.
2803 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2805 * include/utime.h: New file, forwarding to sys/utime.h.
2807 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2809 * include/sys/param.h (MAXPATHLEN): Define.
2811 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2813 * include/tchar.h: Ansi-fy a comment.
2815 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2817 * profile/profile.h (mcount): Use __builtin_return_address
2818 rather than inline __asm statements.
2819 * profile/Makefile.in: Remove special rule for mcount.o
2820 Specify dependencies for mcount.o profil.o gmon.o.
2822 2003-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2824 * include/stdlib.h (qsort): Remove const from first parm.
2825 Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
2827 2003-03-03 Christopher Faylor <cgf@redhat.com>
2829 * mingwex/getopt.c: Refresh from NetBSD sources.
2831 2003-03-03 Danny Smith <dannysmith@users.sourceforge.net>
2833 * mingwex/getopt.c: New file, copied from cygwin srcs.
2834 * include/getopt.h: New file, copied from cygwin srcs.
2835 * include/unistd.h: Include getopt.h.
2836 * mingwex/Makefile.in (DISTFILES): Add getopt.c.
2837 (POSIX_OBJS): Add getopt.o.
2839 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
2841 * include/stdio.h (vscanf): Add prototype.
2847 * include/wchar.h (vwscanf): Add prototype.
2850 * mingwex/snprintf.c: Move to mingwex/stdio.
2851 * mingwex/vsnprintf.c: Ditto.
2852 * mingwex/snwprintf.c: Ditto.
2853 * mingwex/vsnwprintf.c: Ditto.
2854 * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
2855 (STDIO_DISTFILES): Add.
2856 (DISTFILES): Adjust.
2857 (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
2861 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com>
2863 * mingwex/stdio: New directory
2864 * mingwex/stdio/vfscanf.c: New file.
2865 * mingwex/stdio/vfwscanf.c: New file.
2866 * mingwex/stdio/vscanf.c: New file.
2867 * mingwex/stdio/vsscanf.c: New file.
2868 * mingwex/stdio/vswscanf.c: New file.
2869 * mingwex/stdio/vwscanf.c: New file.
2871 2003-02-25 Earnie Boyd <earnie@users.sf.net>
2873 * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
2874 (libmsvcrt40.a): Ditto.
2876 2003-02-21 Earnie Boyd <earnie@users.sf.net>
2878 Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
2880 * Makefile.in (libmsvcrtd.a): Add target library.
2881 (libmoldnamed.a): Ditto.
2882 (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
2884 ($(srcdir)): Remove explicit reference for depencies of object targets.
2885 * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
2886 msvcrt20.def, msvcrt40.def: Remove.
2887 * msvcrt.def.in: New file (Copy of previous msvcrt.def).
2889 2003-02-20 Corinna Vinschen <corinna@vinschen.de>
2891 * Makefile.in: Make sure libmingwex.a from current build tree is used.
2893 2003-02-14 Christopher Faylor <cgf@redhat.com>
2895 * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
2896 ensure -mno-cygwin where appropriate. Filter out -O2.
2898 2003-02-13 Danny Smith <dannysmith@users.sourceforge.net>
2900 * profile/Makefile.in (mcount.o): Use -O1 optimization
2903 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
2905 * include/math.h: Remove _CRTIMP from pow() prototype,
2906 unless __NO_ISOCEXT.
2908 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
2910 * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
2912 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
2914 * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
2915 __declspec(dllimport) supported.
2916 (__cdecl): Define if not already defined.
2917 (__stdcall): Likewise.
2918 * include/dirent.h: Qualify fuctions with __cdecl.
2919 * include/fenv.h: Likewise.
2920 * include/inttypes.h: Likewise.
2921 * include/assert.h: Qualify fuctions with __cdecl. Qualify
2922 CRT dll imports with _CRTIMP.
2923 * include/conio.h: Likewise.
2924 * include/ctype.h: Likewise.
2925 * include/direct.h: Likewise.
2926 * include/dos.h: Likewise.
2927 * include/errno.h: Likewise.
2928 * include/float.h: Likewise.
2929 * include/io.h: Likewise.
2930 * include/locale.h: Likewise.
2931 * include/malloc.h: Likewise.
2932 * include/math.h: Likewise.
2933 * include/mbctype.h: Likewise.
2934 * include/mbstring.h: Likewise.
2935 * include/process.h: Likewise.
2936 * include/setjmp.h: Likewise.
2937 * include/signal.h: Likewise.
2938 * include/stdio.h: Likewise.
2939 * include/stdlib.h: Likewise.
2940 * include/string.h: Likewise.
2941 * include/time.h: Likewise.
2942 * include/wchar.h: Likewise.
2943 * include/wctype.h: Likewise.
2944 * include/sys/stat.h: Likewise.
2945 * include/sys/timeb.h: Likewise.
2946 * include/sys/utime.h: Likewise.
2948 * include/ctype.h: Guard ctype inlines with __NO_INLINE__.
2949 * include/wctype.h: Guard wctype inlines with __NO_INLINE__.
2951 * include/stdio.h (__VALIST): Guard against prior definition.
2953 2003-02-08 Earnie Boyd <earnie@users.sf.net>
2955 * include/_mingw.h: Change version to 3.0
2956 * Makefile.in: Ditto.
2958 2003-02-08 Earnie Boyd <earnie@users.sf.net>
2960 * include/stdlib.h: Make words after #endif a comment.
2962 2003-02-07 Danny Smith <dannysmith@users.sourceforge.net>
2964 * include/locale.h: Include stddef.h for definition of NULL.
2966 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
2968 * include/math.h (tgamma): Correct typo in comment.
2970 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
2972 * mingwex/mingw-fseek.c (INLINE): Remove define.
2973 (__mingw_is_win9x): Remove static inline function.
2974 (_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
2976 2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
2978 * mingwex/math/llround.c: Correct function name and
2979 change return value to long long.
2981 2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
2983 * include/ctype.h (__isascii): Don't cast arg to unsigned.
2984 (iswascii): Likewise. Correct mask.
2985 * include/wctype.h (iswascii): Don't cast arg to unsigned.
2988 2003-01-03 Danny Smith <dannysmith@users.sourceforge.net>
2990 * include/stdlib.h (_osver, _winver, _winmajor,
2991 _winminor): Declare as direct imports from dll if
2992 __DECLSPEC_SUPPORTED.
2994 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
2996 * pseudo-reloc.c (do_pseudo_reloc): Make static.
2997 * pseudo-reloc-list.c: New file.
2998 * crt1.c (_pei386_runtime_relocator): Declare.
2999 (__mingw_CRTStartup): Call it.
3000 * dllcrt1.c (_pei386_runtime_relocator): Declare.
3001 (DllMainCRTStartup): Call it.
3002 * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to
3005 2003-01-01 Egor Duda <deo@logos-m.ru>
3007 * pseudo-reloc.c: New file.
3009 2002-12-20 Earnie Boyd <earnie@users.sf.net>
3011 * include/_mingw.h: Increment version to 2.4.
3014 2002-12-12 Earnie Boyd <earnie@users.sf.net>
3016 * include/malloc.h (_alloca): Add definition.
3019 2002-12-08 Danny Smith <dannysmith@users.sourceforge.net>
3021 * mingwex/math/s_erf.c: New file.
3022 * mingwex/math/sf_erf.c: New file.
3023 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3024 (MATH_OBJS): Add new objects.
3025 * include/math.h (erf[f]): Add prototypes.
3026 (erfc[f]): Add prototypes.
3028 2002-12-07 Danny Smith <dannysmith@users.sourceforge.net>
3030 * include/math.h: Add traditional/XOPEN math constants.
3032 2002-11-27 Danny Smith <dannysmith@users.sourceforge.net>
3034 * mingwex/math/lgamma.c: New file.
3035 * mingwex/math/lgammaf.c: New file.
3036 * mingwex/math/lgammal.c: New file.
3037 * mingwex/math/tgamma.c: New file.
3038 * mingwex/math/tgammaf.c: New file.
3039 * mingwex/math/tgammal.c: New file.
3040 * mingwex/math/cephes_mconf (polevlf): Add float version.
3042 Define _CEPHES_USE_ERRNO.
3043 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3044 (MATH_OBJS): Add new objects.
3045 * include/math.h (lgamma[fl]): Add prototypes.
3046 (tgamma[fl]): Add prototypes.
3048 2002-11-26 Danny Smith <dannysmith@users.sourceforge.net>
3050 * mingwex/strtold.c: New file.
3051 * mingwex/wcstold.c: New file.
3052 * mingwex/ldtoa.c: New file.
3053 * mingwex/math/cephes_emath.h: New file.
3054 * mingwex/math/cephes_emath.c: New file.
3055 * mingwex/Makefile.in (DISTFILES): Add new files.
3056 (MATH_DISTFILES): Ditto.
3057 (STDLIB_OBJS): New. Define as strtold.c wcstold.c.
3058 (MATH_OBJS): Add cephes_emath.o.
3059 (LIB_OBJS): Add $(STDLIB_OBJS).
3060 * include/stdlib.h (strtold, wcstold): Add prototypes.
3061 * include/wchar.h (wcstold): Add prototype.
3063 2002-11-09 Danny Smith <dannysmith@users.sourceforge.net>
3065 * include/math.h (sqrt): Remove inline definition.
3066 (sqrtf): Replace inline definition with prototype.
3068 * mingwex/math/sqrtf.c (sqrtf): Set domain error if
3069 argument less than zero.
3070 * mingwex/math/sqrtf.c (sqrtl): Likewise.
3072 2002-10-30 Guido Serassio <serassio@libero.it>
3074 * include/stdio.h (_getmaxstdio): Add prototype.
3075 (_setmaxstdio): Likewise.
3077 2002-10-19 Kang Li <rubylith@users.sourceforge.net>
3079 * include/fcntl.h (O_SEQUENTIAL): Correct typo.
3081 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3083 * crt1.c: Define new macro __IN_MINGW_RUNTIME before including
3085 Define WIN32_MEAN_AND_LEAN before including windows.h
3086 * include/stdlib.h (_fmode): Protect declaration as dllimported
3087 variable with __IN_MINGW_RUNTIME.
3089 2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu>
3091 * crt1.c: Include stdlib.h.
3093 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3095 * Makefile.in (CRT0S): Add txtmode.o binmode.o.
3096 (MINGW_OBJS): Add txtmode.o.
3097 (SRCDIST_FILES): Add txtmode.c binmode.c.
3098 crt1.c: Don't include fcntrl.h, stdlib.h.
3099 (_fmode): Declare, without dllimport attribute.
3100 (__p__fmode): Declare access function for dll's _fmode.
3101 (_mingw32_init_fmode): Sync dll _fmode with staticly linked
3103 * txtmode.c: New file.
3104 * binmode.c: New file.
3105 * samples/fmode/test2.c: New file.
3106 * samples/fmode/jamfile: Add test2.exe target.
3108 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3110 * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
3111 macros work with C89.
3112 (INTMAX_C, UINTMAX_C): Likewise.
3114 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3116 * include/string.h (strcasecmp): Make extern __inline__.
3117 (strncasecmp): Likewise.
3118 (wcscmpi): Likewise.
3120 2002-10-08 Heiko Gerdau <hg@technosis.de>
3122 * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
3123 _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
3126 2002-10-07 Danny Smith <dannysmith@users.sourceforge.net>
3128 * mingwex/math/powil.c: Rename powil to __powil.
3129 * mingwex/math/powl.c: Adjust declaration and call
3130 to __powil. Remove comment on powil.
3131 * mingwex/math/powi.c: New file.
3132 * mingwex/math/powif.c: New file.
3133 * mingwex/math/pow.c: New file.
3134 * mingwex/math/cephes_mconf.h. Add double and float
3135 versions of constants.
3136 (polevl): Add double precision function.
3138 * mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
3140 (MATH_OBJS): Add pow.o, powi.o, powif.o.
3142 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3144 * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
3145 (_imp____mbcur_max_dll): Likewise.
3147 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3149 * include/fcntl.h (_fmode): Remove declarations and
3150 compatibility defines.
3151 (_setmode, setmode): Remove prototypes.
3152 * include/stdlib (_fmode): Add declarations and
3153 compatibility defines. Change type to int.
3154 * include/io.h (_setmode, setmode): Add prototypes.
3155 * samples/fmode/all.c: Adjust includes.
3156 * samples/fmode/test.c: Likewise.
3157 * crt1.c (_CRT_fmode): Declare as int.
3158 * CRTfmode.c (_CRT_fmode): Likewise.
3160 * include/stdlib: Remove comment about MB_CUR_MAX.
3162 2002-10-02 Danny Smith <dannysmith@users.sourceforge.net>
3164 * include/stdlib.h (_imp____mbcur_max): Add missing ';'.
3165 (_imp____mbcur_max_dll): Likewise.
3167 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3169 * mingwex/math/files.txt: Remove inadvertantly added file.
3171 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3173 * include/string.h (_strerror): Move into #ifndef
3174 __STRICT_ANSI__ block.
3176 2002-09-17 Danny Smith <dannysmith@users.sourceforge.net>
3178 * include/time.h (__need_NULL): Define before including
3179 stddef.h. Thanks to: Rüdiger Dehmel <de@lmnet.de>.
3181 2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
3183 * include/stdio.h: Correct comment about directory separator.
3185 2002-09-12 Danny Smith <dannysmith@users.sourceforge.net>
3187 * include/sys/time.h (timeval): Add struct definition and
3188 associated macros (copied from w32api/include/winsock.h).
3190 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3192 * include/_mingw.h: Increment version to 2.3.
3195 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3197 * mingwex/fegetenv.c: Change to \n line endings.
3198 * mingwex/vsnprintf.c: Ditto.
3199 * mingwex/vsnwprintf.c: Ditto.
3201 2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
3203 * mingwex/math/hypotl.c: Replace with version based on cephes
3206 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3208 * include/sys/param.h: Add ENDIAN defines.
3209 * test_headers.c: Include sys/param.h.
3211 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3213 * test_headers.c: Don't include varargs.h.
3214 * Makefile.in (test_headers): Don't use -std=xx
3217 2002-08-21 Earnie Boyd <earnie@users.sf.net>
3219 * include/sys/param.h: New File.
3221 2002-08-21 Danny Smith <dannysmith@users.sourceforge.net>
3223 * include/math.h (asm): Change to __asm__ throughout.
3224 Expose ISO C99 functions if __GLIPCPP__.
3225 (hypotf): Use hypot, not _hypot in stub.
3227 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3229 * include/tchar.h: Ansi-fy another comment.
3231 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3233 * include/tchar.h: Ansi-fy comment.
3235 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3237 * test_headers.c : New file.
3238 * Makefile.in (test_headers): New target, using it,
3239 (SRCDIST_FILES): Distribute it.
3241 2002-08-20 Earnie Boyd <earnie@users.sf.net>
3243 * include/_mingw.h: Increment version to 2.2.
3246 2002-08-14 Earnie Boyd <earnie@users.sf.net>
3248 * include/unistd.h: Add include of process.h.
3250 2002-08-03 Danny Smith <dannysmith@users.sourceforge.net>
3252 * include/stdio.h (_fcloseall): Add prototype.
3254 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3256 * include/tchar.h (_tfdopen): Correct typo.
3258 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3260 * moldname.def.in (chgsign,scalb,finite,fpclass,logb,
3261 nextafter): Add non-underscored stubs.
3262 * moldname-msvcrt.def: Regenerate.
3263 * moldname-crtdll.def: Regenerate.
3264 * mingwex/math: New directory.
3265 * mingwex/rint.c: Move to mingwex/math.
3266 * mingwex/rintf.c: Ditto.
3267 * mingwex/rintl.c: Ditto.
3268 * mingwex/round.c: Ditto.
3269 * mingwex/roundf.c: Ditto.
3270 * mingwex/roundl.c: Ditto.
3271 * mingwex/rint.c: Ditto.
3272 * mingwex/rintf.c: Ditto.
3273 * mingwex/rintl.c: Ditto.
3274 * mingwex/trunc.c: Ditto.
3275 * mingwex/truncf.c: Ditto.
3276 * mingwex/truncl.c: Ditto.
3277 * mingwex/signbit.c: Ditto.
3278 * mingwex/signbitf.c: Ditto.
3279 * mingwex/signbitl.c: Ditto.
3280 * mingwex/copysignl.S: Ditto.
3281 * mingwex/fdim.c: Ditto.
3282 * mingwex/fdimf.c: Ditto.
3283 * mingwex/fdiml.c: Ditto.
3284 * mingwex/fmin.c: Ditto.
3285 * mingwex/fminf.c: Ditto.
3286 * mingwex/fminl.c: Ditto.
3287 * mingwex/fmax.c: Ditto.
3288 * mingwex/fmaxf.c: Ditto.
3289 * mingwex/fmaxl.c: Ditto.
3290 * mingwex/fma.c: Ditto.
3291 * mingwex/fmaf.c: Ditto.
3292 * mingwex/fmal.c: Ditto.
3293 * mingwex/fpclassify.c: Ditto.
3294 * mingwex/fpclassifyl.c: Ditto.
3295 * mingwex/fpclassifyl.c: Ditto.
3296 * mingwex/isnan.c: Ditto.
3297 * mingwex/isnanf.c: Ditto.
3298 * mingwex/isnanl.c: Ditto.
3299 * mingwex/fucom.c: Ditto.
3300 * mingwex/fp_consts.c: Ditto. Split out float and long double
3302 * mingwex/math_stubs.c: Remove.
3303 * mingwex/log2.c: Remove. Replaced by math/log2.S
3304 * mingwex/log2f.c: Remove. Replaced by math/log2f.S
3305 * mingwex/log2l.c: Remove. Replaced by math/log2l.S
3306 * mingwex/math/acosf.c : New file.
3307 * mingwex/math/acosl.c: New file.
3308 * mingwex/math/asinf.c: New file.
3309 * mingwex/math/asinl.c: New file.
3310 * mingwex/math/atan2f.c: New file.
3311 * mingwex/math/atan2l.c: New file.
3312 * mingwex/math/atanf.c: New file.
3313 * mingwex/math/atanl.c: New file.
3314 * mingwex/math/cbrt.c: New file.
3315 * mingwex/math/cbrtf.c: New file.
3316 * mingwex/math/cbrtl.c: New file.
3317 * mingwex/math/ceilf.S: New file.
3318 * mingwex/math/ceill.S: New file.
3319 * mingwex/math/cephes_ld.h: New file.
3320 * mingwex/math/copysign.S: New file.
3321 * mingwex/math/copysignf.S: New file.
3322 * mingwex/math/cosf.S: New file.
3323 * mingwex/math/coshf.c: New file.
3324 * mingwex/math/coshl.c: New file.
3325 * mingwex/math/cosl.S: New file.
3326 * mingwex/math/exp2.S: New file.
3327 * mingwex/math/exp2f.S: New file.
3328 * mingwex/math/exp2l.S: New file.
3329 * mingwex/math/expf.c: New file.
3330 * mingwex/math/expl.c: New file.
3331 * mingwex/math/fabs.c: New file.
3332 * mingwex/math/fabsf.c: New file.
3333 * mingwex/math/fabsl.c: New file.
3334 * mingwex/math/floorf.S: New file.
3335 * mingwex/math/floorl.S: New file.
3336 * mingwex/math/fmodf.c: New file.
3337 * mingwex/math/fmodl.c: New file.
3338 * mingwex/math/fp_consts.h: Ditto.
3339 * mingwex/math/fp_constsf.c: Ditto.
3340 * mingwex/math/fp_constsl.c: Ditto.
3341 * mingwex/math/frexpf.c: New file.
3342 * mingwex/math/frexpl.S: New file.
3343 * mingwex/math/hypotf.c: New file.
3344 * mingwex/math/hypotl.c: New file.
3345 * mingwex/math/ilogb.S: New file.
3346 * mingwex/math/ilogbf.S: New file.
3347 * mingwex/math/ilogbl.S: New file.
3348 * mingwex/math/ldexpf.c: New file.
3349 * mingwex/math/ldexpl.c: New file.
3350 * mingwex/math/llrint.c: New file.
3351 * mingwex/math/llrintf.c: New file.
3352 * mingwex/math/llrintl.c: New file.
3353 * mingwex/math/llround.c: New file.
3354 * mingwex/math/llroundf.c: New file.
3355 * mingwex/math/llroundl.c: New file.
3356 * mingwex/math/log10f.S: New file.
3357 * mingwex/math/log10l.S: New file.
3358 * mingwex/math/log1p.S: New file.
3359 * mingwex/math/log1pf.S: New file.
3360 * mingwex/math/log1pl.S: New file.
3361 * mingwex/math/log2.S: New file.
3362 * mingwex/math/log2f.S: New file.
3363 * mingwex/math/log2l.S: New file.
3364 * mingwex/math/logb.c: New file.
3365 * mingwex/math/logbf.c: New file.
3366 * mingwex/math/logbl.c: New file.
3367 * mingwex/math/logf.S: New file.
3368 * mingwex/math/logl.S: New file.
3369 * mingwex/math/lrint.c: New file.
3370 * mingwex/math/lrintf.c: New file.
3371 * mingwex/math/lrintl.c: New file.
3372 * mingwex/math/lround.c: New file.
3373 * mingwex/math/lroundf.c: New file.
3374 * mingwex/math/lroundl.c: New file.
3375 * mingwex/math/modff.c: New file.
3376 * mingwex/math/modfl.c: New file.
3377 * mingwex/math/nearbyint.S: New file.
3378 * mingwex/math/nearbyintf.S: New file.
3379 * mingwex/math/nearbyintl.S: New file.
3380 * mingwex/math/nextafterf.c: New file.
3381 * mingwex/math/powf.c: New file.
3382 * mingwex/math/powl.c: New file.
3383 * mingwex/math/powil.c: New file.
3384 * mingwex/math/remainder.S: New file.
3385 * mingwex/math/remainderf.S: New file.
3386 * mingwex/math/remainderl.S: New file.
3387 * mingwex/math/remquo.S: New file.
3388 * mingwex/math/remquof.S: New file.
3389 * mingwex/math/remquol.S: New file.
3390 * mingwex/math/scalbn.S: New file.
3391 * mingwex/math/scalbnf.S: New file.
3392 * mingwex/math/scalbnl.S: New file.
3393 * mingwex/math/sinf.S: New file.
3394 * mingwex/math/sinhf.c: New file.
3395 * mingwex/math/sinhl.c: New file.
3396 * mingwex/math/sinl.S: New file.
3397 * mingwex/math/sqrt.c: New file.
3398 * mingwex/math/sqrtf.c: New file.
3399 * mingwex/math/sqrtl.c: New file.
3400 * mingwex/math/tanf.S: New file.
3401 * mingwex/math/tanhf.c: New file.
3402 * mingwex/math/tanhl.c: New file.
3403 * mingwex/math/tanl.S: New file.
3404 * mingwex/Makefile.in: Adjust VPATH for source files in
3407 Add MATH_DISTFILES and use it to build source distro.
3408 * include/ math.h: Add protypes for new functions and
3409 reorganise to reflect ANSI,C99 status.
3411 2002-06-19 Danny Smith <dannysmith@users.sourceforge.net>
3413 * include/tchar.h (_getts): Define as _getws for _UNICODE.
3414 (_putts): Define as _putws for _UNICODE.
3415 Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report.
3417 2002-06-18 Danny Smith <dannysmith@users.sourceforge.net>
3419 * include/float.h: #include_next<float.h> before header guard.
3421 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
3423 * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
3425 * include/excpt.h (): Include windef.h not windows.h.
3426 * include/fcntl.h (_O_SHORT_LIVED): Add define.
3427 (_chmod): Add prototype.
3428 (_creat): Correct prototype.
3429 (SH_DENY*): Rename defines to _SH_DENY*.
3430 (SH_DENY*): Add Non-ANSI names for _SH_DENY*.
3431 include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
3432 _IOAPPEND): Add defines.
3433 (_wfindfirst): Correct prototype.
3434 (_wfdopen): Add prototype.
3435 * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
3437 * include/string.h (_mbschr, _mbstok, _mbsncat): Remove
3439 (_wcsdup): Correct prototype.
3440 * include/mbstring.h: Remove comments about _mbschr, _mbstok,
3441 _mbsncat being in string.h.
3442 * include/wchar.h (_wfindfirst): Correct prototype.
3443 * include/tchar.h (_tfdopen): Add _UNICODE mappings.
3445 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3447 * include/_mingw.h: Increment to version 2.1.
3448 * Makefile.in: Ditto.
3450 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3452 * Makefile.in (conf_prefix): New variable.
3453 (dist_prefix): Ditto. Conditionally set to $(conf_prefix).
3454 (bindist): Use dist_prefix.
3456 2002-06-13 Danny Smith <dannysmith@users.sourceforge.net>
3458 * include/_mingw.h: Increment version to 2.0.
3459 * Makefile.in: Ditto.
3461 Merge in mingwex branch.
3463 2002-06-11 Danny Smith <dannysmith@users.sourceforge.net>
3464 * include/math.h (fdim, fdimf, fdiml): Add prototypes.
3465 * mingwex/fdim.c: New file.
3466 * mingwex/fdimf.c: New file.
3467 * mingwex/fdiml.c: New file.
3468 * mingwex/Makefile.in (DISTFILES): Add fdim.c, fdimf.c,
3470 (MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
3472 2002-05-23 Danny Smith <dannysmith@users.sourceforge.net>
3473 * mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c.
3475 2002-05-22 Danny Smith <dannysmith@users.sourceforge.net>
3476 * mingwex/isnanl.c: New file.
3478 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3479 * include/stdint.h: Include stddef.h to get
3481 (WINT_MAX): Define to ((wint_t)-1).
3483 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3484 * include/wctype.h: Replace 'inline' with '__inline__'.
3485 * include/inttypes.h: Likewise.
3487 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3488 * include/_mingw.h (__MINGW_IMPORT): Put extern at start
3489 to avoid warnings. Thanks to: Oscar Fuentes <ofv@wanadoo.es>.
3491 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3492 * mingwex/snprintf.c: Split out vsnprintf to....
3493 * mingwex/vsnprintf.c: New file.
3494 * mingwex/snwprintf.c: Split out vsnwprintf to...
3495 * mingwex/vsnwprintf.c: New file.
3496 * mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
3498 2002-05-15 Pascal Obry <obry@gnat.com>
3499 * include/dirent.h (DIR): Change dd_stat type to int.
3502 2002-05-07 Danny Smith <dannysmith@users.sourceforge.net>
3503 * include/stdio.h (vsnprintf): Change inline to __inline__;
3504 (vsnwprintf): Likewise.
3505 * include/wchar.h (vsnwprintf): Likewise.
3508 (mbsinit): Likewise.
3510 2002-04-29 Danny Smith <dannysmith@users.sourceforge.net>
3511 Change FP default precison from 53 to 64-bit mantissa.
3512 * Makefile.in (CRT0S): Add CRT_fp8.o.
3513 (MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o.
3514 * include/float.h: Replace standard float.h defines with
3515 #include_next<float.h> to use GCC's defines. Adjust comments
3518 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3519 * include/dos.h: Change prefix "__imp_" to "_imp__" for
3520 __GNUC__ without __DECLSPEC_SUPPORTED.
3521 * include/fnctl.h: Likewise.
3522 * include/math.h: Likewise.
3523 * include/stdio.h: Likewise.
3524 * include/stdlib.h: Likewise.
3525 * include/time.h: Likewise.
3526 * include/wctype.h: Likewise.
3527 * include/ctype.h: Likewise.
3529 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3530 Add atexit support for dlls.
3531 * crt1.c (atexit): Force thunk to _imp__atexit.
3532 (_onexit): Force thunk to _imp___onexit.
3533 * dllcrt1.c (DllMainCRTStartup): Initialise private atexit
3534 table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
3535 (__dll_exit): New function to run atexit-registered functions
3536 and flush output buffers on DLL_PROCESS_DETACH or failed
3538 (atexit): Force use of private atexit table via _dllonexit,
3539 (_onexit): New function. Force use of private atexit table via
3541 * msvcrt.def (atexit, _onexit): Add DATA keyword so that only
3542 _imp_<_symbol> is visible in import lib.
3543 * msvcrt20.def: Likewise.
3544 * msvcrt40.def: Likewise.
3545 * crtdll.def: Likewise.
3547 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3548 * include/fenv.h: Change header guard macro to _FENV_H_.
3549 (fenv_t, fexcept_t): Move into block protected by
3551 Cleanup some whitespace.
3552 * include/inttypes.h: Change header guard macro to
3555 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3556 * include/math.h (copysignl): Declare.
3557 * mingwex/Makefile.in (DISTFILES): Add copysignl.S.
3558 (MATHOBJS):Add copysignl.o.
3560 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3561 * include/math.h (__signbitl, __isnanl): Declare.
3563 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3564 * include/math.h (nanl, __fpcassifyl, fminl, fmaxl, rintl,
3565 roundl, truncl, fmal, log2l): Declare.
3566 Protect C99 declarations with _STDC_VERSION__ >= 199901L)
3567 || !defined __STRICT_ANSI__.
3568 * mingwex/fmax.c (fmax): Call __isnan, not _isnan.
3569 * mingwex/fmin.c (fmin): Likewise.
3570 * mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan.
3571 * mingwex/fminf.c (fminf): Likewise.
3572 * mingwex/fmaxl.c: New file.
3573 * mingwex/fminl.c: New file.
3574 * mingwex/fpclassify.c (__fpclassifyf): Split out to ...
3575 * mingwex/fpclassifyf.c: New file.
3576 * mingwex/fpclassifyl.c: New file.
3577 * mingwex/rint.c (rintf): Split out to...
3578 * mingwex/rintf.c: New file.
3579 * mingwex/rintl.c: New file.
3580 * mingwex/round.c (roundf): Split out to...
3581 * mingwex/roundf.c: New file.
3582 * mingwex/roundl.c: New file.
3583 * mingwex/trunc.c (truncf): Split out to...
3584 * mingwex/truncf.c: New file.
3585 * mingwex/truncl.c: New file.
3586 * mingwex/signbit.c (signbitf): Split out to...
3587 * mingwex/signbitf.c: New file.
3588 * mingwex/signbitl.c: New file.
3589 * mingwex/fmal.c: New file.
3590 * mingwex/copysignl.S: New file.
3591 * mingwex/log2l.c: New file.
3592 * mingwex/fp_consts.c: Add nanl definition.
3593 Comment out unused constants.
3594 * mingwex/Makefile.in (DISTFILES): Add fmaxl.c, fminl.c,
3595 fpclassifyf.c, fpclassifyl.c, rintf.c, rintl.c, roundf.c,
3596 roundl.c, truncf.c truncl.c, signbitf.c signbitl.c,
3598 (MATHOBJS): Add fmaxl.o, fminl.o, fpclassifyf.o,
3599 fpclassifyl.o, rintf.o, rintl.o, roundf.o, roundl.o,
3600 truncf.o truncl.o, signbitf.o signbitl.o, fmal.o,
3602 * mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo.
3604 2002-04-23 Danny Smith <dannysmith@users.sourceforge.net>
3605 Make wide char versions of opendir and friends.
3606 * include/dirent.h (_wdirent, _WDIR): Define wide versions of
3608 (_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
3609 _wseekdir): Add prototypes for wide versions of corresponding
3611 * include/tchar.h; Add _UNICODE mappings for dirent.h
3612 structures and functions.
3613 * mingwex/dirent.c: Make _UNICODE neutral.
3614 * mingwex/wdirent.c: New file to define _UNICODE before
3616 * mingwex/Makefile.in (DISTFILES): Add wdirent.c.
3617 (POSIX_OBJS): Add wdirent.o.
3618 (wdirent.o): Specify dependency on dirent.c as well as
3620 * samples/dirent/wtest.c: New file, wide version of test.c.
3622 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3623 * Makefile.in (INCLUDES): Add "-iwithprefixbefore include" to
3624 ensure gcc include dir is searched despite -nostdinc.
3625 * profile/Makefile.in (INCLUDES): Likewise.
3626 * mingwex/Makefile.in (INCLUDES): Likewise.
3627 * include/stdarg.h: Replace with stub that just guards the
3628 real gcc system header with #ifndef RC_INVOKED
3629 * include/varargs.h: Likewise.
3630 * include/stddef.h: Likewise.
3631 * include/stdio.h: Include stdarg.h after defining
3633 (__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
3634 Replace va_list with __VALIST throughout.
3636 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3637 * crt1.c: Revert changes of 2002-04-16. Use _fpreset again.
3638 * msvcrt.def (_fpreset): Mark as DATA so that only
3639 _imp___fpreset is exported.
3640 * msvcrt20.def (_fpreset): Likewise.
3641 * msvcrt40.def (_fpreset): Likewise.
3642 * crtdll.def (_fpreset): Likewise.
3643 * CRT_fp10.c (_fpreset): Overide library _fpreset with one
3645 (fpreset): Add alias.
3646 (__CRT_PC): Delete definition. _fpreset does it now.
3647 * CRT_fp8.c (_fpreset): Force use of library _imp___fpreset.
3648 (fpreset): Add alias.
3649 (__CRT_PC): Delete definition.
3650 * moldname.def.in: Comment out fpreset.
3651 * moldname-msvcrt.def: Regenerate.
3652 * moldname-crtdll.def: Regenerate.
3653 * include/fenv.h (FE_DFL_ENV): Define as (fenv_t*)0.
3654 * mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment
3655 with the _fpreset determined by startup CRT_fp object.
3657 2002-04-16 Danny Smith <dannysmith@users.sourceforge.net>
3658 * CRT_fp8.c: New file.
3659 * CRT_fp10.c: New file.
3660 * crt1.c (__CRT_PC) Declare.
3661 (__CRT_fesetenv): New static function, using _CRT_PC.
3662 (__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset.
3663 (_gnu_exception_handler): Likewise.
3664 * Makefile.in (CRT0S): Add CRT_fp10.o.
3665 (MINGW_OBJS): Add CRT_fp8.o.
3666 (SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c.
3667 Add CRT_fp8.o, CRT_fp10.o dependancies.
3668 * include/float.h (_fpreset): Expand comment.
3669 * include/fenv.h (FE_PC64_ENV): New define for Intel x87
3670 (extended precison) environmemt.
3671 (FE_PC53_ENV): New define for MSVCRT default environmemt.
3672 (FE_DFL_ENV): Define as FE_PC53_ENV.
3673 * mingwex/fesetenv.c: Use FE_PC53_ENV, FE_PC64_ENV to determine
3674 precision control for default environment.
3676 * include/math.h: Fix long comment line.
3677 * profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
3679 * profile/configure: Regenerate.
3681 2002-04-12 Danny Smith <dannysmith@users.sourceforge.net>
3682 * mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c.
3684 2002-04-10 Danny Smith <dannysmith@users.sourceforge.net>
3685 * mingwex/mingw-fseek.c: New file, based on Mumit Khan
3686 mingw-local patch to binutils.
3687 Sun Nov 7 04:27:07 1999 Mumit Khan <khan@xraylith.wisc.edu>
3688 (__mingw_fseek): New function to work around Win9x f/lseek bug.
3689 (__mingw_fwrite): Likewise.
3690 (__mingw_is_win9x): New helper function.
3691 * include/stdio.h (__USE_MINGW_FSEEK): New define,guarding...
3692 (__mingw_fseek): New prototype and define to replace fseek.
3693 (__mingw_fwrite): New prototype and define to replace fwrite.
3694 * mingwex/Makefile.in: Add mingw-fseek.o to libmingwex.a.
3695 * moldname-crtdll.def: Remove CR from end of line.
3696 * moldname-msvcrt.def: Ditto.
3698 2002-04-09 Danny Smith <dannysmith@users.sourceforge.net>
3699 * profile/configure.in (CRT0S): Configure name of gcrt?.o
3700 based on target, building gcrt0.o for cygwin -mno-cygwin.
3701 * profile/configure: Regenerate.
3702 * profile/Makefile.in (CRT0S): Use name from configure.
3703 (gcrt0.o): New rule.
3704 (ALL_CRT0S): New define, used to cleanup all gcrt?.o's.
3706 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3707 * include/math.h (_controlfp, _control87, _clearfp, _statusfp, _fpreset,
3708 _fpecode): Remove prototypes copied from float.h.
3709 (nan, nanf): Move into block protected against RC_INVOKED
3711 * include/stdlib.h (_Exit): Change from static inline to
3713 * mingwex/_Exit.c : New file.
3714 * mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
3716 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3717 Add libgmon.a and libmingwex.a for cygwin -mno-cygwin.
3718 * configure.in (SUBDIRS): Add profile and mingwex to cygwin target.
3719 (configdirs): Likewise.
3720 (LIBGMON_A): Define for cygwin target as well.
3721 * configure: Regenerate.
3722 * profile/configure.in (THREAD_DLL): Remove define.
3723 (LIBM_A): Remove define.
3724 (LIBGMON_A): Define for cygwin target as well.
3725 * profile/configure: Regenerate.
3726 * profile/makefile.in (install): Install to inst_libdir and
3728 * mingwex/makefile.in (CFLAGS): Move -fomit-frame-pointer to...
3729 (OPTFLAGS): New define.
3730 (ALL_CFLAGS): Add $(OPTFLAGS).
3731 (ALL_CXXFLAGS): Same.
3732 (.c.o:): Remove ALL_CXXFLAGS.
3734 2002-03-29 Danny Smith <dannysmith@users.sourceforge.net>
3735 * include/stdint.h: Add missing newline at eof.
3736 * include/stdio.h (snprintf): Add prototype.
3737 (vsnprintf): Add prototype and inline definition.
3738 (snwprintf): Add prototype.
3739 (vsnwprintf): Add prototype and inline definition.
3740 * include/wchar.h (snwprintf): Add prototype.
3741 (vsnwprintf): Add prototype and inline definition.
3742 * mingwex/Makefile.in: Add snprintf.o, snwprintf.o
3744 * mingwex/snprintf.c: New file.
3745 * mingwex/snwprintf.c: New file.
3747 2002-03-22 Danny Smith <dannysmith@users.sourceforge.net>
3748 * configure.in: Add mingwex as SUBDIRS and configdirs.
3749 * configure: Regenerate.
3750 * Makefile.in (MINGW_OBJS): Remove dirent.o.
3751 (SRC_DIST_FILES): Remove dirent.c.
3753 * include/stdlib.h (_Exit): Add static inline
3755 (struct lldiv_t): Define.
3756 (lldiv): Add prototype.
3757 (llabs): Add extern inline function.
3758 (strtoll,strtoull): Add prototypes.
3759 (wcstol, wcstoul, wcstod): Group together.
3760 (strtof, wcstof): Add extern inline definitions.
3761 (atoll,lltoa,ulltoa, wtoll, lltow ulltow): Add prototypes
3762 and extern inline definitions.
3763 * include/wchar.h (fwide, wcstoll,wcstoull, wmemchr
3764 wmemcmp, wmemcpy, wmemmove, wmemset. mbsinit): Add
3766 (wcstol, wcstoul,wcstod): Copy prototypes from stdlib.h.
3767 (wcstof): Add extern inline definition.
3768 * include/math.h (nan, nanf): Add prototypes.
3769 (NAN, INFINITE): Define constants.
3770 (fpclassify, isnan ,signbit): Add macros and supporting float
3771 and double functions.
3772 (isfinite, isinf, isnormal): Add macros.
3773 (isgreater, isless, isgreaterequal, islessequal,islessgreater):
3775 (rint, rintf, round, roundf, trunc. truncf, fmax, fmaxf,
3776 fmin, fminf, fma, fmaf, log2, log2f): Add prototypes.
3777 (copysign, logb, nextafter, scalb): Add prototypes and
3778 inline stubs for underscored versions in msvcrt.dll.
3779 * include/inttypes.h: New file.
3780 * include/fenv.h: New file
3782 Add new mingwex subdir and files.
3783 * mingwex: New directory.
3784 * mingwex/Makefile.in: New file.
3785 * mingwex/configure.in: New file.
3786 * mingwex/configure: Generate.
3787 * mingwex/dirent.c: Moved here from parent dir.
3788 * mingwex/atoll.c: New file.
3789 * mingwex/feclearexcept.c: New file.
3790 * mingwex/fegetenv.c: New file.
3791 * mingwex/fegetexceptflag.c: New file.
3792 * mingwex/fegetround.c: New file.
3793 * mingwex/feholdexcept.c: New file.
3794 * mingwex/feraiseexcept.c: New file.
3795 * mingwex/fesetenv.c: New file.
3796 * mingwex/fesetexceptflag.c: New file.
3797 * mingwex/fesetround.o: New file.
3798 * mingwex/fetestexcept.c: New file.
3799 * mingwex/feupdateenv.c: New file.
3800 * mingwex/fma.S: New file.
3801 * mingwex/fmaf.S: New file.
3802 * mingwex/fmax.c: New file.
3803 * mingwex/fmaxf.c: New file.
3804 * mingwex/fmin.c: New file.
3805 * mingwex/fminf.c: New file.
3806 * mingwex/fp_consts.c: New file.
3807 * mingwex/fpclassify.c: New file.
3808 * mingwex/fucom.c: New file.
3809 * mingwex/fwide.c: New file.
3810 * mingwex/imaxabs.c: New file.
3811 * mingwex/imaxdiv.c: New file.
3812 * mingwex/isnan.c: New file.
3813 * mingwex/isnanf.c: New file.
3814 * mingwex/lltoa.c: New file.
3815 * mingwex/lltow.c: New file.
3816 * mingwex/log2.c: New file.
3817 * mingwex/log2f.c: New file.
3818 * mingwex/math_stubs.c: New file.
3819 * mingwex/mbsinit.c: New file.
3820 * mingwex/rint.c: New file.
3821 * mingwex/round.c: New file.
3822 * mingwex/signbit.c: New file.
3823 * mingwex/sitest.c: New file.
3824 * mingwex/strtof.c: New file.
3825 * mingwex/strtoimax.c: New file.
3826 * mingwex/strtoumax.c: New file.
3827 * mingwex/testwmem.c: New file.
3828 * mingwex/trunc.c: New file.
3829 * mingwex/ulltoa.c: New file.
3830 * mingwex/ulltow.c: New file.
3831 * mingwex/wcstof.c: New file.
3832 * mingwex/wcstoimax.c: New file.
3833 * mingwex/wcstoumax.c: New file.
3834 * mingwex/wmemchr.c: New file.
3835 * mingwex/wmemcmp.c: New file.
3836 * mingwex/wmemcpy.c: New file.
3837 * mingwex/wmemmove.c: New file.
3838 * mingwex/wmemset.c: New file.
3839 * mingwex/wtoll.c: New file.
3841 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
3843 * include/mbstring.h: New file.
3844 * include/mbctype.h: New file.
3846 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
3848 * include/tchar.h (__TEXT): Make same as define in
3849 w32api/include/winnt.h.
3851 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
3853 * include/tchar.h (_tputenv): Add UNICODE mappings.
3854 (_tsearchenv): Likewise.
3855 (_tmakepath): Likewise.
3856 (_tsplitpath): Likewise.
3857 (_tfullpath): Likewise.
3859 2002-04-18 Pascal Obry <obry@gnat.com>
3861 * dirent.c (opendir): Convert given pathname to
3864 2002-04-09 Earnie Boyd <earnie@users.sf.net>
3866 * include/_mingw.h: Increment version.
3867 * Makefile.in: Ditto.
3869 2002-04-09 Earnie Boyd <earnie@users.sf.net>
3871 * moldname-crtdll.def: Remove CR from end of line.
3872 * moldname-msvcrt.def: Ditto.
3873 * Makefile.in: Use bzip2 compression for Cygwin target.
3875 2002-04-04 Danny Smith <dannysmith@sourceforge.users.net>
3877 * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
3878 TLOSS, PLOSS): Move oldname defines back, following
3879 the underscored names.
3881 2002-03-29 Danny Smith <dannysmith@sourceforge.users.net>
3883 * include/stdio.h (_snwprintf): Correct spelling.
3884 (_vsnwprintf): Likewise.
3885 * include/wchar.h (_snwprintf): Correct spelling.
3886 (_vsnwprintf): Likewise.
3888 2002-03-26 Danny Smith <dannysmith@users.sourceforge.net>
3890 * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__).
3891 (wpopen): Add if !(__CRTDLL__).
3892 * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
3894 (moldname-crtdll.def rule): Likewise.
3895 * moldname-msvcrt.def: Regenerate.
3896 * moldname-crtdll.def: Regenerate.
3897 * include/stdio.h (wpopen):Use prototype, not a define.
3898 (_swnprintf): Add prototype.
3899 (_vswnprintf): Likewise.
3901 * include/wchar.h (_swnprintf): Add prototype.
3902 (_vswnprintf): Likewise.
3905 2002-01-28 Danny Smith <dannysmith@users.sourceforge.net>
3907 * include/malloc.h (_heapinfo): Correct structure definition.
3908 (_USEDENTRY,_FREEENTRY): Add defines.
3909 Add comment on platform support for _heap* functions.
3910 (_get_sbh_threshold): Add prototype.
3911 (_set_sbh_threshold): Likewise.
3912 (_expand): Likewise.
3914 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
3916 * profile/profil.c: Update copyright info.
3917 * profile/profil.h: Likewise.
3918 * profile/gcrt0.c: Likewise.
3920 2002-01-25 Pascal Obry <obry@gnat.com>
3922 * profile/profil.h (PROFADDR): Cast idx to unsigned long long to
3924 * profile/gmon.c: Define bzero as memset if mingw32.
3925 (monstartup): Use it.
3927 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
3929 * include/tchar.h (_TCHAR): Add missing ;.
3931 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
3933 * include/tchar.h (_TCHAR): Add typedefs.
3935 2002-01-16 Danny Smith <dannysmith@users.sourceforge.net>
3937 * include/stdlib.h (_onexit_t): Add typedef.
3938 (_onexit): Add prototype.
3940 2002-01-12 Danny Smith <dannysmith@users.sourceforge.net>
3942 * msvcrt.def: Revert accidental change.
3943 * include/stdlib.h: Ditto.
3945 2001-12-07 Earnie Boyd <earnie@users.sf.net>
3947 * Makefile.in: Increment VERSION.
3948 * include/_mingw.h: Ditto.
3950 2001-12-05 Earnie Boyd <earnie@users.sf.net>
3952 * include/strings.h: New File.
3954 2001-12-02 Danny Smith <dannysmith@users.sourceforge.net>
3957 2001-06-21 Mumit Khan <khan@nanotech.wisc.edu>
3959 * include/math.h (_FPCLASS* ): Add defines from float.h.
3960 (IEEE recommended functions): Add declarations from float.h.
3961 * include/float.h (_FPCLASS* ): Protect against redefinition.
3963 2001-11-29 Wu Yongwei <adah@netstd.com>
3965 * include/_mingw.h,assert.h,conio.h,ctype.h,dir.h,direct.h
3966 dirent.h,dos.h,errno.h,excpt.h,fcntl.h,float.h,io.h,
3967 limits.h,locale.h,malloc.h,math.h,process.h,setjmp.h,
3968 share.h,signal.h,stdarg.h,stddef.h,stdint.h,stdio.h,
3969 stdlib.h,string.h,tchar.h,time.h,varargs.h,wchar.h,
3970 wctype.h,sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h:
3971 Correct spelling of "disclaimed" in comments.
3972 * include/excpt.h: Another spelling correction.
3974 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
3976 * include/errno.h: Fix "errno is not a prototype" warning.
3978 2001-11-07 Danny Smith <dannysmith@users.sourceforge.net>
3980 * include/ctype.h (tolower, toupper,_tolower,_toupper): Comment
3981 differences between ANSI and non-ANSI versions.
3982 (_ctype[],_pctype): Declare vars.
3983 (__ISCTYPE): New helper macro using _pctype.
3984 (is* ctype functions): Use __ISCTYPE to define inline versions.
3985 (_toupper, _tolower, __isascii, __toascii, __iscsym, __iscsymf):
3987 (isw* ctype functions): Inline definitions.
3988 * include/wctype.h (_ctype[],_pctype): Declare vars.
3989 (isw* ctype functions): Inline definitions.
3992 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
3994 * include/float.h (_clearfp, _statusfp, _fpreset, fpreset,
3995 __fpecode): Use __STDC__ prototypes.
3998 2001-11-06 Thomas Pfaff <tpfaff@gmx.net>
4000 * mthr_stub.c (__mingwthr_remove_key_dtor) New.
4001 * mthr_init.c (DllMain) Run dtors if a process terminates.
4002 * mthr.c (__mingwthr_add_key_dtor) Removed.
4003 (___mingwthr_add_key_dtor) New.
4004 (___mingwthr_remove_key_dtor) New.
4005 (__mingwthr_run_key_dtors) Complete rewrite.
4006 (__mingwthr_remove_key_dtor) New.
4008 2001-11-05 Egor Duda <deo@logos-m.ru>
4010 * Makefile.in: Delete unused executable after creating base-files.
4012 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4014 * include/errno.h (_errno): Use __STDC__ prototype.
4015 Thanks to: Jim Barton.
4017 2001-11-04 "stefan" <stefan@lkcc.org>
4019 * include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names.
4021 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4023 * include/io.h (_commit): Add declaration.
4024 Thanks to: "stefan" <stefan@lkcc.org>
4026 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4028 * include/sys/stat.h: Make S_IS* macros safer.
4030 2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
4032 * include/stdlib.h (EXIT_FAILURE): Change value to 1.
4034 2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
4036 * include/stdlib.h (__p__environ, __p__wenviron): Use
4037 __STDC__ prototypes.
4039 2001-09-19 Earnie Boyd <earnie@SF.net>
4041 * Makefile.in: Remove the /usr from the install target.
4042 (VERSION): Increment.
4043 include/_mingw.h: Ditto.
4045 2001-09-17 Earnie Boyd <earnie@SF.net>
4047 * Makefile.in: Increment version.
4048 * include/_mingw.h: Ditto.
4050 2001-09-10 Earnie Boyd <earnie@SF.net>
4052 * dossh: Remove inadvertantly imported file.
4054 2001-09-10 Danny Smith <dannysmith@users.sourceforge.net>
4056 * dirent.c (opendir): Use GetFileAttributes rather than stat
4057 to determine if input arg is dir.
4059 2001-08-29 Danny Smith <dannysmith@users.sourceforge.net>
4061 * include/stdarg.h (va_list): Typedef as __builtin_va_list if
4063 * include/varargs.h (va_list): Ditto.
4064 * include/stdio.h (va_list): Ditto.
4066 2001-08-01 Danny Smith <dannysmith@users.sourceforge.net>
4068 * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
4069 * include/stdio.h (_IORW): Change constant to 0x0080.
4070 (TMP_MAX): Add new define.
4072 (_wP_tmpdir): Ditto.
4073 (L_tmpnam): Change constant to 16.
4075 2001-06-28 Danny Smith <dannysmith@users.sourceforge.net>
4077 * include/malloc.h: Fix non-ANSI comment after #endif.
4079 2001-06-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4081 * profile/configure.in: Make msvcrt.dll version default.
4082 * profile/makefile.in: Build both gcrt1.o and gcrt2.o.
4083 * provile/configure: Regenerate.
4085 2001-06-11 Mattia Barbon <mbarbon@dsi.unive.it>
4087 * include/stdio.h (swscanf): Make first arugument const.
4088 * include/wchar.h (swscanf): Ditto.
4089 * include/tchar.h (_tfopen): New _UNICODE define.
4091 (_tsetlocale): Ditto.
4093 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4095 * profile/Makefile.in (mkinstalldirs): Correct relative path.
4097 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4099 * include/_mingw.h: Change version to 1.0.
4102 2000-02-21 Earnie Boyd <earnie@users.sourceforge.net>
4104 * include/tchar.h: (__TEXT): Remove undef.
4108 Fri Feb 2 10:34:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
4110 * include/tchar.h: (__TEXT): Add private macro.
4111 (_TEXT): Modify definition to use __TEXT.
4113 This change allows the passing of a MACRO as an argument and have that
4114 MACRO resolved first.
4115 Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
4117 Wed Jan 31 17:12:51 2001 Earnie Boyd <earnie@users.sourceforge.net>
4119 * Makefile.in: Increment version to 0.5
4120 * include/_mingw.h: Increment minor version
4122 Tue Jan 30 13:01:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
4124 * include/assert.h: (assert): Remove ; from end of definition
4125 Thanks to: AJ Reins <tbisp@qwest.net>
4127 Tue Jan 30 07:31:22 2001 Earnie Boyd <earnie@users.sourceforge.net>
4129 * include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
4130 Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
4132 Mon Jan 29 14:03:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
4134 * time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
4136 Sun Jan 28 13:01:08 2001 Earnie Boyd <earnie@users.sourceforge.net>
4138 * include/wchar.h: The 2001.01.18 Change was incorrect. The functions
4139 are actually C functions. These functions are resolved via the
4140 -lmsvcp60 library and comments were placed in the header.
4142 2001-01-28 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4144 * include/stdlib.h (__p__pgmptr): add prototype.
4145 (__p__wpgmptr): likewise.
4146 (_pgmptr_dll): move declaration from dos.h.
4147 (_wpgmptr_dll): likewise.
4148 (_pgmptr): conditional define (MSVCT/CRTDLL).
4149 (_wpgmptr): likewise.
4150 * include/dos.h (_base*_dll variables): declare only for CRTDLL.
4151 (_os*_dll variables): likewise.
4152 (_pgmptr_dll): remove declaration and associated defines to stdlib.h.
4153 (_wpgmptr_dll): likewise.
4155 2001-01-22 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4157 * include/stdint.h: New file.
4159 Thu Jan 18 10:33:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
4161 * include/wchar.h: Protect prototypes only declared in the C++ STL
4162 from being declared unless __cplusplus is defined.
4164 Tue Jan 16 11:37:31 2001 Earnie Boyd <earnie@users.sourceforge.net>
4166 * include/stdlib.h: Apply Danny Smith patch 102730
4167 2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4168 (_wgetenv) Correction to return type.
4170 Tue Jan 16 09:41:41 2001 Earnie Boyd <earnie@users.sourceforge.net>
4172 * include/locale.h: Apply Danny Smith patch 101834
4173 2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4174 (LC_MIN) Add definition.
4176 (_wsetlocale) Add prototype.
4178 2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
4180 * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
4181 Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
4182 Create a libcoldname.a for the oldname library for CRTDLL.
4183 Restrict libmoldname.a for the oldname library for MSVCRT.
4184 * configure.in: eliminate setting RUNTIME and CRT_ID variables.
4185 Restructure the $target_os case logic.
4186 Always name the MinGW thread dll helper mingwm.
4187 Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
4188 * configure: regenerate.
4190 2000-11-22 Earnie Boyd <earnie_boyd@yahoo.com>
4192 * Makefile.in: Fix bindist target to distribute the correct files.
4193 Remove the use of SNAPSHOT variable and test SNAPDATE instead.
4194 Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
4196 2000-11-21 Earnie Boyd <earnie_boyd@yahoo.com>
4198 * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
4199 Add variables and targets to control binary and source distributions.
4200 Add variables and targets to control snapshot distribution.
4201 * profile/gmon.h: Add missing #endif for #ifndef.
4202 * profile/ChangeLog: Merge entries here and remove.
4203 * profile/Makefile.in: Add variables and targets to control
4207 * config.guess: ditto.
4208 * config.sub: ditto.
4209 * mkinstalldirs: ditto.
4210 * install-sh: ditto.
4211 * configure: regenerate.
4212 * profile/configure: ditto.
4214 2000-11-20 Earnie Boyd <earnie_boyd@yahoo.com>
4216 * Merge in changes from
4217 2000-10-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4218 * include/direct.h: add guard around MSVCRT-only prototytpes
4219 * include/io.h: add __int64 struct definitions and function prototypes;
4220 add guard for MSVCRT-only prototypes
4221 * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
4222 * include/stdio.h: add wchar function prototypes (__MSVCRT__);
4223 put wchar functions together to make sync with wchar.h easier
4224 * include/stdlib.h: add wide char functions (__MSVCRT__)
4225 * include/string.h: add string collation functions ( __MSVCRT__)
4226 * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
4227 * include/tchar.h: add macros and macro function definitions
4228 * include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
4229 enclose more functions in __MSVCRT__ guard;
4230 some oldname wide char function prototypes #if (0)'d
4231 * profile/gmon.h: add guard around BSD-ish typedefs
4233 Mon Nov 20 18:58:12 2000 Christopher Faylor <cgf@cygnus.com>
4235 * Makefile.in: Use a different variable name for subdirectory since the
4236 previous one was used by the top level make.
4238 Sun Nov 19 20:50:51 2000 Christopher Faylor <cgf@cygnus.com>
4240 * Makefile.in: Install mingw stuff in a subdirectory if building under
4243 Sat Jun 17 21:48:23 2000 Christopher Faylor <cgf@cygnus.com>
4245 * Makefile.in (subdirs): Eliminate for loop.
4247 Sat Jun 17 18:27:59 2000 Christopher Faylor <cgf@cygnus.com>
4249 * Makefile.in (subdirs): Previous change did not fix problem in
4252 Sat Jun 17 13:49:12 2000 Christopher Faylor <cgf@cygnus.com>
4254 * Makefile.in: Avoid installing dll if we're cross building and the
4255 cross-host system isn't a Windows system.
4256 * configure.in: Detect cross-hosting situation and set appropriate
4257 variables in Makefile.in.
4258 * configure: Regenerate.
4260 Wed Apr 19 13:10:54 2000 Christopher Faylor <cgf@cygnus.com>
4262 * configure.in: Change HEADER_SUBDIR to mingw32.
4263 * configure: Regenerate.
4265 Mon Apr 10 17:24:28 2000 Christopher Faylor <cgf@cygnus.com>
4267 * include/string.h: Use proper prototype for _strerror.
4269 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
4271 * Makefile.in (subdirs): Workaround for broken shells.
4273 2000-02-03 Mumit Khan <khan@xraylith.wisc.edu>
4275 * Snapshot 2000-02-03.
4277 * include/{assert.h, conio.h, ctype.h, direct.h, dirent.h, fcntl.h,
4278 float.h, io.h, locale.h, malloc.h, math.h, process.h, signal.h,
4279 stdio.h, stdlib.h, string.h, time.h, wctype.h, sys/stat.h,
4280 sys/timeb.h, sys/utime.h}: Remove parameter names to avoid namespace
4283 * Makefile.in (all): Build CRT0S first.
4284 (libmingwthrd.a): Remove thread support DLL from dependency.
4286 2000-01-21 Mumit Khan <khan@xraylith.wisc.edu>
4288 * Snapshot 2000-01-21.
4290 2000-01-20 Mumit Khan <khan@xraylith.wisc.edu>
4292 Merge in changes from Cygwin:
4293 * configure.in (HEADER_SUBDIRS): New variable. Substitute.
4294 (SUBDIRS): Likewise.
4295 * Makefile.in (HEADER_SUBDIRS): New variable.
4296 (install): Use to install Mingw headers to a subdirectory if building
4298 (DLL_CC_STUFF): Add DLL entry point.
4299 * configure: Regenerate.
4301 2000-01-19 Mumit Khan <khan@xraylith.wisc.edu>
4303 * include/stdio.h (fsetpos): Fix prototype.
4304 (fpos_t): Fix for MSVCRT.
4305 * include/float.h (fpreset): Add prototype.
4306 * include/limits.h: Define UINT_MAX, USHRT_MAX and ULONG_MAX with
4308 * include/time.h: Don't define tzname as a macro for CRTDLL, and
4309 export using libmoldname.a.
4310 * crtdll.def: Add DATA tags.
4311 * msvcrt.def: Likewise.
4312 * moldname.def.in: Likewise. Add fpreset. Export tzname for
4313 both MSVCRT and CRTDLL.
4314 * moldname-crtdll.def: Regenerate.
4315 * moldname-msvcrt.def: Regenerate.
4317 Tue Dec 21 02:22:14 1999 Mumit Khan <khan@xraylith.wisc.edu>
4319 * Snapshot 1999-12-21.
4321 * include/wctype.h: New file.
4322 * include/ctype.h (MB_CUR_MAX): Define.
4324 * include/stdlib.h (MB_CUR_MAX): Define.
4325 * include/wchar.h: Define stat, _stat structures here as well.
4326 * include/float.h: Add invalid subconditions (_SW) and floating
4327 point error (_FPE) macros.
4328 * include/time.h (_CLOCK_T): Rename macro to _CLOCK_T_DEFINED.
4329 (_TIME_T): Rename macro to _TIME_T_DEFINED.
4330 * include/sys/types.h: Likewise.
4332 Thu Nov 18 00:22:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4334 * profile/profil.c (profile_on): Set the profiler thread priority to
4335 be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
4336 * Snapshot 1999-11-18.
4338 Sun Nov 7 02:50:09 1999 Mumit Khan <khan@xraylith.wisc.edu>
4340 Released 1999-11-07.
4342 * Makefile.in (CRT0S): Add crtst.o.
4343 (install): Install in subdirs as well.
4344 * dirent.h (struct _stat): Rename from struct stat.
4345 * include/tchar.h: Add some new macros. Thanks to
4346 Eric Kohl <ekohl@abo.rhein-zeitung.de>.
4347 * profile/Makefile.in (install): Fix target.
4349 Thu Nov 4 14:32:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
4351 * Makefile.in: Add support for profile directory.
4352 * configure.in: Likewise.
4353 * configure: Regenerate.
4355 * profile: Imported profiling sources from winsup-19991026 snapshot.
4356 * profile/Makefile.in: New file.
4357 * profile/configure.in: New file.
4358 * profile/configure: Generate.
4359 * profile/gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
4360 * profile/gmon.h (u_char, u_short, u_int, u_long): Likewise.
4361 * profile/gmon.c (unistd.h): Include conditionally.
4362 (sys/param.h): Likewise.
4363 * profile/mcount.c (sys/param.h): Likewise.
4364 * profile/profil.c (profile_on): thread id is DWORD, not int.
4367 Wed Nov 3 16:26:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
4369 * include/stdlib.h: Add wide character version of argv/environ.
4371 * include/wchar.h: More wide character prototypes.
4372 * include/sys/stat.h: Likewise. Add struct stat as well as _stat.
4374 * dllcrt1.c (init.c): Don't include.
4375 (DllMainCRTStartup): Don't call _mingw32_init_mainargs().
4376 * Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists.
4378 Sat Oct 30 03:06:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4380 * moldname.def: Remove file.
4381 * moldname.def.in: And add this.
4382 * moldname-msvcrt.def: Generate from moldname.def.in.
4383 * moldname-crtdll.def: Likewise.
4385 * mthr.c: New file for -mthread (thread-safe C++ EH) support.
4386 * mthr_init.c: New file for -mthread (thread-safe C++ EH) support.
4387 * mthr_stub.c: New file for -mthread (thread-safe C++ EH) support.
4389 * Makefile.in: Update.
4390 * configure.in: Likewise. Also add *cygwin* target for building
4391 under Cygwin winsup.
4392 * configure: Regenerate.
4394 Fri Oct 1 11:10:30 1999 Mumit Khan <khan@xraylith.wisc.edu>
4396 * include/_mingw.h: Add version macros.
4397 * include/direct.h (_diskfree_t, getdiskfree, getdrives): Add.
4398 Also add wide character versions shared with wchar.h.
4399 * include/dos.h (_diskfree_t, getdiskfree, getdrives): Add.
4400 * include/io.h (sopen, _sopen): Fix prototype.
4401 Add wide character prototypes.
4402 * include/wchar.h: Likewise.
4403 * include/stdlib.h (beep, seterrormode, sleep): Remove non-
4404 underscored versions. Potential incompatibility.
4405 * include/time.h (daylight, timezone, tzname): Fix MSVCRT cases.
4406 Add wide character prototypes.
4407 * include/sys/timeb.h (struct _timeb): Don't use macro, but real
4410 Wed Aug 18 18:38:39 1999 Mumit Khan <khan@xraylith.wisc.edu>
4412 * configure.in (RUNTIME, CRT_ID): Add to differentiate between
4413 crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
4415 * configure: Rengerate.
4416 * Makefile.in (RUNTIME, CRT_ID): Use to generate the correct
4417 dll name and crt's. CRTDLL and MSVCRT are meant to created
4418 separately, so remove all the *-msvcrt* targets.
4419 (libmingwthr.a): New target. Dummy thread support archive.
4420 (LIBS): Add libmingwthr.a.
4421 (CRT0S): Use CRT_ID. Add crtmt.o.
4422 (MINGW_OBJS): Add crtst.o.
4423 * main.c (WinMain): Fix prototype.
4424 * crtmt.c: New file.
4425 * crtst.c: New file.
4427 * include/process.h (_beginthreadex): Fix prototype.
4428 * include/_mingw.h (__int64): Define for __GNUC__.
4429 * include/tchar.h (_ttol): Add macro.
4430 * include/stdlib.h (_wtoi, _wtol, _i64toa, _ui64toa, _atoi64,
4431 _i64tow, _ui64tow, _wtoi64): Add prototypes.
4433 Reported by Emanuele Aliberti <ea@iol.it>:
4434 * include/tchar.h (_ttoi): Add macro.
4436 Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
4437 * include/stdio.h (_snprintf): Add prototype.
4438 (_vsnprintf): Likewise.
4440 Sat Aug 7 18:00:00 1999 Mumit Khan <khan@xraylith.wisc.edu>
4442 Reported by Tor Lillqvist <tml@iki.fi>:
4443 * include/stdlib.h (__p___argv): Fix return type.
4445 Fri Jul 30 22:07:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
4448 * include/errno.h (errno): It's linked in from startup, not imported.
4449 * include/stdlib.h (errno): Likewise.
4450 * include/io.h: Guard against conflicting macros and prototypes in
4452 * include/stdlib.h: Likewise.
4453 * include/string.h: Likewise.
4454 * include/time.h: Likewise.
4456 Fri Jul 30 13:47:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
4458 * include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans.
4459 * include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT.
4460 * Makefile.in (INCLUDES): Remove old windows32 include directory.
4462 * crt1.c (_gnu_exception_handler): Fix prototype.
4463 (__mingw_CRTStartup): New function based on mainCRTStartup.
4464 (mainCRTStartup): Set the app type for MSVCRT and call
4466 (WinMainCRTStartup): Likewise.
4467 * init.c (_startupinfo): Define.
4468 (_getmainargs): Add 5th parameter.
4469 (_mingw32_init_mainargs): Use.
4471 * ALL *.c files: Reformat according to GNU coding style.
4473 Fri Jul 16 00:46:04 1999 Mumit Khan <khan@xraylith.wisc.edu>
4475 * Makefile.in (INCLUDES): Add w32api include directory.
4477 * include/_mingw.h: New file.
4478 * include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h,
4479 errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h,
4480 math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h,
4481 stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h,
4482 sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and
4483 use the macros __DECLSPEC_SUPPORTED and __MINGW_IMPORT.
4485 * include/stdlib.h (atexit): Fix prototype.
4487 Mon Jun 14 18:38:49 1999 Mumit Khan <khan@xraylith.wisc.edu>
4489 * include/stdio.h (_tempnam): Fix prototype.
4490 (tempnam): Likewise.
4491 * include/stdlib.h: Replace with GCC's version, and guard
4494 From Anders Norlander <anorland@hem2.passagen.se>:
4495 * include/stdlib.h (__argc): Declare.
4498 Mon Apr 5 13:49:17 1999 Mumit Khan <khan@xraylith.wisc.edu>
4500 * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
4502 * Makefile.in (_libm_dummy.o): New target.
4505 Tue Mar 16 18:15:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4507 * Released 1999-03-16 along with egcs-1.1.2.
4509 Wed Feb 17 17:15:56 1999 Mumit Khan <khan@xraylith.wisc.edu>
4511 * Makefile.in (LIBS): Add libm.a.
4512 (libm.a): Dummy libm.a.
4514 * Makefile.in: Update from winsup 1999-02-08 snapshot.
4515 Preserve local changes.
4516 (mkinstalldirs): In ../, not ../../.
4517 (INCLUDES): Point to local windows32api headers and use -nostdinc.
4519 (LIBS): Add libmoldname-msvc.a.
4520 (libmoldname-msvc.a): Add target.
4521 (distclean): Add target.
4523 Tue Feb 9 00:26:05 1999 Mumit Khan <khan@xraylith.wisc.edu>
4525 * include/dir.h: Reintroduce as an obsolescent header.
4526 * crt1.c (signal.h): Include.
4527 (_gnu_exception_handler): New function to properly handle win32
4528 asynchronous signals.
4529 (mainCRTStartup): Use.
4531 Sun Jan 3 23:52:25 1999 Mumit Khan <khan@xraylith.wisc.edu>
4533 * include/direct.h: Include io.h instead of dir.h
4534 * include/dirent.h: Likewise.
4535 * include/dos.h: Likewise.
4536 * include/stdio.h: Replace reference to dir.h with io.h.
4538 Thu Dec 31 16:04:55 1998 Mumit Khan <khan@xraylith.wisc.edu>
4540 * 1999-01-01 release bundled with egcs-1.1.1.
4542 * include/io.h: Incorporate dir.h.
4543 * include/dir.h: Remove.
4544 * include/signal.h: Move RC_INVOKED up a bit.
4546 Tue Dec 29 15:04:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
4548 * include/signal.h (sig_atomic_t): Define.
4550 * include/malloc.h: Import defs from deprecated alloc.h.
4551 * include/alloc.h: Remove.
4553 From "Daniel J. Rodriksson" <djr@dit.upm.es>:
4554 * include/sys/types.h (_dev_t): Should be unsigned int for MSVCRT.
4555 * include/sys/stat.h (struct stat): st_uid is of type short. Use
4556 _off_t instead of long for st_size.
4558 Thu Sep 10 22:28:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4560 * include/errno.h (sys_errlist, sys_nerr): Move from here ...
4561 * include/stdlib.h: Here.
4563 * include/netdb.h: Remove.
4564 * include/arpa/inet.h: Remove.
4565 * include/netinet/in.h: Remove.
4566 * include/sys/socket.h: Remove.
4568 Fri Sep 4 15:09:11 1998 Mumit Khan <khan@xraylith.wisc.edu>
4572 * include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h,
4573 sys/utime.h}: Protect stddef.h in RC_INVOKED macro.
4575 Thu Sep 3 10:43:29 1998 Mumit Khan <khan@xraylith.wisc.edu>
4577 * setjmp.h (_JBTYPE, _JBLEN): Define correctly.
4578 (jmpbuf): typedef using above.
4579 (setjmp, longjmp): Prototype using jmpbuf.
4581 Merge with Colin Peters' 980701 snapshot. I've ignored changes to
4582 obsolescent imported names, ie., from __imp__ to _imp___.
4584 Also ignored empty include/sys/param.h and incorrect
4585 include/sys/times.h.
4587 * CRTinit.c: New file.
4588 * include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef
4590 * include/io.h (umask): Fix prototype.
4591 * include/stdlib.h (OS constants): Replace with Colin's.
4592 * include/time.h (tzset, daylight, timezone): Replace with Colin's.
4593 * include/sys/state.h: Merge.
4595 Thu Sep 3 09:49:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
4597 * include/assert.h (assert): Lose the trailing semicolon.
4599 Thu Jul 30 21:18:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4601 * include/math.h (matherr): Declare.
4602 * include/stdio.h (fileno, _fileno): Declare.
4603 * include/stdlib.h (environ, _environ): Fix to use runtime DLL.
4606 * include/stdio.h (fdopen, _fdopen): Add const.
4607 (getw, putw): Declare.
4608 * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix.
4610 Sat Jun 13 18:19:41 1998 Mumit Khan <khan@xraylith.wisc.edu>
4612 * include/time.h (_timezone): Undefine.
4613 * include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
4615 * include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
4617 * include/stdlib.h (environ): Use DLL version.
4618 * init.c (environ): Undefine it before use.
4620 Sun Mar 22 19:59:30 1998 Mumit Khan <khan@xraylith.wisc.edu>
4622 * Update to 980309 snapshot from Colin Peters.
4624 * include/utime.h: remove
4625 * include/stdlib.h (__imp__osver_dll, __imp__winver_dll,
4626 __imp__winmajor_dll, __imp__winminor_dll): Apply Jan-Jaap's
4627 patches to define these.
4628 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4629 (_daylight, _timezone, _tzname, _tzset): Define.
4631 * include/netdb.h: Add from Colin's windows32api changes.
4632 * include/sys/socket.h: Likewise.
4633 * include/arpa/inet.h: Likewise.
4634 * include/netinet/in.h: Likewise.
4636 Wed Feb 4 14:16:44 1998 Mumit Khan <khan@xraylith.wisc.edu>
4638 * Update to 980128 snapshot from Colin Peters.
4640 Sat Dec 6 21:30:35 1997 Mumit Khan <khan@xraylith.wisc.edu>
4642 * configure.in (AC_INIT): Use dllmain.c instead of defunct
4644 * configure: Regenerate.
4646 Fri Dec 5 15:57:36 1997 Mumit Khan <khan@xraylith.wisc.edu>
4648 * Update to 971205 snapshot from Colin Peters. Lots of changes.
4649 Files renamed and include hierarchy loses directories named
4652 * include/dos.h: from Jan-Jaap.
4654 Thu Dec 4 21:48:13 1997 Mumit Khan <khan@xraylith.wisc.edu>
4656 Changes to conform to FSF tree.
4658 * crt1.c: Renamed from mcrt0.c.
4659 * dllcrt1.c: Renamed from dllcrt0.c.
4660 * Makefile.in: Update above. Also renamed libmoldnames.a to
4663 Mon Dec 1 16:51:30 1997 Mumit Khan <khan@xraylith.wisc.edu>
4665 * crtdll.def: Export all functions but the ones with funny names.
4666 * moldnames.def: Add fdopen since fileno is already there.
4667 * include/nonansi/dos.h: New file from Jan-Jaap.
4668 * include/errno.h: Add extern decl + various additions from JJ.
4669 * include/stdio.h: Likewise.
4670 * include/stdlib.h: Likewise.
4671 * include/nonansi/io.h: Likewise.
4672 * include/nonansi/process.h: Likewise.
4673 * include/sys/types.h: Likewise.
4675 Tue Nov 4 14:51:01 1997 Mumit Khan <khan@xraylith.wisc.edu>
4677 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4679 * include/stdlib.h (free): Fix prototype to return void, not void*.
4680 * include/nonansi/process.h: Add P_* and WAIT_* defs.
4682 * dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
4683 * mcrt0.c: Likewise.
4685 * Makefile.in (LIBS): Delete moldnames.dll from target libs.
4686 (libmoldnames.a): Add explicit rule to create it.
4688 Fri Aug 15 18:23:43 1997 Rob Savoye <rob@cygnus.com>
4690 New directory for the minimalist cygwin environment.
4692 * crtglob.c: New file. Turn on file globbing support.
4693 * crt_noglob.c: New file. Turn off file globbing support.
4694 * ctype_old.c: New file. Wrappers for functions that don't
4696 * dirent.c: New file. Directory routines readdir, opendir, closedir.
4697 * dllcrt0.c: New file. Initialization code to use crtdll.dll.
4698 * dllmain.c: New file. A stub DllMain function.
4699 * hugeval.c: New file. A gross hack to define HUGE_VAL.
4700 * init.c: New file. Common code to initialize standard file
4701 handles and command line arguments.
4702 * main.c: New file. A main for programs that only call WinMain.
4703 * mcrt0.c: New file. Default crt0 for mingw32.
4704 * oldnames.c: New File. Wrappers for functions that don't
4706 * string_old.c: New File.
4707 * include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h
4708 math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h
4709 string.h,tchar.h,time.h,wchar.h}: New header files for mingw.
4710 * include/sys/types.h: New header file for mingw.
4711 * include/nonansi/{alloc.h,conio.h,dir.h,direct.h,dirent.h
4712 fcntl.h,io.h,malloc.h,mem.h,memory.h,process.h,share.h,unistd.h
4713 utime.h,values.h,varargs.h}: New header files for mingw.
4714 * include/nonansi/sys/{fcntl.h,locking.h,stat.h,time.h
4715 timeb.h,unistd.h}: New header files for mingw.
4716 * Makefile.in,configure.in: Build and configure support.
4717 * configure: Generated from autoconf 2.12 with Cygnus patches.