1 2010-08-17 Keith Marshall <keithmarshall@users.sourceforge.net>
3 * include/limits.h (PATH_MAX): Make it agree with Microsoft's
4 semantically identical MAX_PATH; correct value is 260.
6 2010-07-25 Keith Marshall <keithmarshall@users.sourceforge.net>
8 Accept that mingwrt headers are not guaranteed to precede GCC's in the
9 system include search path; (issue reported by Mark Brand).
11 * include/float.h: Add multiple inclusion guard around...
12 [! defined _FLOAT_H___]: ...include_next <float.h> for GCC's version,
13 only when this define does not indicate that it has already been seen;
14 update comments to document rationale; move it within the scope of...
15 [! defined _MINGW_FLOAT_H_]: ...this multiple inclusion guard, so that
16 GCC's float.h, after an appropriate complementary modification, need
17 not perform a further include path search when this implementation
18 specific extension has already been processed.
20 2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>
22 * include/io.h (_findfirst, _findnext, _findclose, _findfirst32,
23 _findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32,
24 _findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext,
25 _findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64,
26 _findnexti64): Correct definition.
28 2010-04-27 Danny Smith <dannysmith@users.sourceforge.net>
30 * mingwex/mb_wc_common.h (get_codepage): Revert change of 2006-09-19.
32 2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
34 * include/_mingw.h: Increment version to 3.18.
36 2010-03-02 Daniel Atallah <datallah@users.sourceforge.net>
38 * include/stdio.h: (_vscprintf, _vscwprintf)
39 * include/tchar.h: (_vsctprintf)
41 2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
43 Issue [2134161]: time64 functions and types for msvcrt >= 8.0
44 (initial implementation)
46 * new type: __time32_t
48 * new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
49 __stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
50 __wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t
52 * new functions: _ctime32, _difftime32, _difftime64, _findfirst32
53 _findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
54 _findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
55 _futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
56 _mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
57 _wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
58 _wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
59 _wstat32i64, _wstat64i32,_wutime32
61 * new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
62 ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
63 _fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
64 _stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
65 _wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime
67 2010-01-25 Kai Tietz <kai.tietz@onevision.com>
69 Implement TLS Callback.
71 * tlsmcrt.c: New file.
72 * tlsmthread.c: Ditto.
75 * Makefile.in: Include new files.
76 * crt1.c: Implement TLS Callback.
78 * mthr_stub.c: Remove.
80 2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
82 * include/_mingw.h: Increment version to 3.17.
84 2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
86 * mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa:
87 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
89 2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
91 * include/io.h (_open_osfhandle): Correct definition.
93 Thanks to Alexander Shaduri for the information.
95 2009-11-02 Charles Wilson <mingw@cwilson.fastmail.fm>
97 Final sync of pseudo-reloc.c with mingw64 and cygwin
98 * lib/pseudo-reloc.c (__report_error) [CYGWIN]: Correct size bug
99 regarding error messages.
101 2009-10-29 Charles Wilson <mingw@cwilson.fastmail.fm>
103 Honor DESTDIR for winsup/mingw and winsup/w32api.
104 Detect and report error if installation paths are win32
105 format, but DESTDIR is non-empty.
107 * Makefile.in (DESTDIR): Honor per convention.
108 (need-DESTDIR-compatibility): New macro; define it and a
110 (fail-DESTDIR-compatibility): New dependency goal.
111 (install-dirs): Require need-DESTDIR-compatibility.
112 * mingwex/Makefile.in (DESTDIR): Honor per convention.
113 (need-DESTDIR-compatibility): New macro; define it and a
115 (fail-DESTDIR-compatibility): New dependency goal.
116 (install): Require need-DESTDIR-compatibility.
117 * profile/Makefile.in: Ditto.
119 2009-10-25 Charles Wilson <mingw@cwilson.fastmail.fm>
121 Sync pseudo-reloc.c with mingw64
122 * psuedo-reloc.c: Remove unnecessary includes.
123 Forward declare _pei386_runtime_relocator.
124 Decorate _image_base__ symbol with macro for
125 mingw64 compatibility. Whitespace changes.
126 (__print_reloc_error): Renamed to...
127 (__report_error): This. "Returns" void, and
128 always aborts. Now used on all platforms.
129 (__write_memory): Remove special case error handling
130 for different platforms - always call __report_error.
131 (do_pseudo_reloc): Remove special case error handling
132 for different platforms - always call __report_error.
133 (_pei386_runtime_relocator): Decorate _image_base__
134 symbol with mingw64 compatibility macro.
136 2009-10-23 Charles Wilson <mingw@cwilson.fastmail.fm>
138 Sync pseudo-reloc.c with cygwin/lib/
139 * pseudo-reloc.c [CYGWIN]: Added comments throughout and various
140 whitespace fixes. Exploit cygwin_internal(CW_EXIT_PROCESS,...)
141 for fatal error handling that is consistent with cygwin process
142 life-cycle. Ensure state variable (in _pei386_runtime_relocator)
143 is unique to each address space, across fork().
144 [CYGWIN] (__print_reloc_error): New function for reporting
145 errors in a manner supported by cygwin at this early stage of
146 the process life-cycle.
147 [CYGWIN] (_pei386_runtime_relocator): Ensure relocations
148 performed only once for each address space, but are repeated
149 after fork() in the new address space.
150 [MINGW] (__write_memory): Ensure that b is always initialized
151 by call to VirtualQuery, even if -DNDEBUG.
153 2009-09-29 Keith Marshall <keithmarshall@users.sourceforge.net>
155 Make MinGW printf() "%p" format compatible with MSVCRT scanf().
156 (Based on MinGW-patch 2844514 by Peter Rosin <peda@lysator.liu.se>)
158 * mingwex/stdio/pformat.c (__printf) [%p]: Do not arbitrarily apply...
159 (PFORMAT_HASHED): ...this formatting attribute; honour only user
160 specified format qualifiers, except in special case...
161 [%p && stream.flags == flags && state == PFORMAT_INIT]: Apply...
162 (PFORMAT_ZEROFILL): ...this default formatting attribute...
163 (stream.precision): ...filled to at least 2 * sizeof( uintptr_t )
166 2009-09-01 Keith Marshall <keithmarshall@users.sourceforge.net>
168 Avoid multiple link time definitions of _printf() for C++;
169 (problem reported by Alexander Shaduri, via MinGW-users ML).
171 * include/stdio.h [__USE_MINGW_ANSI_STDIO]:
172 (__mingw_stdio_redirect__) [__cplusplus]: remove `static' keyword.
174 2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
176 * include/_mingw.h: Increment version to 3.16.
178 2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>
180 * include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit,
181 __signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf,
182 __fp_unordered_compare): Add prototypes.
183 * include/stdio.h (vsnwprintf): Add prototype.
184 * include/wchar.h (vsnwprintf): Add prototype.
185 * include/stdlib.h (_Exit): Protect inline definition with !__STRICT_ANSI__.
186 * include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard.
188 2009-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
190 Correct disposition of wchar_t output in printf().
192 * mingwex/stdio/pformat.c (__pformat) [%C]: Create new instance of...
193 (argval): ...this, in inner scope, with singular type `wchar_t'; use
194 it to pass one wchar to __pformat_wputchars(), for output.
196 2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
198 * mingwex/stdio/pformat.c: Implement better fix for type punned warning.
200 2009-07-27 Keith Marshall <keithmarshall@users.sourceforge.net>
202 Convert to monolithic configuration procedure.
204 * configure.in (AC_CHECK_TOOL): All instances; tabulate arguments.
205 (AC_SUBST): Use its 2nd argument to initialise MinGW default settings.
206 (PACKAGE_TARNAME) [target_os ~ cygwin]: Redefine it as appropriate.
207 (W32API_INCLUDE): Redefine; make it relative to `top_srcdir'.
208 (CRT0S): Relocate from `profile'; define it as appropriate.
209 (LIBM_A): Define and AC_SUBST it unconditionally.
210 (AC_CONFIG_SUBDIRS): Remove; none to configure.
211 (AC_OUTPUT_FILES): Add `Makefile' for each of...
212 (mingwex, profile): ...these subdirectories.
214 * configure: Regenerated.
216 * Makefile.in (PACKAGE, host_os): Let AC_SUBST define them.
217 (top_srcdir, top_builddir): New macros; let AC_SUBST define them.
218 (datarootdir): New macro; autoconf > 2.59 wants AC_SUBST to define it.
219 (SUBDIRS): Define explicitly, to run recursive `make' in...
220 (mingwex, profile): ...these; simplify build commands...
221 (rootme, rootsrc): ...without these shell variables.
222 (all, subdirs): Delete redundant build commands.
223 (FIXME): Flag various issues for follow up.
225 * mingwex/Makefile.in (INCLUDES): Redefined macro; refer it to...
226 (top_srcdir): ...this new macro; let AC_SUBST define it.
227 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
228 (Makefile): Make it depend on...
229 (top_builddir/config.status): ...this, itself depending on...
230 (top_srcdir/configure): ...this.
231 (FIXME): Flag various issues for follow up.
233 * mingwex/aclocal.m4: File no longer required; delete it.
234 * mingwex/configure mingwex/configure.in: Likewise.
236 * profile/Makefile.in (INCLUDES): Redefined macro; refer it to...
237 (top_srcdir): ...this new macro; let AC_SUBST define it.
238 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
239 (Makefile): Make it depend on...
240 (top_builddir/config.status): ...this, itself depending on...
241 (top_srcdir/configure): ...this.
242 (FIXME): Flag various issues for follow up.
244 * profile/aclocal.m4: File no longer required; delete it.
245 * profile/configure profile/configure.in: Likewise.
247 2009-07-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
249 * msvcrt.def.in: disable time symbol for libmsvcr90.a and libmsvcr90d.a due
250 to complaints that it causes issues.
252 2009-07-23 Jacky Lai <crazyjacky@users.sourceforge.net>
254 * mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan().
256 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
258 * include/inttypes.h include/math.h include/stdio.h include/stdlib.h
259 include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard
260 to all inline functions.
262 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
264 * CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
267 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
269 * cpu_features.c: replace gcc-specific construct with portable alternative
270 and match the code a few lines above.
271 * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
273 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
275 * include/_mingw.h: Changes required for PCC compiler.
277 2009-07-18 Jeff Lu <jll544@yahoo.com>
279 * mingwex/usleep.c: round up to next ms
281 2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
283 * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
284 mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
285 mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
286 the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
288 2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
290 * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.
292 2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>
294 * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files.
295 * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c
296 mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c
297 mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h
298 mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h
299 mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c
300 mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c
301 mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c
302 mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c
303 mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org
304 sources as of Apr. 20, 2009. Update further to match the sources in
305 the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX
306 code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the
307 double/ulong union from U to dbl_union for better grepping and white-
310 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
312 * include/stdlib.h (_wtof): Define.
314 2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
316 * include/stdint.h (int_fast8_t): Specify as signed char.
317 (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
318 (INT32_C, UINT32_C): Remove 'L' type specifier on constant.
320 2009-03-05 Kai Tietz <kai.tietz@onevision.com>
322 * pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2.
324 2009-02-08 Keith Marshall <keithmarshall@users.sourceforge.net>
326 MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.
327 (Requested by Robert Riebisch)
329 * mingwex/getopt.c (getopt_parse): Track external increments of...
330 (optind): ...this global variable.
332 2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
334 * include/_mingw.h: Increment version to 3.15.2.
336 2009-01-04 Keith Marshall <keithmarshall@users.sourceforge.net>
338 Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
339 Also add tentative support for BSD specific `optreset' feature.
341 * include/getopt.h (optreset) [_BSD_SOURCE]: Define; map it to...
342 (__mingw_optreset): ...this new global variable.
344 * mingwex/getopt.c (__mingw_optreset): Instantiate it...
345 (getopt_parse) [optind < 1]: ...make it true; use it to reset argument
348 2008-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
350 Partial fix for MinGW-Bug [2457778]: (Reported by Sisyphus).
351 Correct mishandling of invalid characters in printf() format specs.
353 * mingwex/stdio/pformat.c (__pformat): Save `fmt' scan position in...
354 (backtrack): ...this new automatic variable, at start of each format
355 conversion specification substring; use it to backtrack, and print the
356 substring literally, if any invalid character is encountered.
358 2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
360 * msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
361 ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
362 ___unguarded_readlc_active_add_func, __crtCompareStringW,
363 __crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
364 __pwctype_func, __iob_func, __uncaught_exception, __wcserror,
365 __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
366 __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
367 __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
368 _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
369 _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
370 _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
371 _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
372 _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
373 _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
375 2008-12-08 Dmitry G. Gorbachev <d.g.gorbachev@gmail.com>
377 * cpu_features.c (__cpu_features_init): Remove erroneous ';'.
379 2008-10-28 Keith Marshall <keithmarshall@users.sourceforge.net>
381 Correct some binary distribution packaging defects.
383 * Makefile.in (bindist): Remove `make' conditionals; segregate into...
384 (bindist-common, bindist-mingwrt, bindist-mingw-runtime): ...these new
385 intermediate goals; they make packages of files, as specified by...
386 (BINDIST_FILES, DEVDIST_FILES, DLLDIST_FILES): ...these new macros.
387 (dist_prefix) [target_alias !~ cygwin]: Leave it undefined.
389 2008-10-18 Keith Marshall <keithmarshall@users.sourceforge.net>
391 Fix MinGW-Bug [2136252]: (Reported by Roumen Petrov).
392 Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5
394 * mingwex/stdio/pformat.c (__pformat_emit_float): Always make output
395 of radix point conditional on precision != 0 or `#' flag specified.
397 2008-10-13 Keith Marshall <keithmarshall@users.sourceforge.net>
399 Fix MinGW-Bug [2160227]
400 Eliminate conflicting declarations and implementations of scalb().
402 * moldname.def.in (scalb): Comment out of EXPORTS list.
403 * include/math.h (scalb): Comment out OLDNAMES prototype; it conflicts
404 with GCC's built-in declaration.
406 2008-10-12 Christopher Faylor <me+cygwin@cgf.cx>
408 * Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
410 * mingwex/Makefile.in: Ditto.
411 * profile/Makefile.in: Ditto.
412 * configure.in: Record mingw front-end for building under Cygwin.
413 * mingwex/configure.in: Ditto.
414 * profile/configure.in: Ditto.
415 * configure: Regenerate.
416 * mingwex/configure: Ditto.
417 * profile/configure: Ditto.
419 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
421 Use de-facto standard Makefile goals to invoke test suite.
423 * Makefile.in: Some minor formatting adjustments.
424 (test_headers): Unconventionally named goal renamed to...
425 (check-headers): ...this; make it a prerequisite of...
426 (check): ...this new conventionally named goal.
428 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
430 Make strtod() inline definition C89 compliant.
431 (Issue reported by Ilya Shestopalov and Ian Puleston)
432 (Correction identified by Danny Smith)
434 * include/stdlib.h (strtod): Declare as `__inline__', not `inline';
435 reformat inline function definition.
437 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
439 * include/_mingw.h: Increment version to 3.15.1 and introduce
440 __MINGW32_PATCHLEVEL variable.
442 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
444 Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
445 (Reported by Christian Franke)
447 * mingwex/getopt.c (optind): Make global variable value conform to
448 behaviour specified by POSIX; do not use it for internal state in...
449 (getopt_parse): ...this static function; use...
450 (optbase): ...this new static local variable instead.
451 (getopt_resolved): Update `optind' as required.
453 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
455 Improve package identification in configure script.
457 * configure.ac (AC_INIT): Redefine parameters...
458 (PACKAGE_NAME): Set to `MinGW Runtime'.
459 (PACKAGE_BUGREPORT): Set to `http://mingw.org/reporting_bugs'
460 (PACKAGE_TARNAME): Set to `mingwrt'.
461 (PACKAGE_VERSION): Set generically to `v3.x'; reassigned by...
462 (MINGW_AC_CONFIG_SRCDIR): ...this macro, which extracts...
463 (__MINGW32_VERSION): ...this, from file `include/_mingw.h'.
465 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): Do not redefine...
466 (PACKAGE_TARNAME): ...this.
468 * configure: Regenerated.
470 2008-09-25 Keith Marshall <keithmarshall@users.sourceforge.net>
472 Fix MinGW-Bug [2125708].
473 (Reported by Alexandr Zamaraev).
475 * include/stdlib.h (intptr_t) [!_INTPTR_T_DEFINED]: Unused typedef;
476 not wanted here; remove it; replace it by...
477 (uintptr_t) [!_UINTPTR_T_DEFINED]: ...this typedef; needed by...
478 (_invalid_parameter_handler): ...this function typedef.
480 2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
482 * Makefile.in: Don't include host_os as part of snapshot filename.
484 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
486 Fix MinGW-Bug [2119504].
487 (Reported by Peiyuan Song).
489 * mingwex/getopt.c (getopt_resolved): Do not overwrite...
490 (*retindex): ...this already correctly assigned return variable...
491 (opt[index].val): ...with this; this should have been assigned to...
492 (*opt[index].flag) [opt[index].flag != NULL]: ...this instead.
494 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
496 Fix MinGW-Bug [2117379].
497 (Reported by Peiyuan Song).
499 * include/stdio.h (__argv): Replace all references in function
500 prototype argument lists and inline function local variables, with ...
501 (__local_argv): ...this, to avoid potential conflict with ...
502 * include/stdlib (__argv): ...this #defined macro.
504 2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
506 * include/_mingw.h: Increment version to 3.15.
508 2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
510 * Makefile.in: Adjust to new naming standard for MinGW while maintaining old
511 naming standard for Cygwin.
513 2008-08-31 Keith Marshall <keithmarshall@users.sourceforge.net>
515 Reimplement getopt.c to add getopt_long_only() function.
517 (N.B. this reimplementation removes support for BSD/Mac-OS-X
518 `optreset' nonsense; user code should set `optind = 0' instead,
519 to reinitialise option scanning).
521 * mingwex/getopt.c: Delete all content; reimplement it.
522 * include/getopt.h: Likewise.
524 * include/unistd.h (__UNISTD_H_SOURCED__): New macro; define it.
525 (__UNISTD_GETOPT__): This macro is no longer required; remove it.
527 2008-08-30 Keith Marshall <keithmarshall@users.sourceforge.net>
529 Implement conditional replacement for printf() family functions.
531 * include/_mingw.h (__USE_MINGW_ANSI_STDIO): New macro; define it.
532 (__MINGW_ANSI_STDIO__): New manifest constant; define as bitmapped
533 flag for use in user specified __MINGW_FEATURES__ attribute.
534 (__MINGW_LC_MESSAGES__, __MINGW_LC_ENVVARS__): New manifest constants;
535 currently unused: reserved as components of...
536 (__MINGW_LC_EXTENSIONS__): ...this new manifest constant; earmarked as
537 a __MINGW_FEATURES__ enhancement to setlocale().
539 * include/stdio.h (__mingw_printf, __mingw_vprintf): Prototype them.
540 (__mingw_fprintf, __mingw_vfprintf): Likewise.
541 (__mingw_sprintf, __mingw_vsprintf): Likewise.
542 (__msvcrt_printf, __msvcrt_vprintf): Likewise.
543 (__msvcrt_fprintf, __msvcrt_vfprintf): Likewise.
544 (__msvcrt_sprintf, __msvcrt_vsprintf): Likewise.
545 (printf, vprintf) [!__USE_MINGW_ANSI_STDIO]: Prototype for default
546 usage; link to DLL import stub, importing from MSVCRT.
547 (fprintf, vfprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
548 (sprintf, vsprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
549 (printf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_printf; use
550 locally defined static stub implementation.
551 (fprintf, sprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
552 __mingw_fprintf and __mingw_sprintf respectively.
553 (vprintf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_vprintf; use
554 static inline implementation for C++ and GNU C, or locally defined
555 static stub otherwise.
556 (vfprintf, vsprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
557 __mingw_vfprintf and __mingw_vsprintf respectively.
559 2008-08-27 Keith Marshall <keithmarshall@users.sourceforge.net>
561 Avoid access violations, passing NULL to printf( "...%s..." );
562 (inconsistencency with MSVCRT and glibc, reported by Colin Harrison).
564 * mingwex/stdio/pformat.c (__pformat_puts): Substitute "(null)"
565 for argument value, if caller passes a NULL pointer.
566 (__pformat_wcputs): Likewise, substitute L"(null)".
568 2008-08-14 Keith Marshall <keithmarshall@users.sourceforge.net>
570 Add missing dependencies for building libmingwex.a.
572 * mingwex/Makefile.in (printf.o, fprintf.o, sprintf.o): Make them...
573 (vprintf.o, vfprintf.o, vsprintf.o): ...and also these, depend on...
574 (pformat.h): ...this.
576 2008-08-11 Keith Marshall <keithmarshall@users.sourceforge.net>
578 Add replacements for remaining members of printf() family.
580 * mingwex/stdio/printf.c: New file.
581 * mingwex/stdio/fprintf.c: New file.
582 * mingwex/stdio/sprintf.c: New file.
583 * mingwex/stdio/vprintf.c: New file.
584 * mingwex/stdio/vfprintf.c: New file.
585 * mingwex/stdio/vsprintf.c: New file.
587 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
588 (STDIO_OBJS): Add their corresponding object files.
590 2008-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
592 Replace __mingw_snprintf() with new generic family implementation;
593 likewise, replace __mingw_vsnprintf().
595 * mingwex/stdio/pformat.c mingwex/stdio/pformat.h: New files.
596 * mingwex/stdio/snprintf.c mingwex/stdio/vsnprintf.c: New files.
597 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
598 (GDTOA_DISTFILES): Remove mingw_snprintf.c
599 (STDIO_OBJS): Add pformat.o, snprintf.o and vsnprintf.o
600 (GDTOA_OBJS): Remove mingw_snprintf.o
601 (PFORMAT_CFLAGS): New macro; define it, as required by...
602 (pformat.o): ...this new explicit build target.
603 (snprintf.o, vsnprintf.o): Declare prerequisites.
605 * mingwex/gdtoa/mingw_snprintf.c: Redundant file; delete it.
607 2008-07-28 Keith Marshall <keithmarshall@users.sourceforge.net>
609 Lay foundations for new printf() function family implementation.
611 * ofmt_stub.s: New file; implement forward compatibility stub for...
612 (_get_output_format): ...this MSVCR80.DLL and later function.
614 * Makefile.in (SRCDIST_FILES): Add ofmt_stub.s.
615 (NM, OBJCOPY): New macros; define them with AC_SUBSTed values.
616 (sym_prefix, NM_LOOKUP, MINGW_REPL_FUNCS): New macros; define them.
617 (lib%.a): Include ofmt_stub.o when import library does not already
618 advertise availability of the _get_output_format() function;
619 Add alias stubs for MINGW_REPL_FUNCS, such that...
620 (__msvcrt_printf): ...is an alias for Microsoft's printf().
621 (__msvcrt_fprintf): ...is an alias for Microsoft's fprintf().
622 (__msvcrt_sprintf): ...is an alias for Microsoft's sprintf().
623 (__msvcrt_vprintf): ...is an alias for Microsoft's vprintf().
624 (__msvcrt_vfprintf): ...is an alias for Microsoft's vfprintf().
625 (__msvcrt_vsprintf): ...is an alias for Microsoft's vsprintf().
626 (clean): Add msvcr*.def.
628 * configure.in (NM, OBJCOPY): Use AC_CHECK_TOOL to specify them.
629 * configure: Regenerated.
631 2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
633 * include/ctype.h (_imp____mb_cur_max): Correct spelling.
634 (_imp____mb_cur_max_dll): Likewise.
636 2008-07-04 Danny Smith <dannysmith@users,sourceforge.net>
638 * include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
639 * include/wchar.h (swprintf, vswprintf): Likewise.
641 2008-07-01 Keith Marshall <keithmarshall@users.sourceforge.net>
643 * msvcrt.def.in [__msvcr80__, __msvcr80d__, __msvcr90__, __msvcr90d__]
644 (_get_output_format, _set_output_format): Add references.
646 * include/stdio.h [__MSVCRT_VERSION__ >= 0x800]
647 (_get_output_format, _set_output_format): Declare prototypes.
648 (_TWO_DIGIT_EXPONENT): Define.
649 Some other minor formatting adjustments.
651 2008-06-14 Danny Smith <dannysmith@users.sourceforge.net>
654 * include/wchar.h (_wfdopen): Const-ify second arg.
655 * include/stdio.h (_wfdopen): Likewise.
656 Thanks to <tdragon at users dot sourceforge net>
658 2008-06-02 Keith Marshall <keithmarshall@users.sourceforge.net>
660 Avoid precision errors in round(), lround() and llround() functions.
662 * mingwex/math/round_generic.c: New file; it replaces...
663 * mingwex/math/round.c: ...this; delete it.
664 * mingwex/math/roundf.c: ...and this; ditto.
665 * mingwex/math/roundl.c: ...and this; ditto.
667 * mingwex/math/lround_generic.c: New file; it replaces...
668 * mingwex/math/lround.c: ...this; delete it.
669 * mingwex/math/lroundf.c: ...and this; ditto.
670 * mingwex/math/lroundl.c: ...and this; ditto.
671 * mingwex/math/llround.c: ...and this; ditto.
672 * mingwex/math/llroundf.c: ...and this; ditto.
673 * mingwex/math/llroundl.c: ...and this; ditto.
675 * mingwex/math/round_internal.h: New file; it provides generic common
676 code, which is shared by `round_generic.c' and `lround_generic.c'; the
677 implementation is based on techniques suggested by Danny Smith and
680 * mingwex/Makefile.in (MATH_DISTFILES): Remove `round.c', `roundf.c',
681 `roundl.c', `lround.c', `lroundf.c', `lroundl.c', `llround.c',
682 `llroundf.c' and `llroundl.c'; replace by `round_internal.h',
683 `round_generic.c' and `lround_generic.c'.
684 (MATH_OBJS): Factor out files listed in...
685 (MATH_ROUND_OBJS, MATH_LROUND_OBJS, MATH_LLROUND_OBJS): ...these new
686 macros; define them; specify dependencies and build rules; add to...
687 (LIB_OBJS): ...this list.
689 2008-05-22 Danny Smith <dannysmith@users.sourceforge.net>
691 [ mingw-Bugs-1961893 ]
692 * mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa
693 mode to 2 for E format.
695 2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
697 * include/stdlib.h: Fix strtod under C++.
699 2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
701 * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
702 * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
704 2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
706 * include/sys/types.h (useconds_t): typedef.
707 * include/unistd.h (usleep): Add prototype.
708 * mingwex/usleep.c: New file.
709 * mingwex/makefile.in: Add usleep source and object.
711 2008-05-02 Ramiro Polla <ramiro@lisha.ufsc.br>
713 Make strtod() conform to C99.
715 * include/stdlib.h (strtod): Declare this mingwex function, and...
716 (_strtod): rename this MSVCRT counterpart.
718 * mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
720 2008-04-26 Chuck Wilson <cwilso11@users.sourceforge.net>
722 * Makefile.in: correct issues with mingw10.dll having multiple relocs.
724 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
726 * include/process.h: Include stdint.h for intptr_t definition.
727 (_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
728 _spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
729 _spawnvpe): Return intptr_t.
730 (execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
731 spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
733 * include/wchar.h: Guard wide process.h functions with !__STRICT_ANSI__.
735 [!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
736 (_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
737 _wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
738 _wspawnvp, _wspawnvpe): Return intptr_t.
740 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
742 * include/wchar.h (fwide): Return success code rather than failure in inline
744 * mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
745 code rather than failure.
747 2008-03-21 Danny Smith
749 * include/math.h (float_t, double_t): Define.
751 2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
753 * mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
754 * mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
755 (x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
757 2008-02-28 Joseph Myers <joseph@codesourcery.com>
759 * include/complex.h: Don't condition contents on C99 or not
762 2008-02-01 Brian Dessent <brian@dessent.net>
764 * Makefile.in: Add rules to generate multiple versions of libmoldname.a for
765 the different runtime versions.
767 2008-01-19 Danny Smith <dannysmithusers.sourceforge.net
769 * inclue/wchar.h (fwide): Add prototype and guard inline definition.
772 2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
774 * include/_mingw.h: Increment version to 3.14.
776 2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
778 * Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
779 * msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
780 * mingwex/math/log10f.S: Correct issue with comments.
781 * mingwex/math/log10l.S: Ditto.
782 * mingwex/math/log1p.S: Ditto.
783 * mingwex/math/log1pf.S: Ditto.
784 * mingwex/math/log1pl.S: Ditto.
785 * mingwex/math/log2.S: Ditto.
786 * mingwex/math/log2f.S: Ditto.
787 * mingwex/math/log2l.S: Ditto.
788 * mingwex/math/logf.S: Ditto.
789 * mingwex/math/logl.S: Ditto.
791 2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
793 * mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
795 2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
797 * include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
798 from '_fsize_t' to '__int64' to be consistent with the other ...64
799 structures and the value set there is 8 bytes not 4. Add guard for both
800 as the are only used by functions available from 6.1 on.
802 * include/malloc.h (_HEAP_MAXREQ): Define.
803 (_aligned_offset_recalloc): Define.
804 (_aligned_recalloc()): Define.
806 * include/math.h: fixed a typo in a comment.
807 (atanhf): Fixed declaration.
809 * include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
810 to '__int64' to be consistent with the other ...64 structures and the value
811 set there is 8 bytes not 4. Added guard as this function is only used by
812 functions available from 6.1 on.
814 * include/sys/stat.h: some members of 'stat' were declared with types with
815 a prefixed underscore, while the ones without the underscore should have
816 been used. Added guard to '__stat64' as it is only used by functions
817 available from 6.1 on. Added the wide character versions of the
818 exec()/spawn() family for completion
819 (_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
822 * include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
823 from 'long' to 'time_t'
824 (__timeb64): moved declaration of structure directly before the declaration
825 of the function '_ftime64()', so it is guarded as well
827 * include/sys/utime.h (__utimbuf64): moved declaration of structure directly
828 before the declaration of the functions using it, so it is guarded as well
830 2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
832 * mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
833 case. Add missing break in 's'/LEN_S case.
835 2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
837 Make snprintf() and vsnprintf() conform to C99.
839 * include/stdio.h: Add note about incompatibility between...
840 (snprintf, vsnprintf): These two mingwex functions, and...
841 (_snprintf, _vsnprintf): these MSVCRT counterparts.
843 * mingwex/Makefile.in (STDIO_OBJS): Remove snprintf.o and vsnprintf.o
844 (STDIO_DISTFILES): Remove snprintf.c and vsnprintf.c
846 * mingwex/stdio/snprintf.c: Delete.
847 * mingwex/stdio/vsnprintf.c: Delete.
849 * mingwex/gdtoa/mingw_snprintf.c (snprintf): Alias to __mingw_snprintf
850 (vsnprintf): Alias to __mingw_vsnprintf.
852 2007-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
854 * include/_mingw.h: Increment version to 3.13.
855 * Makefile.in: Reset CYGRELEASE to 1
857 2007-07-23 Keith Marshall <keithmarshall@users.sourceforge.net>
859 * Makefile.in (SUBDIRS): Delete stray line continuation artifact,
860 resulting from incomplete removal of enclosing `for ...; do ...; done'
861 loop from compound command; (reported by Greg Chicares).
863 2007-07-19 Danny Smith <dannysmith@users.sourceforge.net>
865 * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
868 2007-07-12 Danny Smith <dannysmith@users.sourceforge.net>
871 * include/wchar.h (_wsystem) Declare.
874 (_wsearchenv): Declare.
875 (_wmakepath): Declare.
876 (_wsplitpath): Declare.
877 (_wfullpath): Declare.
878 * include/stdlib.h (_wsystem) Declare.
879 (_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath,
880 _wfullpath): Move into _WSTDLIB_DEFINED guard.
881 * include/tchar.h (_tsystem): New UNICODE mapping define.
883 2007-06-29 Danny Smith <dannysmith@users.sourceforge.net>
885 * mingwex/gdtoa/mingw_snprintf.c: New file.
886 * mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
887 (GDTOA_OBJS): Add mingw_snprintf.o.
889 2007-06-28 Danny Smith <dannysmith@users.sourceforge.net>
891 * msvcrt.def.in: Update comment.
892 Exclude _ctype stub if using msvcr71.dll or newer.
893 * include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
894 * include/wctype.h: Likewise.
896 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
898 *include/wctype.h: Qualify all functions with __MINGW_NOTHROW.
899 *include/dirent.h: Likewise.
901 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
903 * include/assert.h: Qualify all functions with __MINGW_NOTHROW.
904 * include/conio.h: Likewise.
905 * include/ctype.h: Likewise.
906 * include/direct.h: Likewise.
907 * include/dos.h: Likewise.
908 * include/errno.h: Likewise.
909 * include/fenv.h: Likewise.
910 * include/float.h: Likewise.
911 * include/inttypes.h: Likewise.
912 * include/io.h: Likewise.
913 * include/libgen.h: Likewise.
914 * include/locale.h: Likewise.
915 * include/malloc.h: Likewise.
916 * include/mbctype.h: Likewise.
917 * include/mbstring.h: Likewise.
918 * include/process.h: Likewise.
919 * include/search.h: Likewise.
920 * include/setjmp.h: Likewise.
921 * include/signal.h: Likewise.
922 * include/stdio.h: Likewise.
923 * include/stdlib.h: Likewise.
924 * include/string.h: Likewise.
925 * include/time.h: Likewise.
926 * include/wchar.h: Likewise.
927 * include/sys/stat.h: Likewise.
928 * include/sys/time.h: Likewise.
929 * include/sys/timeb.h: Likewise.
930 * include/sys/utime.h: Likewise.
932 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
934 * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
936 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
938 Add POSIX binary tree search API.
940 * mingwex/tfind.c: New file.
941 * mingwex/tdelete.c: New file.
942 * mingwex/tsearch.c: New file.
943 * mingwex/twalk.c: New file.
944 * mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
945 * mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
946 * include/search.h (tfind): Declare.
953 (node_t): Define, on condition of _SEARCH_PRIVATE.
955 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
957 * include/_mingw.h (__MINGW_NOTHROW): Define.
959 2007-06-18 Danny Smith <dannysmith@users.sourceforge.net>
961 * include/stdio.h (vsnprintf): Remove inline definition.
964 2007-06-16 Danny Smith <dannysmith@users.sourceforge.net>
966 * CRTfmode.c: Nit-pick comment fix.
968 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
970 * CRTfmode.c: Fix nested comment.
972 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
974 * include/string.h (strcasecmp): Fix typo in declaration prototype.
976 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
978 * include/io.h (lseek64) : Add prototype.
980 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
982 * include/string.h (strcasecmp): Add prototype.
983 (strncasecmp): Add prototype.
985 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
987 * Makefile.in (CRT0S): Revert last change.
988 * CRTfmode.c. Correct comment.
990 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
992 * Makefile.in (CRT0S): Add back CRTfmode.o.
994 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
996 * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
997 * include/io.h: Likewise.
999 2007-06-11 Danny Smith <dannysmith@users.sourceforge.net>
1001 * crt1.c (__mingw_CRTStartup): Add explicit call to gcc's __main.
1003 2007-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1005 * include/stdint.h (intptr_t): Fix typo.
1006 Thanks to Charles Wilson for report.
1008 2007-05-07 Danny Smith <dannysmith@users.sourceforge.net>
1010 * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
1011 Condition on _WIN64.
1012 (uintptr_t): Protect with _UINTPTR_T_DEFINED. Condition on _WIN64.
1013 (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64.
1014 (PTRDIFF_MIN): Define as INTPTR_MIN.
1015 (PTRDIFF_MAX): Define as INTPTR_MAX.
1016 (SIG_ATOMIC_MIN): Define as INTPTR_MIN.
1017 (SIG_ATOMIC_MAX): Define as INTPTR_MAX.
1019 2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1021 * Makefile.in: Removed mansuffix variable. Changed mansection to support
1022 Cygwin man page location.
1024 2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1026 * Makefile.in: Added mansection and mansuffix variables. Changed mandir to
1027 support Cygwin man page location.
1029 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1031 * Include/_mingw.h: Increment version to 3.12.
1033 2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
1035 * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__.
1037 2007-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1039 * Makefile.in: Tweak srcdist to fix build issue.
1041 2007-03-20 Keith Marshall <keithmarshall@users.sourceforge.net>
1043 Add --enable-mingw-manpage-transform configure option.
1045 * aclocal.m4 (MINGW_AC_MANPAGE_TRANSFORM): New macro.
1046 * configure.in, Makefile.in: Use it.
1047 * configure: Regenerated.
1049 2007-03-18 Danny Smith <dannysmith@users.sourceforge.net>
1051 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ for gcc 4.2.x too.
1053 2007-03-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1055 Add manpages for dirname and basename functions.
1057 * man: New directory.
1058 * man/dirname.man: New file; it sources both manpages.
1059 * Makefile.in: Add provisional rules to distribute them.
1061 2007-03-08 Keith Marshall <keithmarshall@users.sourceforge.net>
1063 * mingwex/basename.c: Make it work with path names containing
1064 multibyte character strings.
1065 * mingwex/dirname.c: Likewise.
1067 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1069 * include/io.h (__mingw_access): New static inline wrapper to restore
1070 pre-Vista 'access (fname, X_OK)' behaviour.
1071 (__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
1073 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1075 * mingwex/fesetround.c (fesetround): Use unsigned int as operand
1077 Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
1079 2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
1081 * include/stdio.h (_unlink, unlink): Add prototypes.
1083 2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
1085 * include/excpt.h: Replace "_try1" in comments with "__try1".
1087 2007-02-15 Danny Smith <dannysmith@users.sourceforge.net>
1089 * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1090 (ALL_CXXFLAGS): Likewise.
1091 * mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1092 (ALL_CXXFLAGS): Likewise.
1093 * profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1094 (ALL_CXXFLAGS): Likewise.
1096 2007-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1098 * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
1100 2007-01-27 Danny Smith <dannysmith@users.sourceforge.net>
1102 Expose some more msvcr80.dll functions.
1103 * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
1104 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
1105 * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
1106 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
1108 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1110 Expose some msvcr80.dll functions.
1111 * include/stdlib.h (_set_abort_behavior): Add prototype.
1112 (_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
1113 _set_abort_behavior mask argument.
1114 (_invalid_parameter_handler): Add typedef.
1115 (_set_invalid_parameter_handler): Add prototype.
1116 * include/stdio.h (_get_printf_count_output): Add prototype.
1117 (_set_printf_count_output): Add prototype.
1118 * msvcrt.def.in (_get_printf_count_output,_set_printf_count_output,
1119 _set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
1121 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1123 * include/_mingw.h (CRT_INLINE): Correct typo.
1125 2007-01-24 Danny Smith <dannysmith@users.sourceforge.net>
1127 * include/io.h (X_OK): Define to F_OK.
1129 2007-01-19 Danny Smith <dannysmith@users.sourceforge.net>
1131 * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1132 unconditionally. Change comment.
1133 * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1135 * include/io.h (rename): Declare.
1138 2006-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
1140 * include/libgen.h: New file; required by...
1141 * mingwex/basename.c, mingwex/dirname.c: New files.
1142 * mingwex/Makefile.in (DISTFILES): Add them...
1143 (POSIX_OBJS): ...with corresponding basename.o, dirname.o
1144 (Dependencies): Typo; s/Dependancies/Dependencies/
1146 2006-11-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1148 * Makefile.in (VERSION): Let configure define it.
1150 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): New macro.
1151 * configure.in: Use it.
1152 Correct quoting of autoconf macro arguments throughout.
1153 (AC_INIT, AC_OUTPUT): Update to autoconf 2.5x preferred syntax.
1154 (AR, AS, RANLIB, LD, DLLTOOL, DLLWRAP): Don't need AC_SUBST.
1155 (AC_ALLOCA): Invalid after GCC_NO_EXECUTABLES; removed.
1156 (AC_CONFIG_FILES): Add, to generate Makefile.
1158 * configure: Regenerated.
1160 2006-11-21 Danny Smith <dannysmith@users.sourceforge.net>
1162 * Makefile.in: Add aclocal.m4 to source release.
1163 * mingwex/Makefile.in: Ditto.
1164 * profile/Makefile.in: Ditto.
1166 2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1168 * Include/_mingw.h: Increment version to 3.11.
1169 * Makefile.in: Ditto.
1171 2006-11-09 Danny Smith <dannysmith@users.sourceforge.net>
1173 [ mingw-Bugs-1590623 ]
1174 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
1177 2006-10-04 Corinna Vinschen <corinna@vinschen.de>
1179 * Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
1180 correctly parenthesized.
1182 2006-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1184 * mingwex/mb_wc_common.h (get_codepage): Get it
1187 2006-09-18 Danny Smith <dannysmith@users.sourceforge.net>
1189 * mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity.
1191 * mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to
1193 * mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with
1196 2006-09-16 Danny Smith <dannysmith@users.sourceforge.net>
1198 * mingwex/gdtoa/strtopx.c (strtopx): Fix long double representation
1201 2006-09-11 Christopher Faylor <cgf@timesys.com>
1203 * Makefile.in: Semi-revert 2006-08-30 change.
1205 2006-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1207 * include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
1208 (__MINGW_IMPORT): Ansify.
1209 * include/stdlib.h (_sleep, _beep, _seterrormode): Add
1210 __MINGW_ATTRIB_DEPRECATED.
1212 2006-09-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1214 * aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
1215 Redundant macros; deleted.
1217 * configure.in (LIB_AC_PROG_CC): Replaced by...
1218 (AC_PROG_CC): ...this.
1220 * configure: Regenerated.
1222 2006-09-06 Danny Smith <dannysmith@users.sourceforge.net>
1224 * mingwex/gdtoa/misc.c (pow5mult): Restore original code.
1225 * mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
1226 * mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
1228 2006-09-01 Danny Smith <dannysmith@users.sourceforge.net>
1230 * mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
1231 g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
1232 gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
1233 README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
1235 * mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
1236 * mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
1237 * mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
1238 * mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
1239 * mingwex/wcstold.c: Avoid using strtold internals.
1240 * mingwex/wcstof.c: Rewrite.
1241 * mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
1242 (GDTOA_OBJS): Add to library.
1243 (DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
1244 (STDLIB_OBJS): Remove.
1245 (STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
1246 (Q8_OBJS): Add wcstof.o wcstold.o.
1247 * include/stdlib.h (strtof): Remove inline definition.
1249 * include/wchar.h (wcstof): Remove inline definition.
1251 2006-08-30 Corinna Vinschen <corinna@vinschen.de>
1253 * Makefile.in: Add with_cross_host to allow more granular checks.
1254 Set installation directories accordingly. Override CC setting only
1255 if building a Cygwin target.
1256 * aclocal.m4: Regenerate.
1257 * configure.in: Move AC_CANONICAL_SYSTEM check up. Add
1258 GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files.
1259 Test AC_ALLOCA only if building on a native system.
1260 * configure: Regenerate.
1262 2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1264 * include/ctype.h: Fix typo.
1266 2006-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1268 * include/ctype.h: Expose iswblank if __cplusplus.
1269 * include/wctype.h: Expose iswblank if __cplusplus.
1271 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1273 * include/ctype.h: Remove stray ')';
1275 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1277 * include/ctype.h (_BLANK): Expand comment.
1278 (isblank): Add prototype and inline definition.
1279 (iswblank): Add prototype and inline definition.
1280 * include/wctype.h (iswblank): Add prototype and inline definition.
1281 * mingwex/isblank.c: New file.
1282 * mingwex/iswblank.c: New file.
1283 * mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
1285 2006-07-06 Danny Smith <dannysmith@users.sourceforge.net>
1287 * include/math.h (__INFF,__INFL): Remove '#'.
1289 2006-07-04 Danny Smith <dannysmith@users.sourceforge.net>
1291 * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
1293 2006-07-03 Danny Smith <dannysmith@users.sourceforge.net>
1295 Support SSE float environment in fenv.h functions.
1296 * cpu_features.c: New file.
1297 * cpu_features.h: New file.
1298 * crt1.c: Include "cpu_features.h".
1299 (__mingw_CRTStartup): Call cpu_features_init().
1300 * Makefile.in (MING_OBJS): Add cpu_features.c.
1301 (SRCDIST_FILES): Add cpu_features.c, cpu_features.h.
1302 * include/fenv,h ( fenv_t;): Append __mxcsr field.
1303 (__MXCSR_EXCEPT_FLAG_SHIFT): New define.
1304 (__MXCSR_EXCEPT_MASK_SHIFT): New define.
1305 (__MXCSR_ROUND_FLAG_SHIFT): New define.
1306 * mingwex/feclearexcept.c: Include "cpu_features.h".
1307 Handle SSE environment.
1308 * mingwex/fegetenv.c: Likewise.
1309 * mingwex/feholdexcept.c: Likewise.
1310 * mingwex/fesetenv.c: Likewise.
1311 * mingwex/fesetexceptflag.c: Likewise.
1312 * mingwex/fesetround.c: Likewise.
1313 * mingwex/fetestexcept.c: Likewise.
1314 * mingwex/feupdateenv.c: Likewise.
1315 * mingwex/fegetround.c: Add comment.
1317 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1319 * Include/_mingw.h: Increment version to 3.10.
1320 * Makefile.in: Ditto.
1322 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1324 * mingwex/math/tgamma.c (SQTPI): Add braces.
1326 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1328 * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
1329 * mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
1331 * mingwex/math/sf_erf.c (erff): Initialize z.
1333 * mingwex/math/tgamma.c (SQTPI): Avoid type punning.
1335 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1337 * Include/_mingw.h: Increment version to 3.10.
1338 * Makefile.in: Ditto.
1340 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1342 * include/sys/time.h (struct timezone): Define.
1343 * include/time.h: Correct comment about timezone.
1345 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1347 * configure.in (AC_CONFIG_AUX_DIR): Remove.
1348 * configure: Regenerate.
1350 2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
1352 * configure: add srcdir as a possible location for install-sh.
1354 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1356 * mingwex/dirent.c (_tGetFileAttributes): New helper function.
1357 (_topendir): Use it.
1359 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1361 * include/sys/time.h: Add header guard. Add extern "C" bracketing
1363 (gettimeofday): Add prototype.
1364 * mingwex/gettimeofday.c: New file.
1365 * mingwex/makefile.in: Add gettimeofday source and object.
1367 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1369 * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
1370 else global library variable.
1371 (HUGEVALF): Likewise.
1372 (HUGEVALL): Likewise.
1373 (INFINITY): Likewise.
1376 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1378 * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
1380 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1382 * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
1384 2006-05-24 Christopher Faylor <cgf@timesys.com>
1386 * configure.in: Update to newer autoconf.
1387 (thanks to Steve Ellcey)
1388 * mingwex/configure.in: Ditto.
1389 * profile/configure.in: Ditto.
1390 * configure: Regenerate.
1391 * mingwex/configure: Ditto.
1392 * profile/configure: Ditto.
1393 * aclocal.m4: New file.
1394 * mingwex/aclocal.m4: Ditto.
1395 * profile/aclocal.m4: Ditto.
1397 2006-05-17 Danny Smith <dannysmith@users.sourceforge.net>
1399 * mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.
1400 Use supplied codepage as arg to WideCharToMultiByte.
1402 2006-02-13 Earnie Boyd <earnie@users.sf.net>
1404 * Makefile.in (libmsvcr80.a): Add import lib.
1405 (libmsvcr80d.a): Ditto.
1407 2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1409 * Makefile.in: Bump cygwin build number.
1411 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1413 * Include/_mingw.h: Increment version to 3.9.
1414 * Makefile.in: Ditto.
1416 2005-10-14 Danny Smith <dannysmith@users.sourceforge.net>
1418 * include/limits.h (SSIZE_MAX): Define.
1419 (LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.
1421 2005-10-13 Wu Yongwei <adah@users.sourceforge.net>
1423 * include/tchar.h: Include <wchar.h> when _UNICODE is defined.
1424 (_TEOF): New macro definition for _UNICODE and non_UNICODE cases.
1426 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1428 * include/stddef.h: Remove.
1429 * include/stdarg.h: Remove.
1431 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1433 * mingwex/complex/csqrt.c (csqrt): The sign of real part
1434 of result is positive when real part of arg == 0;
1435 * mingwex/complex/csqrtf.c (csqrtf): Ditto.
1436 * mingwex/complex/csqrtl.c (csqrtl): Ditto.
1438 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1440 * include/time.h (_time64): Correct prototype.
1442 2005-10-08 Danny Smith <dannysmith@users.sourceforge.net>
1444 * mingwex/fegetenv.c (fegetenv): Restore exception masks.
1445 * mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
1446 to non-stop. Use "fnclex" to clear exception flags.
1448 2005-09-24 Danny Smith <dannysmith@users.sourceforge.net>
1450 * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
1451 Avoid raising FP exceptions.
1453 2005-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1455 * include/stdlib.h (strtof): Add prototype. Uglify
1456 parameter names in inline definition.
1458 (_Exit): Uglify parameter names in inline definition.
1459 (llabs): Add prototype.
1460 (_set_error_mode): Add prototype and input defines.
1462 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1464 * mingwex/fe*.c: Revert previous changes.
1465 * include/fenv.h: Revert previous changes.
1467 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1469 * mingwex/feclearexcept.c (feclearexcept): Change declaration.
1470 Do not return a value.
1471 * mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
1472 * mingwex/feraiseexcept.c (feraiseexcept): Likewise.
1473 * mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
1474 * mingwex/fegetenv.c (fegetenv): Likewise.
1475 * mingwex/fesetenv.c (fesetenv): Likewise.
1476 * mingwex/feupdateenv.c (feupdateenv): Likewise.
1477 * include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
1478 fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
1481 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1483 * mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
1484 getting filelength for SEEK_END.
1486 2005-08-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1488 * Include/_mingw.h: Increment version to 3.8.
1489 * Makefile.in: Ditto.
1491 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1493 * include/wctype.h (towupper, towlower): Change arg and return value
1495 * include/ctype.h (towupper, towlower): Likewise.
1497 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1499 * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
1500 a diagnostic, guarded by #ifdef DEBUG.
1501 (__mingwthr_remove_key_dtor): Likewise.
1503 2005-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1505 * moldname.def.in (sleep, beep, seterrormode): Remove.
1507 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1509 * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
1510 (_MCOUNT_DECL): Use it.
1511 (MCOUNT): Save and restore eax, ecx, edx registers.
1512 * profile/mcount.c (_mcount): ANSI-fy.
1514 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1516 * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
1517 guard __MINGW_ATTRIB macro definitions.
1518 * include/math.h (logb[fl]): Don't define inlines for
1519 GCC-4.0+ && __FAST_MATH__.
1520 (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up
1521 line-continuation backslashes.
1523 2005-06-06 Danny Smith <dannysmith@users.sourceforge.net>
1525 * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
1526 in GNUC version guard.
1528 2005-05-20 Danny Smith <dannysmith@users.sourceforge.net>
1530 * crt1.c (_gnu_exception_handler): Handle illegal instruction
1531 OS exception as a signal if user has defined a SIGILL handler.
1533 2005-05-10 Danny Smith <dannysmith@users.sourceforge.net>
1535 * mingwex/math/nexttoward.c: New file.
1536 * mingwex/math/nexttowardf.c: New file.
1537 * mingwex/math/nextafterl.c: Add nexttowardl alias.
1538 * mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
1540 (MATH_OBJS): Add nexttoward.o, nexttowardf.o,
1541 * include/math.h (nexttoward, nextowardf, nexttowardl): Add
1544 2005-05-09 Danny Smith <dannysmith@users.sourceforge.net>
1546 * mingwex/math/nextafterf.c (nextafterf): Correct
1548 * mingwex/math/nextafterl.c: New file.
1549 * mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
1550 (MATH_OBJS): Add nextafterl.o.
1551 * include/math.h (nextafterl): Uncomment prototype.
1553 2005-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1555 * mingwex/math/erfl.c: New file.
1556 * mingwex/Makefile.in (MATH_DISTFILES): Add erfl.c.
1557 (MATH_OBJS): Add erfl.o.
1558 * include/math.h (erfl, erfcl): Uncomment prototypes.
1560 2005-05-04 Danny Smith <dannysmith@users.sourceforge.net>
1562 * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
1563 #if (WCHAR_MAX <= WCHAR_MIN) is false.
1564 * include/stdint.h (WCHAR_MAX): Likwise.
1565 (WINT_MAX): Likewise.
1567 2005-05-03 Danny Smith <dannysmith@users.sourceforge.net>
1569 * mingwex/math/signbit.c (__signbit): Make return value
1570 consistent with GCC's __builtin_signbit.
1571 * mingwex/math/signbitf.c (__signbitf): Likewise.
1572 * mingwex/math/signbitf.c (__signbitl): Likewise.
1573 * include/math.h (__signbit, __signbitf, __signbitl): Likewise
1576 2005-05-02 Danny Smith <dannysmith@users.sourceforge.net>
1578 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
1580 * mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
1581 Remove unused MBTOWC_FLAGS define.
1583 2005-04-23 Danny Smith <dannysmith@users.sourceforge.net>
1585 * mingwex/mbrtowc.c: New file.
1586 * mingwex/wcrtomb.c: New file.
1587 * mingwex/btowc.c: New file.
1588 * mingwex/wctob.c: New file.
1589 * mingwex/mb_wc_common.h: New file.
1590 * mingwex/Makefile.in (DISTFILES): Add new files.
1591 (Q8_OBJS): Add new objects.
1592 * include/wchar.h: Adjust comment about mbrtowc() and related
1593 funcions. Add __restrict__ to pointer params in prototypes.
1594 (wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
1595 arg names from protototypes.
1597 2005-04-23 Wu Yongwei <adah@sh163.net>
1599 * mingwex/dirent.c: Formatting changes.
1600 * mingwex/dirent.c (_topendir): Make the end-of-path slash check
1603 2005-03-31 Danny Smith <dannysmith@users.sourceforge.net>
1605 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
1607 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
1609 * include/stdio.h (__mingw_fwrite): Change return value to
1611 * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
1613 2005-03-15 Hans Leidekker <hans@it.vu.nl>
1615 * include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
1617 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1619 * include/wctype.h (wctrans): Remove _CRTIMP.
1620 (towctrans): Likewise.
1623 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1625 * include/wctype.h: Add comment on wctrans, towctrans, wctype.
1627 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1629 * mingwex/wctype.c: New file.
1630 * mingwex/wctrans.c: New file.
1631 * mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c.
1632 * mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.
1634 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
1636 * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.
1638 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
1640 * include/assert.h: Remove header guard. #undef assert macro.
1641 (_assert): Use __MINGW_ATTRIB_NORETURN define.
1643 2005-02-11 Gregory W. Chicares <chicares@cox.net>
1644 Danny Smith <dannysmith@users.sourceforge.net>
1646 * include/math.h (expm1, expm1f, expmll): Add prototypes.
1647 * mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
1649 (MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
1650 * mingwex/math/expm1.c: New file.
1651 * mingwex/math/expm1f.c: New file.
1652 * mingwex/math/expm1l.c: New file.
1654 2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
1656 * include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
1657 * include/wchar.h (struct stat): Likwwise.
1658 Bug reported to Debian by Anand Kumria <wildfire@progsoc.org>
1660 * include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
1662 2005-02-01 Danny Smith <dannysmith@users.sourceforge.net>
1664 * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
1665 string is not valid.
1667 2005-01-26 Oliver Stoeneberg <oliverst@online.de>
1669 * include/malloc.h: Add missing return code defines for
1672 2005-01-17 Danny Smith <dannysmith@users.sourceforge.net>
1674 * include/sys/stat.h (struct __stat64): Change st_size type to
1676 * include/wchar.h (struct __stat64): Change st_size type to __int64.
1678 2005-01-13 Earnie Boyd <earnie@users.sf.net>
1680 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
1682 * include/errno.h (ELOOP): Ditto.
1683 * include/_mingw.h: Increment version to 3.7.
1684 * Makefile.in: Ditto.
1686 2005-01-11 Danny Smith <dannysmith@users.sourceforge.net>
1688 * include/tchar.h (_tfreopen): Add UNICODE mappings.
1690 2005-01-11 Earnie Boyd <earnie@users.sf.net>
1692 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
1693 lstat): Conditionalize defines for __STRICT_ANSI__.
1695 2005-01-10 Earnie Boyd <earnie@users.sf.net>
1697 * include/errno.h (ELOOP): Add definition.
1699 2005-01-10 Danny Smith <dannysmith@users.sourceforge.net>
1701 * mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
1702 casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
1703 clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
1704 ctanl.c ctanhl.c): New files.
1705 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
1706 (COMPLEX_OBJS): Adjust.
1707 * include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
1708 casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
1709 cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
1712 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
1714 * include/_mingw.h (__int16): Define as short.
1715 Thanks to: Leo Yuriev <leoyuriev at users dot sf dot net>
1717 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
1719 * include/stdio.h (P_tmpdir): Add define.
1721 2005-01-03 Earnie Boyd <earnie@users.sf.net>
1723 * Makefile.in (inst_docdir): For Cygwin target set to share/doc/.
1725 2005-01-02 Earnie Boyd <earnie@users.sf.net>
1727 * include/_mingw.h: Increment version to 3.6
1728 * Makefile.in: Ditto
1730 2004-12-26 Danny Smith <dannysmith@users.sourceforge.net>
1732 * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
1733 casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
1734 clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
1735 ctanf.c ctanhf.c): New files.
1736 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
1737 (COMPLEX_OBJS): Adjust.
1738 * include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
1739 casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
1740 cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
1743 2004-12-20 Danny Smith <dannysmith@users.sourceforge.net>
1745 * include/wchar.h (wcsdup): Correct prototype.
1746 * include/string.h (wcsdup): Correct prototype.
1748 2004-10-14 Danny Smith <dannysmith@users.sourceforge.net>
1750 * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
1752 2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
1754 * mingwex/math/fastmath.h: New file.
1755 * mingwex/math/asinh.c: New file.
1756 * mingwex/math/asinhf.c: New file.
1757 * mingwex/math/asinhl.c: New file.
1758 * mingwex/math/acosh.c: New file.
1759 * mingwex/math/acoshf.c: New file.
1760 * mingwex/math/acoshl.c: New file.
1761 * mingwex/math/atanh.c: New file.
1762 * mingwex/math/atanhf.c: New file.
1763 * include/math.h (asinh, asinhf, asinhl, acosh, acoshf, acoshl,
1764 atanh, atanhf, atanhl): Add prototypes.
1765 * mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
1766 (MATH_DISTFILES): Add sources for above and fastmath.h to list.
1767 Specify dependency on fastmath.h for new objects.
1769 2004-09-08 Earnie Boyd <earnie@users.sf.net>
1771 * include/sys/stat.h (_S_IFLNK): Add definition.
1778 2004-09-08 Earnie Boyd <earnie@users.sf.net>
1780 * include/sys/stat.h (_S_ISLNK): Add definition.
1783 2004-09-05 Earnie Boyd <earnie@users.sf.net>
1785 * include/_mingw.h: Increment minor version for 3.5 release.
1786 * Makefile.in: Ditto.
1787 * mingwex/Makefile.in: Correct typo in list of DISTFILES.
1789 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
1791 * include/malloc.h (__mingw_aligned_offset_malloc,
1792 __mingw_aligned_offset_realloc, __mingw_aligned_malloc,
1793 __mingw_aligned_realloc, __mingw_aligned_free): Add
1795 * mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
1796 tst-aligned-malloc.c.
1797 (REPLACE_OBJS): Add mingw-aligned-malloc.o.
1799 2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
1801 * mingwex/mingw-aligned-malloc.c: New file.
1802 * mingwex/tst-aligned-malloc.c: New file.
1804 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
1806 * crt1.c: (__mingw_CRTStartup): Change return to void. Add
1807 noreturn attribute. Align stack to 16 bytes before passing args
1809 (mainCRTStartup): Change return to void.
1810 (WinMainCRTStartup): Likewise.
1812 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
1814 * profile/COPYING: New file.
1815 * profile/CYGWIN_LICENSE: New file.
1816 * profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
1818 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
1820 * mingwex/fopen64.c: Move.
1821 * mingwex/fseeko64.c: Move.
1822 * mingwex/ftello64.c: Move.
1823 * mingwex/lseek64.c: Move.
1824 * mingwex/stdio/fopen64.c: To here.
1825 * mingwex/stdio/fseeko64.c: To here.
1826 * mingwex/stdio/ftello64.c: To here.
1827 * mingwex/stdio/lseek64.c: To here.
1829 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
1831 * profile/gmon.c [__MINGW32__]: Include string.h for
1834 2004-08-08 Christopher Faylor <cgf@timesys.com>
1836 * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
1838 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
1840 * include/complex.h: Remove __attribute__ ((const)) from
1841 transcendantal and trig functions. Replace __attribute__ ((const))
1842 with __MINGW_ATTRIB_CONST on other declarations.
1844 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
1846 * include/wchar.h: Reorganize, avoid including other headers.
1848 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
1850 * include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
1851 (strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
1854 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
1856 * include/dirent.h (struct _wdirent): Remove obsolete comment.
1858 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
1860 * include/string.h: Revert 2004-07-26 additions of
1863 2004-07-28 Danny Smith <dannysmith@users.sourceforge.net>
1865 * mingwex/math/powl.c (powl): Revert change of 2004-02-01.
1866 (__convert_inf_to_maxnum): New.static inline.
1867 (reducl): Use it to protect against Inf - Inf.
1868 (__fast_ldexpl): New function. Use in lieu of ldexpl.
1870 2004-07-27 Danny Smith <dannysmith@users.sourceforge.net>
1872 * mingwex/math/expl.c (expl): Move body of code to new static
1873 function __expl, removing tests for +/-Inf. Extern function
1874 expl calls __expl after testing for max, min log thresholds.
1876 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
1878 * mingwex/stdio/vsscanf.c: Add "edi" to registers-modified field
1879 * mingwex/stdio/vfscanf.c: Likewise.
1880 * mingwex/stdio/vswscanf.c: Likewise.
1881 * mingwex/stdio/vfwscanf.c: Likewise.
1883 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
1885 * include/_mingw.h: Use only two underscores to uglify
1886 __MINGW_ATTRIB_* macros.
1887 * include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
1888 * include/setjmp.h: Likewise.
1890 * include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
1892 (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
1894 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
1896 * include/string.h: Group wide string functions together,
1897 and protect with _WSTRING_DEFINED.
1899 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
1901 * include/_mingw.h (__MINGW_ATTR_*): Replace with
1903 * include/stdlib.h (_ATTRIB_NORETURN): Replace with
1904 __MINGW_ATTRIB_NORETURN, throughout.
1905 (malloc): Declare with __MINGW_ATTRIB_MALLOC.
1907 (abs): Declare with __MINGW_ATTRIB_CONST.
1916 * include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
1918 2004-07-21 Danny Smith <dannysmith@users.sourceforge.net>
1920 * include/_mingw.h: Undefine __attribute__.
1921 (__MINGW_ATTR_NORETURN): New define.
1922 (__MINGW_ATTR_CONST): New define.
1923 (__MINGW_ATTR_MALLOC): New define.
1924 (__MINGW_ATTR_PURE): New define.
1925 (_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
1928 2004-07-19 Danny Smith <dannysmith@users.sourceforge.net>
1930 * include/time.h (__time64_t): Add missing ';'.
1932 2004-07-17 Danny Smith <dannysmith@users.sourceforge.net>
1934 * include/time.h (wcsftime): Move out of !__STRICT_ANSI
1936 (struct tm): Protect with _TM_DEFINED.
1938 2004-07-17 Christopher Faylor <cgf@timesys.com>
1940 * Makefile.in (CC): Strip inappropriate include file settings from any
1943 2004-07-15 "dgun" <dgun@umpire.com>
1945 * include/complex.h (conj): Correct typo in prototype.
1947 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
1949 * include/math.h: Add pragma GCC system_header.
1951 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
1953 * mingwex/complex/carg.c: New file.
1954 * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
1956 2004-07-15 Corinna Vinschen <corinna@vinschen.de>
1958 * Makefile.in (INCLUDES): Temporarily revert previous change.
1959 * mingwex/Makefile,in (INCLUDES): Ditto.
1960 * profile/Makefile,in (INCLUDES): Ditto.
1961 * mingwex/Makefile,in: Drop carg.o dependency.
1963 2004-07-14 Christopher Faylor <cgf@timesys.com>
1965 * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
1967 2004-07-14 Danny Smith <dannysmith@users.sourceforge.net>
1969 * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
1971 * mingwex/Makefile,in (INCLUDES): Ditto.
1972 * profile/Makefile,in (INCLUDES): Ditto.
1974 * mingwex/Makefile,in: Add carg.o to libmingwex.a.
1976 2004-07-13 Earnie Boyd <earnie@users.sourcefourge.net>
1978 * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
1980 * mingwex/Makefile.in: Ditto.
1981 * profile/Makefile.in: Ditto.
1982 * include/limits.h: Change to new file header preamble.
1983 * include/_mingw.h: Increment minor version for 3.4 release.
1984 * Makefile.in: Ditto.
1986 2004-07-12 Danny Smith <dannysmith@users.sourceforge.net>
1988 * mingwex/math/cephes_emath.h (__etens): Remove declaration.
1990 2004-07-11 Danny Smith <dannysmith@users.sourceforge.net>
1992 * include/unistd.h (ftruncate): Add inline definition.
1993 * mingwex/ftruncate.c: New file.
1994 * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
1996 2004-07-10 Danny Smith <dannysmith@users.sourceforge.net>
1998 * include/time.h: Do not include sys/types.h.
2000 2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
2002 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
2003 (MATH_OBJS): Remove pow,o.
2004 * include/math.h (pow): Declare with _CRTIMP.
2005 Add comment on how to avoid excess precision problems.
2007 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
2009 * include/stdio.h (__mingw_fseeko64): Add prototype.
2010 * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
2011 (__mingw_fwrite): Handle huge files.
2013 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
2014 Danny Smith <dannysmith@users.sourceforge.net>
2016 * include/stdio.h (fopen64): Add inline function.
2017 (fseeko64): Add prototype.
2018 (ftello64): Add inline function.
2019 * include/io.h (lseek64): Add inline function.
2020 * include/sys/types (off64_t): Add typedef.
2021 (fpos64_t): Add typedef.
2022 * mingwex/fopen64.c: New file.
2023 * mingwex/fseeko64.c: New file.
2024 * mingwex/ftello64.c: New file.
2025 * mingwex/lseek64.c: New file.
2026 * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
2027 fseeko.64.c, ftello64.c, lseek64.c.
2028 (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
2030 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
2032 * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
2034 2004-04-22 Earnie Boyd <earnie@users.sf.net>
2036 * DISCLAIMER: Add words about "free to use".
2037 * README: Modify "Win32 runtime" to "Microsoft C Runtime".
2038 * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
2039 (inst_docdir): New variable.
2041 (FLAGS_TO_PASS): Include inst_docdir.
2042 (install-dirs): Add inst_docdir.
2043 (install): Add loop for INSTDOCS.
2044 * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
2045 section to CONTRIBUTORS file. Remove RCS tags.
2047 2004-04-22 Danny Smith <dannysmith@users.sourceforge.net>
2049 * mingwex/math/lround.c: Rewrite.
2050 * mingwex/math/lroundf.c: Rewrite.
2051 * mingwex/math/lroundl.c: Rewrite.
2052 * mingwex/math/llround.c: Rewrite.
2053 * mingwex/math/llroundf.c: Rewrite.
2054 * mingwex/math/llroundl.c: Rewrite.
2056 2004-04-20 Earnie Boyd <earnie@users.sf.net>
2058 * CONTRIBUTORS: New file.
2059 * DISCLAIMER: Ditto.
2060 * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
2061 section to CONTRIBUTORS file. Remove RCS tags.
2062 * CRTFmode.c: Ditto.
2066 * crtdll.dev: Ditto.
2076 * msvcrt.def.in: Ditto.
2077 * strcasecmp.c: Ditto.
2080 * include/assert.h: Ditto.
2081 * include/conio.h: Ditto.
2082 * include/ctype.h: Ditto.
2083 * include/direct.h: Ditto.
2084 * include/dirent.h: Ditto.
2085 * include/dos.h: Ditto.
2086 * include/errno.h: Ditto.
2087 * include/excpt.h: Ditto.
2088 * include/fcntl.h: Ditto.
2089 * include/float.h: Ditto.
2090 * include/io.h: Ditto.
2091 * include/locale.h: Ditto.
2092 * include/malloc.h: Ditto.
2093 * include/math.h: Ditto.
2094 * include/process.h: Ditto.
2095 * include/setjmp.h: Ditto.
2096 * include/share.h: Ditto.
2097 * include/signal.h: Ditto.
2098 * include/stdio.h: Ditto.
2099 * include/stdlib.h: Ditto.
2100 * include/string.h: Ditto.
2101 * include/tchar.h: Ditto.
2102 * include/time.h: Ditto.
2103 * include/wchar.h: Ditto.
2104 * include/sys/locking.h: Ditto.
2105 * include/sys/param.h: Ditto.
2106 * include/sys/stat.h: Ditto.
2107 * include/sys/timeb.h: Ditto.
2108 * include/sys/types.h: Ditto.
2109 * include/sys/utime.h: Ditto.
2110 * mingwex/dirent.c: Ditto.
2112 2004-04-19 Earnie Boyd <earnie@users.sf.net>
2114 * include/_mingw.h: Revert to primary release 3 and increment minor
2116 * Makefile.in (VERSION): Ditto.
2118 2004-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2120 * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
2121 _fmode if not __MSVCRT__.
2123 2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
2125 * include/io.h: (_findfirst): Correct prototype.
2127 2004-03-30 Hans Leidekker <hans@it.vu.nl>
2129 * include/io.h: (_findnext, _findclose): Correct prototype.
2131 2004-03-28 Hans Leidekker <hans@it.vu.nl>
2133 * include/math.h (FP_*): Add defines.
2135 2004-03-29 Danny Smith <dannysmith@users.sourceforge.net>
2137 * mingwex/math/round.c: Rewrite.
2138 * mingwex/math/roundf.c: Rewrite.
2139 * mingwex/math/roundl.c: Rewrite.
2141 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2143 * include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.
2144 * include/time.h (__time64_t): Add typedef.
2145 (_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2146 (_ctime64): Likewise.
2147 (_wctime64): Likewise.
2148 (_gmtime64): Likewise.
2149 (_localtime64): Likewise.
2150 (wcsftime): Move into _WTIME_DEFINED block.
2151 Regroup non-ANSI prototypes.
2152 * include/io.h: Include <stdint.h>.
2153 (__finddata64_t): Add struct definition.
2154 (__wfinddata64_t): Likewise.
2155 (_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2156 (_findnext64): Likewise.
2157 (_wfindfirst64): Likewise.
2158 (_wfindnext64): Likewise.
2159 * include/sys/timeb.h (__timeb64): Add struct definition.
2160 (_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2161 * include/sys/utime.h (__utimbuf64): Add struct definition.
2162 (_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2163 (_futime64): Likewise.
2164 (_wutime64): Likewise.
2165 * include/sys/stat.h (__stat64): Add struct definition.
2166 (_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2167 (_stat64): Likewise.
2168 (_wstat64): Likwise.
2169 * include/sys/types.h (__time64_t): Add typedef.
2170 * include/wchar.h (__wfinddata64_t): Add structure definition.
2171 (__stat64): Likewise.
2172 (_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2173 (_wfindfirst64): Likewise.
2174 (_wfindnext64): Likewise.
2175 (_wutime64): Likewise.
2176 (_wstat64): Likwise.
2177 * include/malloc.h (_aligned_free): Add prototype for
2178 __MSVCRT_VERSION__ >= 0x0700.
2179 (_aligned_malloc): Likewise.
2180 (_aligned_offset_malloc): Likewise.
2181 (_aligned_offset_realloc): Likewise.
2182 (_aligned_realloc): Likewise.
2183 * include/string.h (_wcserror): Add prototype for
2184 __MSVCRT_VERSION__ >= 0x0700.
2185 (__wcserror): Likewise.
2186 * include/math.h (_set_SSE2_enable): Add prototype for
2187 __MSVCRT_VERSION__ >= 0x0701.
2189 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2191 * include/stdio.h (_fsopen): Add prototype.
2192 * include/tchar.h (_tfsopen): Add defines.
2193 Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
2195 2004-03-19 Danny Smith <dannysmith@users.sourceforge.net>
2197 * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
2198 msvcr70.dll, and msvcr71.dll.
2199 * Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant
2200 using basename of output def file.
2202 2004-03-13 Danny Smith <dannysmith@users.sourceforge.net>
2204 * include/malloc.h: Remove __STRICT_ANSI__ guard.
2206 2004-03-11 Brian Keener <bkeener@thesoftwaresource.com>
2208 * include/process.h: Remove the #endif associated with removal of
2209 __STRICT_ANSI__ guard from non-ANSI header.
2211 2004-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2213 * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
2214 * include/direct.h: Ditto.
2215 * include/dirent.h: Ditto.
2216 * include/dos.h: Ditto.
2217 * include/excpt.h: Ditto.
2219 * include/io.h: Ditto.
2220 * inlude/mem.h: Ditto.
2221 * include/memory.h: Ditto.
2222 * include/process.h: Ditto.
2223 * inlude/search.h: Ditto.
2224 * include/share.h: Ditto.
2225 * include/unistd.h: Ditto.
2226 * include/sys/fcntl.h: Ditto.
2227 * include/file.h: Ditto.
2228 * include/sys/locking.h: Ditto.
2229 * include/sys/param.h: Ditto.
2230 * include/sys/stat,h
2231 * include/sys/time.h: Ditto.
2232 * include/sys/timeb.h: Ditto.
2233 * include/sys/types.h: Ditto.
2234 * include/sys/unistd.h: Ditto.
2235 * include/sys/utime.h: Ditto.
2237 2004-02-21 Danny Smith <dannysmith@users.sourceforge.net>
2239 * include/_mingw.h (__UNUSED_PARAM): Define macro.
2240 * include/wchar.h (fwide): Use it.
2243 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2245 * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
2246 NetBSD getopt_long.c.
2248 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2250 * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
2251 codes and handling of special chars.
2253 2004-02-02 Danny Smith <dannysmith@users.sourceforge.net>
2255 * include/stdio.h (feof): Add inlined definition.
2258 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2260 * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
2261 directly, rather than via scabnl.
2263 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2265 * mingwex/math/powl.c (powl): Return infinity if
2266 extended precision multiplication of x by log2(y)
2269 2004-01-31 Danny Smith <dannysmith@users.sourceforge.net>
2271 * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
2272 (__enan_NI16): Fix another one.
2273 (__enan_NBITS): Tidy.
2275 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
2277 * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
2278 types. (Thanks to John Maddock for report.)
2280 2004-01-14 Greg Chicares <chicares@users.sourceforge.net>
2282 * include/tchar.h (_puttchar): Define.
2284 2003-12-13 Danny Smith <dannysmith@users.sourceforge.net>
2286 * include/stdio.h:(_fileno): Define macro version after both
2287 fileno and _fileno functions declared.
2289 * include/stdio.h (_rmtmp, rmtmp): Add prototypes.
2290 * moldnames.def.in (rmtmp) Add stub.
2292 2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
2294 * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
2296 2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
2298 * include/math.h: Guard ISO C99 additions with __cplusplus
2301 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2303 * include/_mingw.h: Define __attribute__((x)) to nothing
2306 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2308 * include/complex.h: New file.
2309 * mingwex/complex: New directory.
2310 * mingwex/complex/cabs.c: New file.
2311 * mingwex/complex/cacos.c: New file.
2312 * mingwex/complex/cacosh.c: New file.
2313 * mingwex/complex/casin.c: New file.
2314 * mingwex/complex/casinh.c: New file.
2315 * mingwex/complex/catan.c: New file.
2316 * mingwex/complex/catanh.c: New file.
2317 * mingwex/complex/ccos.c: New file.
2318 * mingwex/complex/ccosh.c: New file.
2319 * mingwex/complex/cexp.c: New file.
2320 * mingwex/complex/cimag.c: New file.
2321 * mingwex/complex/clog.c: New file.
2322 * mingwex/complex/cpow.c: New file.
2323 * mingwex/complex/cproj.c: New file.
2324 * mingwex/complex/creal.c: New file.
2325 * mingwex/complex/csin.c: New file.
2326 * mingwex/complex/csinh.c: New file.
2327 * mingwex/complex/csqrt.c: New file.
2328 * mingwex/complex/ctan.c: New file.
2329 * mingwex/complex/ctanh.c: New file.
2330 * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
2333 (COMPLEX_OBJS): New list of objects.
2334 (LIB_OBJS): Include it in the library.
2336 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2338 * include/math.h (cabs): Remove non-ISO prototype.
2340 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2342 * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
2343 Use GCC __builtin's if available.
2344 (INFINITY, INFINITYF, INFINITYL): Likewise.
2346 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2348 * mingwex/math/s_erf.c (erf): Set errno to ERANGE if
2349 beyond approximation limit.
2350 * mingwex/math/sf_erf.c (erff): Likewise.
2352 2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
2354 * include/stdio.h (getc): Cast result to unsigned char before
2357 (getchar): Likewise.
2358 (putchar): Likewise.
2359 Thanks to M.Fujii <boochang@m4.kcn.ne.jp>
2361 2003-10-10 Earnie Boyd <earnie@users.sf.net>
2363 * include/_mingw.h: Increment version to 3.2.
2364 * Makefile.in: Ditto.
2366 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2368 * include/sys/types.h: Revert last change.
2370 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2372 * include/sys/types.h (ssize_t): Correct the definition.
2374 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2376 * include/stdio.h (_filbuf): Add prototype.
2377 (_flsbuf): Add prototype.
2378 (getc): Add inline version.
2380 (getchar): Likewise.
2381 (putchar): Likewise.
2383 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2385 * mingwex/dirent.c (_treaddir): Reset errno to 0 if end
2388 2003-09-29 Danny Smith <dannysmith@users.sourceforge.net>
2390 * include/stdlib.h: Guard non-ISO functions with
2391 !__STRICT_ANSI__, throughout.
2393 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2395 * include/io.h (_fileno): Remove prototype.
2397 (FILENAME_MAX): Define, if needed.
2398 Don't include <stdio.h>.
2399 * include/stdio.h (FILENAME_MAX): Protect against
2401 (_fileno): Define macro implementation.
2404 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2406 * include/inttypes.h: Include _mingw.h.
2408 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2410 * include/_mingw.h (__CRT_INLINE): Define.
2411 * include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
2413 * include/inttypes.h: Likewise.
2414 * include/math.h: Likewise.
2415 * include/stdio.h: Likewise.
2416 * include/stdlib.h: Likewise.
2417 * include/string.h: Likewise.
2418 * include/wchar.h: Likewise.
2419 * include/wctype.h: Likewise.
2421 2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
2423 * mingwex/dirent.c (_topendir): Allocate enough memory for
2424 DIR struct in UNICODE case too.
2426 2003-09-15 Earnie Boyd <earnie@users.sf.net>
2428 * include/_mingw.h: Increment version to 3.2.
2429 * Makefile.in: Ditto.
2431 2003-07-03 Earnie Boyd <earnie@users.sf.net>
2433 * config.guess, config.sub: Update with versions from ftp.gnu.org.
2435 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2437 * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
2438 * mingwex/math/truncf.c (truncf): Likewise.
2439 * mingwex/math/truncl.c (truncl): Likewise.
2440 * mingwex/math/modff.c (modff): Likewise.
2441 * mingwex/math/modfl.c (modfl): Likewise.
2443 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2445 * include/search.h: New file.
2446 * include/stdlib.h: Add comment about qsort, bsearch in
2448 * test_headers.c: Include search.h.
2449 * moldname.def.in (lfind, lsearch): Add.
2451 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2453 * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
2454 _execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
2455 execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
2457 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2459 * include/_mingw.h (small, hyper): Change to __small and __hyper to
2460 avoid user space name conflicts.
2462 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2464 * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
2465 Note: Also added to w32api/include/basetyps.h.
2466 * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
2467 Rename to Small (case difference).
2469 2003-06-18 Earnie Boyd <earnie@users.sf.net>
2471 * include/dirent.h (dirent): Make d_name and array instead of a pointer.
2472 * mingwex/dirent.c: Modifications througout to fill d_name array.
2473 * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
2474 libmsvcr71, including debug versions.
2475 (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
2477 2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
2479 * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
2480 __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
2482 Thanks to: Aaron W LaFramboise <AWLaFramboise@aol.com>
2484 2003-05-30 Sascha Sommer <saschasommer@freenet.de>
2486 * include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
2488 2003-05-15 Danny Smith <dannysmith@users.sourceforge.net>
2490 * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
2491 but still protect inline definition with __STRICT_ANSI__.
2493 2003-05-14 Danny Smith <dannysmith@users.sourceforge.net>
2495 * string_old.c: Remove, splitting into...
2496 * strcasecmp.c: New file.
2497 * strncasecmp.c: New file.
2498 * wscmpi.c : New file.
2499 * ctype_old.c: Remove, splitting into...
2500 * isascii.c: New file.
2501 * iscsym.c: New file.
2502 * iscsymf.c: New file.
2503 * toascii.c: New file.
2504 * Makefile.in (MOLD_OBJS): Adjust.
2505 (SRCDIST_FILES): Adjust.
2507 2003-05-13 Danny Smith <dannysmith@users.sourceforge.net>
2509 * include/math.h (fabs) : Remove inline definition.
2513 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2515 * include/_mingw.h: Change version to 3.0
2516 * Makefile.in: Ditto.
2518 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2520 * configure.in (W32API_INCLUDE): Need the -I switch in the value.
2521 * mingwex/configure.in (W32API_INCLUDE): Ditto.
2522 * profile/configure.in (W32API_INCLUDE): Ditto.
2524 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2526 * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
2527 of multiply defined symbols if the symbols is defined locally. E.G.:
2528 A local definition of malloc causes this problem.
2529 * configure: Regenerate.
2530 * profile/Makefile.in (W32API_INCLUDE): New variable.
2531 (ALL_CFLAGS): Use W32API_INCLUDE value.
2532 (ALL_CXXFLAGS): Ditto.
2533 (gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
2534 Thanks to Jeff Bonggren <jbon@users.sf.net>.
2535 * profile/configure.in (W32API_INCLUDE): Set default value.
2536 * profile/configure: Regenerate.
2537 * mingwex/Makefile.in (W32API_INCLUDE): New variable.
2538 (ALL_CFLAGS): Use W32API-INCLUDE value.
2539 (ALL_CXXFLAGS): Ditto.
2540 * mingwex/configure.in (W32API_INCLUDE): Set default value.
2541 * mingwex/configure: Regenerate.
2543 2003-05-05 Earnie Boyd <earnie@users.sf.net>
2545 * Makefile.in (W32API_INCLUDE): New variable.
2546 (ALL_CFLAGS): Use W32API_INCLUDE value.
2547 (ALL_CXXFLAGS): Ditto.
2548 * configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
2549 (W32API_INCLUDE): Set default value.
2550 * configure: Regenerate.
2552 2003-04-11 Earnie Boyd <earnie@users.sf.net>
2554 * configure.in (LIBM_A): Define for cygwin target.
2555 * configure (LIBM_A): Ditto.
2557 2003-04-07 Danny Smith <dannysmith@users.sourceforge.net>
2559 * include/time.h (strftime): Remove duplicate declaration.
2561 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2563 * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
2565 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2567 * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
2568 * mingwex/strtoimax.c (strtoimax): Likewise.
2569 * mingwex/wcstoimax.c (wcstoimax): Likewise.
2570 * mingwex/wtoll.c (wtoll): Remove unnecessary ';'
2571 * mingwex/fesentenv.c: Include float.h.
2572 * mingwex/math/powl.c: Eliminate type punning/strict aliasing
2574 * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
2576 * mingwex/math/tgammal.c: Likewise.
2578 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2580 * include/utime.h: New file, forwarding to sys/utime.h.
2582 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2584 * include/sys/param.h (MAXPATHLEN): Define.
2586 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2588 * include/tchar.h: Ansi-fy a comment.
2590 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2592 * profile/profile.h (mcount): Use __builtin_return_address
2593 rather than inline __asm statements.
2594 * profile/Makefile.in: Remove special rule for mcount.o
2595 Specify dependencies for mcount.o profil.o gmon.o.
2597 2003-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2599 * include/stdlib.h (qsort): Remove const from first parm.
2600 Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
2602 2003-03-03 Christopher Faylor <cgf@redhat.com>
2604 * mingwex/getopt.c: Refresh from NetBSD sources.
2606 2003-03-03 Danny Smith <dannysmith@users.sourceforge.net>
2608 * mingwex/getopt.c: New file, copied from cygwin srcs.
2609 * include/getopt.h: New file, copied from cygwin srcs.
2610 * include/unistd.h: Include getopt.h.
2611 * mingwex/Makefile.in (DISTFILES): Add getopt.c.
2612 (POSIX_OBJS): Add getopt.o.
2614 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
2616 * include/stdio.h (vscanf): Add prototype.
2622 * include/wchar.h (vwscanf): Add prototype.
2625 * mingwex/snprintf.c: Move to mingwex/stdio.
2626 * mingwex/vsnprintf.c: Ditto.
2627 * mingwex/snwprintf.c: Ditto.
2628 * mingwex/vsnwprintf.c: Ditto.
2629 * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
2630 (STDIO_DISTFILES): Add.
2631 (DISTFILES): Adjust.
2632 (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
2636 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com>
2638 * mingwex/stdio: New directory
2639 * mingwex/stdio/vfscanf.c: New file.
2640 * mingwex/stdio/vfwscanf.c: New file.
2641 * mingwex/stdio/vscanf.c: New file.
2642 * mingwex/stdio/vsscanf.c: New file.
2643 * mingwex/stdio/vswscanf.c: New file.
2644 * mingwex/stdio/vwscanf.c: New file.
2646 2003-02-25 Earnie Boyd <earnie@users.sf.net>
2648 * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
2649 (libmsvcrt40.a): Ditto.
2651 2003-02-21 Earnie Boyd <earnie@users.sf.net>
2653 Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
2655 * Makefile.in (libmsvcrtd.a): Add target library.
2656 (libmoldnamed.a): Ditto.
2657 (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
2659 ($(srcdir)): Remove explicit reference for depencies of object targets.
2660 * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
2661 msvcrt20.def, msvcrt40.def: Remove.
2662 * msvcrt.def.in: New file (Copy of previous msvcrt.def).
2664 2003-02-20 Corinna Vinschen <corinna@vinschen.de>
2666 * Makefile.in: Make sure libmingwex.a from current build tree is used.
2668 2003-02-14 Christopher Faylor <cgf@redhat.com>
2670 * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
2671 ensure -mno-cygwin where appropriate. Filter out -O2.
2673 2003-02-13 Danny Smith <dannysmith@users.sourceforge.net>
2675 * profile/Makefile.in (mcount.o): Use -O1 optimization
2678 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
2680 * include/math.h: Remove _CRTIMP from pow() prototype,
2681 unless __NO_ISOCEXT.
2683 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
2685 * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
2687 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
2689 * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
2690 __declspec(dllimport) supported.
2691 (__cdecl): Define if not already defined.
2692 (__stdcall): Likewise.
2693 * include/dirent.h: Qualify fuctions with __cdecl.
2694 * include/fenv.h: Likewise.
2695 * include/inttypes.h: Likewise.
2696 * include/assert.h: Qualify fuctions with __cdecl. Qualify
2697 CRT dll imports with _CRTIMP.
2698 * include/conio.h: Likewise.
2699 * include/ctype.h: Likewise.
2700 * include/direct.h: Likewise.
2701 * include/dos.h: Likewise.
2702 * include/errno.h: Likewise.
2703 * include/float.h: Likewise.
2704 * include/io.h: Likewise.
2705 * include/locale.h: Likewise.
2706 * include/malloc.h: Likewise.
2707 * include/math.h: Likewise.
2708 * include/mbctype.h: Likewise.
2709 * include/mbstring.h: Likewise.
2710 * include/process.h: Likewise.
2711 * include/setjmp.h: Likewise.
2712 * include/signal.h: Likewise.
2713 * include/stdio.h: Likewise.
2714 * include/stdlib.h: Likewise.
2715 * include/string.h: Likewise.
2716 * include/time.h: Likewise.
2717 * include/wchar.h: Likewise.
2718 * include/wctype.h: Likewise.
2719 * include/sys/stat.h: Likewise.
2720 * include/sys/timeb.h: Likewise.
2721 * include/sys/utime.h: Likewise.
2723 * include/ctype.h: Guard ctype inlines with __NO_INLINE__.
2724 * include/wctype.h: Guard wctype inlines with __NO_INLINE__.
2726 * include/stdio.h (__VALIST): Guard against prior definition.
2728 2003-02-08 Earnie Boyd <earnie@users.sf.net>
2730 * include/_mingw.h: Change version to 3.0
2731 * Makefile.in: Ditto.
2733 2003-02-08 Earnie Boyd <earnie@users.sf.net>
2735 * include/stdlib.h: Make words after #endif a comment.
2737 2003-02-07 Danny Smith <dannysmith@users.sourceforge.net>
2739 * include/locale.h: Include stddef.h for definition of NULL.
2741 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
2743 * include/math.h (tgamma): Correct typo in comment.
2745 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
2747 * mingwex/mingw-fseek.c (INLINE): Remove define.
2748 (__mingw_is_win9x): Remove static inline function.
2749 (_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
2751 2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
2753 * mingwex/math/llround.c: Correct function name and
2754 change return value to long long.
2756 2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
2758 * include/ctype.h (__isascii): Don't cast arg to unsigned.
2759 (iswascii): Likewise. Correct mask.
2760 * include/wctype.h (iswascii): Don't cast arg to unsigned.
2763 2003-01-03 Danny Smith <dannysmith@users.sourceforge.net>
2765 * include/stdlib.h (_osver, _winver, _winmajor,
2766 _winminor): Declare as direct imports from dll if
2767 __DECLSPEC_SUPPORTED.
2769 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
2771 * pseudo-reloc.c (do_pseudo_reloc): Make static.
2772 * pseudo-reloc-list.c: New file.
2773 * crt1.c (_pei386_runtime_relocator): Declare.
2774 (__mingw_CRTStartup): Call it.
2775 * dllcrt1.c (_pei386_runtime_relocator): Declare.
2776 (DllMainCRTStartup): Call it.
2777 * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to
2780 2003-01-01 Egor Duda <deo@logos-m.ru>
2782 * pseudo-reloc.c: New file.
2784 2002-12-20 Earnie Boyd <earnie@users.sf.net>
2786 * include/_mingw.h: Increment version to 2.4.
2789 2002-12-12 Earnie Boyd <earnie@users.sf.net>
2791 * include/malloc.h (_alloca): Add definition.
2794 2002-12-08 Danny Smith <dannysmith@users.sourceforge.net>
2796 * mingwex/math/s_erf.c: New file.
2797 * mingwex/math/sf_erf.c: New file.
2798 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
2799 (MATH_OBJS): Add new objects.
2800 * include/math.h (erf[f]): Add prototypes.
2801 (erfc[f]): Add prototypes.
2803 2002-12-07 Danny Smith <dannysmith@users.sourceforge.net>
2805 * include/math.h: Add traditional/XOPEN math constants.
2807 2002-11-27 Danny Smith <dannysmith@users.sourceforge.net>
2809 * mingwex/math/lgamma.c: New file.
2810 * mingwex/math/lgammaf.c: New file.
2811 * mingwex/math/lgammal.c: New file.
2812 * mingwex/math/tgamma.c: New file.
2813 * mingwex/math/tgammaf.c: New file.
2814 * mingwex/math/tgammal.c: New file.
2815 * mingwex/math/cephes_mconf (polevlf): Add float version.
2817 Define _CEPHES_USE_ERRNO.
2818 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
2819 (MATH_OBJS): Add new objects.
2820 * include/math.h (lgamma[fl]): Add prototypes.
2821 (tgamma[fl]): Add prototypes.
2823 2002-11-26 Danny Smith <dannysmith@users.sourceforge.net>
2825 * mingwex/strtold.c: New file.
2826 * mingwex/wcstold.c: New file.
2827 * mingwex/ldtoa.c: New file.
2828 * mingwex/math/cephes_emath.h: New file.
2829 * mingwex/math/cephes_emath.c: New file.
2830 * mingwex/Makefile.in (DISTFILES): Add new files.
2831 (MATH_DISTFILES): Ditto.
2832 (STDLIB_OBJS): New. Define as strtold.c wcstold.c.
2833 (MATH_OBJS): Add cephes_emath.o.
2834 (LIB_OBJS): Add $(STDLIB_OBJS).
2835 * include/stdlib.h (strtold, wcstold): Add prototypes.
2836 * include/wchar.h (wcstold): Add prototype.
2838 2002-11-09 Danny Smith <dannysmith@users.sourceforge.net>
2840 * include/math.h (sqrt): Remove inline definition.
2841 (sqrtf): Replace inline definition with prototype.
2843 * mingwex/math/sqrtf.c (sqrtf): Set domain error if
2844 argument less than zero.
2845 * mingwex/math/sqrtf.c (sqrtl): Likewise.
2847 2002-10-30 Guido Serassio <serassio@libero.it>
2849 * include/stdio.h (_getmaxstdio): Add prototype.
2850 (_setmaxstdio): Likewise.
2852 2002-10-19 Kang Li <rubylith@users.sourceforge.net>
2854 * include/fcntl.h (O_SEQUENTIAL): Correct typo.
2856 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
2858 * crt1.c: Define new macro __IN_MINGW_RUNTIME before including
2860 Define WIN32_MEAN_AND_LEAN before including windows.h
2861 * include/stdlib.h (_fmode): Protect declaration as dllimported
2862 variable with __IN_MINGW_RUNTIME.
2864 2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu>
2866 * crt1.c: Include stdlib.h.
2868 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
2870 * Makefile.in (CRT0S): Add txtmode.o binmode.o.
2871 (MINGW_OBJS): Add txtmode.o.
2872 (SRCDIST_FILES): Add txtmode.c binmode.c.
2873 crt1.c: Don't include fcntrl.h, stdlib.h.
2874 (_fmode): Declare, without dllimport attribute.
2875 (__p__fmode): Declare access function for dll's _fmode.
2876 (_mingw32_init_fmode): Sync dll _fmode with staticly linked
2878 * txtmode.c: New file.
2879 * binmode.c: New file.
2880 * samples/fmode/test2.c: New file.
2881 * samples/fmode/jamfile: Add test2.exe target.
2883 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
2885 * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
2886 macros work with C89.
2887 (INTMAX_C, UINTMAX_C): Likewise.
2889 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
2891 * include/string.h (strcasecmp): Make extern __inline__.
2892 (strncasecmp): Likewise.
2893 (wcscmpi): Likewise.
2895 2002-10-08 Heiko Gerdau <hg@technosis.de>
2897 * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
2898 _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
2901 2002-10-07 Danny Smith <dannysmith@users.sourceforge.net>
2903 * mingwex/math/powil.c: Rename powil to __powil.
2904 * mingwex/math/powl.c: Adjust declaration and call
2905 to __powil. Remove comment on powil.
2906 * mingwex/math/powi.c: New file.
2907 * mingwex/math/powif.c: New file.
2908 * mingwex/math/pow.c: New file.
2909 * mingwex/math/cephes_mconf.h. Add double and float
2910 versions of constants.
2911 (polevl): Add double precision function.
2913 * mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
2915 (MATH_OBJS): Add pow.o, powi.o, powif.o.
2917 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2919 * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
2920 (_imp____mbcur_max_dll): Likewise.
2922 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2924 * include/fcntl.h (_fmode): Remove declarations and
2925 compatibility defines.
2926 (_setmode, setmode): Remove prototypes.
2927 * include/stdlib (_fmode): Add declarations and
2928 compatibility defines. Change type to int.
2929 * include/io.h (_setmode, setmode): Add prototypes.
2930 * samples/fmode/all.c: Adjust includes.
2931 * samples/fmode/test.c: Likewise.
2932 * crt1.c (_CRT_fmode): Declare as int.
2933 * CRTfmode.c (_CRT_fmode): Likewise.
2935 * include/stdlib: Remove comment about MB_CUR_MAX.
2937 2002-10-02 Danny Smith <dannysmith@users.sourceforge.net>
2939 * include/stdlib.h (_imp____mbcur_max): Add missing ';'.
2940 (_imp____mbcur_max_dll): Likewise.
2942 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
2944 * mingwex/math/files.txt: Remove inadvertantly added file.
2946 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
2948 * include/string.h (_strerror): Move into #ifndef
2949 __STRICT_ANSI__ block.
2951 2002-09-17 Danny Smith <dannysmith@users.sourceforge.net>
2953 * include/time.h (__need_NULL): Define before including
2954 stddef.h. Thanks to: Rüdiger Dehmel <de@lmnet.de>.
2956 2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
2958 * include/stdio.h: Correct comment about directory separator.
2960 2002-09-12 Danny Smith <dannysmith@users.sourceforge.net>
2962 * include/sys/time.h (timeval): Add struct definition and
2963 associated macros (copied from w32api/include/winsock.h).
2965 2002-09-05 Earnie Boyd <earnie@users.sf.net>
2967 * include/_mingw.h: Increment version to 2.3.
2970 2002-09-05 Earnie Boyd <earnie@users.sf.net>
2972 * mingwex/fegetenv.c: Change to \n line endings.
2973 * mingwex/vsnprintf.c: Ditto.
2974 * mingwex/vsnwprintf.c: Ditto.
2976 2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
2978 * mingwex/math/hypotl.c: Replace with version based on cephes
2981 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
2983 * include/sys/param.h: Add ENDIAN defines.
2984 * test_headers.c: Include sys/param.h.
2986 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
2988 * test_headers.c: Don't include varargs.h.
2989 * Makefile.in (test_headers): Don't use -std=xx
2992 2002-08-21 Earnie Boyd <earnie@users.sf.net>
2994 * include/sys/param.h: New File.
2996 2002-08-21 Danny Smith <dannysmith@users.sourceforge.net>
2998 * include/math.h (asm): Change to __asm__ throughout.
2999 Expose ISO C99 functions if __GLIPCPP__.
3000 (hypotf): Use hypot, not _hypot in stub.
3002 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3004 * include/tchar.h: Ansi-fy another comment.
3006 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3008 * include/tchar.h: Ansi-fy comment.
3010 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3012 * test_headers.c : New file.
3013 * Makefile.in (test_headers): New target, using it,
3014 (SRCDIST_FILES): Distribute it.
3016 2002-08-20 Earnie Boyd <earnie@users.sf.net>
3018 * include/_mingw.h: Increment version to 2.2.
3021 2002-08-14 Earnie Boyd <earnie@users.sf.net>
3023 * include/unistd.h: Add include of process.h.
3025 2002-08-03 Danny Smith <dannysmith@users.sourceforge.net>
3027 * include/stdio.h (_fcloseall): Add prototype.
3029 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3031 * include/tchar.h (_tfdopen): Correct typo.
3033 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3035 * moldname.def.in (chgsign,scalb,finite,fpclass,logb,
3036 nextafter): Add non-underscored stubs.
3037 * moldname-msvcrt.def: Regenerate.
3038 * moldname-crtdll.def: Regenerate.
3039 * mingwex/math: New directory.
3040 * mingwex/rint.c: Move to mingwex/math.
3041 * mingwex/rintf.c: Ditto.
3042 * mingwex/rintl.c: Ditto.
3043 * mingwex/round.c: Ditto.
3044 * mingwex/roundf.c: Ditto.
3045 * mingwex/roundl.c: Ditto.
3046 * mingwex/rint.c: Ditto.
3047 * mingwex/rintf.c: Ditto.
3048 * mingwex/rintl.c: Ditto.
3049 * mingwex/trunc.c: Ditto.
3050 * mingwex/truncf.c: Ditto.
3051 * mingwex/truncl.c: Ditto.
3052 * mingwex/signbit.c: Ditto.
3053 * mingwex/signbitf.c: Ditto.
3054 * mingwex/signbitl.c: Ditto.
3055 * mingwex/copysignl.S: Ditto.
3056 * mingwex/fdim.c: Ditto.
3057 * mingwex/fdimf.c: Ditto.
3058 * mingwex/fdiml.c: Ditto.
3059 * mingwex/fmin.c: Ditto.
3060 * mingwex/fminf.c: Ditto.
3061 * mingwex/fminl.c: Ditto.
3062 * mingwex/fmax.c: Ditto.
3063 * mingwex/fmaxf.c: Ditto.
3064 * mingwex/fmaxl.c: Ditto.
3065 * mingwex/fma.c: Ditto.
3066 * mingwex/fmaf.c: Ditto.
3067 * mingwex/fmal.c: Ditto.
3068 * mingwex/fpclassify.c: Ditto.
3069 * mingwex/fpclassifyl.c: Ditto.
3070 * mingwex/fpclassifyl.c: Ditto.
3071 * mingwex/isnan.c: Ditto.
3072 * mingwex/isnanf.c: Ditto.
3073 * mingwex/isnanl.c: Ditto.
3074 * mingwex/fucom.c: Ditto.
3075 * mingwex/fp_consts.c: Ditto. Split out float and long double
3077 * mingwex/math_stubs.c: Remove.
3078 * mingwex/log2.c: Remove. Replaced by math/log2.S
3079 * mingwex/log2f.c: Remove. Replaced by math/log2f.S
3080 * mingwex/log2l.c: Remove. Replaced by math/log2l.S
3081 * mingwex/math/acosf.c : New file.
3082 * mingwex/math/acosl.c: New file.
3083 * mingwex/math/asinf.c: New file.
3084 * mingwex/math/asinl.c: New file.
3085 * mingwex/math/atan2f.c: New file.
3086 * mingwex/math/atan2l.c: New file.
3087 * mingwex/math/atanf.c: New file.
3088 * mingwex/math/atanl.c: New file.
3089 * mingwex/math/cbrt.c: New file.
3090 * mingwex/math/cbrtf.c: New file.
3091 * mingwex/math/cbrtl.c: New file.
3092 * mingwex/math/ceilf.S: New file.
3093 * mingwex/math/ceill.S: New file.
3094 * mingwex/math/cephes_ld.h: New file.
3095 * mingwex/math/copysign.S: New file.
3096 * mingwex/math/copysignf.S: New file.
3097 * mingwex/math/cosf.S: New file.
3098 * mingwex/math/coshf.c: New file.
3099 * mingwex/math/coshl.c: New file.
3100 * mingwex/math/cosl.S: New file.
3101 * mingwex/math/exp2.S: New file.
3102 * mingwex/math/exp2f.S: New file.
3103 * mingwex/math/exp2l.S: New file.
3104 * mingwex/math/expf.c: New file.
3105 * mingwex/math/expl.c: New file.
3106 * mingwex/math/fabs.c: New file.
3107 * mingwex/math/fabsf.c: New file.
3108 * mingwex/math/fabsl.c: New file.
3109 * mingwex/math/floorf.S: New file.
3110 * mingwex/math/floorl.S: New file.
3111 * mingwex/math/fmodf.c: New file.
3112 * mingwex/math/fmodl.c: New file.
3113 * mingwex/math/fp_consts.h: Ditto.
3114 * mingwex/math/fp_constsf.c: Ditto.
3115 * mingwex/math/fp_constsl.c: Ditto.
3116 * mingwex/math/frexpf.c: New file.
3117 * mingwex/math/frexpl.S: New file.
3118 * mingwex/math/hypotf.c: New file.
3119 * mingwex/math/hypotl.c: New file.
3120 * mingwex/math/ilogb.S: New file.
3121 * mingwex/math/ilogbf.S: New file.
3122 * mingwex/math/ilogbl.S: New file.
3123 * mingwex/math/ldexpf.c: New file.
3124 * mingwex/math/ldexpl.c: New file.
3125 * mingwex/math/llrint.c: New file.
3126 * mingwex/math/llrintf.c: New file.
3127 * mingwex/math/llrintl.c: New file.
3128 * mingwex/math/llround.c: New file.
3129 * mingwex/math/llroundf.c: New file.
3130 * mingwex/math/llroundl.c: New file.
3131 * mingwex/math/log10f.S: New file.
3132 * mingwex/math/log10l.S: New file.
3133 * mingwex/math/log1p.S: New file.
3134 * mingwex/math/log1pf.S: New file.
3135 * mingwex/math/log1pl.S: New file.
3136 * mingwex/math/log2.S: New file.
3137 * mingwex/math/log2f.S: New file.
3138 * mingwex/math/log2l.S: New file.
3139 * mingwex/math/logb.c: New file.
3140 * mingwex/math/logbf.c: New file.
3141 * mingwex/math/logbl.c: New file.
3142 * mingwex/math/logf.S: New file.
3143 * mingwex/math/logl.S: New file.
3144 * mingwex/math/lrint.c: New file.
3145 * mingwex/math/lrintf.c: New file.
3146 * mingwex/math/lrintl.c: New file.
3147 * mingwex/math/lround.c: New file.
3148 * mingwex/math/lroundf.c: New file.
3149 * mingwex/math/lroundl.c: New file.
3150 * mingwex/math/modff.c: New file.
3151 * mingwex/math/modfl.c: New file.
3152 * mingwex/math/nearbyint.S: New file.
3153 * mingwex/math/nearbyintf.S: New file.
3154 * mingwex/math/nearbyintl.S: New file.
3155 * mingwex/math/nextafterf.c: New file.
3156 * mingwex/math/powf.c: New file.
3157 * mingwex/math/powl.c: New file.
3158 * mingwex/math/powil.c: New file.
3159 * mingwex/math/remainder.S: New file.
3160 * mingwex/math/remainderf.S: New file.
3161 * mingwex/math/remainderl.S: New file.
3162 * mingwex/math/remquo.S: New file.
3163 * mingwex/math/remquof.S: New file.
3164 * mingwex/math/remquol.S: New file.
3165 * mingwex/math/scalbn.S: New file.
3166 * mingwex/math/scalbnf.S: New file.
3167 * mingwex/math/scalbnl.S: New file.
3168 * mingwex/math/sinf.S: New file.
3169 * mingwex/math/sinhf.c: New file.
3170 * mingwex/math/sinhl.c: New file.
3171 * mingwex/math/sinl.S: New file.
3172 * mingwex/math/sqrt.c: New file.
3173 * mingwex/math/sqrtf.c: New file.
3174 * mingwex/math/sqrtl.c: New file.
3175 * mingwex/math/tanf.S: New file.
3176 * mingwex/math/tanhf.c: New file.
3177 * mingwex/math/tanhl.c: New file.
3178 * mingwex/math/tanl.S: New file.
3179 * mingwex/Makefile.in: Adjust VPATH for source files in
3182 Add MATH_DISTFILES and use it to build source distro.
3183 * include/ math.h: Add protypes for new functions and
3184 reorganise to reflect ANSI,C99 status.
3186 2002-06-19 Danny Smith <dannysmith@users.sourceforge.net>
3188 * include/tchar.h (_getts): Define as _getws for _UNICODE.
3189 (_putts): Define as _putws for _UNICODE.
3190 Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report.
3192 2002-06-18 Danny Smith <dannysmith@users.sourceforge.net>
3194 * include/float.h: #include_next<float.h> before header guard.
3196 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
3198 * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
3200 * include/excpt.h (): Include windef.h not windows.h.
3201 * include/fcntl.h (_O_SHORT_LIVED): Add define.
3202 (_chmod): Add prototype.
3203 (_creat): Correct prototype.
3204 (SH_DENY*): Rename defines to _SH_DENY*.
3205 (SH_DENY*): Add Non-ANSI names for _SH_DENY*.
3206 include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
3207 _IOAPPEND): Add defines.
3208 (_wfindfirst): Correct prototype.
3209 (_wfdopen): Add prototype.
3210 * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
3212 * include/string.h (_mbschr, _mbstok, _mbsncat): Remove
3214 (_wcsdup): Correct prototype.
3215 * include/mbstring.h: Remove comments about _mbschr, _mbstok,
3216 _mbsncat being in string.h.
3217 * include/wchar.h (_wfindfirst): Correct prototype.
3218 * include/tchar.h (_tfdopen): Add _UNICODE mappings.
3220 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3222 * include/_mingw.h: Increment to version 2.1.
3223 * Makefile.in: Ditto.
3225 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3227 * Makefile.in (conf_prefix): New variable.
3228 (dist_prefix): Ditto. Conditionally set to $(conf_prefix).
3229 (bindist): Use dist_prefix.
3231 2002-06-13 Danny Smith <dannysmith@users.sourceforge.net>
3233 * include/_mingw.h: Increment version to 2.0.
3234 * Makefile.in: Ditto.
3236 Merge in mingwex branch.
3238 2002-06-11 Danny Smith <dannysmith@users.sourceforge.net>
3239 * include/math.h (fdim, fdimf, fdiml): Add prototypes.
3240 * mingwex/fdim.c: New file.
3241 * mingwex/fdimf.c: New file.
3242 * mingwex/fdiml.c: New file.
3243 * mingwex/Makefile.in (DISTFILES): Add fdim.c, fdimf.c,
3245 (MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
3247 2002-05-23 Danny Smith <dannysmith@users.sourceforge.net>
3248 * mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c.
3250 2002-05-22 Danny Smith <dannysmith@users.sourceforge.net>
3251 * mingwex/isnanl.c: New file.
3253 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3254 * include/stdint.h: Include stddef.h to get
3256 (WINT_MAX): Define to ((wint_t)-1).
3258 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3259 * include/wctype.h: Replace 'inline' with '__inline__'.
3260 * include/inttypes.h: Likewise.
3262 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3263 * include/_mingw.h (__MINGW_IMPORT): Put extern at start
3264 to avoid warnings. Thanks to: Oscar Fuentes <ofv@wanadoo.es>.
3266 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3267 * mingwex/snprintf.c: Split out vsnprintf to....
3268 * mingwex/vsnprintf.c: New file.
3269 * mingwex/snwprintf.c: Split out vsnwprintf to...
3270 * mingwex/vsnwprintf.c: New file.
3271 * mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
3273 2002-05-15 Pascal Obry <obry@gnat.com>
3274 * include/dirent.h (DIR): Change dd_stat type to int.
3277 2002-05-07 Danny Smith <dannysmith@users.sourceforge.net>
3278 * include/stdio.h (vsnprintf): Change inline to __inline__;
3279 (vsnwprintf): Likewise.
3280 * include/wchar.h (vsnwprintf): Likewise.
3283 (mbsinit): Likewise.
3285 2002-04-29 Danny Smith <dannysmith@users.sourceforge.net>
3286 Change FP default precison from 53 to 64-bit mantissa.
3287 * Makefile.in (CRT0S): Add CRT_fp8.o.
3288 (MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o.
3289 * include/float.h: Replace standard float.h defines with
3290 #include_next<float.h> to use GCC's defines. Adjust comments
3293 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3294 * include/dos.h: Change prefix "__imp_" to "_imp__" for
3295 __GNUC__ without __DECLSPEC_SUPPORTED.
3296 * include/fnctl.h: Likewise.
3297 * include/math.h: Likewise.
3298 * include/stdio.h: Likewise.
3299 * include/stdlib.h: Likewise.
3300 * include/time.h: Likewise.
3301 * include/wctype.h: Likewise.
3302 * include/ctype.h: Likewise.
3304 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3305 Add atexit support for dlls.
3306 * crt1.c (atexit): Force thunk to _imp__atexit.
3307 (_onexit): Force thunk to _imp___onexit.
3308 * dllcrt1.c (DllMainCRTStartup): Initialise private atexit
3309 table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
3310 (__dll_exit): New function to run atexit-registered functions
3311 and flush output buffers on DLL_PROCESS_DETACH or failed
3313 (atexit): Force use of private atexit table via _dllonexit,
3314 (_onexit): New function. Force use of private atexit table via
3316 * msvcrt.def (atexit, _onexit): Add DATA keyword so that only
3317 _imp_<_symbol> is visible in import lib.
3318 * msvcrt20.def: Likewise.
3319 * msvcrt40.def: Likewise.
3320 * crtdll.def: Likewise.
3322 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3323 * include/fenv.h: Change header guard macro to _FENV_H_.
3324 (fenv_t, fexcept_t): Move into block protected by
3326 Cleanup some whitespace.
3327 * include/inttypes.h: Change header guard macro to
3330 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3331 * include/math.h (copysignl): Declare.
3332 * mingwex/Makefile.in (DISTFILES): Add copysignl.S.
3333 (MATHOBJS):Add copysignl.o.
3335 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3336 * include/math.h (__signbitl, __isnanl): Declare.
3338 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3339 * include/math.h (nanl, __fpcassifyl, fminl, fmaxl, rintl,
3340 roundl, truncl, fmal, log2l): Declare.
3341 Protect C99 declarations with _STDC_VERSION__ >= 199901L)
3342 || !defined __STRICT_ANSI__.
3343 * mingwex/fmax.c (fmax): Call __isnan, not _isnan.
3344 * mingwex/fmin.c (fmin): Likewise.
3345 * mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan.
3346 * mingwex/fminf.c (fminf): Likewise.
3347 * mingwex/fmaxl.c: New file.
3348 * mingwex/fminl.c: New file.
3349 * mingwex/fpclassify.c (__fpclassifyf): Split out to ...
3350 * mingwex/fpclassifyf.c: New file.
3351 * mingwex/fpclassifyl.c: New file.
3352 * mingwex/rint.c (rintf): Split out to...
3353 * mingwex/rintf.c: New file.
3354 * mingwex/rintl.c: New file.
3355 * mingwex/round.c (roundf): Split out to...
3356 * mingwex/roundf.c: New file.
3357 * mingwex/roundl.c: New file.
3358 * mingwex/trunc.c (truncf): Split out to...
3359 * mingwex/truncf.c: New file.
3360 * mingwex/truncl.c: New file.
3361 * mingwex/signbit.c (signbitf): Split out to...
3362 * mingwex/signbitf.c: New file.
3363 * mingwex/signbitl.c: New file.
3364 * mingwex/fmal.c: New file.
3365 * mingwex/copysignl.S: New file.
3366 * mingwex/log2l.c: New file.
3367 * mingwex/fp_consts.c: Add nanl definition.
3368 Comment out unused constants.
3369 * mingwex/Makefile.in (DISTFILES): Add fmaxl.c, fminl.c,
3370 fpclassifyf.c, fpclassifyl.c, rintf.c, rintl.c, roundf.c,
3371 roundl.c, truncf.c truncl.c, signbitf.c signbitl.c,
3373 (MATHOBJS): Add fmaxl.o, fminl.o, fpclassifyf.o,
3374 fpclassifyl.o, rintf.o, rintl.o, roundf.o, roundl.o,
3375 truncf.o truncl.o, signbitf.o signbitl.o, fmal.o,
3377 * mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo.
3379 2002-04-23 Danny Smith <dannysmith@users.sourceforge.net>
3380 Make wide char versions of opendir and friends.
3381 * include/dirent.h (_wdirent, _WDIR): Define wide versions of
3383 (_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
3384 _wseekdir): Add prototypes for wide versions of corresponding
3386 * include/tchar.h; Add _UNICODE mappings for dirent.h
3387 structures and functions.
3388 * mingwex/dirent.c: Make _UNICODE neutral.
3389 * mingwex/wdirent.c: New file to define _UNICODE before
3391 * mingwex/Makefile.in (DISTFILES): Add wdirent.c.
3392 (POSIX_OBJS): Add wdirent.o.
3393 (wdirent.o): Specify dependency on dirent.c as well as
3395 * samples/dirent/wtest.c: New file, wide version of test.c.
3397 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3398 * Makefile.in (INCLUDES): Add "-iwithprefixbefore include" to
3399 ensure gcc include dir is searched despite -nostdinc.
3400 * profile/Makefile.in (INCLUDES): Likewise.
3401 * mingwex/Makefile.in (INCLUDES): Likewise.
3402 * include/stdarg.h: Replace with stub that just guards the
3403 real gcc system header with #ifndef RC_INVOKED
3404 * include/varargs.h: Likewise.
3405 * include/stddef.h: Likewise.
3406 * include/stdio.h: Include stdarg.h after defining
3408 (__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
3409 Replace va_list with __VALIST throughout.
3411 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3412 * crt1.c: Revert changes of 2002-04-16. Use _fpreset again.
3413 * msvcrt.def (_fpreset): Mark as DATA so that only
3414 _imp___fpreset is exported.
3415 * msvcrt20.def (_fpreset): Likewise.
3416 * msvcrt40.def (_fpreset): Likewise.
3417 * crtdll.def (_fpreset): Likewise.
3418 * CRT_fp10.c (_fpreset): Overide library _fpreset with one
3420 (fpreset): Add alias.
3421 (__CRT_PC): Delete definition. _fpreset does it now.
3422 * CRT_fp8.c (_fpreset): Force use of library _imp___fpreset.
3423 (fpreset): Add alias.
3424 (__CRT_PC): Delete definition.
3425 * moldname.def.in: Comment out fpreset.
3426 * moldname-msvcrt.def: Regenerate.
3427 * moldname-crtdll.def: Regenerate.
3428 * include/fenv.h (FE_DFL_ENV): Define as (fenv_t*)0.
3429 * mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment
3430 with the _fpreset determined by startup CRT_fp object.
3432 2002-04-16 Danny Smith <dannysmith@users.sourceforge.net>
3433 * CRT_fp8.c: New file.
3434 * CRT_fp10.c: New file.
3435 * crt1.c (__CRT_PC) Declare.
3436 (__CRT_fesetenv): New static function, using _CRT_PC.
3437 (__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset.
3438 (_gnu_exception_handler): Likewise.
3439 * Makefile.in (CRT0S): Add CRT_fp10.o.
3440 (MINGW_OBJS): Add CRT_fp8.o.
3441 (SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c.
3442 Add CRT_fp8.o, CRT_fp10.o dependancies.
3443 * include/float.h (_fpreset): Expand comment.
3444 * include/fenv.h (FE_PC64_ENV): New define for Intel x87
3445 (extended precison) environmemt.
3446 (FE_PC53_ENV): New define for MSVCRT default environmemt.
3447 (FE_DFL_ENV): Define as FE_PC53_ENV.
3448 * mingwex/fesetenv.c: Use FE_PC53_ENV, FE_PC64_ENV to determine
3449 precision control for default environment.
3451 * include/math.h: Fix long comment line.
3452 * profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
3454 * profile/configure: Regenerate.
3456 2002-04-12 Danny Smith <dannysmith@users.sourceforge.net>
3457 * mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c.
3459 2002-04-10 Danny Smith <dannysmith@users.sourceforge.net>
3460 * mingwex/mingw-fseek.c: New file, based on Mumit Khan
3461 mingw-local patch to binutils.
3462 Sun Nov 7 04:27:07 1999 Mumit Khan <khan@xraylith.wisc.edu>
3463 (__mingw_fseek): New function to work around Win9x f/lseek bug.
3464 (__mingw_fwrite): Likewise.
3465 (__mingw_is_win9x): New helper function.
3466 * include/stdio.h (__USE_MINGW_FSEEK): New define,guarding...
3467 (__mingw_fseek): New prototype and define to replace fseek.
3468 (__mingw_fwrite): New prototype and define to replace fwrite.
3469 * mingwex/Makefile.in: Add mingw-fseek.o to libmingwex.a.
3470 * moldname-crtdll.def: Remove CR from end of line.
3471 * moldname-msvcrt.def: Ditto.
3473 2002-04-09 Danny Smith <dannysmith@users.sourceforge.net>
3474 * profile/configure.in (CRT0S): Configure name of gcrt?.o
3475 based on target, building gcrt0.o for cygwin -mno-cygwin.
3476 * profile/configure: Regenerate.
3477 * profile/Makefile.in (CRT0S): Use name from configure.
3478 (gcrt0.o): New rule.
3479 (ALL_CRT0S): New define, used to cleanup all gcrt?.o's.
3481 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3482 * include/math.h (_controlfp, _control87, _clearfp, _statusfp, _fpreset,
3483 _fpecode): Remove prototypes copied from float.h.
3484 (nan, nanf): Move into block protected against RC_INVOKED
3486 * include/stdlib.h (_Exit): Change from static inline to
3488 * mingwex/_Exit.c : New file.
3489 * mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
3491 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3492 Add libgmon.a and libmingwex.a for cygwin -mno-cygwin.
3493 * configure.in (SUBDIRS): Add profile and mingwex to cygwin target.
3494 (configdirs): Likewise.
3495 (LIBGMON_A): Define for cygwin target as well.
3496 * configure: Regenerate.
3497 * profile/configure.in (THREAD_DLL): Remove define.
3498 (LIBM_A): Remove define.
3499 (LIBGMON_A): Define for cygwin target as well.
3500 * profile/configure: Regenerate.
3501 * profile/makefile.in (install): Install to inst_libdir and
3503 * mingwex/makefile.in (CFLAGS): Move -fomit-frame-pointer to...
3504 (OPTFLAGS): New define.
3505 (ALL_CFLAGS): Add $(OPTFLAGS).
3506 (ALL_CXXFLAGS): Same.
3507 (.c.o:): Remove ALL_CXXFLAGS.
3509 2002-03-29 Danny Smith <dannysmith@users.sourceforge.net>
3510 * include/stdint.h: Add missing newline at eof.
3511 * include/stdio.h (snprintf): Add prototype.
3512 (vsnprintf): Add prototype and inline definition.
3513 (snwprintf): Add prototype.
3514 (vsnwprintf): Add prototype and inline definition.
3515 * include/wchar.h (snwprintf): Add prototype.
3516 (vsnwprintf): Add prototype and inline definition.
3517 * mingwex/Makefile.in: Add snprintf.o, snwprintf.o
3519 * mingwex/snprintf.c: New file.
3520 * mingwex/snwprintf.c: New file.
3522 2002-03-22 Danny Smith <dannysmith@users.sourceforge.net>
3523 * configure.in: Add mingwex as SUBDIRS and configdirs.
3524 * configure: Regenerate.
3525 * Makefile.in (MINGW_OBJS): Remove dirent.o.
3526 (SRC_DIST_FILES): Remove dirent.c.
3528 * include/stdlib.h (_Exit): Add static inline
3530 (struct lldiv_t): Define.
3531 (lldiv): Add prototype.
3532 (llabs): Add extern inline function.
3533 (strtoll,strtoull): Add prototypes.
3534 (wcstol, wcstoul, wcstod): Group together.
3535 (strtof, wcstof): Add extern inline definitions.
3536 (atoll,lltoa,ulltoa, wtoll, lltow ulltow): Add prototypes
3537 and extern inline definitions.
3538 * include/wchar.h (fwide, wcstoll,wcstoull, wmemchr
3539 wmemcmp, wmemcpy, wmemmove, wmemset. mbsinit): Add
3541 (wcstol, wcstoul,wcstod): Copy prototypes from stdlib.h.
3542 (wcstof): Add extern inline definition.
3543 * include/math.h (nan, nanf): Add prototypes.
3544 (NAN, INFINITE): Define constants.
3545 (fpclassify, isnan ,signbit): Add macros and supporting float
3546 and double functions.
3547 (isfinite, isinf, isnormal): Add macros.
3548 (isgreater, isless, isgreaterequal, islessequal,islessgreater):
3550 (rint, rintf, round, roundf, trunc. truncf, fmax, fmaxf,
3551 fmin, fminf, fma, fmaf, log2, log2f): Add prototypes.
3552 (copysign, logb, nextafter, scalb): Add prototypes and
3553 inline stubs for underscored versions in msvcrt.dll.
3554 * include/inttypes.h: New file.
3555 * include/fenv.h: New file
3557 Add new mingwex subdir and files.
3558 * mingwex: New directory.
3559 * mingwex/Makefile.in: New file.
3560 * mingwex/configure.in: New file.
3561 * mingwex/configure: Generate.
3562 * mingwex/dirent.c: Moved here from parent dir.
3563 * mingwex/atoll.c: New file.
3564 * mingwex/feclearexcept.c: New file.
3565 * mingwex/fegetenv.c: New file.
3566 * mingwex/fegetexceptflag.c: New file.
3567 * mingwex/fegetround.c: New file.
3568 * mingwex/feholdexcept.c: New file.
3569 * mingwex/feraiseexcept.c: New file.
3570 * mingwex/fesetenv.c: New file.
3571 * mingwex/fesetexceptflag.c: New file.
3572 * mingwex/fesetround.o: New file.
3573 * mingwex/fetestexcept.c: New file.
3574 * mingwex/feupdateenv.c: New file.
3575 * mingwex/fma.S: New file.
3576 * mingwex/fmaf.S: New file.
3577 * mingwex/fmax.c: New file.
3578 * mingwex/fmaxf.c: New file.
3579 * mingwex/fmin.c: New file.
3580 * mingwex/fminf.c: New file.
3581 * mingwex/fp_consts.c: New file.
3582 * mingwex/fpclassify.c: New file.
3583 * mingwex/fucom.c: New file.
3584 * mingwex/fwide.c: New file.
3585 * mingwex/imaxabs.c: New file.
3586 * mingwex/imaxdiv.c: New file.
3587 * mingwex/isnan.c: New file.
3588 * mingwex/isnanf.c: New file.
3589 * mingwex/lltoa.c: New file.
3590 * mingwex/lltow.c: New file.
3591 * mingwex/log2.c: New file.
3592 * mingwex/log2f.c: New file.
3593 * mingwex/math_stubs.c: New file.
3594 * mingwex/mbsinit.c: New file.
3595 * mingwex/rint.c: New file.
3596 * mingwex/round.c: New file.
3597 * mingwex/signbit.c: New file.
3598 * mingwex/sitest.c: New file.
3599 * mingwex/strtof.c: New file.
3600 * mingwex/strtoimax.c: New file.
3601 * mingwex/strtoumax.c: New file.
3602 * mingwex/testwmem.c: New file.
3603 * mingwex/trunc.c: New file.
3604 * mingwex/ulltoa.c: New file.
3605 * mingwex/ulltow.c: New file.
3606 * mingwex/wcstof.c: New file.
3607 * mingwex/wcstoimax.c: New file.
3608 * mingwex/wcstoumax.c: New file.
3609 * mingwex/wmemchr.c: New file.
3610 * mingwex/wmemcmp.c: New file.
3611 * mingwex/wmemcpy.c: New file.
3612 * mingwex/wmemmove.c: New file.
3613 * mingwex/wmemset.c: New file.
3614 * mingwex/wtoll.c: New file.
3616 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
3618 * include/mbstring.h: New file.
3619 * include/mbctype.h: New file.
3621 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
3623 * include/tchar.h (__TEXT): Make same as define in
3624 w32api/include/winnt.h.
3626 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
3628 * include/tchar.h (_tputenv): Add UNICODE mappings.
3629 (_tsearchenv): Likewise.
3630 (_tmakepath): Likewise.
3631 (_tsplitpath): Likewise.
3632 (_tfullpath): Likewise.
3634 2002-04-18 Pascal Obry <obry@gnat.com>
3636 * dirent.c (opendir): Convert given pathname to
3639 2002-04-09 Earnie Boyd <earnie@users.sf.net>
3641 * include/_mingw.h: Increment version.
3642 * Makefile.in: Ditto.
3644 2002-04-09 Earnie Boyd <earnie@users.sf.net>
3646 * moldname-crtdll.def: Remove CR from end of line.
3647 * moldname-msvcrt.def: Ditto.
3648 * Makefile.in: Use bzip2 compression for Cygwin target.
3650 2002-04-04 Danny Smith <dannysmith@sourceforge.users.net>
3652 * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
3653 TLOSS, PLOSS): Move oldname defines back, following
3654 the underscored names.
3656 2002-03-29 Danny Smith <dannysmith@sourceforge.users.net>
3658 * include/stdio.h (_snwprintf): Correct spelling.
3659 (_vsnwprintf): Likewise.
3660 * include/wchar.h (_snwprintf): Correct spelling.
3661 (_vsnwprintf): Likewise.
3663 2002-03-26 Danny Smith <dannysmith@users.sourceforge.net>
3665 * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__).
3666 (wpopen): Add if !(__CRTDLL__).
3667 * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
3669 (moldname-crtdll.def rule): Likewise.
3670 * moldname-msvcrt.def: Regenerate.
3671 * moldname-crtdll.def: Regenerate.
3672 * include/stdio.h (wpopen):Use prototype, not a define.
3673 (_swnprintf): Add prototype.
3674 (_vswnprintf): Likewise.
3676 * include/wchar.h (_swnprintf): Add prototype.
3677 (_vswnprintf): Likewise.
3680 2002-01-28 Danny Smith <dannysmith@users.sourceforge.net>
3682 * include/malloc.h (_heapinfo): Correct structure definition.
3683 (_USEDENTRY,_FREEENTRY): Add defines.
3684 Add comment on platform support for _heap* functions.
3685 (_get_sbh_threshold): Add prototype.
3686 (_set_sbh_threshold): Likewise.
3687 (_expand): Likewise.
3689 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
3691 * profile/profil.c: Update copyright info.
3692 * profile/profil.h: Likewise.
3693 * profile/gcrt0.c: Likewise.
3695 2002-01-25 Pascal Obry <obry@gnat.com>
3697 * profile/profil.h (PROFADDR): Cast idx to unsigned long long to
3699 * profile/gmon.c: Define bzero as memset if mingw32.
3700 (monstartup): Use it.
3702 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
3704 * include/tchar.h (_TCHAR): Add missing ;.
3706 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
3708 * include/tchar.h (_TCHAR): Add typedefs.
3710 2002-01-16 Danny Smith <dannysmith@users.sourceforge.net>
3712 * include/stdlib.h (_onexit_t): Add typedef.
3713 (_onexit): Add prototype.
3715 2002-01-12 Danny Smith <dannysmith@users.sourceforge.net>
3717 * msvcrt.def: Revert accidental change.
3718 * include/stdlib.h: Ditto.
3720 2001-12-07 Earnie Boyd <earnie@users.sf.net>
3722 * Makefile.in: Increment VERSION.
3723 * include/_mingw.h: Ditto.
3725 2001-12-05 Earnie Boyd <earnie@users.sf.net>
3727 * include/strings.h: New File.
3729 2001-12-02 Danny Smith <dannysmith@users.sourceforge.net>
3732 2001-06-21 Mumit Khan <khan@nanotech.wisc.edu>
3734 * include/math.h (_FPCLASS* ): Add defines from float.h.
3735 (IEEE recommended functions): Add declarations from float.h.
3736 * include/float.h (_FPCLASS* ): Protect against redefinition.
3738 2001-11-29 Wu Yongwei <adah@netstd.com>
3740 * include/_mingw.h,assert.h,conio.h,ctype.h,dir.h,direct.h
3741 dirent.h,dos.h,errno.h,excpt.h,fcntl.h,float.h,io.h,
3742 limits.h,locale.h,malloc.h,math.h,process.h,setjmp.h,
3743 share.h,signal.h,stdarg.h,stddef.h,stdint.h,stdio.h,
3744 stdlib.h,string.h,tchar.h,time.h,varargs.h,wchar.h,
3745 wctype.h,sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h:
3746 Correct spelling of "disclaimed" in comments.
3747 * include/excpt.h: Another spelling correction.
3749 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
3751 * include/errno.h: Fix "errno is not a prototype" warning.
3753 2001-11-07 Danny Smith <dannysmith@users.sourceforge.net>
3755 * include/ctype.h (tolower, toupper,_tolower,_toupper): Comment
3756 differences between ANSI and non-ANSI versions.
3757 (_ctype[],_pctype): Declare vars.
3758 (__ISCTYPE): New helper macro using _pctype.
3759 (is* ctype functions): Use __ISCTYPE to define inline versions.
3760 (_toupper, _tolower, __isascii, __toascii, __iscsym, __iscsymf):
3762 (isw* ctype functions): Inline definitions.
3763 * include/wctype.h (_ctype[],_pctype): Declare vars.
3764 (isw* ctype functions): Inline definitions.
3767 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
3769 * include/float.h (_clearfp, _statusfp, _fpreset, fpreset,
3770 __fpecode): Use __STDC__ prototypes.
3773 2001-11-06 Thomas Pfaff <tpfaff@gmx.net>
3775 * mthr_stub.c (__mingwthr_remove_key_dtor) New.
3776 * mthr_init.c (DllMain) Run dtors if a process terminates.
3777 * mthr.c (__mingwthr_add_key_dtor) Removed.
3778 (___mingwthr_add_key_dtor) New.
3779 (___mingwthr_remove_key_dtor) New.
3780 (__mingwthr_run_key_dtors) Complete rewrite.
3781 (__mingwthr_remove_key_dtor) New.
3783 2001-11-05 Egor Duda <deo@logos-m.ru>
3785 * Makefile.in: Delete unused executable after creating base-files.
3787 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
3789 * include/errno.h (_errno): Use __STDC__ prototype.
3790 Thanks to: Jim Barton.
3792 2001-11-04 "stefan" <stefan@lkcc.org>
3794 * include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names.
3796 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
3798 * include/io.h (_commit): Add declaration.
3799 Thanks to: "stefan" <stefan@lkcc.org>
3801 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
3803 * include/sys/stat.h: Make S_IS* macros safer.
3805 2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
3807 * include/stdlib.h (EXIT_FAILURE): Change value to 1.
3809 2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
3811 * include/stdlib.h (__p__environ, __p__wenviron): Use
3812 __STDC__ prototypes.
3814 2001-09-19 Earnie Boyd <earnie@SF.net>
3816 * Makefile.in: Remove the /usr from the install target.
3817 (VERSION): Increment.
3818 include/_mingw.h: Ditto.
3820 2001-09-17 Earnie Boyd <earnie@SF.net>
3822 * Makefile.in: Increment version.
3823 * include/_mingw.h: Ditto.
3825 2001-09-10 Earnie Boyd <earnie@SF.net>
3827 * dossh: Remove inadvertantly imported file.
3829 2001-09-10 Danny Smith <dannysmith@users.sourceforge.net>
3831 * dirent.c (opendir): Use GetFileAttributes rather than stat
3832 to determine if input arg is dir.
3834 2001-08-29 Danny Smith <dannysmith@users.sourceforge.net>
3836 * include/stdarg.h (va_list): Typedef as __builtin_va_list if
3838 * include/varargs.h (va_list): Ditto.
3839 * include/stdio.h (va_list): Ditto.
3841 2001-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3843 * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
3844 * include/stdio.h (_IORW): Change constant to 0x0080.
3845 (TMP_MAX): Add new define.
3847 (_wP_tmpdir): Ditto.
3848 (L_tmpnam): Change constant to 16.
3850 2001-06-28 Danny Smith <dannysmith@users.sourceforge.net>
3852 * include/malloc.h: Fix non-ANSI comment after #endif.
3854 2001-06-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3856 * profile/configure.in: Make msvcrt.dll version default.
3857 * profile/makefile.in: Build both gcrt1.o and gcrt2.o.
3858 * provile/configure: Regenerate.
3860 2001-06-11 Mattia Barbon <mbarbon@dsi.unive.it>
3862 * include/stdio.h (swscanf): Make first arugument const.
3863 * include/wchar.h (swscanf): Ditto.
3864 * include/tchar.h (_tfopen): New _UNICODE define.
3866 (_tsetlocale): Ditto.
3868 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
3870 * profile/Makefile.in (mkinstalldirs): Correct relative path.
3872 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
3874 * include/_mingw.h: Change version to 1.0.
3877 2000-02-21 Earnie Boyd <earnie@users.sourceforge.net>
3879 * include/tchar.h: (__TEXT): Remove undef.
3883 Fri Feb 2 10:34:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
3885 * include/tchar.h: (__TEXT): Add private macro.
3886 (_TEXT): Modify definition to use __TEXT.
3888 This change allows the passing of a MACRO as an argument and have that
3889 MACRO resolved first.
3890 Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
3892 Wed Jan 31 17:12:51 2001 Earnie Boyd <earnie@users.sourceforge.net>
3894 * Makefile.in: Increment version to 0.5
3895 * include/_mingw.h: Increment minor version
3897 Tue Jan 30 13:01:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
3899 * include/assert.h: (assert): Remove ; from end of definition
3900 Thanks to: AJ Reins <tbisp@qwest.net>
3902 Tue Jan 30 07:31:22 2001 Earnie Boyd <earnie@users.sourceforge.net>
3904 * include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
3905 Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
3907 Mon Jan 29 14:03:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
3909 * time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
3911 Sun Jan 28 13:01:08 2001 Earnie Boyd <earnie@users.sourceforge.net>
3913 * include/wchar.h: The 2001.01.18 Change was incorrect. The functions
3914 are actually C functions. These functions are resolved via the
3915 -lmsvcp60 library and comments were placed in the header.
3917 2001-01-28 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3919 * include/stdlib.h (__p__pgmptr): add prototype.
3920 (__p__wpgmptr): likewise.
3921 (_pgmptr_dll): move declaration from dos.h.
3922 (_wpgmptr_dll): likewise.
3923 (_pgmptr): conditional define (MSVCT/CRTDLL).
3924 (_wpgmptr): likewise.
3925 * include/dos.h (_base*_dll variables): declare only for CRTDLL.
3926 (_os*_dll variables): likewise.
3927 (_pgmptr_dll): remove declaration and associated defines to stdlib.h.
3928 (_wpgmptr_dll): likewise.
3930 2001-01-22 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3932 * include/stdint.h: New file.
3934 Thu Jan 18 10:33:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
3936 * include/wchar.h: Protect prototypes only declared in the C++ STL
3937 from being declared unless __cplusplus is defined.
3939 Tue Jan 16 11:37:31 2001 Earnie Boyd <earnie@users.sourceforge.net>
3941 * include/stdlib.h: Apply Danny Smith patch 102730
3942 2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3943 (_wgetenv) Correction to return type.
3945 Tue Jan 16 09:41:41 2001 Earnie Boyd <earnie@users.sourceforge.net>
3947 * include/locale.h: Apply Danny Smith patch 101834
3948 2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3949 (LC_MIN) Add definition.
3951 (_wsetlocale) Add prototype.
3953 2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
3955 * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
3956 Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
3957 Create a libcoldname.a for the oldname library for CRTDLL.
3958 Restrict libmoldname.a for the oldname library for MSVCRT.
3959 * configure.in: eliminate setting RUNTIME and CRT_ID variables.
3960 Restructure the $target_os case logic.
3961 Always name the MinGW thread dll helper mingwm.
3962 Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
3963 * configure: regenerate.
3965 2000-11-22 Earnie Boyd <earnie_boyd@yahoo.com>
3967 * Makefile.in: Fix bindist target to distribute the correct files.
3968 Remove the use of SNAPSHOT variable and test SNAPDATE instead.
3969 Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
3971 2000-11-21 Earnie Boyd <earnie_boyd@yahoo.com>
3973 * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
3974 Add variables and targets to control binary and source distributions.
3975 Add variables and targets to control snapshot distribution.
3976 * profile/gmon.h: Add missing #endif for #ifndef.
3977 * profile/ChangeLog: Merge entries here and remove.
3978 * profile/Makefile.in: Add variables and targets to control
3982 * config.guess: ditto.
3983 * config.sub: ditto.
3984 * mkinstalldirs: ditto.
3985 * install-sh: ditto.
3986 * configure: regenerate.
3987 * profile/configure: ditto.
3989 2000-11-20 Earnie Boyd <earnie_boyd@yahoo.com>
3991 * Merge in changes from
3992 2000-10-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3993 * include/direct.h: add guard around MSVCRT-only prototytpes
3994 * include/io.h: add __int64 struct definitions and function prototypes;
3995 add guard for MSVCRT-only prototypes
3996 * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
3997 * include/stdio.h: add wchar function prototypes (__MSVCRT__);
3998 put wchar functions together to make sync with wchar.h easier
3999 * include/stdlib.h: add wide char functions (__MSVCRT__)
4000 * include/string.h: add string collation functions ( __MSVCRT__)
4001 * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
4002 * include/tchar.h: add macros and macro function definitions
4003 * include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
4004 enclose more functions in __MSVCRT__ guard;
4005 some oldname wide char function prototypes #if (0)'d
4006 * profile/gmon.h: add guard around BSD-ish typedefs
4008 Mon Nov 20 18:58:12 2000 Christopher Faylor <cgf@cygnus.com>
4010 * Makefile.in: Use a different variable name for subdirectory since the
4011 previous one was used by the top level make.
4013 Sun Nov 19 20:50:51 2000 Christopher Faylor <cgf@cygnus.com>
4015 * Makefile.in: Install mingw stuff in a subdirectory if building under
4018 Sat Jun 17 21:48:23 2000 Christopher Faylor <cgf@cygnus.com>
4020 * Makefile.in (subdirs): Eliminate for loop.
4022 Sat Jun 17 18:27:59 2000 Christopher Faylor <cgf@cygnus.com>
4024 * Makefile.in (subdirs): Previous change did not fix problem in
4027 Sat Jun 17 13:49:12 2000 Christopher Faylor <cgf@cygnus.com>
4029 * Makefile.in: Avoid installing dll if we're cross building and the
4030 cross-host system isn't a Windows system.
4031 * configure.in: Detect cross-hosting situation and set appropriate
4032 variables in Makefile.in.
4033 * configure: Regenerate.
4035 Wed Apr 19 13:10:54 2000 Christopher Faylor <cgf@cygnus.com>
4037 * configure.in: Change HEADER_SUBDIR to mingw32.
4038 * configure: Regenerate.
4040 Mon Apr 10 17:24:28 2000 Christopher Faylor <cgf@cygnus.com>
4042 * include/string.h: Use proper prototype for _strerror.
4044 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
4046 * Makefile.in (subdirs): Workaround for broken shells.
4048 2000-02-03 Mumit Khan <khan@xraylith.wisc.edu>
4050 * Snapshot 2000-02-03.
4052 * include/{assert.h, conio.h, ctype.h, direct.h, dirent.h, fcntl.h,
4053 float.h, io.h, locale.h, malloc.h, math.h, process.h, signal.h,
4054 stdio.h, stdlib.h, string.h, time.h, wctype.h, sys/stat.h,
4055 sys/timeb.h, sys/utime.h}: Remove parameter names to avoid namespace
4058 * Makefile.in (all): Build CRT0S first.
4059 (libmingwthrd.a): Remove thread support DLL from dependency.
4061 2000-01-21 Mumit Khan <khan@xraylith.wisc.edu>
4063 * Snapshot 2000-01-21.
4065 2000-01-20 Mumit Khan <khan@xraylith.wisc.edu>
4067 Merge in changes from Cygwin:
4068 * configure.in (HEADER_SUBDIRS): New variable. Substitute.
4069 (SUBDIRS): Likewise.
4070 * Makefile.in (HEADER_SUBDIRS): New variable.
4071 (install): Use to install Mingw headers to a subdirectory if building
4073 (DLL_CC_STUFF): Add DLL entry point.
4074 * configure: Regenerate.
4076 2000-01-19 Mumit Khan <khan@xraylith.wisc.edu>
4078 * include/stdio.h (fsetpos): Fix prototype.
4079 (fpos_t): Fix for MSVCRT.
4080 * include/float.h (fpreset): Add prototype.
4081 * include/limits.h: Define UINT_MAX, USHRT_MAX and ULONG_MAX with
4083 * include/time.h: Don't define tzname as a macro for CRTDLL, and
4084 export using libmoldname.a.
4085 * crtdll.def: Add DATA tags.
4086 * msvcrt.def: Likewise.
4087 * moldname.def.in: Likewise. Add fpreset. Export tzname for
4088 both MSVCRT and CRTDLL.
4089 * moldname-crtdll.def: Regenerate.
4090 * moldname-msvcrt.def: Regenerate.
4092 Tue Dec 21 02:22:14 1999 Mumit Khan <khan@xraylith.wisc.edu>
4094 * Snapshot 1999-12-21.
4096 * include/wctype.h: New file.
4097 * include/ctype.h (MB_CUR_MAX): Define.
4099 * include/stdlib.h (MB_CUR_MAX): Define.
4100 * include/wchar.h: Define stat, _stat structures here as well.
4101 * include/float.h: Add invalid subconditions (_SW) and floating
4102 point error (_FPE) macros.
4103 * include/time.h (_CLOCK_T): Rename macro to _CLOCK_T_DEFINED.
4104 (_TIME_T): Rename macro to _TIME_T_DEFINED.
4105 * include/sys/types.h: Likewise.
4107 Thu Nov 18 00:22:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4109 * profile/profil.c (profile_on): Set the profiler thread priority to
4110 be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
4111 * Snapshot 1999-11-18.
4113 Sun Nov 7 02:50:09 1999 Mumit Khan <khan@xraylith.wisc.edu>
4115 Released 1999-11-07.
4117 * Makefile.in (CRT0S): Add crtst.o.
4118 (install): Install in subdirs as well.
4119 * dirent.h (struct _stat): Rename from struct stat.
4120 * include/tchar.h: Add some new macros. Thanks to
4121 Eric Kohl <ekohl@abo.rhein-zeitung.de>.
4122 * profile/Makefile.in (install): Fix target.
4124 Thu Nov 4 14:32:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
4126 * Makefile.in: Add support for profile directory.
4127 * configure.in: Likewise.
4128 * configure: Regenerate.
4130 * profile: Imported profiling sources from winsup-19991026 snapshot.
4131 * profile/Makefile.in: New file.
4132 * profile/configure.in: New file.
4133 * profile/configure: Generate.
4134 * profile/gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
4135 * profile/gmon.h (u_char, u_short, u_int, u_long): Likewise.
4136 * profile/gmon.c (unistd.h): Include conditionally.
4137 (sys/param.h): Likewise.
4138 * profile/mcount.c (sys/param.h): Likewise.
4139 * profile/profil.c (profile_on): thread id is DWORD, not int.
4142 Wed Nov 3 16:26:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
4144 * include/stdlib.h: Add wide character version of argv/environ.
4146 * include/wchar.h: More wide character prototypes.
4147 * include/sys/stat.h: Likewise. Add struct stat as well as _stat.
4149 * dllcrt1.c (init.c): Don't include.
4150 (DllMainCRTStartup): Don't call _mingw32_init_mainargs().
4151 * Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists.
4153 Sat Oct 30 03:06:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4155 * moldname.def: Remove file.
4156 * moldname.def.in: And add this.
4157 * moldname-msvcrt.def: Generate from moldname.def.in.
4158 * moldname-crtdll.def: Likewise.
4160 * mthr.c: New file for -mthread (thread-safe C++ EH) support.
4161 * mthr_init.c: New file for -mthread (thread-safe C++ EH) support.
4162 * mthr_stub.c: New file for -mthread (thread-safe C++ EH) support.
4164 * Makefile.in: Update.
4165 * configure.in: Likewise. Also add *cygwin* target for building
4166 under Cygwin winsup.
4167 * configure: Regenerate.
4169 Fri Oct 1 11:10:30 1999 Mumit Khan <khan@xraylith.wisc.edu>
4171 * include/_mingw.h: Add version macros.
4172 * include/direct.h (_diskfree_t, getdiskfree, getdrives): Add.
4173 Also add wide character versions shared with wchar.h.
4174 * include/dos.h (_diskfree_t, getdiskfree, getdrives): Add.
4175 * include/io.h (sopen, _sopen): Fix prototype.
4176 Add wide character prototypes.
4177 * include/wchar.h: Likewise.
4178 * include/stdlib.h (beep, seterrormode, sleep): Remove non-
4179 underscored versions. Potential incompatibility.
4180 * include/time.h (daylight, timezone, tzname): Fix MSVCRT cases.
4181 Add wide character prototypes.
4182 * include/sys/timeb.h (struct _timeb): Don't use macro, but real
4185 Wed Aug 18 18:38:39 1999 Mumit Khan <khan@xraylith.wisc.edu>
4187 * configure.in (RUNTIME, CRT_ID): Add to differentiate between
4188 crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
4190 * configure: Rengerate.
4191 * Makefile.in (RUNTIME, CRT_ID): Use to generate the correct
4192 dll name and crt's. CRTDLL and MSVCRT are meant to created
4193 separately, so remove all the *-msvcrt* targets.
4194 (libmingwthr.a): New target. Dummy thread support archive.
4195 (LIBS): Add libmingwthr.a.
4196 (CRT0S): Use CRT_ID. Add crtmt.o.
4197 (MINGW_OBJS): Add crtst.o.
4198 * main.c (WinMain): Fix prototype.
4199 * crtmt.c: New file.
4200 * crtst.c: New file.
4202 * include/process.h (_beginthreadex): Fix prototype.
4203 * include/_mingw.h (__int64): Define for __GNUC__.
4204 * include/tchar.h (_ttol): Add macro.
4205 * include/stdlib.h (_wtoi, _wtol, _i64toa, _ui64toa, _atoi64,
4206 _i64tow, _ui64tow, _wtoi64): Add prototypes.
4208 Reported by Emanuele Aliberti <ea@iol.it>:
4209 * include/tchar.h (_ttoi): Add macro.
4211 Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
4212 * include/stdio.h (_snprintf): Add prototype.
4213 (_vsnprintf): Likewise.
4215 Sat Aug 7 18:00:00 1999 Mumit Khan <khan@xraylith.wisc.edu>
4217 Reported by Tor Lillqvist <tml@iki.fi>:
4218 * include/stdlib.h (__p___argv): Fix return type.
4220 Fri Jul 30 22:07:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
4223 * include/errno.h (errno): It's linked in from startup, not imported.
4224 * include/stdlib.h (errno): Likewise.
4225 * include/io.h: Guard against conflicting macros and prototypes in
4227 * include/stdlib.h: Likewise.
4228 * include/string.h: Likewise.
4229 * include/time.h: Likewise.
4231 Fri Jul 30 13:47:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
4233 * include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans.
4234 * include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT.
4235 * Makefile.in (INCLUDES): Remove old windows32 include directory.
4237 * crt1.c (_gnu_exception_handler): Fix prototype.
4238 (__mingw_CRTStartup): New function based on mainCRTStartup.
4239 (mainCRTStartup): Set the app type for MSVCRT and call
4241 (WinMainCRTStartup): Likewise.
4242 * init.c (_startupinfo): Define.
4243 (_getmainargs): Add 5th parameter.
4244 (_mingw32_init_mainargs): Use.
4246 * ALL *.c files: Reformat according to GNU coding style.
4248 Fri Jul 16 00:46:04 1999 Mumit Khan <khan@xraylith.wisc.edu>
4250 * Makefile.in (INCLUDES): Add w32api include directory.
4252 * include/_mingw.h: New file.
4253 * include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h,
4254 errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h,
4255 math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h,
4256 stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h,
4257 sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and
4258 use the macros __DECLSPEC_SUPPORTED and __MINGW_IMPORT.
4260 * include/stdlib.h (atexit): Fix prototype.
4262 Mon Jun 14 18:38:49 1999 Mumit Khan <khan@xraylith.wisc.edu>
4264 * include/stdio.h (_tempnam): Fix prototype.
4265 (tempnam): Likewise.
4266 * include/stdlib.h: Replace with GCC's version, and guard
4269 From Anders Norlander <anorland@hem2.passagen.se>:
4270 * include/stdlib.h (__argc): Declare.
4273 Mon Apr 5 13:49:17 1999 Mumit Khan <khan@xraylith.wisc.edu>
4275 * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
4277 * Makefile.in (_libm_dummy.o): New target.
4280 Tue Mar 16 18:15:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4282 * Released 1999-03-16 along with egcs-1.1.2.
4284 Wed Feb 17 17:15:56 1999 Mumit Khan <khan@xraylith.wisc.edu>
4286 * Makefile.in (LIBS): Add libm.a.
4287 (libm.a): Dummy libm.a.
4289 * Makefile.in: Update from winsup 1999-02-08 snapshot.
4290 Preserve local changes.
4291 (mkinstalldirs): In ../, not ../../.
4292 (INCLUDES): Point to local windows32api headers and use -nostdinc.
4294 (LIBS): Add libmoldname-msvc.a.
4295 (libmoldname-msvc.a): Add target.
4296 (distclean): Add target.
4298 Tue Feb 9 00:26:05 1999 Mumit Khan <khan@xraylith.wisc.edu>
4300 * include/dir.h: Reintroduce as an obsolescent header.
4301 * crt1.c (signal.h): Include.
4302 (_gnu_exception_handler): New function to properly handle win32
4303 asynchronous signals.
4304 (mainCRTStartup): Use.
4306 Sun Jan 3 23:52:25 1999 Mumit Khan <khan@xraylith.wisc.edu>
4308 * include/direct.h: Include io.h instead of dir.h
4309 * include/dirent.h: Likewise.
4310 * include/dos.h: Likewise.
4311 * include/stdio.h: Replace reference to dir.h with io.h.
4313 Thu Dec 31 16:04:55 1998 Mumit Khan <khan@xraylith.wisc.edu>
4315 * 1999-01-01 release bundled with egcs-1.1.1.
4317 * include/io.h: Incorporate dir.h.
4318 * include/dir.h: Remove.
4319 * include/signal.h: Move RC_INVOKED up a bit.
4321 Tue Dec 29 15:04:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
4323 * include/signal.h (sig_atomic_t): Define.
4325 * include/malloc.h: Import defs from deprecated alloc.h.
4326 * include/alloc.h: Remove.
4328 From "Daniel J. Rodriksson" <djr@dit.upm.es>:
4329 * include/sys/types.h (_dev_t): Should be unsigned int for MSVCRT.
4330 * include/sys/stat.h (struct stat): st_uid is of type short. Use
4331 _off_t instead of long for st_size.
4333 Thu Sep 10 22:28:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4335 * include/errno.h (sys_errlist, sys_nerr): Move from here ...
4336 * include/stdlib.h: Here.
4338 * include/netdb.h: Remove.
4339 * include/arpa/inet.h: Remove.
4340 * include/netinet/in.h: Remove.
4341 * include/sys/socket.h: Remove.
4343 Fri Sep 4 15:09:11 1998 Mumit Khan <khan@xraylith.wisc.edu>
4347 * include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h,
4348 sys/utime.h}: Protect stddef.h in RC_INVOKED macro.
4350 Thu Sep 3 10:43:29 1998 Mumit Khan <khan@xraylith.wisc.edu>
4352 * setjmp.h (_JBTYPE, _JBLEN): Define correctly.
4353 (jmpbuf): typedef using above.
4354 (setjmp, longjmp): Prototype using jmpbuf.
4356 Merge with Colin Peters' 980701 snapshot. I've ignored changes to
4357 obsolescent imported names, ie., from __imp__ to _imp___.
4359 Also ignored empty include/sys/param.h and incorrect
4360 include/sys/times.h.
4362 * CRTinit.c: New file.
4363 * include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef
4365 * include/io.h (umask): Fix prototype.
4366 * include/stdlib.h (OS constants): Replace with Colin's.
4367 * include/time.h (tzset, daylight, timezone): Replace with Colin's.
4368 * include/sys/state.h: Merge.
4370 Thu Sep 3 09:49:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
4372 * include/assert.h (assert): Lose the trailing semicolon.
4374 Thu Jul 30 21:18:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4376 * include/math.h (matherr): Declare.
4377 * include/stdio.h (fileno, _fileno): Declare.
4378 * include/stdlib.h (environ, _environ): Fix to use runtime DLL.
4381 * include/stdio.h (fdopen, _fdopen): Add const.
4382 (getw, putw): Declare.
4383 * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix.
4385 Sat Jun 13 18:19:41 1998 Mumit Khan <khan@xraylith.wisc.edu>
4387 * include/time.h (_timezone): Undefine.
4388 * include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
4390 * include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
4392 * include/stdlib.h (environ): Use DLL version.
4393 * init.c (environ): Undefine it before use.
4395 Sun Mar 22 19:59:30 1998 Mumit Khan <khan@xraylith.wisc.edu>
4397 * Update to 980309 snapshot from Colin Peters.
4399 * include/utime.h: remove
4400 * include/stdlib.h (__imp__osver_dll, __imp__winver_dll,
4401 __imp__winmajor_dll, __imp__winminor_dll): Apply Jan-Jaap's
4402 patches to define these.
4403 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4404 (_daylight, _timezone, _tzname, _tzset): Define.
4406 * include/netdb.h: Add from Colin's windows32api changes.
4407 * include/sys/socket.h: Likewise.
4408 * include/arpa/inet.h: Likewise.
4409 * include/netinet/in.h: Likewise.
4411 Wed Feb 4 14:16:44 1998 Mumit Khan <khan@xraylith.wisc.edu>
4413 * Update to 980128 snapshot from Colin Peters.
4415 Sat Dec 6 21:30:35 1997 Mumit Khan <khan@xraylith.wisc.edu>
4417 * configure.in (AC_INIT): Use dllmain.c instead of defunct
4419 * configure: Regenerate.
4421 Fri Dec 5 15:57:36 1997 Mumit Khan <khan@xraylith.wisc.edu>
4423 * Update to 971205 snapshot from Colin Peters. Lots of changes.
4424 Files renamed and include hierarchy loses directories named
4427 * include/dos.h: from Jan-Jaap.
4429 Thu Dec 4 21:48:13 1997 Mumit Khan <khan@xraylith.wisc.edu>
4431 Changes to conform to FSF tree.
4433 * crt1.c: Renamed from mcrt0.c.
4434 * dllcrt1.c: Renamed from dllcrt0.c.
4435 * Makefile.in: Update above. Also renamed libmoldnames.a to
4438 Mon Dec 1 16:51:30 1997 Mumit Khan <khan@xraylith.wisc.edu>
4440 * crtdll.def: Export all functions but the ones with funny names.
4441 * moldnames.def: Add fdopen since fileno is already there.
4442 * include/nonansi/dos.h: New file from Jan-Jaap.
4443 * include/errno.h: Add extern decl + various additions from JJ.
4444 * include/stdio.h: Likewise.
4445 * include/stdlib.h: Likewise.
4446 * include/nonansi/io.h: Likewise.
4447 * include/nonansi/process.h: Likewise.
4448 * include/sys/types.h: Likewise.
4450 Tue Nov 4 14:51:01 1997 Mumit Khan <khan@xraylith.wisc.edu>
4452 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4454 * include/stdlib.h (free): Fix prototype to return void, not void*.
4455 * include/nonansi/process.h: Add P_* and WAIT_* defs.
4457 * dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
4458 * mcrt0.c: Likewise.
4460 * Makefile.in (LIBS): Delete moldnames.dll from target libs.
4461 (libmoldnames.a): Add explicit rule to create it.
4463 Fri Aug 15 18:23:43 1997 Rob Savoye <rob@cygnus.com>
4465 New directory for the minimalist cygwin environment.
4467 * crtglob.c: New file. Turn on file globbing support.
4468 * crt_noglob.c: New file. Turn off file globbing support.
4469 * ctype_old.c: New file. Wrappers for functions that don't
4471 * dirent.c: New file. Directory routines readdir, opendir, closedir.
4472 * dllcrt0.c: New file. Initialization code to use crtdll.dll.
4473 * dllmain.c: New file. A stub DllMain function.
4474 * hugeval.c: New file. A gross hack to define HUGE_VAL.
4475 * init.c: New file. Common code to initialize standard file
4476 handles and command line arguments.
4477 * main.c: New file. A main for programs that only call WinMain.
4478 * mcrt0.c: New file. Default crt0 for mingw32.
4479 * oldnames.c: New File. Wrappers for functions that don't
4481 * string_old.c: New File.
4482 * include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h
4483 math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h
4484 string.h,tchar.h,time.h,wchar.h}: New header files for mingw.
4485 * include/sys/types.h: New header file for mingw.
4486 * include/nonansi/{alloc.h,conio.h,dir.h,direct.h,dirent.h
4487 fcntl.h,io.h,malloc.h,mem.h,memory.h,process.h,share.h,unistd.h
4488 utime.h,values.h,varargs.h}: New header files for mingw.
4489 * include/nonansi/sys/{fcntl.h,locking.h,stat.h,time.h
4490 timeb.h,unistd.h}: New header files for mingw.
4491 * Makefile.in,configure.in: Build and configure support.
4492 * configure: Generated from autoconf 2.12 with Cygnus patches.