1 2011-05-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
3 * include/stdlib.h (strtod): Declare as extern to resolve compilation issues.
5 Thanks to cgf for the report.
7 2011-05-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
9 * include/time.h (daylight, timezone, tzname): Rework guards to expose when
10 compiles with __STRICT_ANSI__.
12 Thanks to Felipe Contreras for the report.
14 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
16 * include/stdlib.h (strtod): Remove possible static declaration to resolve
19 Thanks to Tobias Burnus for the report.
21 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
23 * include/stdlib.h (_rotl, _lrotl, _rotr, _lrotr): Resolve conflict with gcc
24 by wrapping the functions in brackets.
26 Thanks to Kai Tietz for the report.
28 2011-05-22 A.B., Khalid <abkhd@users.sourceforge.net>
30 * Makefile.in: Add support for msvcr100.dll.
31 * msvcrt.def.in: Ditto.
33 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
35 * mingwex/mingw-fseek.c: The anonymous union feature for LARGE_INTEGER is
36 not always available, go the long way and use the explicit named union
37 members, which are also declared in winnt.h.
39 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
41 * mingwex/isblank.c: Fix typo in declaration.
43 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
45 * include/_mingw.h: Define GCC system_header only if PCC is not defined.
46 * include/stdlib.h: Fix a long-standing typo which prevented correct use of
47 the MB_CUR_MAX macro/variable when DECLSPEC is not supported and <stdlib.h>
48 is included before <ctype.h>.
50 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
52 * include/wchar.h: Include stdio.h to grab definition of FILENAME_MAX.
54 Thanks to Jim Bell for the report and Greg Chicares for the fix.
56 2011-01-07 Jacky Lai <crazyjacky@users.sourceforge.net>
58 Correct hexadecimal formatting of double and long double values.
60 * mingwex/stdio/pformat.c (__pformat_xdouble): Delete function.
61 (__pformat) [A format]: Cast double values to long double, and use...
62 (__pformat_xldouble): ...this instead, with corrected adjustment of
63 exponent and alignment of mantissa, when formatting subnormals.
65 2010-12-27 Ozkan Sezer <sezero@users.sourceforge.net>
67 * include/dirent.h (dd_handle): Define as intptr_t.
69 2010-11-08 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
71 * tlssup.c (__dyn_tls_init): Use an integer variable to iterate between
74 2010-08-17 Keith Marshall <keithmarshall@users.sourceforge.net>
76 * include/limits.h (PATH_MAX): Make it agree with Microsoft's
77 semantically identical MAX_PATH; correct value is 260.
79 2010-07-25 Keith Marshall <keithmarshall@users.sourceforge.net>
81 Accept that mingwrt headers are not guaranteed to precede GCC's in the
82 system include search path; (issue reported by Mark Brand).
84 * include/float.h: Add multiple inclusion guard around...
85 [! defined _FLOAT_H___]: ...include_next <float.h> for GCC's version,
86 only when this define does not indicate that it has already been seen;
87 update comments to document rationale; move it within the scope of...
88 [! defined _MINGW_FLOAT_H_]: ...this multiple inclusion guard, so that
89 GCC's float.h, after an appropriate complementary modification, need
90 not perform a further include path search when this implementation
91 specific extension has already been processed.
93 2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>
95 * include/io.h (_findfirst, _findnext, _findclose, _findfirst32,
96 _findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32,
97 _findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext,
98 _findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64,
99 _findnexti64): Correct definition.
101 2010-04-27 Danny Smith <dannysmith@users.sourceforge.net>
103 * mingwex/mb_wc_common.h (get_codepage): Revert change of 2006-09-19.
105 2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
107 * include/_mingw.h: Increment version to 3.18.
109 2010-03-02 Daniel Atallah <datallah@users.sourceforge.net>
111 * include/stdio.h: (_vscprintf, _vscwprintf)
112 * include/tchar.h: (_vsctprintf)
114 2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
116 Issue [2134161]: time64 functions and types for msvcrt >= 8.0
117 (initial implementation)
119 * new type: __time32_t
121 * new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
122 __stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
123 __wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t
125 * new functions: _ctime32, _difftime32, _difftime64, _findfirst32
126 _findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
127 _findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
128 _futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
129 _mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
130 _wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
131 _wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
132 _wstat32i64, _wstat64i32,_wutime32
134 * new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
135 ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
136 _fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
137 _stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
138 _wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime
140 2010-01-25 Kai Tietz <kai.tietz@onevision.com>
142 Implement TLS Callback.
144 * tlsmcrt.c: New file.
145 * tlsmthread.c: Ditto.
148 * Makefile.in: Include new files.
149 * crt1.c: Implement TLS Callback.
151 * mthr_stub.c: Remove.
153 2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
155 * include/_mingw.h: Increment version to 3.17.
157 2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
159 * mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa:
160 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
162 2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
164 * include/io.h (_open_osfhandle): Correct definition.
166 Thanks to Alexander Shaduri for the information.
168 2009-11-02 Charles Wilson <mingw@cwilson.fastmail.fm>
170 Final sync of pseudo-reloc.c with mingw64 and cygwin
171 * lib/pseudo-reloc.c (__report_error) [CYGWIN]: Correct size bug
172 regarding error messages.
174 2009-10-29 Charles Wilson <mingw@cwilson.fastmail.fm>
176 Honor DESTDIR for winsup/mingw and winsup/w32api.
177 Detect and report error if installation paths are win32
178 format, but DESTDIR is non-empty.
180 * Makefile.in (DESTDIR): Honor per convention.
181 (need-DESTDIR-compatibility): New macro; define it and a
183 (fail-DESTDIR-compatibility): New dependency goal.
184 (install-dirs): Require need-DESTDIR-compatibility.
185 * mingwex/Makefile.in (DESTDIR): Honor per convention.
186 (need-DESTDIR-compatibility): New macro; define it and a
188 (fail-DESTDIR-compatibility): New dependency goal.
189 (install): Require need-DESTDIR-compatibility.
190 * profile/Makefile.in: Ditto.
192 2009-10-25 Charles Wilson <mingw@cwilson.fastmail.fm>
194 Sync pseudo-reloc.c with mingw64
195 * psuedo-reloc.c: Remove unnecessary includes.
196 Forward declare _pei386_runtime_relocator.
197 Decorate _image_base__ symbol with macro for
198 mingw64 compatibility. Whitespace changes.
199 (__print_reloc_error): Renamed to...
200 (__report_error): This. "Returns" void, and
201 always aborts. Now used on all platforms.
202 (__write_memory): Remove special case error handling
203 for different platforms - always call __report_error.
204 (do_pseudo_reloc): Remove special case error handling
205 for different platforms - always call __report_error.
206 (_pei386_runtime_relocator): Decorate _image_base__
207 symbol with mingw64 compatibility macro.
209 2009-10-23 Charles Wilson <mingw@cwilson.fastmail.fm>
211 Sync pseudo-reloc.c with cygwin/lib/
212 * pseudo-reloc.c [CYGWIN]: Added comments throughout and various
213 whitespace fixes. Exploit cygwin_internal(CW_EXIT_PROCESS,...)
214 for fatal error handling that is consistent with cygwin process
215 life-cycle. Ensure state variable (in _pei386_runtime_relocator)
216 is unique to each address space, across fork().
217 [CYGWIN] (__print_reloc_error): New function for reporting
218 errors in a manner supported by cygwin at this early stage of
219 the process life-cycle.
220 [CYGWIN] (_pei386_runtime_relocator): Ensure relocations
221 performed only once for each address space, but are repeated
222 after fork() in the new address space.
223 [MINGW] (__write_memory): Ensure that b is always initialized
224 by call to VirtualQuery, even if -DNDEBUG.
226 2009-09-29 Keith Marshall <keithmarshall@users.sourceforge.net>
228 Make MinGW printf() "%p" format compatible with MSVCRT scanf().
229 (Based on MinGW-patch 2844514 by Peter Rosin <peda@lysator.liu.se>)
231 * mingwex/stdio/pformat.c (__printf) [%p]: Do not arbitrarily apply...
232 (PFORMAT_HASHED): ...this formatting attribute; honour only user
233 specified format qualifiers, except in special case...
234 [%p && stream.flags == flags && state == PFORMAT_INIT]: Apply...
235 (PFORMAT_ZEROFILL): ...this default formatting attribute...
236 (stream.precision): ...filled to at least 2 * sizeof( uintptr_t )
239 2009-09-01 Keith Marshall <keithmarshall@users.sourceforge.net>
241 Avoid multiple link time definitions of _printf() for C++;
242 (problem reported by Alexander Shaduri, via MinGW-users ML).
244 * include/stdio.h [__USE_MINGW_ANSI_STDIO]:
245 (__mingw_stdio_redirect__) [__cplusplus]: remove `static' keyword.
247 2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
249 * include/_mingw.h: Increment version to 3.16.
251 2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>
253 * include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit,
254 __signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf,
255 __fp_unordered_compare): Add prototypes.
256 * include/stdio.h (vsnwprintf): Add prototype.
257 * include/wchar.h (vsnwprintf): Add prototype.
258 * include/stdlib.h (_Exit): Protect inline definition with !__STRICT_ANSI__.
259 * include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard.
261 2009-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
263 Correct disposition of wchar_t output in printf().
265 * mingwex/stdio/pformat.c (__pformat) [%C]: Create new instance of...
266 (argval): ...this, in inner scope, with singular type `wchar_t'; use
267 it to pass one wchar to __pformat_wputchars(), for output.
269 2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
271 * mingwex/stdio/pformat.c: Implement better fix for type punned warning.
273 2009-07-27 Keith Marshall <keithmarshall@users.sourceforge.net>
275 Convert to monolithic configuration procedure.
277 * configure.in (AC_CHECK_TOOL): All instances; tabulate arguments.
278 (AC_SUBST): Use its 2nd argument to initialise MinGW default settings.
279 (PACKAGE_TARNAME) [target_os ~ cygwin]: Redefine it as appropriate.
280 (W32API_INCLUDE): Redefine; make it relative to `top_srcdir'.
281 (CRT0S): Relocate from `profile'; define it as appropriate.
282 (LIBM_A): Define and AC_SUBST it unconditionally.
283 (AC_CONFIG_SUBDIRS): Remove; none to configure.
284 (AC_OUTPUT_FILES): Add `Makefile' for each of...
285 (mingwex, profile): ...these subdirectories.
287 * configure: Regenerated.
289 * Makefile.in (PACKAGE, host_os): Let AC_SUBST define them.
290 (top_srcdir, top_builddir): New macros; let AC_SUBST define them.
291 (datarootdir): New macro; autoconf > 2.59 wants AC_SUBST to define it.
292 (SUBDIRS): Define explicitly, to run recursive `make' in...
293 (mingwex, profile): ...these; simplify build commands...
294 (rootme, rootsrc): ...without these shell variables.
295 (all, subdirs): Delete redundant build commands.
296 (FIXME): Flag various issues for follow up.
298 * mingwex/Makefile.in (INCLUDES): Redefined macro; refer it to...
299 (top_srcdir): ...this new macro; let AC_SUBST define it.
300 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
301 (Makefile): Make it depend on...
302 (top_builddir/config.status): ...this, itself depending on...
303 (top_srcdir/configure): ...this.
304 (FIXME): Flag various issues for follow up.
306 * mingwex/aclocal.m4: File no longer required; delete it.
307 * mingwex/configure mingwex/configure.in: Likewise.
309 * profile/Makefile.in (INCLUDES): Redefined macro; refer it to...
310 (top_srcdir): ...this new macro; let AC_SUBST define it.
311 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
312 (Makefile): Make it depend on...
313 (top_builddir/config.status): ...this, itself depending on...
314 (top_srcdir/configure): ...this.
315 (FIXME): Flag various issues for follow up.
317 * profile/aclocal.m4: File no longer required; delete it.
318 * profile/configure profile/configure.in: Likewise.
320 2009-07-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
322 * msvcrt.def.in: disable time symbol for libmsvcr90.a and libmsvcr90d.a due
323 to complaints that it causes issues.
325 2009-07-23 Jacky Lai <crazyjacky@users.sourceforge.net>
327 * mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan().
329 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
331 * include/inttypes.h include/math.h include/stdio.h include/stdlib.h
332 include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard
333 to all inline functions.
335 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
337 * CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
340 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
342 * cpu_features.c: replace gcc-specific construct with portable alternative
343 and match the code a few lines above.
344 * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
346 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
348 * include/_mingw.h: Changes required for PCC compiler.
350 2009-07-18 Jeff Lu <jll544@yahoo.com>
352 * mingwex/usleep.c: round up to next ms
354 2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
356 * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
357 mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
358 mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
359 the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
361 2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
363 * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.
365 2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>
367 * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files.
368 * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c
369 mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c
370 mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h
371 mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h
372 mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c
373 mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c
374 mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c
375 mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c
376 mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org
377 sources as of Apr. 20, 2009. Update further to match the sources in
378 the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX
379 code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the
380 double/ulong union from U to dbl_union for better grepping and white-
383 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
385 * include/stdlib.h (_wtof): Define.
387 2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
389 * include/stdint.h (int_fast8_t): Specify as signed char.
390 (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
391 (INT32_C, UINT32_C): Remove 'L' type specifier on constant.
393 2009-03-05 Kai Tietz <kai.tietz@onevision.com>
395 * pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2.
397 2009-02-08 Keith Marshall <keithmarshall@users.sourceforge.net>
399 MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.
400 (Requested by Robert Riebisch)
402 * mingwex/getopt.c (getopt_parse): Track external increments of...
403 (optind): ...this global variable.
405 2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
407 * include/_mingw.h: Increment version to 3.15.2.
409 2009-01-04 Keith Marshall <keithmarshall@users.sourceforge.net>
411 Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
412 Also add tentative support for BSD specific `optreset' feature.
414 * include/getopt.h (optreset) [_BSD_SOURCE]: Define; map it to...
415 (__mingw_optreset): ...this new global variable.
417 * mingwex/getopt.c (__mingw_optreset): Instantiate it...
418 (getopt_parse) [optind < 1]: ...make it true; use it to reset argument
421 2008-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
423 Partial fix for MinGW-Bug [2457778]: (Reported by Sisyphus).
424 Correct mishandling of invalid characters in printf() format specs.
426 * mingwex/stdio/pformat.c (__pformat): Save `fmt' scan position in...
427 (backtrack): ...this new automatic variable, at start of each format
428 conversion specification substring; use it to backtrack, and print the
429 substring literally, if any invalid character is encountered.
431 2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
433 * msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
434 ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
435 ___unguarded_readlc_active_add_func, __crtCompareStringW,
436 __crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
437 __pwctype_func, __iob_func, __uncaught_exception, __wcserror,
438 __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
439 __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
440 __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
441 _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
442 _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
443 _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
444 _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
445 _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
446 _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
448 2008-12-08 Dmitry G. Gorbachev <d.g.gorbachev@gmail.com>
450 * cpu_features.c (__cpu_features_init): Remove erroneous ';'.
452 2008-10-28 Keith Marshall <keithmarshall@users.sourceforge.net>
454 Correct some binary distribution packaging defects.
456 * Makefile.in (bindist): Remove `make' conditionals; segregate into...
457 (bindist-common, bindist-mingwrt, bindist-mingw-runtime): ...these new
458 intermediate goals; they make packages of files, as specified by...
459 (BINDIST_FILES, DEVDIST_FILES, DLLDIST_FILES): ...these new macros.
460 (dist_prefix) [target_alias !~ cygwin]: Leave it undefined.
462 2008-10-18 Keith Marshall <keithmarshall@users.sourceforge.net>
464 Fix MinGW-Bug [2136252]: (Reported by Roumen Petrov).
465 Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5
467 * mingwex/stdio/pformat.c (__pformat_emit_float): Always make output
468 of radix point conditional on precision != 0 or `#' flag specified.
470 2008-10-13 Keith Marshall <keithmarshall@users.sourceforge.net>
472 Fix MinGW-Bug [2160227]
473 Eliminate conflicting declarations and implementations of scalb().
475 * moldname.def.in (scalb): Comment out of EXPORTS list.
476 * include/math.h (scalb): Comment out OLDNAMES prototype; it conflicts
477 with GCC's built-in declaration.
479 2008-10-12 Christopher Faylor <me+cygwin@cgf.cx>
481 * Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
483 * mingwex/Makefile.in: Ditto.
484 * profile/Makefile.in: Ditto.
485 * configure.in: Record mingw front-end for building under Cygwin.
486 * mingwex/configure.in: Ditto.
487 * profile/configure.in: Ditto.
488 * configure: Regenerate.
489 * mingwex/configure: Ditto.
490 * profile/configure: Ditto.
492 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
494 Use de-facto standard Makefile goals to invoke test suite.
496 * Makefile.in: Some minor formatting adjustments.
497 (test_headers): Unconventionally named goal renamed to...
498 (check-headers): ...this; make it a prerequisite of...
499 (check): ...this new conventionally named goal.
501 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
503 Make strtod() inline definition C89 compliant.
504 (Issue reported by Ilya Shestopalov and Ian Puleston)
505 (Correction identified by Danny Smith)
507 * include/stdlib.h (strtod): Declare as `__inline__', not `inline';
508 reformat inline function definition.
510 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
512 * include/_mingw.h: Increment version to 3.15.1 and introduce
513 __MINGW32_PATCHLEVEL variable.
515 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
517 Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
518 (Reported by Christian Franke)
520 * mingwex/getopt.c (optind): Make global variable value conform to
521 behaviour specified by POSIX; do not use it for internal state in...
522 (getopt_parse): ...this static function; use...
523 (optbase): ...this new static local variable instead.
524 (getopt_resolved): Update `optind' as required.
526 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
528 Improve package identification in configure script.
530 * configure.ac (AC_INIT): Redefine parameters...
531 (PACKAGE_NAME): Set to `MinGW Runtime'.
532 (PACKAGE_BUGREPORT): Set to `http://mingw.org/reporting_bugs'
533 (PACKAGE_TARNAME): Set to `mingwrt'.
534 (PACKAGE_VERSION): Set generically to `v3.x'; reassigned by...
535 (MINGW_AC_CONFIG_SRCDIR): ...this macro, which extracts...
536 (__MINGW32_VERSION): ...this, from file `include/_mingw.h'.
538 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): Do not redefine...
539 (PACKAGE_TARNAME): ...this.
541 * configure: Regenerated.
543 2008-09-25 Keith Marshall <keithmarshall@users.sourceforge.net>
545 Fix MinGW-Bug [2125708].
546 (Reported by Alexandr Zamaraev).
548 * include/stdlib.h (intptr_t) [!_INTPTR_T_DEFINED]: Unused typedef;
549 not wanted here; remove it; replace it by...
550 (uintptr_t) [!_UINTPTR_T_DEFINED]: ...this typedef; needed by...
551 (_invalid_parameter_handler): ...this function typedef.
553 2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
555 * Makefile.in: Don't include host_os as part of snapshot filename.
557 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
559 Fix MinGW-Bug [2119504].
560 (Reported by Peiyuan Song).
562 * mingwex/getopt.c (getopt_resolved): Do not overwrite...
563 (*retindex): ...this already correctly assigned return variable...
564 (opt[index].val): ...with this; this should have been assigned to...
565 (*opt[index].flag) [opt[index].flag != NULL]: ...this instead.
567 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
569 Fix MinGW-Bug [2117379].
570 (Reported by Peiyuan Song).
572 * include/stdio.h (__argv): Replace all references in function
573 prototype argument lists and inline function local variables, with ...
574 (__local_argv): ...this, to avoid potential conflict with ...
575 * include/stdlib (__argv): ...this #defined macro.
577 2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
579 * include/_mingw.h: Increment version to 3.15.
581 2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
583 * Makefile.in: Adjust to new naming standard for MinGW while maintaining old
584 naming standard for Cygwin.
586 2008-08-31 Keith Marshall <keithmarshall@users.sourceforge.net>
588 Reimplement getopt.c to add getopt_long_only() function.
590 (N.B. this reimplementation removes support for BSD/Mac-OS-X
591 `optreset' nonsense; user code should set `optind = 0' instead,
592 to reinitialise option scanning).
594 * mingwex/getopt.c: Delete all content; reimplement it.
595 * include/getopt.h: Likewise.
597 * include/unistd.h (__UNISTD_H_SOURCED__): New macro; define it.
598 (__UNISTD_GETOPT__): This macro is no longer required; remove it.
600 2008-08-30 Keith Marshall <keithmarshall@users.sourceforge.net>
602 Implement conditional replacement for printf() family functions.
604 * include/_mingw.h (__USE_MINGW_ANSI_STDIO): New macro; define it.
605 (__MINGW_ANSI_STDIO__): New manifest constant; define as bitmapped
606 flag for use in user specified __MINGW_FEATURES__ attribute.
607 (__MINGW_LC_MESSAGES__, __MINGW_LC_ENVVARS__): New manifest constants;
608 currently unused: reserved as components of...
609 (__MINGW_LC_EXTENSIONS__): ...this new manifest constant; earmarked as
610 a __MINGW_FEATURES__ enhancement to setlocale().
612 * include/stdio.h (__mingw_printf, __mingw_vprintf): Prototype them.
613 (__mingw_fprintf, __mingw_vfprintf): Likewise.
614 (__mingw_sprintf, __mingw_vsprintf): Likewise.
615 (__msvcrt_printf, __msvcrt_vprintf): Likewise.
616 (__msvcrt_fprintf, __msvcrt_vfprintf): Likewise.
617 (__msvcrt_sprintf, __msvcrt_vsprintf): Likewise.
618 (printf, vprintf) [!__USE_MINGW_ANSI_STDIO]: Prototype for default
619 usage; link to DLL import stub, importing from MSVCRT.
620 (fprintf, vfprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
621 (sprintf, vsprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
622 (printf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_printf; use
623 locally defined static stub implementation.
624 (fprintf, sprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
625 __mingw_fprintf and __mingw_sprintf respectively.
626 (vprintf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_vprintf; use
627 static inline implementation for C++ and GNU C, or locally defined
628 static stub otherwise.
629 (vfprintf, vsprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
630 __mingw_vfprintf and __mingw_vsprintf respectively.
632 2008-08-27 Keith Marshall <keithmarshall@users.sourceforge.net>
634 Avoid access violations, passing NULL to printf( "...%s..." );
635 (inconsistencency with MSVCRT and glibc, reported by Colin Harrison).
637 * mingwex/stdio/pformat.c (__pformat_puts): Substitute "(null)"
638 for argument value, if caller passes a NULL pointer.
639 (__pformat_wcputs): Likewise, substitute L"(null)".
641 2008-08-14 Keith Marshall <keithmarshall@users.sourceforge.net>
643 Add missing dependencies for building libmingwex.a.
645 * mingwex/Makefile.in (printf.o, fprintf.o, sprintf.o): Make them...
646 (vprintf.o, vfprintf.o, vsprintf.o): ...and also these, depend on...
647 (pformat.h): ...this.
649 2008-08-11 Keith Marshall <keithmarshall@users.sourceforge.net>
651 Add replacements for remaining members of printf() family.
653 * mingwex/stdio/printf.c: New file.
654 * mingwex/stdio/fprintf.c: New file.
655 * mingwex/stdio/sprintf.c: New file.
656 * mingwex/stdio/vprintf.c: New file.
657 * mingwex/stdio/vfprintf.c: New file.
658 * mingwex/stdio/vsprintf.c: New file.
660 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
661 (STDIO_OBJS): Add their corresponding object files.
663 2008-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
665 Replace __mingw_snprintf() with new generic family implementation;
666 likewise, replace __mingw_vsnprintf().
668 * mingwex/stdio/pformat.c mingwex/stdio/pformat.h: New files.
669 * mingwex/stdio/snprintf.c mingwex/stdio/vsnprintf.c: New files.
670 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
671 (GDTOA_DISTFILES): Remove mingw_snprintf.c
672 (STDIO_OBJS): Add pformat.o, snprintf.o and vsnprintf.o
673 (GDTOA_OBJS): Remove mingw_snprintf.o
674 (PFORMAT_CFLAGS): New macro; define it, as required by...
675 (pformat.o): ...this new explicit build target.
676 (snprintf.o, vsnprintf.o): Declare prerequisites.
678 * mingwex/gdtoa/mingw_snprintf.c: Redundant file; delete it.
680 2008-07-28 Keith Marshall <keithmarshall@users.sourceforge.net>
682 Lay foundations for new printf() function family implementation.
684 * ofmt_stub.s: New file; implement forward compatibility stub for...
685 (_get_output_format): ...this MSVCR80.DLL and later function.
687 * Makefile.in (SRCDIST_FILES): Add ofmt_stub.s.
688 (NM, OBJCOPY): New macros; define them with AC_SUBSTed values.
689 (sym_prefix, NM_LOOKUP, MINGW_REPL_FUNCS): New macros; define them.
690 (lib%.a): Include ofmt_stub.o when import library does not already
691 advertise availability of the _get_output_format() function;
692 Add alias stubs for MINGW_REPL_FUNCS, such that...
693 (__msvcrt_printf): ...is an alias for Microsoft's printf().
694 (__msvcrt_fprintf): ...is an alias for Microsoft's fprintf().
695 (__msvcrt_sprintf): ...is an alias for Microsoft's sprintf().
696 (__msvcrt_vprintf): ...is an alias for Microsoft's vprintf().
697 (__msvcrt_vfprintf): ...is an alias for Microsoft's vfprintf().
698 (__msvcrt_vsprintf): ...is an alias for Microsoft's vsprintf().
699 (clean): Add msvcr*.def.
701 * configure.in (NM, OBJCOPY): Use AC_CHECK_TOOL to specify them.
702 * configure: Regenerated.
704 2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
706 * include/ctype.h (_imp____mb_cur_max): Correct spelling.
707 (_imp____mb_cur_max_dll): Likewise.
709 2008-07-04 Danny Smith <dannysmith@users,sourceforge.net>
711 * include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
712 * include/wchar.h (swprintf, vswprintf): Likewise.
714 2008-07-01 Keith Marshall <keithmarshall@users.sourceforge.net>
716 * msvcrt.def.in [__msvcr80__, __msvcr80d__, __msvcr90__, __msvcr90d__]
717 (_get_output_format, _set_output_format): Add references.
719 * include/stdio.h [__MSVCRT_VERSION__ >= 0x800]
720 (_get_output_format, _set_output_format): Declare prototypes.
721 (_TWO_DIGIT_EXPONENT): Define.
722 Some other minor formatting adjustments.
724 2008-06-14 Danny Smith <dannysmith@users.sourceforge.net>
727 * include/wchar.h (_wfdopen): Const-ify second arg.
728 * include/stdio.h (_wfdopen): Likewise.
729 Thanks to <tdragon at users dot sourceforge net>
731 2008-06-02 Keith Marshall <keithmarshall@users.sourceforge.net>
733 Avoid precision errors in round(), lround() and llround() functions.
735 * mingwex/math/round_generic.c: New file; it replaces...
736 * mingwex/math/round.c: ...this; delete it.
737 * mingwex/math/roundf.c: ...and this; ditto.
738 * mingwex/math/roundl.c: ...and this; ditto.
740 * mingwex/math/lround_generic.c: New file; it replaces...
741 * mingwex/math/lround.c: ...this; delete it.
742 * mingwex/math/lroundf.c: ...and this; ditto.
743 * mingwex/math/lroundl.c: ...and this; ditto.
744 * mingwex/math/llround.c: ...and this; ditto.
745 * mingwex/math/llroundf.c: ...and this; ditto.
746 * mingwex/math/llroundl.c: ...and this; ditto.
748 * mingwex/math/round_internal.h: New file; it provides generic common
749 code, which is shared by `round_generic.c' and `lround_generic.c'; the
750 implementation is based on techniques suggested by Danny Smith and
753 * mingwex/Makefile.in (MATH_DISTFILES): Remove `round.c', `roundf.c',
754 `roundl.c', `lround.c', `lroundf.c', `lroundl.c', `llround.c',
755 `llroundf.c' and `llroundl.c'; replace by `round_internal.h',
756 `round_generic.c' and `lround_generic.c'.
757 (MATH_OBJS): Factor out files listed in...
758 (MATH_ROUND_OBJS, MATH_LROUND_OBJS, MATH_LLROUND_OBJS): ...these new
759 macros; define them; specify dependencies and build rules; add to...
760 (LIB_OBJS): ...this list.
762 2008-05-22 Danny Smith <dannysmith@users.sourceforge.net>
764 [ mingw-Bugs-1961893 ]
765 * mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa
766 mode to 2 for E format.
768 2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
770 * include/stdlib.h: Fix strtod under C++.
772 2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
774 * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
775 * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
777 2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
779 * include/sys/types.h (useconds_t): typedef.
780 * include/unistd.h (usleep): Add prototype.
781 * mingwex/usleep.c: New file.
782 * mingwex/makefile.in: Add usleep source and object.
784 2008-05-02 Ramiro Polla <ramiro@lisha.ufsc.br>
786 Make strtod() conform to C99.
788 * include/stdlib.h (strtod): Declare this mingwex function, and...
789 (_strtod): rename this MSVCRT counterpart.
791 * mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
793 2008-04-26 Chuck Wilson <cwilso11@users.sourceforge.net>
795 * Makefile.in: correct issues with mingw10.dll having multiple relocs.
797 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
799 * include/process.h: Include stdint.h for intptr_t definition.
800 (_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
801 _spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
802 _spawnvpe): Return intptr_t.
803 (execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
804 spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
806 * include/wchar.h: Guard wide process.h functions with !__STRICT_ANSI__.
808 [!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
809 (_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
810 _wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
811 _wspawnvp, _wspawnvpe): Return intptr_t.
813 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
815 * include/wchar.h (fwide): Return success code rather than failure in inline
817 * mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
818 code rather than failure.
820 2008-03-21 Danny Smith
822 * include/math.h (float_t, double_t): Define.
824 2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
826 * mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
827 * mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
828 (x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
830 2008-02-28 Joseph Myers <joseph@codesourcery.com>
832 * include/complex.h: Don't condition contents on C99 or not
835 2008-02-01 Brian Dessent <brian@dessent.net>
837 * Makefile.in: Add rules to generate multiple versions of libmoldname.a for
838 the different runtime versions.
840 2008-01-19 Danny Smith <dannysmithusers.sourceforge.net
842 * inclue/wchar.h (fwide): Add prototype and guard inline definition.
845 2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
847 * include/_mingw.h: Increment version to 3.14.
849 2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
851 * Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
852 * msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
853 * mingwex/math/log10f.S: Correct issue with comments.
854 * mingwex/math/log10l.S: Ditto.
855 * mingwex/math/log1p.S: Ditto.
856 * mingwex/math/log1pf.S: Ditto.
857 * mingwex/math/log1pl.S: Ditto.
858 * mingwex/math/log2.S: Ditto.
859 * mingwex/math/log2f.S: Ditto.
860 * mingwex/math/log2l.S: Ditto.
861 * mingwex/math/logf.S: Ditto.
862 * mingwex/math/logl.S: Ditto.
864 2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
866 * mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
868 2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
870 * include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
871 from '_fsize_t' to '__int64' to be consistent with the other ...64
872 structures and the value set there is 8 bytes not 4. Add guard for both
873 as the are only used by functions available from 6.1 on.
875 * include/malloc.h (_HEAP_MAXREQ): Define.
876 (_aligned_offset_recalloc): Define.
877 (_aligned_recalloc()): Define.
879 * include/math.h: fixed a typo in a comment.
880 (atanhf): Fixed declaration.
882 * include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
883 to '__int64' to be consistent with the other ...64 structures and the value
884 set there is 8 bytes not 4. Added guard as this function is only used by
885 functions available from 6.1 on.
887 * include/sys/stat.h: some members of 'stat' were declared with types with
888 a prefixed underscore, while the ones without the underscore should have
889 been used. Added guard to '__stat64' as it is only used by functions
890 available from 6.1 on. Added the wide character versions of the
891 exec()/spawn() family for completion
892 (_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
895 * include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
896 from 'long' to 'time_t'
897 (__timeb64): moved declaration of structure directly before the declaration
898 of the function '_ftime64()', so it is guarded as well
900 * include/sys/utime.h (__utimbuf64): moved declaration of structure directly
901 before the declaration of the functions using it, so it is guarded as well
903 2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
905 * mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
906 case. Add missing break in 's'/LEN_S case.
908 2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
910 Make snprintf() and vsnprintf() conform to C99.
912 * include/stdio.h: Add note about incompatibility between...
913 (snprintf, vsnprintf): These two mingwex functions, and...
914 (_snprintf, _vsnprintf): these MSVCRT counterparts.
916 * mingwex/Makefile.in (STDIO_OBJS): Remove snprintf.o and vsnprintf.o
917 (STDIO_DISTFILES): Remove snprintf.c and vsnprintf.c
919 * mingwex/stdio/snprintf.c: Delete.
920 * mingwex/stdio/vsnprintf.c: Delete.
922 * mingwex/gdtoa/mingw_snprintf.c (snprintf): Alias to __mingw_snprintf
923 (vsnprintf): Alias to __mingw_vsnprintf.
925 2007-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
927 * include/_mingw.h: Increment version to 3.13.
928 * Makefile.in: Reset CYGRELEASE to 1
930 2007-07-23 Keith Marshall <keithmarshall@users.sourceforge.net>
932 * Makefile.in (SUBDIRS): Delete stray line continuation artifact,
933 resulting from incomplete removal of enclosing `for ...; do ...; done'
934 loop from compound command; (reported by Greg Chicares).
936 2007-07-19 Danny Smith <dannysmith@users.sourceforge.net>
938 * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
941 2007-07-12 Danny Smith <dannysmith@users.sourceforge.net>
944 * include/wchar.h (_wsystem) Declare.
947 (_wsearchenv): Declare.
948 (_wmakepath): Declare.
949 (_wsplitpath): Declare.
950 (_wfullpath): Declare.
951 * include/stdlib.h (_wsystem) Declare.
952 (_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath,
953 _wfullpath): Move into _WSTDLIB_DEFINED guard.
954 * include/tchar.h (_tsystem): New UNICODE mapping define.
956 2007-06-29 Danny Smith <dannysmith@users.sourceforge.net>
958 * mingwex/gdtoa/mingw_snprintf.c: New file.
959 * mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
960 (GDTOA_OBJS): Add mingw_snprintf.o.
962 2007-06-28 Danny Smith <dannysmith@users.sourceforge.net>
964 * msvcrt.def.in: Update comment.
965 Exclude _ctype stub if using msvcr71.dll or newer.
966 * include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
967 * include/wctype.h: Likewise.
969 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
971 *include/wctype.h: Qualify all functions with __MINGW_NOTHROW.
972 *include/dirent.h: Likewise.
974 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
976 * include/assert.h: Qualify all functions with __MINGW_NOTHROW.
977 * include/conio.h: Likewise.
978 * include/ctype.h: Likewise.
979 * include/direct.h: Likewise.
980 * include/dos.h: Likewise.
981 * include/errno.h: Likewise.
982 * include/fenv.h: Likewise.
983 * include/float.h: Likewise.
984 * include/inttypes.h: Likewise.
985 * include/io.h: Likewise.
986 * include/libgen.h: Likewise.
987 * include/locale.h: Likewise.
988 * include/malloc.h: Likewise.
989 * include/mbctype.h: Likewise.
990 * include/mbstring.h: Likewise.
991 * include/process.h: Likewise.
992 * include/search.h: Likewise.
993 * include/setjmp.h: Likewise.
994 * include/signal.h: Likewise.
995 * include/stdio.h: Likewise.
996 * include/stdlib.h: Likewise.
997 * include/string.h: Likewise.
998 * include/time.h: Likewise.
999 * include/wchar.h: Likewise.
1000 * include/sys/stat.h: Likewise.
1001 * include/sys/time.h: Likewise.
1002 * include/sys/timeb.h: Likewise.
1003 * include/sys/utime.h: Likewise.
1005 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1007 * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
1009 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1011 Add POSIX binary tree search API.
1013 * mingwex/tfind.c: New file.
1014 * mingwex/tdelete.c: New file.
1015 * mingwex/tsearch.c: New file.
1016 * mingwex/twalk.c: New file.
1017 * mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
1018 * mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
1019 * include/search.h (tfind): Declare.
1026 (node_t): Define, on condition of _SEARCH_PRIVATE.
1028 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1030 * include/_mingw.h (__MINGW_NOTHROW): Define.
1032 2007-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1034 * include/stdio.h (vsnprintf): Remove inline definition.
1037 2007-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1039 * CRTfmode.c: Nit-pick comment fix.
1041 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1043 * CRTfmode.c: Fix nested comment.
1045 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1047 * include/string.h (strcasecmp): Fix typo in declaration prototype.
1049 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1051 * include/io.h (lseek64) : Add prototype.
1053 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1055 * include/string.h (strcasecmp): Add prototype.
1056 (strncasecmp): Add prototype.
1058 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1060 * Makefile.in (CRT0S): Revert last change.
1061 * CRTfmode.c. Correct comment.
1063 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1065 * Makefile.in (CRT0S): Add back CRTfmode.o.
1067 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1069 * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
1070 * include/io.h: Likewise.
1072 2007-06-11 Danny Smith <dannysmith@users.sourceforge.net>
1074 * crt1.c (__mingw_CRTStartup): Add explicit call to gcc's __main.
1076 2007-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1078 * include/stdint.h (intptr_t): Fix typo.
1079 Thanks to Charles Wilson for report.
1081 2007-05-07 Danny Smith <dannysmith@users.sourceforge.net>
1083 * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
1084 Condition on _WIN64.
1085 (uintptr_t): Protect with _UINTPTR_T_DEFINED. Condition on _WIN64.
1086 (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64.
1087 (PTRDIFF_MIN): Define as INTPTR_MIN.
1088 (PTRDIFF_MAX): Define as INTPTR_MAX.
1089 (SIG_ATOMIC_MIN): Define as INTPTR_MIN.
1090 (SIG_ATOMIC_MAX): Define as INTPTR_MAX.
1092 2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1094 * Makefile.in: Removed mansuffix variable. Changed mansection to support
1095 Cygwin man page location.
1097 2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1099 * Makefile.in: Added mansection and mansuffix variables. Changed mandir to
1100 support Cygwin man page location.
1102 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1104 * Include/_mingw.h: Increment version to 3.12.
1106 2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
1108 * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__.
1110 2007-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1112 * Makefile.in: Tweak srcdist to fix build issue.
1114 2007-03-20 Keith Marshall <keithmarshall@users.sourceforge.net>
1116 Add --enable-mingw-manpage-transform configure option.
1118 * aclocal.m4 (MINGW_AC_MANPAGE_TRANSFORM): New macro.
1119 * configure.in, Makefile.in: Use it.
1120 * configure: Regenerated.
1122 2007-03-18 Danny Smith <dannysmith@users.sourceforge.net>
1124 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ for gcc 4.2.x too.
1126 2007-03-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1128 Add manpages for dirname and basename functions.
1130 * man: New directory.
1131 * man/dirname.man: New file; it sources both manpages.
1132 * Makefile.in: Add provisional rules to distribute them.
1134 2007-03-08 Keith Marshall <keithmarshall@users.sourceforge.net>
1136 * mingwex/basename.c: Make it work with path names containing
1137 multibyte character strings.
1138 * mingwex/dirname.c: Likewise.
1140 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1142 * include/io.h (__mingw_access): New static inline wrapper to restore
1143 pre-Vista 'access (fname, X_OK)' behaviour.
1144 (__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
1146 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1148 * mingwex/fesetround.c (fesetround): Use unsigned int as operand
1150 Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
1152 2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
1154 * include/stdio.h (_unlink, unlink): Add prototypes.
1156 2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
1158 * include/excpt.h: Replace "_try1" in comments with "__try1".
1160 2007-02-15 Danny Smith <dannysmith@users.sourceforge.net>
1162 * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1163 (ALL_CXXFLAGS): Likewise.
1164 * mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1165 (ALL_CXXFLAGS): Likewise.
1166 * profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1167 (ALL_CXXFLAGS): Likewise.
1169 2007-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1171 * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
1173 2007-01-27 Danny Smith <dannysmith@users.sourceforge.net>
1175 Expose some more msvcr80.dll functions.
1176 * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
1177 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
1178 * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
1179 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
1181 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1183 Expose some msvcr80.dll functions.
1184 * include/stdlib.h (_set_abort_behavior): Add prototype.
1185 (_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
1186 _set_abort_behavior mask argument.
1187 (_invalid_parameter_handler): Add typedef.
1188 (_set_invalid_parameter_handler): Add prototype.
1189 * include/stdio.h (_get_printf_count_output): Add prototype.
1190 (_set_printf_count_output): Add prototype.
1191 * msvcrt.def.in (_get_printf_count_output,_set_printf_count_output,
1192 _set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
1194 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1196 * include/_mingw.h (CRT_INLINE): Correct typo.
1198 2007-01-24 Danny Smith <dannysmith@users.sourceforge.net>
1200 * include/io.h (X_OK): Define to F_OK.
1202 2007-01-19 Danny Smith <dannysmith@users.sourceforge.net>
1204 * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1205 unconditionally. Change comment.
1206 * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1208 * include/io.h (rename): Declare.
1211 2006-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
1213 * include/libgen.h: New file; required by...
1214 * mingwex/basename.c, mingwex/dirname.c: New files.
1215 * mingwex/Makefile.in (DISTFILES): Add them...
1216 (POSIX_OBJS): ...with corresponding basename.o, dirname.o
1217 (Dependencies): Typo; s/Dependancies/Dependencies/
1219 2006-11-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1221 * Makefile.in (VERSION): Let configure define it.
1223 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): New macro.
1224 * configure.in: Use it.
1225 Correct quoting of autoconf macro arguments throughout.
1226 (AC_INIT, AC_OUTPUT): Update to autoconf 2.5x preferred syntax.
1227 (AR, AS, RANLIB, LD, DLLTOOL, DLLWRAP): Don't need AC_SUBST.
1228 (AC_ALLOCA): Invalid after GCC_NO_EXECUTABLES; removed.
1229 (AC_CONFIG_FILES): Add, to generate Makefile.
1231 * configure: Regenerated.
1233 2006-11-21 Danny Smith <dannysmith@users.sourceforge.net>
1235 * Makefile.in: Add aclocal.m4 to source release.
1236 * mingwex/Makefile.in: Ditto.
1237 * profile/Makefile.in: Ditto.
1239 2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1241 * Include/_mingw.h: Increment version to 3.11.
1242 * Makefile.in: Ditto.
1244 2006-11-09 Danny Smith <dannysmith@users.sourceforge.net>
1246 [ mingw-Bugs-1590623 ]
1247 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
1250 2006-10-04 Corinna Vinschen <corinna@vinschen.de>
1252 * Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
1253 correctly parenthesized.
1255 2006-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1257 * mingwex/mb_wc_common.h (get_codepage): Get it
1260 2006-09-18 Danny Smith <dannysmith@users.sourceforge.net>
1262 * mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity.
1264 * mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to
1266 * mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with
1269 2006-09-16 Danny Smith <dannysmith@users.sourceforge.net>
1271 * mingwex/gdtoa/strtopx.c (strtopx): Fix long double representation
1274 2006-09-11 Christopher Faylor <cgf@timesys.com>
1276 * Makefile.in: Semi-revert 2006-08-30 change.
1278 2006-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1280 * include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
1281 (__MINGW_IMPORT): Ansify.
1282 * include/stdlib.h (_sleep, _beep, _seterrormode): Add
1283 __MINGW_ATTRIB_DEPRECATED.
1285 2006-09-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1287 * aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
1288 Redundant macros; deleted.
1290 * configure.in (LIB_AC_PROG_CC): Replaced by...
1291 (AC_PROG_CC): ...this.
1293 * configure: Regenerated.
1295 2006-09-06 Danny Smith <dannysmith@users.sourceforge.net>
1297 * mingwex/gdtoa/misc.c (pow5mult): Restore original code.
1298 * mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
1299 * mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
1301 2006-09-01 Danny Smith <dannysmith@users.sourceforge.net>
1303 * mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
1304 g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
1305 gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
1306 README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
1308 * mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
1309 * mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
1310 * mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
1311 * mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
1312 * mingwex/wcstold.c: Avoid using strtold internals.
1313 * mingwex/wcstof.c: Rewrite.
1314 * mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
1315 (GDTOA_OBJS): Add to library.
1316 (DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
1317 (STDLIB_OBJS): Remove.
1318 (STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
1319 (Q8_OBJS): Add wcstof.o wcstold.o.
1320 * include/stdlib.h (strtof): Remove inline definition.
1322 * include/wchar.h (wcstof): Remove inline definition.
1324 2006-08-30 Corinna Vinschen <corinna@vinschen.de>
1326 * Makefile.in: Add with_cross_host to allow more granular checks.
1327 Set installation directories accordingly. Override CC setting only
1328 if building a Cygwin target.
1329 * aclocal.m4: Regenerate.
1330 * configure.in: Move AC_CANONICAL_SYSTEM check up. Add
1331 GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files.
1332 Test AC_ALLOCA only if building on a native system.
1333 * configure: Regenerate.
1335 2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1337 * include/ctype.h: Fix typo.
1339 2006-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1341 * include/ctype.h: Expose iswblank if __cplusplus.
1342 * include/wctype.h: Expose iswblank if __cplusplus.
1344 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1346 * include/ctype.h: Remove stray ')';
1348 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1350 * include/ctype.h (_BLANK): Expand comment.
1351 (isblank): Add prototype and inline definition.
1352 (iswblank): Add prototype and inline definition.
1353 * include/wctype.h (iswblank): Add prototype and inline definition.
1354 * mingwex/isblank.c: New file.
1355 * mingwex/iswblank.c: New file.
1356 * mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
1358 2006-07-06 Danny Smith <dannysmith@users.sourceforge.net>
1360 * include/math.h (__INFF,__INFL): Remove '#'.
1362 2006-07-04 Danny Smith <dannysmith@users.sourceforge.net>
1364 * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
1366 2006-07-03 Danny Smith <dannysmith@users.sourceforge.net>
1368 Support SSE float environment in fenv.h functions.
1369 * cpu_features.c: New file.
1370 * cpu_features.h: New file.
1371 * crt1.c: Include "cpu_features.h".
1372 (__mingw_CRTStartup): Call cpu_features_init().
1373 * Makefile.in (MING_OBJS): Add cpu_features.c.
1374 (SRCDIST_FILES): Add cpu_features.c, cpu_features.h.
1375 * include/fenv,h ( fenv_t;): Append __mxcsr field.
1376 (__MXCSR_EXCEPT_FLAG_SHIFT): New define.
1377 (__MXCSR_EXCEPT_MASK_SHIFT): New define.
1378 (__MXCSR_ROUND_FLAG_SHIFT): New define.
1379 * mingwex/feclearexcept.c: Include "cpu_features.h".
1380 Handle SSE environment.
1381 * mingwex/fegetenv.c: Likewise.
1382 * mingwex/feholdexcept.c: Likewise.
1383 * mingwex/fesetenv.c: Likewise.
1384 * mingwex/fesetexceptflag.c: Likewise.
1385 * mingwex/fesetround.c: Likewise.
1386 * mingwex/fetestexcept.c: Likewise.
1387 * mingwex/feupdateenv.c: Likewise.
1388 * mingwex/fegetround.c: Add comment.
1390 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1392 * Include/_mingw.h: Increment version to 3.10.
1393 * Makefile.in: Ditto.
1395 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1397 * mingwex/math/tgamma.c (SQTPI): Add braces.
1399 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1401 * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
1402 * mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
1404 * mingwex/math/sf_erf.c (erff): Initialize z.
1406 * mingwex/math/tgamma.c (SQTPI): Avoid type punning.
1408 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1410 * Include/_mingw.h: Increment version to 3.10.
1411 * Makefile.in: Ditto.
1413 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1415 * include/sys/time.h (struct timezone): Define.
1416 * include/time.h: Correct comment about timezone.
1418 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1420 * configure.in (AC_CONFIG_AUX_DIR): Remove.
1421 * configure: Regenerate.
1423 2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
1425 * configure: add srcdir as a possible location for install-sh.
1427 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1429 * mingwex/dirent.c (_tGetFileAttributes): New helper function.
1430 (_topendir): Use it.
1432 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1434 * include/sys/time.h: Add header guard. Add extern "C" bracketing
1436 (gettimeofday): Add prototype.
1437 * mingwex/gettimeofday.c: New file.
1438 * mingwex/makefile.in: Add gettimeofday source and object.
1440 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1442 * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
1443 else global library variable.
1444 (HUGEVALF): Likewise.
1445 (HUGEVALL): Likewise.
1446 (INFINITY): Likewise.
1449 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1451 * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
1453 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1455 * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
1457 2006-05-24 Christopher Faylor <cgf@timesys.com>
1459 * configure.in: Update to newer autoconf.
1460 (thanks to Steve Ellcey)
1461 * mingwex/configure.in: Ditto.
1462 * profile/configure.in: Ditto.
1463 * configure: Regenerate.
1464 * mingwex/configure: Ditto.
1465 * profile/configure: Ditto.
1466 * aclocal.m4: New file.
1467 * mingwex/aclocal.m4: Ditto.
1468 * profile/aclocal.m4: Ditto.
1470 2006-05-17 Danny Smith <dannysmith@users.sourceforge.net>
1472 * mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.
1473 Use supplied codepage as arg to WideCharToMultiByte.
1475 2006-02-13 Earnie Boyd <earnie@users.sf.net>
1477 * Makefile.in (libmsvcr80.a): Add import lib.
1478 (libmsvcr80d.a): Ditto.
1480 2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1482 * Makefile.in: Bump cygwin build number.
1484 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1486 * Include/_mingw.h: Increment version to 3.9.
1487 * Makefile.in: Ditto.
1489 2005-10-14 Danny Smith <dannysmith@users.sourceforge.net>
1491 * include/limits.h (SSIZE_MAX): Define.
1492 (LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.
1494 2005-10-13 Wu Yongwei <adah@users.sourceforge.net>
1496 * include/tchar.h: Include <wchar.h> when _UNICODE is defined.
1497 (_TEOF): New macro definition for _UNICODE and non_UNICODE cases.
1499 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1501 * include/stddef.h: Remove.
1502 * include/stdarg.h: Remove.
1504 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1506 * mingwex/complex/csqrt.c (csqrt): The sign of real part
1507 of result is positive when real part of arg == 0;
1508 * mingwex/complex/csqrtf.c (csqrtf): Ditto.
1509 * mingwex/complex/csqrtl.c (csqrtl): Ditto.
1511 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1513 * include/time.h (_time64): Correct prototype.
1515 2005-10-08 Danny Smith <dannysmith@users.sourceforge.net>
1517 * mingwex/fegetenv.c (fegetenv): Restore exception masks.
1518 * mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
1519 to non-stop. Use "fnclex" to clear exception flags.
1521 2005-09-24 Danny Smith <dannysmith@users.sourceforge.net>
1523 * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
1524 Avoid raising FP exceptions.
1526 2005-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1528 * include/stdlib.h (strtof): Add prototype. Uglify
1529 parameter names in inline definition.
1531 (_Exit): Uglify parameter names in inline definition.
1532 (llabs): Add prototype.
1533 (_set_error_mode): Add prototype and input defines.
1535 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1537 * mingwex/fe*.c: Revert previous changes.
1538 * include/fenv.h: Revert previous changes.
1540 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1542 * mingwex/feclearexcept.c (feclearexcept): Change declaration.
1543 Do not return a value.
1544 * mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
1545 * mingwex/feraiseexcept.c (feraiseexcept): Likewise.
1546 * mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
1547 * mingwex/fegetenv.c (fegetenv): Likewise.
1548 * mingwex/fesetenv.c (fesetenv): Likewise.
1549 * mingwex/feupdateenv.c (feupdateenv): Likewise.
1550 * include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
1551 fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
1554 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1556 * mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
1557 getting filelength for SEEK_END.
1559 2005-08-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1561 * Include/_mingw.h: Increment version to 3.8.
1562 * Makefile.in: Ditto.
1564 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1566 * include/wctype.h (towupper, towlower): Change arg and return value
1568 * include/ctype.h (towupper, towlower): Likewise.
1570 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1572 * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
1573 a diagnostic, guarded by #ifdef DEBUG.
1574 (__mingwthr_remove_key_dtor): Likewise.
1576 2005-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1578 * moldname.def.in (sleep, beep, seterrormode): Remove.
1580 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1582 * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
1583 (_MCOUNT_DECL): Use it.
1584 (MCOUNT): Save and restore eax, ecx, edx registers.
1585 * profile/mcount.c (_mcount): ANSI-fy.
1587 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1589 * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
1590 guard __MINGW_ATTRIB macro definitions.
1591 * include/math.h (logb[fl]): Don't define inlines for
1592 GCC-4.0+ && __FAST_MATH__.
1593 (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up
1594 line-continuation backslashes.
1596 2005-06-06 Danny Smith <dannysmith@users.sourceforge.net>
1598 * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
1599 in GNUC version guard.
1601 2005-05-20 Danny Smith <dannysmith@users.sourceforge.net>
1603 * crt1.c (_gnu_exception_handler): Handle illegal instruction
1604 OS exception as a signal if user has defined a SIGILL handler.
1606 2005-05-10 Danny Smith <dannysmith@users.sourceforge.net>
1608 * mingwex/math/nexttoward.c: New file.
1609 * mingwex/math/nexttowardf.c: New file.
1610 * mingwex/math/nextafterl.c: Add nexttowardl alias.
1611 * mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
1613 (MATH_OBJS): Add nexttoward.o, nexttowardf.o,
1614 * include/math.h (nexttoward, nextowardf, nexttowardl): Add
1617 2005-05-09 Danny Smith <dannysmith@users.sourceforge.net>
1619 * mingwex/math/nextafterf.c (nextafterf): Correct
1621 * mingwex/math/nextafterl.c: New file.
1622 * mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
1623 (MATH_OBJS): Add nextafterl.o.
1624 * include/math.h (nextafterl): Uncomment prototype.
1626 2005-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1628 * mingwex/math/erfl.c: New file.
1629 * mingwex/Makefile.in (MATH_DISTFILES): Add erfl.c.
1630 (MATH_OBJS): Add erfl.o.
1631 * include/math.h (erfl, erfcl): Uncomment prototypes.
1633 2005-05-04 Danny Smith <dannysmith@users.sourceforge.net>
1635 * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
1636 #if (WCHAR_MAX <= WCHAR_MIN) is false.
1637 * include/stdint.h (WCHAR_MAX): Likwise.
1638 (WINT_MAX): Likewise.
1640 2005-05-03 Danny Smith <dannysmith@users.sourceforge.net>
1642 * mingwex/math/signbit.c (__signbit): Make return value
1643 consistent with GCC's __builtin_signbit.
1644 * mingwex/math/signbitf.c (__signbitf): Likewise.
1645 * mingwex/math/signbitf.c (__signbitl): Likewise.
1646 * include/math.h (__signbit, __signbitf, __signbitl): Likewise
1649 2005-05-02 Danny Smith <dannysmith@users.sourceforge.net>
1651 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
1653 * mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
1654 Remove unused MBTOWC_FLAGS define.
1656 2005-04-23 Danny Smith <dannysmith@users.sourceforge.net>
1658 * mingwex/mbrtowc.c: New file.
1659 * mingwex/wcrtomb.c: New file.
1660 * mingwex/btowc.c: New file.
1661 * mingwex/wctob.c: New file.
1662 * mingwex/mb_wc_common.h: New file.
1663 * mingwex/Makefile.in (DISTFILES): Add new files.
1664 (Q8_OBJS): Add new objects.
1665 * include/wchar.h: Adjust comment about mbrtowc() and related
1666 funcions. Add __restrict__ to pointer params in prototypes.
1667 (wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
1668 arg names from protototypes.
1670 2005-04-23 Wu Yongwei <adah@sh163.net>
1672 * mingwex/dirent.c: Formatting changes.
1673 * mingwex/dirent.c (_topendir): Make the end-of-path slash check
1676 2005-03-31 Danny Smith <dannysmith@users.sourceforge.net>
1678 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
1680 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
1682 * include/stdio.h (__mingw_fwrite): Change return value to
1684 * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
1686 2005-03-15 Hans Leidekker <hans@it.vu.nl>
1688 * include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
1690 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1692 * include/wctype.h (wctrans): Remove _CRTIMP.
1693 (towctrans): Likewise.
1696 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1698 * include/wctype.h: Add comment on wctrans, towctrans, wctype.
1700 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1702 * mingwex/wctype.c: New file.
1703 * mingwex/wctrans.c: New file.
1704 * mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c.
1705 * mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.
1707 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
1709 * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.
1711 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
1713 * include/assert.h: Remove header guard. #undef assert macro.
1714 (_assert): Use __MINGW_ATTRIB_NORETURN define.
1716 2005-02-11 Gregory W. Chicares <chicares@cox.net>
1717 Danny Smith <dannysmith@users.sourceforge.net>
1719 * include/math.h (expm1, expm1f, expmll): Add prototypes.
1720 * mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
1722 (MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
1723 * mingwex/math/expm1.c: New file.
1724 * mingwex/math/expm1f.c: New file.
1725 * mingwex/math/expm1l.c: New file.
1727 2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
1729 * include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
1730 * include/wchar.h (struct stat): Likwwise.
1731 Bug reported to Debian by Anand Kumria <wildfire@progsoc.org>
1733 * include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
1735 2005-02-01 Danny Smith <dannysmith@users.sourceforge.net>
1737 * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
1738 string is not valid.
1740 2005-01-26 Oliver Stoeneberg <oliverst@online.de>
1742 * include/malloc.h: Add missing return code defines for
1745 2005-01-17 Danny Smith <dannysmith@users.sourceforge.net>
1747 * include/sys/stat.h (struct __stat64): Change st_size type to
1749 * include/wchar.h (struct __stat64): Change st_size type to __int64.
1751 2005-01-13 Earnie Boyd <earnie@users.sf.net>
1753 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
1755 * include/errno.h (ELOOP): Ditto.
1756 * include/_mingw.h: Increment version to 3.7.
1757 * Makefile.in: Ditto.
1759 2005-01-11 Danny Smith <dannysmith@users.sourceforge.net>
1761 * include/tchar.h (_tfreopen): Add UNICODE mappings.
1763 2005-01-11 Earnie Boyd <earnie@users.sf.net>
1765 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
1766 lstat): Conditionalize defines for __STRICT_ANSI__.
1768 2005-01-10 Earnie Boyd <earnie@users.sf.net>
1770 * include/errno.h (ELOOP): Add definition.
1772 2005-01-10 Danny Smith <dannysmith@users.sourceforge.net>
1774 * mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
1775 casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
1776 clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
1777 ctanl.c ctanhl.c): New files.
1778 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
1779 (COMPLEX_OBJS): Adjust.
1780 * include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
1781 casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
1782 cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
1785 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
1787 * include/_mingw.h (__int16): Define as short.
1788 Thanks to: Leo Yuriev <leoyuriev at users dot sf dot net>
1790 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
1792 * include/stdio.h (P_tmpdir): Add define.
1794 2005-01-03 Earnie Boyd <earnie@users.sf.net>
1796 * Makefile.in (inst_docdir): For Cygwin target set to share/doc/.
1798 2005-01-02 Earnie Boyd <earnie@users.sf.net>
1800 * include/_mingw.h: Increment version to 3.6
1801 * Makefile.in: Ditto
1803 2004-12-26 Danny Smith <dannysmith@users.sourceforge.net>
1805 * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
1806 casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
1807 clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
1808 ctanf.c ctanhf.c): New files.
1809 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
1810 (COMPLEX_OBJS): Adjust.
1811 * include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
1812 casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
1813 cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
1816 2004-12-20 Danny Smith <dannysmith@users.sourceforge.net>
1818 * include/wchar.h (wcsdup): Correct prototype.
1819 * include/string.h (wcsdup): Correct prototype.
1821 2004-10-14 Danny Smith <dannysmith@users.sourceforge.net>
1823 * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
1825 2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
1827 * mingwex/math/fastmath.h: New file.
1828 * mingwex/math/asinh.c: New file.
1829 * mingwex/math/asinhf.c: New file.
1830 * mingwex/math/asinhl.c: New file.
1831 * mingwex/math/acosh.c: New file.
1832 * mingwex/math/acoshf.c: New file.
1833 * mingwex/math/acoshl.c: New file.
1834 * mingwex/math/atanh.c: New file.
1835 * mingwex/math/atanhf.c: New file.
1836 * include/math.h (asinh, asinhf, asinhl, acosh, acoshf, acoshl,
1837 atanh, atanhf, atanhl): Add prototypes.
1838 * mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
1839 (MATH_DISTFILES): Add sources for above and fastmath.h to list.
1840 Specify dependency on fastmath.h for new objects.
1842 2004-09-08 Earnie Boyd <earnie@users.sf.net>
1844 * include/sys/stat.h (_S_IFLNK): Add definition.
1851 2004-09-08 Earnie Boyd <earnie@users.sf.net>
1853 * include/sys/stat.h (_S_ISLNK): Add definition.
1856 2004-09-05 Earnie Boyd <earnie@users.sf.net>
1858 * include/_mingw.h: Increment minor version for 3.5 release.
1859 * Makefile.in: Ditto.
1860 * mingwex/Makefile.in: Correct typo in list of DISTFILES.
1862 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
1864 * include/malloc.h (__mingw_aligned_offset_malloc,
1865 __mingw_aligned_offset_realloc, __mingw_aligned_malloc,
1866 __mingw_aligned_realloc, __mingw_aligned_free): Add
1868 * mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
1869 tst-aligned-malloc.c.
1870 (REPLACE_OBJS): Add mingw-aligned-malloc.o.
1872 2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
1874 * mingwex/mingw-aligned-malloc.c: New file.
1875 * mingwex/tst-aligned-malloc.c: New file.
1877 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
1879 * crt1.c: (__mingw_CRTStartup): Change return to void. Add
1880 noreturn attribute. Align stack to 16 bytes before passing args
1882 (mainCRTStartup): Change return to void.
1883 (WinMainCRTStartup): Likewise.
1885 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
1887 * profile/COPYING: New file.
1888 * profile/CYGWIN_LICENSE: New file.
1889 * profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
1891 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
1893 * mingwex/fopen64.c: Move.
1894 * mingwex/fseeko64.c: Move.
1895 * mingwex/ftello64.c: Move.
1896 * mingwex/lseek64.c: Move.
1897 * mingwex/stdio/fopen64.c: To here.
1898 * mingwex/stdio/fseeko64.c: To here.
1899 * mingwex/stdio/ftello64.c: To here.
1900 * mingwex/stdio/lseek64.c: To here.
1902 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
1904 * profile/gmon.c [__MINGW32__]: Include string.h for
1907 2004-08-08 Christopher Faylor <cgf@timesys.com>
1909 * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
1911 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
1913 * include/complex.h: Remove __attribute__ ((const)) from
1914 transcendantal and trig functions. Replace __attribute__ ((const))
1915 with __MINGW_ATTRIB_CONST on other declarations.
1917 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
1919 * include/wchar.h: Reorganize, avoid including other headers.
1921 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
1923 * include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
1924 (strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
1927 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
1929 * include/dirent.h (struct _wdirent): Remove obsolete comment.
1931 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
1933 * include/string.h: Revert 2004-07-26 additions of
1936 2004-07-28 Danny Smith <dannysmith@users.sourceforge.net>
1938 * mingwex/math/powl.c (powl): Revert change of 2004-02-01.
1939 (__convert_inf_to_maxnum): New.static inline.
1940 (reducl): Use it to protect against Inf - Inf.
1941 (__fast_ldexpl): New function. Use in lieu of ldexpl.
1943 2004-07-27 Danny Smith <dannysmith@users.sourceforge.net>
1945 * mingwex/math/expl.c (expl): Move body of code to new static
1946 function __expl, removing tests for +/-Inf. Extern function
1947 expl calls __expl after testing for max, min log thresholds.
1949 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
1951 * mingwex/stdio/vsscanf.c: Add "edi" to registers-modified field
1952 * mingwex/stdio/vfscanf.c: Likewise.
1953 * mingwex/stdio/vswscanf.c: Likewise.
1954 * mingwex/stdio/vfwscanf.c: Likewise.
1956 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
1958 * include/_mingw.h: Use only two underscores to uglify
1959 __MINGW_ATTRIB_* macros.
1960 * include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
1961 * include/setjmp.h: Likewise.
1963 * include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
1965 (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
1967 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
1969 * include/string.h: Group wide string functions together,
1970 and protect with _WSTRING_DEFINED.
1972 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
1974 * include/_mingw.h (__MINGW_ATTR_*): Replace with
1976 * include/stdlib.h (_ATTRIB_NORETURN): Replace with
1977 __MINGW_ATTRIB_NORETURN, throughout.
1978 (malloc): Declare with __MINGW_ATTRIB_MALLOC.
1980 (abs): Declare with __MINGW_ATTRIB_CONST.
1989 * include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
1991 2004-07-21 Danny Smith <dannysmith@users.sourceforge.net>
1993 * include/_mingw.h: Undefine __attribute__.
1994 (__MINGW_ATTR_NORETURN): New define.
1995 (__MINGW_ATTR_CONST): New define.
1996 (__MINGW_ATTR_MALLOC): New define.
1997 (__MINGW_ATTR_PURE): New define.
1998 (_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
2001 2004-07-19 Danny Smith <dannysmith@users.sourceforge.net>
2003 * include/time.h (__time64_t): Add missing ';'.
2005 2004-07-17 Danny Smith <dannysmith@users.sourceforge.net>
2007 * include/time.h (wcsftime): Move out of !__STRICT_ANSI
2009 (struct tm): Protect with _TM_DEFINED.
2011 2004-07-17 Christopher Faylor <cgf@timesys.com>
2013 * Makefile.in (CC): Strip inappropriate include file settings from any
2016 2004-07-15 "dgun" <dgun@umpire.com>
2018 * include/complex.h (conj): Correct typo in prototype.
2020 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2022 * include/math.h: Add pragma GCC system_header.
2024 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2026 * mingwex/complex/carg.c: New file.
2027 * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
2029 2004-07-15 Corinna Vinschen <corinna@vinschen.de>
2031 * Makefile.in (INCLUDES): Temporarily revert previous change.
2032 * mingwex/Makefile,in (INCLUDES): Ditto.
2033 * profile/Makefile,in (INCLUDES): Ditto.
2034 * mingwex/Makefile,in: Drop carg.o dependency.
2036 2004-07-14 Christopher Faylor <cgf@timesys.com>
2038 * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
2040 2004-07-14 Danny Smith <dannysmith@users.sourceforge.net>
2042 * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
2044 * mingwex/Makefile,in (INCLUDES): Ditto.
2045 * profile/Makefile,in (INCLUDES): Ditto.
2047 * mingwex/Makefile,in: Add carg.o to libmingwex.a.
2049 2004-07-13 Earnie Boyd <earnie@users.sourcefourge.net>
2051 * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
2053 * mingwex/Makefile.in: Ditto.
2054 * profile/Makefile.in: Ditto.
2055 * include/limits.h: Change to new file header preamble.
2056 * include/_mingw.h: Increment minor version for 3.4 release.
2057 * Makefile.in: Ditto.
2059 2004-07-12 Danny Smith <dannysmith@users.sourceforge.net>
2061 * mingwex/math/cephes_emath.h (__etens): Remove declaration.
2063 2004-07-11 Danny Smith <dannysmith@users.sourceforge.net>
2065 * include/unistd.h (ftruncate): Add inline definition.
2066 * mingwex/ftruncate.c: New file.
2067 * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
2069 2004-07-10 Danny Smith <dannysmith@users.sourceforge.net>
2071 * include/time.h: Do not include sys/types.h.
2073 2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
2075 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
2076 (MATH_OBJS): Remove pow,o.
2077 * include/math.h (pow): Declare with _CRTIMP.
2078 Add comment on how to avoid excess precision problems.
2080 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
2082 * include/stdio.h (__mingw_fseeko64): Add prototype.
2083 * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
2084 (__mingw_fwrite): Handle huge files.
2086 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
2087 Danny Smith <dannysmith@users.sourceforge.net>
2089 * include/stdio.h (fopen64): Add inline function.
2090 (fseeko64): Add prototype.
2091 (ftello64): Add inline function.
2092 * include/io.h (lseek64): Add inline function.
2093 * include/sys/types (off64_t): Add typedef.
2094 (fpos64_t): Add typedef.
2095 * mingwex/fopen64.c: New file.
2096 * mingwex/fseeko64.c: New file.
2097 * mingwex/ftello64.c: New file.
2098 * mingwex/lseek64.c: New file.
2099 * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
2100 fseeko.64.c, ftello64.c, lseek64.c.
2101 (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
2103 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
2105 * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
2107 2004-04-22 Earnie Boyd <earnie@users.sf.net>
2109 * DISCLAIMER: Add words about "free to use".
2110 * README: Modify "Win32 runtime" to "Microsoft C Runtime".
2111 * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
2112 (inst_docdir): New variable.
2114 (FLAGS_TO_PASS): Include inst_docdir.
2115 (install-dirs): Add inst_docdir.
2116 (install): Add loop for INSTDOCS.
2117 * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
2118 section to CONTRIBUTORS file. Remove RCS tags.
2120 2004-04-22 Danny Smith <dannysmith@users.sourceforge.net>
2122 * mingwex/math/lround.c: Rewrite.
2123 * mingwex/math/lroundf.c: Rewrite.
2124 * mingwex/math/lroundl.c: Rewrite.
2125 * mingwex/math/llround.c: Rewrite.
2126 * mingwex/math/llroundf.c: Rewrite.
2127 * mingwex/math/llroundl.c: Rewrite.
2129 2004-04-20 Earnie Boyd <earnie@users.sf.net>
2131 * CONTRIBUTORS: New file.
2132 * DISCLAIMER: Ditto.
2133 * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
2134 section to CONTRIBUTORS file. Remove RCS tags.
2135 * CRTFmode.c: Ditto.
2139 * crtdll.dev: Ditto.
2149 * msvcrt.def.in: Ditto.
2150 * strcasecmp.c: Ditto.
2153 * include/assert.h: Ditto.
2154 * include/conio.h: Ditto.
2155 * include/ctype.h: Ditto.
2156 * include/direct.h: Ditto.
2157 * include/dirent.h: Ditto.
2158 * include/dos.h: Ditto.
2159 * include/errno.h: Ditto.
2160 * include/excpt.h: Ditto.
2161 * include/fcntl.h: Ditto.
2162 * include/float.h: Ditto.
2163 * include/io.h: Ditto.
2164 * include/locale.h: Ditto.
2165 * include/malloc.h: Ditto.
2166 * include/math.h: Ditto.
2167 * include/process.h: Ditto.
2168 * include/setjmp.h: Ditto.
2169 * include/share.h: Ditto.
2170 * include/signal.h: Ditto.
2171 * include/stdio.h: Ditto.
2172 * include/stdlib.h: Ditto.
2173 * include/string.h: Ditto.
2174 * include/tchar.h: Ditto.
2175 * include/time.h: Ditto.
2176 * include/wchar.h: Ditto.
2177 * include/sys/locking.h: Ditto.
2178 * include/sys/param.h: Ditto.
2179 * include/sys/stat.h: Ditto.
2180 * include/sys/timeb.h: Ditto.
2181 * include/sys/types.h: Ditto.
2182 * include/sys/utime.h: Ditto.
2183 * mingwex/dirent.c: Ditto.
2185 2004-04-19 Earnie Boyd <earnie@users.sf.net>
2187 * include/_mingw.h: Revert to primary release 3 and increment minor
2189 * Makefile.in (VERSION): Ditto.
2191 2004-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2193 * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
2194 _fmode if not __MSVCRT__.
2196 2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
2198 * include/io.h: (_findfirst): Correct prototype.
2200 2004-03-30 Hans Leidekker <hans@it.vu.nl>
2202 * include/io.h: (_findnext, _findclose): Correct prototype.
2204 2004-03-28 Hans Leidekker <hans@it.vu.nl>
2206 * include/math.h (FP_*): Add defines.
2208 2004-03-29 Danny Smith <dannysmith@users.sourceforge.net>
2210 * mingwex/math/round.c: Rewrite.
2211 * mingwex/math/roundf.c: Rewrite.
2212 * mingwex/math/roundl.c: Rewrite.
2214 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2216 * include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.
2217 * include/time.h (__time64_t): Add typedef.
2218 (_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2219 (_ctime64): Likewise.
2220 (_wctime64): Likewise.
2221 (_gmtime64): Likewise.
2222 (_localtime64): Likewise.
2223 (wcsftime): Move into _WTIME_DEFINED block.
2224 Regroup non-ANSI prototypes.
2225 * include/io.h: Include <stdint.h>.
2226 (__finddata64_t): Add struct definition.
2227 (__wfinddata64_t): Likewise.
2228 (_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2229 (_findnext64): Likewise.
2230 (_wfindfirst64): Likewise.
2231 (_wfindnext64): Likewise.
2232 * include/sys/timeb.h (__timeb64): Add struct definition.
2233 (_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2234 * include/sys/utime.h (__utimbuf64): Add struct definition.
2235 (_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2236 (_futime64): Likewise.
2237 (_wutime64): Likewise.
2238 * include/sys/stat.h (__stat64): Add struct definition.
2239 (_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2240 (_stat64): Likewise.
2241 (_wstat64): Likwise.
2242 * include/sys/types.h (__time64_t): Add typedef.
2243 * include/wchar.h (__wfinddata64_t): Add structure definition.
2244 (__stat64): Likewise.
2245 (_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2246 (_wfindfirst64): Likewise.
2247 (_wfindnext64): Likewise.
2248 (_wutime64): Likewise.
2249 (_wstat64): Likwise.
2250 * include/malloc.h (_aligned_free): Add prototype for
2251 __MSVCRT_VERSION__ >= 0x0700.
2252 (_aligned_malloc): Likewise.
2253 (_aligned_offset_malloc): Likewise.
2254 (_aligned_offset_realloc): Likewise.
2255 (_aligned_realloc): Likewise.
2256 * include/string.h (_wcserror): Add prototype for
2257 __MSVCRT_VERSION__ >= 0x0700.
2258 (__wcserror): Likewise.
2259 * include/math.h (_set_SSE2_enable): Add prototype for
2260 __MSVCRT_VERSION__ >= 0x0701.
2262 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2264 * include/stdio.h (_fsopen): Add prototype.
2265 * include/tchar.h (_tfsopen): Add defines.
2266 Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
2268 2004-03-19 Danny Smith <dannysmith@users.sourceforge.net>
2270 * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
2271 msvcr70.dll, and msvcr71.dll.
2272 * Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant
2273 using basename of output def file.
2275 2004-03-13 Danny Smith <dannysmith@users.sourceforge.net>
2277 * include/malloc.h: Remove __STRICT_ANSI__ guard.
2279 2004-03-11 Brian Keener <bkeener@thesoftwaresource.com>
2281 * include/process.h: Remove the #endif associated with removal of
2282 __STRICT_ANSI__ guard from non-ANSI header.
2284 2004-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2286 * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
2287 * include/direct.h: Ditto.
2288 * include/dirent.h: Ditto.
2289 * include/dos.h: Ditto.
2290 * include/excpt.h: Ditto.
2292 * include/io.h: Ditto.
2293 * inlude/mem.h: Ditto.
2294 * include/memory.h: Ditto.
2295 * include/process.h: Ditto.
2296 * inlude/search.h: Ditto.
2297 * include/share.h: Ditto.
2298 * include/unistd.h: Ditto.
2299 * include/sys/fcntl.h: Ditto.
2300 * include/file.h: Ditto.
2301 * include/sys/locking.h: Ditto.
2302 * include/sys/param.h: Ditto.
2303 * include/sys/stat,h
2304 * include/sys/time.h: Ditto.
2305 * include/sys/timeb.h: Ditto.
2306 * include/sys/types.h: Ditto.
2307 * include/sys/unistd.h: Ditto.
2308 * include/sys/utime.h: Ditto.
2310 2004-02-21 Danny Smith <dannysmith@users.sourceforge.net>
2312 * include/_mingw.h (__UNUSED_PARAM): Define macro.
2313 * include/wchar.h (fwide): Use it.
2316 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2318 * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
2319 NetBSD getopt_long.c.
2321 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2323 * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
2324 codes and handling of special chars.
2326 2004-02-02 Danny Smith <dannysmith@users.sourceforge.net>
2328 * include/stdio.h (feof): Add inlined definition.
2331 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2333 * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
2334 directly, rather than via scabnl.
2336 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2338 * mingwex/math/powl.c (powl): Return infinity if
2339 extended precision multiplication of x by log2(y)
2342 2004-01-31 Danny Smith <dannysmith@users.sourceforge.net>
2344 * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
2345 (__enan_NI16): Fix another one.
2346 (__enan_NBITS): Tidy.
2348 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
2350 * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
2351 types. (Thanks to John Maddock for report.)
2353 2004-01-14 Greg Chicares <chicares@users.sourceforge.net>
2355 * include/tchar.h (_puttchar): Define.
2357 2003-12-13 Danny Smith <dannysmith@users.sourceforge.net>
2359 * include/stdio.h:(_fileno): Define macro version after both
2360 fileno and _fileno functions declared.
2362 * include/stdio.h (_rmtmp, rmtmp): Add prototypes.
2363 * moldnames.def.in (rmtmp) Add stub.
2365 2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
2367 * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
2369 2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
2371 * include/math.h: Guard ISO C99 additions with __cplusplus
2374 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2376 * include/_mingw.h: Define __attribute__((x)) to nothing
2379 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2381 * include/complex.h: New file.
2382 * mingwex/complex: New directory.
2383 * mingwex/complex/cabs.c: New file.
2384 * mingwex/complex/cacos.c: New file.
2385 * mingwex/complex/cacosh.c: New file.
2386 * mingwex/complex/casin.c: New file.
2387 * mingwex/complex/casinh.c: New file.
2388 * mingwex/complex/catan.c: New file.
2389 * mingwex/complex/catanh.c: New file.
2390 * mingwex/complex/ccos.c: New file.
2391 * mingwex/complex/ccosh.c: New file.
2392 * mingwex/complex/cexp.c: New file.
2393 * mingwex/complex/cimag.c: New file.
2394 * mingwex/complex/clog.c: New file.
2395 * mingwex/complex/cpow.c: New file.
2396 * mingwex/complex/cproj.c: New file.
2397 * mingwex/complex/creal.c: New file.
2398 * mingwex/complex/csin.c: New file.
2399 * mingwex/complex/csinh.c: New file.
2400 * mingwex/complex/csqrt.c: New file.
2401 * mingwex/complex/ctan.c: New file.
2402 * mingwex/complex/ctanh.c: New file.
2403 * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
2406 (COMPLEX_OBJS): New list of objects.
2407 (LIB_OBJS): Include it in the library.
2409 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2411 * include/math.h (cabs): Remove non-ISO prototype.
2413 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2415 * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
2416 Use GCC __builtin's if available.
2417 (INFINITY, INFINITYF, INFINITYL): Likewise.
2419 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2421 * mingwex/math/s_erf.c (erf): Set errno to ERANGE if
2422 beyond approximation limit.
2423 * mingwex/math/sf_erf.c (erff): Likewise.
2425 2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
2427 * include/stdio.h (getc): Cast result to unsigned char before
2430 (getchar): Likewise.
2431 (putchar): Likewise.
2432 Thanks to M.Fujii <boochang@m4.kcn.ne.jp>
2434 2003-10-10 Earnie Boyd <earnie@users.sf.net>
2436 * include/_mingw.h: Increment version to 3.2.
2437 * Makefile.in: Ditto.
2439 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2441 * include/sys/types.h: Revert last change.
2443 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2445 * include/sys/types.h (ssize_t): Correct the definition.
2447 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2449 * include/stdio.h (_filbuf): Add prototype.
2450 (_flsbuf): Add prototype.
2451 (getc): Add inline version.
2453 (getchar): Likewise.
2454 (putchar): Likewise.
2456 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2458 * mingwex/dirent.c (_treaddir): Reset errno to 0 if end
2461 2003-09-29 Danny Smith <dannysmith@users.sourceforge.net>
2463 * include/stdlib.h: Guard non-ISO functions with
2464 !__STRICT_ANSI__, throughout.
2466 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2468 * include/io.h (_fileno): Remove prototype.
2470 (FILENAME_MAX): Define, if needed.
2471 Don't include <stdio.h>.
2472 * include/stdio.h (FILENAME_MAX): Protect against
2474 (_fileno): Define macro implementation.
2477 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2479 * include/inttypes.h: Include _mingw.h.
2481 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2483 * include/_mingw.h (__CRT_INLINE): Define.
2484 * include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
2486 * include/inttypes.h: Likewise.
2487 * include/math.h: Likewise.
2488 * include/stdio.h: Likewise.
2489 * include/stdlib.h: Likewise.
2490 * include/string.h: Likewise.
2491 * include/wchar.h: Likewise.
2492 * include/wctype.h: Likewise.
2494 2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
2496 * mingwex/dirent.c (_topendir): Allocate enough memory for
2497 DIR struct in UNICODE case too.
2499 2003-09-15 Earnie Boyd <earnie@users.sf.net>
2501 * include/_mingw.h: Increment version to 3.2.
2502 * Makefile.in: Ditto.
2504 2003-07-03 Earnie Boyd <earnie@users.sf.net>
2506 * config.guess, config.sub: Update with versions from ftp.gnu.org.
2508 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2510 * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
2511 * mingwex/math/truncf.c (truncf): Likewise.
2512 * mingwex/math/truncl.c (truncl): Likewise.
2513 * mingwex/math/modff.c (modff): Likewise.
2514 * mingwex/math/modfl.c (modfl): Likewise.
2516 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2518 * include/search.h: New file.
2519 * include/stdlib.h: Add comment about qsort, bsearch in
2521 * test_headers.c: Include search.h.
2522 * moldname.def.in (lfind, lsearch): Add.
2524 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2526 * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
2527 _execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
2528 execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
2530 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2532 * include/_mingw.h (small, hyper): Change to __small and __hyper to
2533 avoid user space name conflicts.
2535 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2537 * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
2538 Note: Also added to w32api/include/basetyps.h.
2539 * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
2540 Rename to Small (case difference).
2542 2003-06-18 Earnie Boyd <earnie@users.sf.net>
2544 * include/dirent.h (dirent): Make d_name and array instead of a pointer.
2545 * mingwex/dirent.c: Modifications througout to fill d_name array.
2546 * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
2547 libmsvcr71, including debug versions.
2548 (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
2550 2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
2552 * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
2553 __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
2555 Thanks to: Aaron W LaFramboise <AWLaFramboise@aol.com>
2557 2003-05-30 Sascha Sommer <saschasommer@freenet.de>
2559 * include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
2561 2003-05-15 Danny Smith <dannysmith@users.sourceforge.net>
2563 * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
2564 but still protect inline definition with __STRICT_ANSI__.
2566 2003-05-14 Danny Smith <dannysmith@users.sourceforge.net>
2568 * string_old.c: Remove, splitting into...
2569 * strcasecmp.c: New file.
2570 * strncasecmp.c: New file.
2571 * wscmpi.c : New file.
2572 * ctype_old.c: Remove, splitting into...
2573 * isascii.c: New file.
2574 * iscsym.c: New file.
2575 * iscsymf.c: New file.
2576 * toascii.c: New file.
2577 * Makefile.in (MOLD_OBJS): Adjust.
2578 (SRCDIST_FILES): Adjust.
2580 2003-05-13 Danny Smith <dannysmith@users.sourceforge.net>
2582 * include/math.h (fabs) : Remove inline definition.
2586 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2588 * include/_mingw.h: Change version to 3.0
2589 * Makefile.in: Ditto.
2591 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2593 * configure.in (W32API_INCLUDE): Need the -I switch in the value.
2594 * mingwex/configure.in (W32API_INCLUDE): Ditto.
2595 * profile/configure.in (W32API_INCLUDE): Ditto.
2597 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2599 * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
2600 of multiply defined symbols if the symbols is defined locally. E.G.:
2601 A local definition of malloc causes this problem.
2602 * configure: Regenerate.
2603 * profile/Makefile.in (W32API_INCLUDE): New variable.
2604 (ALL_CFLAGS): Use W32API_INCLUDE value.
2605 (ALL_CXXFLAGS): Ditto.
2606 (gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
2607 Thanks to Jeff Bonggren <jbon@users.sf.net>.
2608 * profile/configure.in (W32API_INCLUDE): Set default value.
2609 * profile/configure: Regenerate.
2610 * mingwex/Makefile.in (W32API_INCLUDE): New variable.
2611 (ALL_CFLAGS): Use W32API-INCLUDE value.
2612 (ALL_CXXFLAGS): Ditto.
2613 * mingwex/configure.in (W32API_INCLUDE): Set default value.
2614 * mingwex/configure: Regenerate.
2616 2003-05-05 Earnie Boyd <earnie@users.sf.net>
2618 * Makefile.in (W32API_INCLUDE): New variable.
2619 (ALL_CFLAGS): Use W32API_INCLUDE value.
2620 (ALL_CXXFLAGS): Ditto.
2621 * configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
2622 (W32API_INCLUDE): Set default value.
2623 * configure: Regenerate.
2625 2003-04-11 Earnie Boyd <earnie@users.sf.net>
2627 * configure.in (LIBM_A): Define for cygwin target.
2628 * configure (LIBM_A): Ditto.
2630 2003-04-07 Danny Smith <dannysmith@users.sourceforge.net>
2632 * include/time.h (strftime): Remove duplicate declaration.
2634 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2636 * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
2638 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2640 * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
2641 * mingwex/strtoimax.c (strtoimax): Likewise.
2642 * mingwex/wcstoimax.c (wcstoimax): Likewise.
2643 * mingwex/wtoll.c (wtoll): Remove unnecessary ';'
2644 * mingwex/fesentenv.c: Include float.h.
2645 * mingwex/math/powl.c: Eliminate type punning/strict aliasing
2647 * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
2649 * mingwex/math/tgammal.c: Likewise.
2651 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2653 * include/utime.h: New file, forwarding to sys/utime.h.
2655 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2657 * include/sys/param.h (MAXPATHLEN): Define.
2659 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2661 * include/tchar.h: Ansi-fy a comment.
2663 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2665 * profile/profile.h (mcount): Use __builtin_return_address
2666 rather than inline __asm statements.
2667 * profile/Makefile.in: Remove special rule for mcount.o
2668 Specify dependencies for mcount.o profil.o gmon.o.
2670 2003-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2672 * include/stdlib.h (qsort): Remove const from first parm.
2673 Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
2675 2003-03-03 Christopher Faylor <cgf@redhat.com>
2677 * mingwex/getopt.c: Refresh from NetBSD sources.
2679 2003-03-03 Danny Smith <dannysmith@users.sourceforge.net>
2681 * mingwex/getopt.c: New file, copied from cygwin srcs.
2682 * include/getopt.h: New file, copied from cygwin srcs.
2683 * include/unistd.h: Include getopt.h.
2684 * mingwex/Makefile.in (DISTFILES): Add getopt.c.
2685 (POSIX_OBJS): Add getopt.o.
2687 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
2689 * include/stdio.h (vscanf): Add prototype.
2695 * include/wchar.h (vwscanf): Add prototype.
2698 * mingwex/snprintf.c: Move to mingwex/stdio.
2699 * mingwex/vsnprintf.c: Ditto.
2700 * mingwex/snwprintf.c: Ditto.
2701 * mingwex/vsnwprintf.c: Ditto.
2702 * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
2703 (STDIO_DISTFILES): Add.
2704 (DISTFILES): Adjust.
2705 (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
2709 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com>
2711 * mingwex/stdio: New directory
2712 * mingwex/stdio/vfscanf.c: New file.
2713 * mingwex/stdio/vfwscanf.c: New file.
2714 * mingwex/stdio/vscanf.c: New file.
2715 * mingwex/stdio/vsscanf.c: New file.
2716 * mingwex/stdio/vswscanf.c: New file.
2717 * mingwex/stdio/vwscanf.c: New file.
2719 2003-02-25 Earnie Boyd <earnie@users.sf.net>
2721 * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
2722 (libmsvcrt40.a): Ditto.
2724 2003-02-21 Earnie Boyd <earnie@users.sf.net>
2726 Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
2728 * Makefile.in (libmsvcrtd.a): Add target library.
2729 (libmoldnamed.a): Ditto.
2730 (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
2732 ($(srcdir)): Remove explicit reference for depencies of object targets.
2733 * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
2734 msvcrt20.def, msvcrt40.def: Remove.
2735 * msvcrt.def.in: New file (Copy of previous msvcrt.def).
2737 2003-02-20 Corinna Vinschen <corinna@vinschen.de>
2739 * Makefile.in: Make sure libmingwex.a from current build tree is used.
2741 2003-02-14 Christopher Faylor <cgf@redhat.com>
2743 * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
2744 ensure -mno-cygwin where appropriate. Filter out -O2.
2746 2003-02-13 Danny Smith <dannysmith@users.sourceforge.net>
2748 * profile/Makefile.in (mcount.o): Use -O1 optimization
2751 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
2753 * include/math.h: Remove _CRTIMP from pow() prototype,
2754 unless __NO_ISOCEXT.
2756 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
2758 * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
2760 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
2762 * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
2763 __declspec(dllimport) supported.
2764 (__cdecl): Define if not already defined.
2765 (__stdcall): Likewise.
2766 * include/dirent.h: Qualify fuctions with __cdecl.
2767 * include/fenv.h: Likewise.
2768 * include/inttypes.h: Likewise.
2769 * include/assert.h: Qualify fuctions with __cdecl. Qualify
2770 CRT dll imports with _CRTIMP.
2771 * include/conio.h: Likewise.
2772 * include/ctype.h: Likewise.
2773 * include/direct.h: Likewise.
2774 * include/dos.h: Likewise.
2775 * include/errno.h: Likewise.
2776 * include/float.h: Likewise.
2777 * include/io.h: Likewise.
2778 * include/locale.h: Likewise.
2779 * include/malloc.h: Likewise.
2780 * include/math.h: Likewise.
2781 * include/mbctype.h: Likewise.
2782 * include/mbstring.h: Likewise.
2783 * include/process.h: Likewise.
2784 * include/setjmp.h: Likewise.
2785 * include/signal.h: Likewise.
2786 * include/stdio.h: Likewise.
2787 * include/stdlib.h: Likewise.
2788 * include/string.h: Likewise.
2789 * include/time.h: Likewise.
2790 * include/wchar.h: Likewise.
2791 * include/wctype.h: Likewise.
2792 * include/sys/stat.h: Likewise.
2793 * include/sys/timeb.h: Likewise.
2794 * include/sys/utime.h: Likewise.
2796 * include/ctype.h: Guard ctype inlines with __NO_INLINE__.
2797 * include/wctype.h: Guard wctype inlines with __NO_INLINE__.
2799 * include/stdio.h (__VALIST): Guard against prior definition.
2801 2003-02-08 Earnie Boyd <earnie@users.sf.net>
2803 * include/_mingw.h: Change version to 3.0
2804 * Makefile.in: Ditto.
2806 2003-02-08 Earnie Boyd <earnie@users.sf.net>
2808 * include/stdlib.h: Make words after #endif a comment.
2810 2003-02-07 Danny Smith <dannysmith@users.sourceforge.net>
2812 * include/locale.h: Include stddef.h for definition of NULL.
2814 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
2816 * include/math.h (tgamma): Correct typo in comment.
2818 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
2820 * mingwex/mingw-fseek.c (INLINE): Remove define.
2821 (__mingw_is_win9x): Remove static inline function.
2822 (_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
2824 2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
2826 * mingwex/math/llround.c: Correct function name and
2827 change return value to long long.
2829 2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
2831 * include/ctype.h (__isascii): Don't cast arg to unsigned.
2832 (iswascii): Likewise. Correct mask.
2833 * include/wctype.h (iswascii): Don't cast arg to unsigned.
2836 2003-01-03 Danny Smith <dannysmith@users.sourceforge.net>
2838 * include/stdlib.h (_osver, _winver, _winmajor,
2839 _winminor): Declare as direct imports from dll if
2840 __DECLSPEC_SUPPORTED.
2842 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
2844 * pseudo-reloc.c (do_pseudo_reloc): Make static.
2845 * pseudo-reloc-list.c: New file.
2846 * crt1.c (_pei386_runtime_relocator): Declare.
2847 (__mingw_CRTStartup): Call it.
2848 * dllcrt1.c (_pei386_runtime_relocator): Declare.
2849 (DllMainCRTStartup): Call it.
2850 * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to
2853 2003-01-01 Egor Duda <deo@logos-m.ru>
2855 * pseudo-reloc.c: New file.
2857 2002-12-20 Earnie Boyd <earnie@users.sf.net>
2859 * include/_mingw.h: Increment version to 2.4.
2862 2002-12-12 Earnie Boyd <earnie@users.sf.net>
2864 * include/malloc.h (_alloca): Add definition.
2867 2002-12-08 Danny Smith <dannysmith@users.sourceforge.net>
2869 * mingwex/math/s_erf.c: New file.
2870 * mingwex/math/sf_erf.c: New file.
2871 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
2872 (MATH_OBJS): Add new objects.
2873 * include/math.h (erf[f]): Add prototypes.
2874 (erfc[f]): Add prototypes.
2876 2002-12-07 Danny Smith <dannysmith@users.sourceforge.net>
2878 * include/math.h: Add traditional/XOPEN math constants.
2880 2002-11-27 Danny Smith <dannysmith@users.sourceforge.net>
2882 * mingwex/math/lgamma.c: New file.
2883 * mingwex/math/lgammaf.c: New file.
2884 * mingwex/math/lgammal.c: New file.
2885 * mingwex/math/tgamma.c: New file.
2886 * mingwex/math/tgammaf.c: New file.
2887 * mingwex/math/tgammal.c: New file.
2888 * mingwex/math/cephes_mconf (polevlf): Add float version.
2890 Define _CEPHES_USE_ERRNO.
2891 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
2892 (MATH_OBJS): Add new objects.
2893 * include/math.h (lgamma[fl]): Add prototypes.
2894 (tgamma[fl]): Add prototypes.
2896 2002-11-26 Danny Smith <dannysmith@users.sourceforge.net>
2898 * mingwex/strtold.c: New file.
2899 * mingwex/wcstold.c: New file.
2900 * mingwex/ldtoa.c: New file.
2901 * mingwex/math/cephes_emath.h: New file.
2902 * mingwex/math/cephes_emath.c: New file.
2903 * mingwex/Makefile.in (DISTFILES): Add new files.
2904 (MATH_DISTFILES): Ditto.
2905 (STDLIB_OBJS): New. Define as strtold.c wcstold.c.
2906 (MATH_OBJS): Add cephes_emath.o.
2907 (LIB_OBJS): Add $(STDLIB_OBJS).
2908 * include/stdlib.h (strtold, wcstold): Add prototypes.
2909 * include/wchar.h (wcstold): Add prototype.
2911 2002-11-09 Danny Smith <dannysmith@users.sourceforge.net>
2913 * include/math.h (sqrt): Remove inline definition.
2914 (sqrtf): Replace inline definition with prototype.
2916 * mingwex/math/sqrtf.c (sqrtf): Set domain error if
2917 argument less than zero.
2918 * mingwex/math/sqrtf.c (sqrtl): Likewise.
2920 2002-10-30 Guido Serassio <serassio@libero.it>
2922 * include/stdio.h (_getmaxstdio): Add prototype.
2923 (_setmaxstdio): Likewise.
2925 2002-10-19 Kang Li <rubylith@users.sourceforge.net>
2927 * include/fcntl.h (O_SEQUENTIAL): Correct typo.
2929 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
2931 * crt1.c: Define new macro __IN_MINGW_RUNTIME before including
2933 Define WIN32_MEAN_AND_LEAN before including windows.h
2934 * include/stdlib.h (_fmode): Protect declaration as dllimported
2935 variable with __IN_MINGW_RUNTIME.
2937 2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu>
2939 * crt1.c: Include stdlib.h.
2941 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
2943 * Makefile.in (CRT0S): Add txtmode.o binmode.o.
2944 (MINGW_OBJS): Add txtmode.o.
2945 (SRCDIST_FILES): Add txtmode.c binmode.c.
2946 crt1.c: Don't include fcntrl.h, stdlib.h.
2947 (_fmode): Declare, without dllimport attribute.
2948 (__p__fmode): Declare access function for dll's _fmode.
2949 (_mingw32_init_fmode): Sync dll _fmode with staticly linked
2951 * txtmode.c: New file.
2952 * binmode.c: New file.
2953 * samples/fmode/test2.c: New file.
2954 * samples/fmode/jamfile: Add test2.exe target.
2956 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
2958 * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
2959 macros work with C89.
2960 (INTMAX_C, UINTMAX_C): Likewise.
2962 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
2964 * include/string.h (strcasecmp): Make extern __inline__.
2965 (strncasecmp): Likewise.
2966 (wcscmpi): Likewise.
2968 2002-10-08 Heiko Gerdau <hg@technosis.de>
2970 * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
2971 _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
2974 2002-10-07 Danny Smith <dannysmith@users.sourceforge.net>
2976 * mingwex/math/powil.c: Rename powil to __powil.
2977 * mingwex/math/powl.c: Adjust declaration and call
2978 to __powil. Remove comment on powil.
2979 * mingwex/math/powi.c: New file.
2980 * mingwex/math/powif.c: New file.
2981 * mingwex/math/pow.c: New file.
2982 * mingwex/math/cephes_mconf.h. Add double and float
2983 versions of constants.
2984 (polevl): Add double precision function.
2986 * mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
2988 (MATH_OBJS): Add pow.o, powi.o, powif.o.
2990 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2992 * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
2993 (_imp____mbcur_max_dll): Likewise.
2995 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2997 * include/fcntl.h (_fmode): Remove declarations and
2998 compatibility defines.
2999 (_setmode, setmode): Remove prototypes.
3000 * include/stdlib (_fmode): Add declarations and
3001 compatibility defines. Change type to int.
3002 * include/io.h (_setmode, setmode): Add prototypes.
3003 * samples/fmode/all.c: Adjust includes.
3004 * samples/fmode/test.c: Likewise.
3005 * crt1.c (_CRT_fmode): Declare as int.
3006 * CRTfmode.c (_CRT_fmode): Likewise.
3008 * include/stdlib: Remove comment about MB_CUR_MAX.
3010 2002-10-02 Danny Smith <dannysmith@users.sourceforge.net>
3012 * include/stdlib.h (_imp____mbcur_max): Add missing ';'.
3013 (_imp____mbcur_max_dll): Likewise.
3015 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3017 * mingwex/math/files.txt: Remove inadvertantly added file.
3019 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3021 * include/string.h (_strerror): Move into #ifndef
3022 __STRICT_ANSI__ block.
3024 2002-09-17 Danny Smith <dannysmith@users.sourceforge.net>
3026 * include/time.h (__need_NULL): Define before including
3027 stddef.h. Thanks to: Rüdiger Dehmel <de@lmnet.de>.
3029 2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
3031 * include/stdio.h: Correct comment about directory separator.
3033 2002-09-12 Danny Smith <dannysmith@users.sourceforge.net>
3035 * include/sys/time.h (timeval): Add struct definition and
3036 associated macros (copied from w32api/include/winsock.h).
3038 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3040 * include/_mingw.h: Increment version to 2.3.
3043 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3045 * mingwex/fegetenv.c: Change to \n line endings.
3046 * mingwex/vsnprintf.c: Ditto.
3047 * mingwex/vsnwprintf.c: Ditto.
3049 2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
3051 * mingwex/math/hypotl.c: Replace with version based on cephes
3054 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3056 * include/sys/param.h: Add ENDIAN defines.
3057 * test_headers.c: Include sys/param.h.
3059 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3061 * test_headers.c: Don't include varargs.h.
3062 * Makefile.in (test_headers): Don't use -std=xx
3065 2002-08-21 Earnie Boyd <earnie@users.sf.net>
3067 * include/sys/param.h: New File.
3069 2002-08-21 Danny Smith <dannysmith@users.sourceforge.net>
3071 * include/math.h (asm): Change to __asm__ throughout.
3072 Expose ISO C99 functions if __GLIPCPP__.
3073 (hypotf): Use hypot, not _hypot in stub.
3075 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3077 * include/tchar.h: Ansi-fy another comment.
3079 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3081 * include/tchar.h: Ansi-fy comment.
3083 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3085 * test_headers.c : New file.
3086 * Makefile.in (test_headers): New target, using it,
3087 (SRCDIST_FILES): Distribute it.
3089 2002-08-20 Earnie Boyd <earnie@users.sf.net>
3091 * include/_mingw.h: Increment version to 2.2.
3094 2002-08-14 Earnie Boyd <earnie@users.sf.net>
3096 * include/unistd.h: Add include of process.h.
3098 2002-08-03 Danny Smith <dannysmith@users.sourceforge.net>
3100 * include/stdio.h (_fcloseall): Add prototype.
3102 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3104 * include/tchar.h (_tfdopen): Correct typo.
3106 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3108 * moldname.def.in (chgsign,scalb,finite,fpclass,logb,
3109 nextafter): Add non-underscored stubs.
3110 * moldname-msvcrt.def: Regenerate.
3111 * moldname-crtdll.def: Regenerate.
3112 * mingwex/math: New directory.
3113 * mingwex/rint.c: Move to mingwex/math.
3114 * mingwex/rintf.c: Ditto.
3115 * mingwex/rintl.c: Ditto.
3116 * mingwex/round.c: Ditto.
3117 * mingwex/roundf.c: Ditto.
3118 * mingwex/roundl.c: Ditto.
3119 * mingwex/rint.c: Ditto.
3120 * mingwex/rintf.c: Ditto.
3121 * mingwex/rintl.c: Ditto.
3122 * mingwex/trunc.c: Ditto.
3123 * mingwex/truncf.c: Ditto.
3124 * mingwex/truncl.c: Ditto.
3125 * mingwex/signbit.c: Ditto.
3126 * mingwex/signbitf.c: Ditto.
3127 * mingwex/signbitl.c: Ditto.
3128 * mingwex/copysignl.S: Ditto.
3129 * mingwex/fdim.c: Ditto.
3130 * mingwex/fdimf.c: Ditto.
3131 * mingwex/fdiml.c: Ditto.
3132 * mingwex/fmin.c: Ditto.
3133 * mingwex/fminf.c: Ditto.
3134 * mingwex/fminl.c: Ditto.
3135 * mingwex/fmax.c: Ditto.
3136 * mingwex/fmaxf.c: Ditto.
3137 * mingwex/fmaxl.c: Ditto.
3138 * mingwex/fma.c: Ditto.
3139 * mingwex/fmaf.c: Ditto.
3140 * mingwex/fmal.c: Ditto.
3141 * mingwex/fpclassify.c: Ditto.
3142 * mingwex/fpclassifyl.c: Ditto.
3143 * mingwex/fpclassifyl.c: Ditto.
3144 * mingwex/isnan.c: Ditto.
3145 * mingwex/isnanf.c: Ditto.
3146 * mingwex/isnanl.c: Ditto.
3147 * mingwex/fucom.c: Ditto.
3148 * mingwex/fp_consts.c: Ditto. Split out float and long double
3150 * mingwex/math_stubs.c: Remove.
3151 * mingwex/log2.c: Remove. Replaced by math/log2.S
3152 * mingwex/log2f.c: Remove. Replaced by math/log2f.S
3153 * mingwex/log2l.c: Remove. Replaced by math/log2l.S
3154 * mingwex/math/acosf.c : New file.
3155 * mingwex/math/acosl.c: New file.
3156 * mingwex/math/asinf.c: New file.
3157 * mingwex/math/asinl.c: New file.
3158 * mingwex/math/atan2f.c: New file.
3159 * mingwex/math/atan2l.c: New file.
3160 * mingwex/math/atanf.c: New file.
3161 * mingwex/math/atanl.c: New file.
3162 * mingwex/math/cbrt.c: New file.
3163 * mingwex/math/cbrtf.c: New file.
3164 * mingwex/math/cbrtl.c: New file.
3165 * mingwex/math/ceilf.S: New file.
3166 * mingwex/math/ceill.S: New file.
3167 * mingwex/math/cephes_ld.h: New file.
3168 * mingwex/math/copysign.S: New file.
3169 * mingwex/math/copysignf.S: New file.
3170 * mingwex/math/cosf.S: New file.
3171 * mingwex/math/coshf.c: New file.
3172 * mingwex/math/coshl.c: New file.
3173 * mingwex/math/cosl.S: New file.
3174 * mingwex/math/exp2.S: New file.
3175 * mingwex/math/exp2f.S: New file.
3176 * mingwex/math/exp2l.S: New file.
3177 * mingwex/math/expf.c: New file.
3178 * mingwex/math/expl.c: New file.
3179 * mingwex/math/fabs.c: New file.
3180 * mingwex/math/fabsf.c: New file.
3181 * mingwex/math/fabsl.c: New file.
3182 * mingwex/math/floorf.S: New file.
3183 * mingwex/math/floorl.S: New file.
3184 * mingwex/math/fmodf.c: New file.
3185 * mingwex/math/fmodl.c: New file.
3186 * mingwex/math/fp_consts.h: Ditto.
3187 * mingwex/math/fp_constsf.c: Ditto.
3188 * mingwex/math/fp_constsl.c: Ditto.
3189 * mingwex/math/frexpf.c: New file.
3190 * mingwex/math/frexpl.S: New file.
3191 * mingwex/math/hypotf.c: New file.
3192 * mingwex/math/hypotl.c: New file.
3193 * mingwex/math/ilogb.S: New file.
3194 * mingwex/math/ilogbf.S: New file.
3195 * mingwex/math/ilogbl.S: New file.
3196 * mingwex/math/ldexpf.c: New file.
3197 * mingwex/math/ldexpl.c: New file.
3198 * mingwex/math/llrint.c: New file.
3199 * mingwex/math/llrintf.c: New file.
3200 * mingwex/math/llrintl.c: New file.
3201 * mingwex/math/llround.c: New file.
3202 * mingwex/math/llroundf.c: New file.
3203 * mingwex/math/llroundl.c: New file.
3204 * mingwex/math/log10f.S: New file.
3205 * mingwex/math/log10l.S: New file.
3206 * mingwex/math/log1p.S: New file.
3207 * mingwex/math/log1pf.S: New file.
3208 * mingwex/math/log1pl.S: New file.
3209 * mingwex/math/log2.S: New file.
3210 * mingwex/math/log2f.S: New file.
3211 * mingwex/math/log2l.S: New file.
3212 * mingwex/math/logb.c: New file.
3213 * mingwex/math/logbf.c: New file.
3214 * mingwex/math/logbl.c: New file.
3215 * mingwex/math/logf.S: New file.
3216 * mingwex/math/logl.S: New file.
3217 * mingwex/math/lrint.c: New file.
3218 * mingwex/math/lrintf.c: New file.
3219 * mingwex/math/lrintl.c: New file.
3220 * mingwex/math/lround.c: New file.
3221 * mingwex/math/lroundf.c: New file.
3222 * mingwex/math/lroundl.c: New file.
3223 * mingwex/math/modff.c: New file.
3224 * mingwex/math/modfl.c: New file.
3225 * mingwex/math/nearbyint.S: New file.
3226 * mingwex/math/nearbyintf.S: New file.
3227 * mingwex/math/nearbyintl.S: New file.
3228 * mingwex/math/nextafterf.c: New file.
3229 * mingwex/math/powf.c: New file.
3230 * mingwex/math/powl.c: New file.
3231 * mingwex/math/powil.c: New file.
3232 * mingwex/math/remainder.S: New file.
3233 * mingwex/math/remainderf.S: New file.
3234 * mingwex/math/remainderl.S: New file.
3235 * mingwex/math/remquo.S: New file.
3236 * mingwex/math/remquof.S: New file.
3237 * mingwex/math/remquol.S: New file.
3238 * mingwex/math/scalbn.S: New file.
3239 * mingwex/math/scalbnf.S: New file.
3240 * mingwex/math/scalbnl.S: New file.
3241 * mingwex/math/sinf.S: New file.
3242 * mingwex/math/sinhf.c: New file.
3243 * mingwex/math/sinhl.c: New file.
3244 * mingwex/math/sinl.S: New file.
3245 * mingwex/math/sqrt.c: New file.
3246 * mingwex/math/sqrtf.c: New file.
3247 * mingwex/math/sqrtl.c: New file.
3248 * mingwex/math/tanf.S: New file.
3249 * mingwex/math/tanhf.c: New file.
3250 * mingwex/math/tanhl.c: New file.
3251 * mingwex/math/tanl.S: New file.
3252 * mingwex/Makefile.in: Adjust VPATH for source files in
3255 Add MATH_DISTFILES and use it to build source distro.
3256 * include/ math.h: Add protypes for new functions and
3257 reorganise to reflect ANSI,C99 status.
3259 2002-06-19 Danny Smith <dannysmith@users.sourceforge.net>
3261 * include/tchar.h (_getts): Define as _getws for _UNICODE.
3262 (_putts): Define as _putws for _UNICODE.
3263 Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report.
3265 2002-06-18 Danny Smith <dannysmith@users.sourceforge.net>
3267 * include/float.h: #include_next<float.h> before header guard.
3269 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
3271 * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
3273 * include/excpt.h (): Include windef.h not windows.h.
3274 * include/fcntl.h (_O_SHORT_LIVED): Add define.
3275 (_chmod): Add prototype.
3276 (_creat): Correct prototype.
3277 (SH_DENY*): Rename defines to _SH_DENY*.
3278 (SH_DENY*): Add Non-ANSI names for _SH_DENY*.
3279 include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
3280 _IOAPPEND): Add defines.
3281 (_wfindfirst): Correct prototype.
3282 (_wfdopen): Add prototype.
3283 * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
3285 * include/string.h (_mbschr, _mbstok, _mbsncat): Remove
3287 (_wcsdup): Correct prototype.
3288 * include/mbstring.h: Remove comments about _mbschr, _mbstok,
3289 _mbsncat being in string.h.
3290 * include/wchar.h (_wfindfirst): Correct prototype.
3291 * include/tchar.h (_tfdopen): Add _UNICODE mappings.
3293 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3295 * include/_mingw.h: Increment to version 2.1.
3296 * Makefile.in: Ditto.
3298 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3300 * Makefile.in (conf_prefix): New variable.
3301 (dist_prefix): Ditto. Conditionally set to $(conf_prefix).
3302 (bindist): Use dist_prefix.
3304 2002-06-13 Danny Smith <dannysmith@users.sourceforge.net>
3306 * include/_mingw.h: Increment version to 2.0.
3307 * Makefile.in: Ditto.
3309 Merge in mingwex branch.
3311 2002-06-11 Danny Smith <dannysmith@users.sourceforge.net>
3312 * include/math.h (fdim, fdimf, fdiml): Add prototypes.
3313 * mingwex/fdim.c: New file.
3314 * mingwex/fdimf.c: New file.
3315 * mingwex/fdiml.c: New file.
3316 * mingwex/Makefile.in (DISTFILES): Add fdim.c, fdimf.c,
3318 (MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
3320 2002-05-23 Danny Smith <dannysmith@users.sourceforge.net>
3321 * mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c.
3323 2002-05-22 Danny Smith <dannysmith@users.sourceforge.net>
3324 * mingwex/isnanl.c: New file.
3326 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3327 * include/stdint.h: Include stddef.h to get
3329 (WINT_MAX): Define to ((wint_t)-1).
3331 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3332 * include/wctype.h: Replace 'inline' with '__inline__'.
3333 * include/inttypes.h: Likewise.
3335 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3336 * include/_mingw.h (__MINGW_IMPORT): Put extern at start
3337 to avoid warnings. Thanks to: Oscar Fuentes <ofv@wanadoo.es>.
3339 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3340 * mingwex/snprintf.c: Split out vsnprintf to....
3341 * mingwex/vsnprintf.c: New file.
3342 * mingwex/snwprintf.c: Split out vsnwprintf to...
3343 * mingwex/vsnwprintf.c: New file.
3344 * mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
3346 2002-05-15 Pascal Obry <obry@gnat.com>
3347 * include/dirent.h (DIR): Change dd_stat type to int.
3350 2002-05-07 Danny Smith <dannysmith@users.sourceforge.net>
3351 * include/stdio.h (vsnprintf): Change inline to __inline__;
3352 (vsnwprintf): Likewise.
3353 * include/wchar.h (vsnwprintf): Likewise.
3356 (mbsinit): Likewise.
3358 2002-04-29 Danny Smith <dannysmith@users.sourceforge.net>
3359 Change FP default precison from 53 to 64-bit mantissa.
3360 * Makefile.in (CRT0S): Add CRT_fp8.o.
3361 (MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o.
3362 * include/float.h: Replace standard float.h defines with
3363 #include_next<float.h> to use GCC's defines. Adjust comments
3366 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3367 * include/dos.h: Change prefix "__imp_" to "_imp__" for
3368 __GNUC__ without __DECLSPEC_SUPPORTED.
3369 * include/fnctl.h: Likewise.
3370 * include/math.h: Likewise.
3371 * include/stdio.h: Likewise.
3372 * include/stdlib.h: Likewise.
3373 * include/time.h: Likewise.
3374 * include/wctype.h: Likewise.
3375 * include/ctype.h: Likewise.
3377 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3378 Add atexit support for dlls.
3379 * crt1.c (atexit): Force thunk to _imp__atexit.
3380 (_onexit): Force thunk to _imp___onexit.
3381 * dllcrt1.c (DllMainCRTStartup): Initialise private atexit
3382 table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
3383 (__dll_exit): New function to run atexit-registered functions
3384 and flush output buffers on DLL_PROCESS_DETACH or failed
3386 (atexit): Force use of private atexit table via _dllonexit,
3387 (_onexit): New function. Force use of private atexit table via
3389 * msvcrt.def (atexit, _onexit): Add DATA keyword so that only
3390 _imp_<_symbol> is visible in import lib.
3391 * msvcrt20.def: Likewise.
3392 * msvcrt40.def: Likewise.
3393 * crtdll.def: Likewise.
3395 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3396 * include/fenv.h: Change header guard macro to _FENV_H_.
3397 (fenv_t, fexcept_t): Move into block protected by
3399 Cleanup some whitespace.
3400 * include/inttypes.h: Change header guard macro to
3403 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3404 * include/math.h (copysignl): Declare.
3405 * mingwex/Makefile.in (DISTFILES): Add copysignl.S.
3406 (MATHOBJS):Add copysignl.o.
3408 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3409 * include/math.h (__signbitl, __isnanl): Declare.
3411 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3412 * include/math.h (nanl, __fpcassifyl, fminl, fmaxl, rintl,
3413 roundl, truncl, fmal, log2l): Declare.
3414 Protect C99 declarations with _STDC_VERSION__ >= 199901L)
3415 || !defined __STRICT_ANSI__.
3416 * mingwex/fmax.c (fmax): Call __isnan, not _isnan.
3417 * mingwex/fmin.c (fmin): Likewise.
3418 * mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan.
3419 * mingwex/fminf.c (fminf): Likewise.
3420 * mingwex/fmaxl.c: New file.
3421 * mingwex/fminl.c: New file.
3422 * mingwex/fpclassify.c (__fpclassifyf): Split out to ...
3423 * mingwex/fpclassifyf.c: New file.
3424 * mingwex/fpclassifyl.c: New file.
3425 * mingwex/rint.c (rintf): Split out to...
3426 * mingwex/rintf.c: New file.
3427 * mingwex/rintl.c: New file.
3428 * mingwex/round.c (roundf): Split out to...
3429 * mingwex/roundf.c: New file.
3430 * mingwex/roundl.c: New file.
3431 * mingwex/trunc.c (truncf): Split out to...
3432 * mingwex/truncf.c: New file.
3433 * mingwex/truncl.c: New file.
3434 * mingwex/signbit.c (signbitf): Split out to...
3435 * mingwex/signbitf.c: New file.
3436 * mingwex/signbitl.c: New file.
3437 * mingwex/fmal.c: New file.
3438 * mingwex/copysignl.S: New file.
3439 * mingwex/log2l.c: New file.
3440 * mingwex/fp_consts.c: Add nanl definition.
3441 Comment out unused constants.
3442 * mingwex/Makefile.in (DISTFILES): Add fmaxl.c, fminl.c,
3443 fpclassifyf.c, fpclassifyl.c, rintf.c, rintl.c, roundf.c,
3444 roundl.c, truncf.c truncl.c, signbitf.c signbitl.c,
3446 (MATHOBJS): Add fmaxl.o, fminl.o, fpclassifyf.o,
3447 fpclassifyl.o, rintf.o, rintl.o, roundf.o, roundl.o,
3448 truncf.o truncl.o, signbitf.o signbitl.o, fmal.o,
3450 * mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo.
3452 2002-04-23 Danny Smith <dannysmith@users.sourceforge.net>
3453 Make wide char versions of opendir and friends.
3454 * include/dirent.h (_wdirent, _WDIR): Define wide versions of
3456 (_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
3457 _wseekdir): Add prototypes for wide versions of corresponding
3459 * include/tchar.h; Add _UNICODE mappings for dirent.h
3460 structures and functions.
3461 * mingwex/dirent.c: Make _UNICODE neutral.
3462 * mingwex/wdirent.c: New file to define _UNICODE before
3464 * mingwex/Makefile.in (DISTFILES): Add wdirent.c.
3465 (POSIX_OBJS): Add wdirent.o.
3466 (wdirent.o): Specify dependency on dirent.c as well as
3468 * samples/dirent/wtest.c: New file, wide version of test.c.
3470 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3471 * Makefile.in (INCLUDES): Add "-iwithprefixbefore include" to
3472 ensure gcc include dir is searched despite -nostdinc.
3473 * profile/Makefile.in (INCLUDES): Likewise.
3474 * mingwex/Makefile.in (INCLUDES): Likewise.
3475 * include/stdarg.h: Replace with stub that just guards the
3476 real gcc system header with #ifndef RC_INVOKED
3477 * include/varargs.h: Likewise.
3478 * include/stddef.h: Likewise.
3479 * include/stdio.h: Include stdarg.h after defining
3481 (__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
3482 Replace va_list with __VALIST throughout.
3484 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3485 * crt1.c: Revert changes of 2002-04-16. Use _fpreset again.
3486 * msvcrt.def (_fpreset): Mark as DATA so that only
3487 _imp___fpreset is exported.
3488 * msvcrt20.def (_fpreset): Likewise.
3489 * msvcrt40.def (_fpreset): Likewise.
3490 * crtdll.def (_fpreset): Likewise.
3491 * CRT_fp10.c (_fpreset): Overide library _fpreset with one
3493 (fpreset): Add alias.
3494 (__CRT_PC): Delete definition. _fpreset does it now.
3495 * CRT_fp8.c (_fpreset): Force use of library _imp___fpreset.
3496 (fpreset): Add alias.
3497 (__CRT_PC): Delete definition.
3498 * moldname.def.in: Comment out fpreset.
3499 * moldname-msvcrt.def: Regenerate.
3500 * moldname-crtdll.def: Regenerate.
3501 * include/fenv.h (FE_DFL_ENV): Define as (fenv_t*)0.
3502 * mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment
3503 with the _fpreset determined by startup CRT_fp object.
3505 2002-04-16 Danny Smith <dannysmith@users.sourceforge.net>
3506 * CRT_fp8.c: New file.
3507 * CRT_fp10.c: New file.
3508 * crt1.c (__CRT_PC) Declare.
3509 (__CRT_fesetenv): New static function, using _CRT_PC.
3510 (__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset.
3511 (_gnu_exception_handler): Likewise.
3512 * Makefile.in (CRT0S): Add CRT_fp10.o.
3513 (MINGW_OBJS): Add CRT_fp8.o.
3514 (SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c.
3515 Add CRT_fp8.o, CRT_fp10.o dependancies.
3516 * include/float.h (_fpreset): Expand comment.
3517 * include/fenv.h (FE_PC64_ENV): New define for Intel x87
3518 (extended precison) environmemt.
3519 (FE_PC53_ENV): New define for MSVCRT default environmemt.
3520 (FE_DFL_ENV): Define as FE_PC53_ENV.
3521 * mingwex/fesetenv.c: Use FE_PC53_ENV, FE_PC64_ENV to determine
3522 precision control for default environment.
3524 * include/math.h: Fix long comment line.
3525 * profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
3527 * profile/configure: Regenerate.
3529 2002-04-12 Danny Smith <dannysmith@users.sourceforge.net>
3530 * mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c.
3532 2002-04-10 Danny Smith <dannysmith@users.sourceforge.net>
3533 * mingwex/mingw-fseek.c: New file, based on Mumit Khan
3534 mingw-local patch to binutils.
3535 Sun Nov 7 04:27:07 1999 Mumit Khan <khan@xraylith.wisc.edu>
3536 (__mingw_fseek): New function to work around Win9x f/lseek bug.
3537 (__mingw_fwrite): Likewise.
3538 (__mingw_is_win9x): New helper function.
3539 * include/stdio.h (__USE_MINGW_FSEEK): New define,guarding...
3540 (__mingw_fseek): New prototype and define to replace fseek.
3541 (__mingw_fwrite): New prototype and define to replace fwrite.
3542 * mingwex/Makefile.in: Add mingw-fseek.o to libmingwex.a.
3543 * moldname-crtdll.def: Remove CR from end of line.
3544 * moldname-msvcrt.def: Ditto.
3546 2002-04-09 Danny Smith <dannysmith@users.sourceforge.net>
3547 * profile/configure.in (CRT0S): Configure name of gcrt?.o
3548 based on target, building gcrt0.o for cygwin -mno-cygwin.
3549 * profile/configure: Regenerate.
3550 * profile/Makefile.in (CRT0S): Use name from configure.
3551 (gcrt0.o): New rule.
3552 (ALL_CRT0S): New define, used to cleanup all gcrt?.o's.
3554 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3555 * include/math.h (_controlfp, _control87, _clearfp, _statusfp, _fpreset,
3556 _fpecode): Remove prototypes copied from float.h.
3557 (nan, nanf): Move into block protected against RC_INVOKED
3559 * include/stdlib.h (_Exit): Change from static inline to
3561 * mingwex/_Exit.c : New file.
3562 * mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
3564 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3565 Add libgmon.a and libmingwex.a for cygwin -mno-cygwin.
3566 * configure.in (SUBDIRS): Add profile and mingwex to cygwin target.
3567 (configdirs): Likewise.
3568 (LIBGMON_A): Define for cygwin target as well.
3569 * configure: Regenerate.
3570 * profile/configure.in (THREAD_DLL): Remove define.
3571 (LIBM_A): Remove define.
3572 (LIBGMON_A): Define for cygwin target as well.
3573 * profile/configure: Regenerate.
3574 * profile/makefile.in (install): Install to inst_libdir and
3576 * mingwex/makefile.in (CFLAGS): Move -fomit-frame-pointer to...
3577 (OPTFLAGS): New define.
3578 (ALL_CFLAGS): Add $(OPTFLAGS).
3579 (ALL_CXXFLAGS): Same.
3580 (.c.o:): Remove ALL_CXXFLAGS.
3582 2002-03-29 Danny Smith <dannysmith@users.sourceforge.net>
3583 * include/stdint.h: Add missing newline at eof.
3584 * include/stdio.h (snprintf): Add prototype.
3585 (vsnprintf): Add prototype and inline definition.
3586 (snwprintf): Add prototype.
3587 (vsnwprintf): Add prototype and inline definition.
3588 * include/wchar.h (snwprintf): Add prototype.
3589 (vsnwprintf): Add prototype and inline definition.
3590 * mingwex/Makefile.in: Add snprintf.o, snwprintf.o
3592 * mingwex/snprintf.c: New file.
3593 * mingwex/snwprintf.c: New file.
3595 2002-03-22 Danny Smith <dannysmith@users.sourceforge.net>
3596 * configure.in: Add mingwex as SUBDIRS and configdirs.
3597 * configure: Regenerate.
3598 * Makefile.in (MINGW_OBJS): Remove dirent.o.
3599 (SRC_DIST_FILES): Remove dirent.c.
3601 * include/stdlib.h (_Exit): Add static inline
3603 (struct lldiv_t): Define.
3604 (lldiv): Add prototype.
3605 (llabs): Add extern inline function.
3606 (strtoll,strtoull): Add prototypes.
3607 (wcstol, wcstoul, wcstod): Group together.
3608 (strtof, wcstof): Add extern inline definitions.
3609 (atoll,lltoa,ulltoa, wtoll, lltow ulltow): Add prototypes
3610 and extern inline definitions.
3611 * include/wchar.h (fwide, wcstoll,wcstoull, wmemchr
3612 wmemcmp, wmemcpy, wmemmove, wmemset. mbsinit): Add
3614 (wcstol, wcstoul,wcstod): Copy prototypes from stdlib.h.
3615 (wcstof): Add extern inline definition.
3616 * include/math.h (nan, nanf): Add prototypes.
3617 (NAN, INFINITE): Define constants.
3618 (fpclassify, isnan ,signbit): Add macros and supporting float
3619 and double functions.
3620 (isfinite, isinf, isnormal): Add macros.
3621 (isgreater, isless, isgreaterequal, islessequal,islessgreater):
3623 (rint, rintf, round, roundf, trunc. truncf, fmax, fmaxf,
3624 fmin, fminf, fma, fmaf, log2, log2f): Add prototypes.
3625 (copysign, logb, nextafter, scalb): Add prototypes and
3626 inline stubs for underscored versions in msvcrt.dll.
3627 * include/inttypes.h: New file.
3628 * include/fenv.h: New file
3630 Add new mingwex subdir and files.
3631 * mingwex: New directory.
3632 * mingwex/Makefile.in: New file.
3633 * mingwex/configure.in: New file.
3634 * mingwex/configure: Generate.
3635 * mingwex/dirent.c: Moved here from parent dir.
3636 * mingwex/atoll.c: New file.
3637 * mingwex/feclearexcept.c: New file.
3638 * mingwex/fegetenv.c: New file.
3639 * mingwex/fegetexceptflag.c: New file.
3640 * mingwex/fegetround.c: New file.
3641 * mingwex/feholdexcept.c: New file.
3642 * mingwex/feraiseexcept.c: New file.
3643 * mingwex/fesetenv.c: New file.
3644 * mingwex/fesetexceptflag.c: New file.
3645 * mingwex/fesetround.o: New file.
3646 * mingwex/fetestexcept.c: New file.
3647 * mingwex/feupdateenv.c: New file.
3648 * mingwex/fma.S: New file.
3649 * mingwex/fmaf.S: New file.
3650 * mingwex/fmax.c: New file.
3651 * mingwex/fmaxf.c: New file.
3652 * mingwex/fmin.c: New file.
3653 * mingwex/fminf.c: New file.
3654 * mingwex/fp_consts.c: New file.
3655 * mingwex/fpclassify.c: New file.
3656 * mingwex/fucom.c: New file.
3657 * mingwex/fwide.c: New file.
3658 * mingwex/imaxabs.c: New file.
3659 * mingwex/imaxdiv.c: New file.
3660 * mingwex/isnan.c: New file.
3661 * mingwex/isnanf.c: New file.
3662 * mingwex/lltoa.c: New file.
3663 * mingwex/lltow.c: New file.
3664 * mingwex/log2.c: New file.
3665 * mingwex/log2f.c: New file.
3666 * mingwex/math_stubs.c: New file.
3667 * mingwex/mbsinit.c: New file.
3668 * mingwex/rint.c: New file.
3669 * mingwex/round.c: New file.
3670 * mingwex/signbit.c: New file.
3671 * mingwex/sitest.c: New file.
3672 * mingwex/strtof.c: New file.
3673 * mingwex/strtoimax.c: New file.
3674 * mingwex/strtoumax.c: New file.
3675 * mingwex/testwmem.c: New file.
3676 * mingwex/trunc.c: New file.
3677 * mingwex/ulltoa.c: New file.
3678 * mingwex/ulltow.c: New file.
3679 * mingwex/wcstof.c: New file.
3680 * mingwex/wcstoimax.c: New file.
3681 * mingwex/wcstoumax.c: New file.
3682 * mingwex/wmemchr.c: New file.
3683 * mingwex/wmemcmp.c: New file.
3684 * mingwex/wmemcpy.c: New file.
3685 * mingwex/wmemmove.c: New file.
3686 * mingwex/wmemset.c: New file.
3687 * mingwex/wtoll.c: New file.
3689 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
3691 * include/mbstring.h: New file.
3692 * include/mbctype.h: New file.
3694 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
3696 * include/tchar.h (__TEXT): Make same as define in
3697 w32api/include/winnt.h.
3699 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
3701 * include/tchar.h (_tputenv): Add UNICODE mappings.
3702 (_tsearchenv): Likewise.
3703 (_tmakepath): Likewise.
3704 (_tsplitpath): Likewise.
3705 (_tfullpath): Likewise.
3707 2002-04-18 Pascal Obry <obry@gnat.com>
3709 * dirent.c (opendir): Convert given pathname to
3712 2002-04-09 Earnie Boyd <earnie@users.sf.net>
3714 * include/_mingw.h: Increment version.
3715 * Makefile.in: Ditto.
3717 2002-04-09 Earnie Boyd <earnie@users.sf.net>
3719 * moldname-crtdll.def: Remove CR from end of line.
3720 * moldname-msvcrt.def: Ditto.
3721 * Makefile.in: Use bzip2 compression for Cygwin target.
3723 2002-04-04 Danny Smith <dannysmith@sourceforge.users.net>
3725 * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
3726 TLOSS, PLOSS): Move oldname defines back, following
3727 the underscored names.
3729 2002-03-29 Danny Smith <dannysmith@sourceforge.users.net>
3731 * include/stdio.h (_snwprintf): Correct spelling.
3732 (_vsnwprintf): Likewise.
3733 * include/wchar.h (_snwprintf): Correct spelling.
3734 (_vsnwprintf): Likewise.
3736 2002-03-26 Danny Smith <dannysmith@users.sourceforge.net>
3738 * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__).
3739 (wpopen): Add if !(__CRTDLL__).
3740 * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
3742 (moldname-crtdll.def rule): Likewise.
3743 * moldname-msvcrt.def: Regenerate.
3744 * moldname-crtdll.def: Regenerate.
3745 * include/stdio.h (wpopen):Use prototype, not a define.
3746 (_swnprintf): Add prototype.
3747 (_vswnprintf): Likewise.
3749 * include/wchar.h (_swnprintf): Add prototype.
3750 (_vswnprintf): Likewise.
3753 2002-01-28 Danny Smith <dannysmith@users.sourceforge.net>
3755 * include/malloc.h (_heapinfo): Correct structure definition.
3756 (_USEDENTRY,_FREEENTRY): Add defines.
3757 Add comment on platform support for _heap* functions.
3758 (_get_sbh_threshold): Add prototype.
3759 (_set_sbh_threshold): Likewise.
3760 (_expand): Likewise.
3762 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
3764 * profile/profil.c: Update copyright info.
3765 * profile/profil.h: Likewise.
3766 * profile/gcrt0.c: Likewise.
3768 2002-01-25 Pascal Obry <obry@gnat.com>
3770 * profile/profil.h (PROFADDR): Cast idx to unsigned long long to
3772 * profile/gmon.c: Define bzero as memset if mingw32.
3773 (monstartup): Use it.
3775 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
3777 * include/tchar.h (_TCHAR): Add missing ;.
3779 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
3781 * include/tchar.h (_TCHAR): Add typedefs.
3783 2002-01-16 Danny Smith <dannysmith@users.sourceforge.net>
3785 * include/stdlib.h (_onexit_t): Add typedef.
3786 (_onexit): Add prototype.
3788 2002-01-12 Danny Smith <dannysmith@users.sourceforge.net>
3790 * msvcrt.def: Revert accidental change.
3791 * include/stdlib.h: Ditto.
3793 2001-12-07 Earnie Boyd <earnie@users.sf.net>
3795 * Makefile.in: Increment VERSION.
3796 * include/_mingw.h: Ditto.
3798 2001-12-05 Earnie Boyd <earnie@users.sf.net>
3800 * include/strings.h: New File.
3802 2001-12-02 Danny Smith <dannysmith@users.sourceforge.net>
3805 2001-06-21 Mumit Khan <khan@nanotech.wisc.edu>
3807 * include/math.h (_FPCLASS* ): Add defines from float.h.
3808 (IEEE recommended functions): Add declarations from float.h.
3809 * include/float.h (_FPCLASS* ): Protect against redefinition.
3811 2001-11-29 Wu Yongwei <adah@netstd.com>
3813 * include/_mingw.h,assert.h,conio.h,ctype.h,dir.h,direct.h
3814 dirent.h,dos.h,errno.h,excpt.h,fcntl.h,float.h,io.h,
3815 limits.h,locale.h,malloc.h,math.h,process.h,setjmp.h,
3816 share.h,signal.h,stdarg.h,stddef.h,stdint.h,stdio.h,
3817 stdlib.h,string.h,tchar.h,time.h,varargs.h,wchar.h,
3818 wctype.h,sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h:
3819 Correct spelling of "disclaimed" in comments.
3820 * include/excpt.h: Another spelling correction.
3822 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
3824 * include/errno.h: Fix "errno is not a prototype" warning.
3826 2001-11-07 Danny Smith <dannysmith@users.sourceforge.net>
3828 * include/ctype.h (tolower, toupper,_tolower,_toupper): Comment
3829 differences between ANSI and non-ANSI versions.
3830 (_ctype[],_pctype): Declare vars.
3831 (__ISCTYPE): New helper macro using _pctype.
3832 (is* ctype functions): Use __ISCTYPE to define inline versions.
3833 (_toupper, _tolower, __isascii, __toascii, __iscsym, __iscsymf):
3835 (isw* ctype functions): Inline definitions.
3836 * include/wctype.h (_ctype[],_pctype): Declare vars.
3837 (isw* ctype functions): Inline definitions.
3840 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
3842 * include/float.h (_clearfp, _statusfp, _fpreset, fpreset,
3843 __fpecode): Use __STDC__ prototypes.
3846 2001-11-06 Thomas Pfaff <tpfaff@gmx.net>
3848 * mthr_stub.c (__mingwthr_remove_key_dtor) New.
3849 * mthr_init.c (DllMain) Run dtors if a process terminates.
3850 * mthr.c (__mingwthr_add_key_dtor) Removed.
3851 (___mingwthr_add_key_dtor) New.
3852 (___mingwthr_remove_key_dtor) New.
3853 (__mingwthr_run_key_dtors) Complete rewrite.
3854 (__mingwthr_remove_key_dtor) New.
3856 2001-11-05 Egor Duda <deo@logos-m.ru>
3858 * Makefile.in: Delete unused executable after creating base-files.
3860 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
3862 * include/errno.h (_errno): Use __STDC__ prototype.
3863 Thanks to: Jim Barton.
3865 2001-11-04 "stefan" <stefan@lkcc.org>
3867 * include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names.
3869 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
3871 * include/io.h (_commit): Add declaration.
3872 Thanks to: "stefan" <stefan@lkcc.org>
3874 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
3876 * include/sys/stat.h: Make S_IS* macros safer.
3878 2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
3880 * include/stdlib.h (EXIT_FAILURE): Change value to 1.
3882 2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
3884 * include/stdlib.h (__p__environ, __p__wenviron): Use
3885 __STDC__ prototypes.
3887 2001-09-19 Earnie Boyd <earnie@SF.net>
3889 * Makefile.in: Remove the /usr from the install target.
3890 (VERSION): Increment.
3891 include/_mingw.h: Ditto.
3893 2001-09-17 Earnie Boyd <earnie@SF.net>
3895 * Makefile.in: Increment version.
3896 * include/_mingw.h: Ditto.
3898 2001-09-10 Earnie Boyd <earnie@SF.net>
3900 * dossh: Remove inadvertantly imported file.
3902 2001-09-10 Danny Smith <dannysmith@users.sourceforge.net>
3904 * dirent.c (opendir): Use GetFileAttributes rather than stat
3905 to determine if input arg is dir.
3907 2001-08-29 Danny Smith <dannysmith@users.sourceforge.net>
3909 * include/stdarg.h (va_list): Typedef as __builtin_va_list if
3911 * include/varargs.h (va_list): Ditto.
3912 * include/stdio.h (va_list): Ditto.
3914 2001-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3916 * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
3917 * include/stdio.h (_IORW): Change constant to 0x0080.
3918 (TMP_MAX): Add new define.
3920 (_wP_tmpdir): Ditto.
3921 (L_tmpnam): Change constant to 16.
3923 2001-06-28 Danny Smith <dannysmith@users.sourceforge.net>
3925 * include/malloc.h: Fix non-ANSI comment after #endif.
3927 2001-06-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3929 * profile/configure.in: Make msvcrt.dll version default.
3930 * profile/makefile.in: Build both gcrt1.o and gcrt2.o.
3931 * provile/configure: Regenerate.
3933 2001-06-11 Mattia Barbon <mbarbon@dsi.unive.it>
3935 * include/stdio.h (swscanf): Make first arugument const.
3936 * include/wchar.h (swscanf): Ditto.
3937 * include/tchar.h (_tfopen): New _UNICODE define.
3939 (_tsetlocale): Ditto.
3941 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
3943 * profile/Makefile.in (mkinstalldirs): Correct relative path.
3945 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
3947 * include/_mingw.h: Change version to 1.0.
3950 2000-02-21 Earnie Boyd <earnie@users.sourceforge.net>
3952 * include/tchar.h: (__TEXT): Remove undef.
3956 Fri Feb 2 10:34:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
3958 * include/tchar.h: (__TEXT): Add private macro.
3959 (_TEXT): Modify definition to use __TEXT.
3961 This change allows the passing of a MACRO as an argument and have that
3962 MACRO resolved first.
3963 Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
3965 Wed Jan 31 17:12:51 2001 Earnie Boyd <earnie@users.sourceforge.net>
3967 * Makefile.in: Increment version to 0.5
3968 * include/_mingw.h: Increment minor version
3970 Tue Jan 30 13:01:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
3972 * include/assert.h: (assert): Remove ; from end of definition
3973 Thanks to: AJ Reins <tbisp@qwest.net>
3975 Tue Jan 30 07:31:22 2001 Earnie Boyd <earnie@users.sourceforge.net>
3977 * include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
3978 Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
3980 Mon Jan 29 14:03:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
3982 * time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
3984 Sun Jan 28 13:01:08 2001 Earnie Boyd <earnie@users.sourceforge.net>
3986 * include/wchar.h: The 2001.01.18 Change was incorrect. The functions
3987 are actually C functions. These functions are resolved via the
3988 -lmsvcp60 library and comments were placed in the header.
3990 2001-01-28 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3992 * include/stdlib.h (__p__pgmptr): add prototype.
3993 (__p__wpgmptr): likewise.
3994 (_pgmptr_dll): move declaration from dos.h.
3995 (_wpgmptr_dll): likewise.
3996 (_pgmptr): conditional define (MSVCT/CRTDLL).
3997 (_wpgmptr): likewise.
3998 * include/dos.h (_base*_dll variables): declare only for CRTDLL.
3999 (_os*_dll variables): likewise.
4000 (_pgmptr_dll): remove declaration and associated defines to stdlib.h.
4001 (_wpgmptr_dll): likewise.
4003 2001-01-22 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4005 * include/stdint.h: New file.
4007 Thu Jan 18 10:33:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
4009 * include/wchar.h: Protect prototypes only declared in the C++ STL
4010 from being declared unless __cplusplus is defined.
4012 Tue Jan 16 11:37:31 2001 Earnie Boyd <earnie@users.sourceforge.net>
4014 * include/stdlib.h: Apply Danny Smith patch 102730
4015 2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4016 (_wgetenv) Correction to return type.
4018 Tue Jan 16 09:41:41 2001 Earnie Boyd <earnie@users.sourceforge.net>
4020 * include/locale.h: Apply Danny Smith patch 101834
4021 2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4022 (LC_MIN) Add definition.
4024 (_wsetlocale) Add prototype.
4026 2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
4028 * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
4029 Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
4030 Create a libcoldname.a for the oldname library for CRTDLL.
4031 Restrict libmoldname.a for the oldname library for MSVCRT.
4032 * configure.in: eliminate setting RUNTIME and CRT_ID variables.
4033 Restructure the $target_os case logic.
4034 Always name the MinGW thread dll helper mingwm.
4035 Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
4036 * configure: regenerate.
4038 2000-11-22 Earnie Boyd <earnie_boyd@yahoo.com>
4040 * Makefile.in: Fix bindist target to distribute the correct files.
4041 Remove the use of SNAPSHOT variable and test SNAPDATE instead.
4042 Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
4044 2000-11-21 Earnie Boyd <earnie_boyd@yahoo.com>
4046 * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
4047 Add variables and targets to control binary and source distributions.
4048 Add variables and targets to control snapshot distribution.
4049 * profile/gmon.h: Add missing #endif for #ifndef.
4050 * profile/ChangeLog: Merge entries here and remove.
4051 * profile/Makefile.in: Add variables and targets to control
4055 * config.guess: ditto.
4056 * config.sub: ditto.
4057 * mkinstalldirs: ditto.
4058 * install-sh: ditto.
4059 * configure: regenerate.
4060 * profile/configure: ditto.
4062 2000-11-20 Earnie Boyd <earnie_boyd@yahoo.com>
4064 * Merge in changes from
4065 2000-10-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4066 * include/direct.h: add guard around MSVCRT-only prototytpes
4067 * include/io.h: add __int64 struct definitions and function prototypes;
4068 add guard for MSVCRT-only prototypes
4069 * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
4070 * include/stdio.h: add wchar function prototypes (__MSVCRT__);
4071 put wchar functions together to make sync with wchar.h easier
4072 * include/stdlib.h: add wide char functions (__MSVCRT__)
4073 * include/string.h: add string collation functions ( __MSVCRT__)
4074 * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
4075 * include/tchar.h: add macros and macro function definitions
4076 * include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
4077 enclose more functions in __MSVCRT__ guard;
4078 some oldname wide char function prototypes #if (0)'d
4079 * profile/gmon.h: add guard around BSD-ish typedefs
4081 Mon Nov 20 18:58:12 2000 Christopher Faylor <cgf@cygnus.com>
4083 * Makefile.in: Use a different variable name for subdirectory since the
4084 previous one was used by the top level make.
4086 Sun Nov 19 20:50:51 2000 Christopher Faylor <cgf@cygnus.com>
4088 * Makefile.in: Install mingw stuff in a subdirectory if building under
4091 Sat Jun 17 21:48:23 2000 Christopher Faylor <cgf@cygnus.com>
4093 * Makefile.in (subdirs): Eliminate for loop.
4095 Sat Jun 17 18:27:59 2000 Christopher Faylor <cgf@cygnus.com>
4097 * Makefile.in (subdirs): Previous change did not fix problem in
4100 Sat Jun 17 13:49:12 2000 Christopher Faylor <cgf@cygnus.com>
4102 * Makefile.in: Avoid installing dll if we're cross building and the
4103 cross-host system isn't a Windows system.
4104 * configure.in: Detect cross-hosting situation and set appropriate
4105 variables in Makefile.in.
4106 * configure: Regenerate.
4108 Wed Apr 19 13:10:54 2000 Christopher Faylor <cgf@cygnus.com>
4110 * configure.in: Change HEADER_SUBDIR to mingw32.
4111 * configure: Regenerate.
4113 Mon Apr 10 17:24:28 2000 Christopher Faylor <cgf@cygnus.com>
4115 * include/string.h: Use proper prototype for _strerror.
4117 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
4119 * Makefile.in (subdirs): Workaround for broken shells.
4121 2000-02-03 Mumit Khan <khan@xraylith.wisc.edu>
4123 * Snapshot 2000-02-03.
4125 * include/{assert.h, conio.h, ctype.h, direct.h, dirent.h, fcntl.h,
4126 float.h, io.h, locale.h, malloc.h, math.h, process.h, signal.h,
4127 stdio.h, stdlib.h, string.h, time.h, wctype.h, sys/stat.h,
4128 sys/timeb.h, sys/utime.h}: Remove parameter names to avoid namespace
4131 * Makefile.in (all): Build CRT0S first.
4132 (libmingwthrd.a): Remove thread support DLL from dependency.
4134 2000-01-21 Mumit Khan <khan@xraylith.wisc.edu>
4136 * Snapshot 2000-01-21.
4138 2000-01-20 Mumit Khan <khan@xraylith.wisc.edu>
4140 Merge in changes from Cygwin:
4141 * configure.in (HEADER_SUBDIRS): New variable. Substitute.
4142 (SUBDIRS): Likewise.
4143 * Makefile.in (HEADER_SUBDIRS): New variable.
4144 (install): Use to install Mingw headers to a subdirectory if building
4146 (DLL_CC_STUFF): Add DLL entry point.
4147 * configure: Regenerate.
4149 2000-01-19 Mumit Khan <khan@xraylith.wisc.edu>
4151 * include/stdio.h (fsetpos): Fix prototype.
4152 (fpos_t): Fix for MSVCRT.
4153 * include/float.h (fpreset): Add prototype.
4154 * include/limits.h: Define UINT_MAX, USHRT_MAX and ULONG_MAX with
4156 * include/time.h: Don't define tzname as a macro for CRTDLL, and
4157 export using libmoldname.a.
4158 * crtdll.def: Add DATA tags.
4159 * msvcrt.def: Likewise.
4160 * moldname.def.in: Likewise. Add fpreset. Export tzname for
4161 both MSVCRT and CRTDLL.
4162 * moldname-crtdll.def: Regenerate.
4163 * moldname-msvcrt.def: Regenerate.
4165 Tue Dec 21 02:22:14 1999 Mumit Khan <khan@xraylith.wisc.edu>
4167 * Snapshot 1999-12-21.
4169 * include/wctype.h: New file.
4170 * include/ctype.h (MB_CUR_MAX): Define.
4172 * include/stdlib.h (MB_CUR_MAX): Define.
4173 * include/wchar.h: Define stat, _stat structures here as well.
4174 * include/float.h: Add invalid subconditions (_SW) and floating
4175 point error (_FPE) macros.
4176 * include/time.h (_CLOCK_T): Rename macro to _CLOCK_T_DEFINED.
4177 (_TIME_T): Rename macro to _TIME_T_DEFINED.
4178 * include/sys/types.h: Likewise.
4180 Thu Nov 18 00:22:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4182 * profile/profil.c (profile_on): Set the profiler thread priority to
4183 be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
4184 * Snapshot 1999-11-18.
4186 Sun Nov 7 02:50:09 1999 Mumit Khan <khan@xraylith.wisc.edu>
4188 Released 1999-11-07.
4190 * Makefile.in (CRT0S): Add crtst.o.
4191 (install): Install in subdirs as well.
4192 * dirent.h (struct _stat): Rename from struct stat.
4193 * include/tchar.h: Add some new macros. Thanks to
4194 Eric Kohl <ekohl@abo.rhein-zeitung.de>.
4195 * profile/Makefile.in (install): Fix target.
4197 Thu Nov 4 14:32:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
4199 * Makefile.in: Add support for profile directory.
4200 * configure.in: Likewise.
4201 * configure: Regenerate.
4203 * profile: Imported profiling sources from winsup-19991026 snapshot.
4204 * profile/Makefile.in: New file.
4205 * profile/configure.in: New file.
4206 * profile/configure: Generate.
4207 * profile/gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
4208 * profile/gmon.h (u_char, u_short, u_int, u_long): Likewise.
4209 * profile/gmon.c (unistd.h): Include conditionally.
4210 (sys/param.h): Likewise.
4211 * profile/mcount.c (sys/param.h): Likewise.
4212 * profile/profil.c (profile_on): thread id is DWORD, not int.
4215 Wed Nov 3 16:26:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
4217 * include/stdlib.h: Add wide character version of argv/environ.
4219 * include/wchar.h: More wide character prototypes.
4220 * include/sys/stat.h: Likewise. Add struct stat as well as _stat.
4222 * dllcrt1.c (init.c): Don't include.
4223 (DllMainCRTStartup): Don't call _mingw32_init_mainargs().
4224 * Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists.
4226 Sat Oct 30 03:06:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4228 * moldname.def: Remove file.
4229 * moldname.def.in: And add this.
4230 * moldname-msvcrt.def: Generate from moldname.def.in.
4231 * moldname-crtdll.def: Likewise.
4233 * mthr.c: New file for -mthread (thread-safe C++ EH) support.
4234 * mthr_init.c: New file for -mthread (thread-safe C++ EH) support.
4235 * mthr_stub.c: New file for -mthread (thread-safe C++ EH) support.
4237 * Makefile.in: Update.
4238 * configure.in: Likewise. Also add *cygwin* target for building
4239 under Cygwin winsup.
4240 * configure: Regenerate.
4242 Fri Oct 1 11:10:30 1999 Mumit Khan <khan@xraylith.wisc.edu>
4244 * include/_mingw.h: Add version macros.
4245 * include/direct.h (_diskfree_t, getdiskfree, getdrives): Add.
4246 Also add wide character versions shared with wchar.h.
4247 * include/dos.h (_diskfree_t, getdiskfree, getdrives): Add.
4248 * include/io.h (sopen, _sopen): Fix prototype.
4249 Add wide character prototypes.
4250 * include/wchar.h: Likewise.
4251 * include/stdlib.h (beep, seterrormode, sleep): Remove non-
4252 underscored versions. Potential incompatibility.
4253 * include/time.h (daylight, timezone, tzname): Fix MSVCRT cases.
4254 Add wide character prototypes.
4255 * include/sys/timeb.h (struct _timeb): Don't use macro, but real
4258 Wed Aug 18 18:38:39 1999 Mumit Khan <khan@xraylith.wisc.edu>
4260 * configure.in (RUNTIME, CRT_ID): Add to differentiate between
4261 crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
4263 * configure: Rengerate.
4264 * Makefile.in (RUNTIME, CRT_ID): Use to generate the correct
4265 dll name and crt's. CRTDLL and MSVCRT are meant to created
4266 separately, so remove all the *-msvcrt* targets.
4267 (libmingwthr.a): New target. Dummy thread support archive.
4268 (LIBS): Add libmingwthr.a.
4269 (CRT0S): Use CRT_ID. Add crtmt.o.
4270 (MINGW_OBJS): Add crtst.o.
4271 * main.c (WinMain): Fix prototype.
4272 * crtmt.c: New file.
4273 * crtst.c: New file.
4275 * include/process.h (_beginthreadex): Fix prototype.
4276 * include/_mingw.h (__int64): Define for __GNUC__.
4277 * include/tchar.h (_ttol): Add macro.
4278 * include/stdlib.h (_wtoi, _wtol, _i64toa, _ui64toa, _atoi64,
4279 _i64tow, _ui64tow, _wtoi64): Add prototypes.
4281 Reported by Emanuele Aliberti <ea@iol.it>:
4282 * include/tchar.h (_ttoi): Add macro.
4284 Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
4285 * include/stdio.h (_snprintf): Add prototype.
4286 (_vsnprintf): Likewise.
4288 Sat Aug 7 18:00:00 1999 Mumit Khan <khan@xraylith.wisc.edu>
4290 Reported by Tor Lillqvist <tml@iki.fi>:
4291 * include/stdlib.h (__p___argv): Fix return type.
4293 Fri Jul 30 22:07:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
4296 * include/errno.h (errno): It's linked in from startup, not imported.
4297 * include/stdlib.h (errno): Likewise.
4298 * include/io.h: Guard against conflicting macros and prototypes in
4300 * include/stdlib.h: Likewise.
4301 * include/string.h: Likewise.
4302 * include/time.h: Likewise.
4304 Fri Jul 30 13:47:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
4306 * include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans.
4307 * include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT.
4308 * Makefile.in (INCLUDES): Remove old windows32 include directory.
4310 * crt1.c (_gnu_exception_handler): Fix prototype.
4311 (__mingw_CRTStartup): New function based on mainCRTStartup.
4312 (mainCRTStartup): Set the app type for MSVCRT and call
4314 (WinMainCRTStartup): Likewise.
4315 * init.c (_startupinfo): Define.
4316 (_getmainargs): Add 5th parameter.
4317 (_mingw32_init_mainargs): Use.
4319 * ALL *.c files: Reformat according to GNU coding style.
4321 Fri Jul 16 00:46:04 1999 Mumit Khan <khan@xraylith.wisc.edu>
4323 * Makefile.in (INCLUDES): Add w32api include directory.
4325 * include/_mingw.h: New file.
4326 * include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h,
4327 errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h,
4328 math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h,
4329 stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h,
4330 sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and
4331 use the macros __DECLSPEC_SUPPORTED and __MINGW_IMPORT.
4333 * include/stdlib.h (atexit): Fix prototype.
4335 Mon Jun 14 18:38:49 1999 Mumit Khan <khan@xraylith.wisc.edu>
4337 * include/stdio.h (_tempnam): Fix prototype.
4338 (tempnam): Likewise.
4339 * include/stdlib.h: Replace with GCC's version, and guard
4342 From Anders Norlander <anorland@hem2.passagen.se>:
4343 * include/stdlib.h (__argc): Declare.
4346 Mon Apr 5 13:49:17 1999 Mumit Khan <khan@xraylith.wisc.edu>
4348 * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
4350 * Makefile.in (_libm_dummy.o): New target.
4353 Tue Mar 16 18:15:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4355 * Released 1999-03-16 along with egcs-1.1.2.
4357 Wed Feb 17 17:15:56 1999 Mumit Khan <khan@xraylith.wisc.edu>
4359 * Makefile.in (LIBS): Add libm.a.
4360 (libm.a): Dummy libm.a.
4362 * Makefile.in: Update from winsup 1999-02-08 snapshot.
4363 Preserve local changes.
4364 (mkinstalldirs): In ../, not ../../.
4365 (INCLUDES): Point to local windows32api headers and use -nostdinc.
4367 (LIBS): Add libmoldname-msvc.a.
4368 (libmoldname-msvc.a): Add target.
4369 (distclean): Add target.
4371 Tue Feb 9 00:26:05 1999 Mumit Khan <khan@xraylith.wisc.edu>
4373 * include/dir.h: Reintroduce as an obsolescent header.
4374 * crt1.c (signal.h): Include.
4375 (_gnu_exception_handler): New function to properly handle win32
4376 asynchronous signals.
4377 (mainCRTStartup): Use.
4379 Sun Jan 3 23:52:25 1999 Mumit Khan <khan@xraylith.wisc.edu>
4381 * include/direct.h: Include io.h instead of dir.h
4382 * include/dirent.h: Likewise.
4383 * include/dos.h: Likewise.
4384 * include/stdio.h: Replace reference to dir.h with io.h.
4386 Thu Dec 31 16:04:55 1998 Mumit Khan <khan@xraylith.wisc.edu>
4388 * 1999-01-01 release bundled with egcs-1.1.1.
4390 * include/io.h: Incorporate dir.h.
4391 * include/dir.h: Remove.
4392 * include/signal.h: Move RC_INVOKED up a bit.
4394 Tue Dec 29 15:04:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
4396 * include/signal.h (sig_atomic_t): Define.
4398 * include/malloc.h: Import defs from deprecated alloc.h.
4399 * include/alloc.h: Remove.
4401 From "Daniel J. Rodriksson" <djr@dit.upm.es>:
4402 * include/sys/types.h (_dev_t): Should be unsigned int for MSVCRT.
4403 * include/sys/stat.h (struct stat): st_uid is of type short. Use
4404 _off_t instead of long for st_size.
4406 Thu Sep 10 22:28:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4408 * include/errno.h (sys_errlist, sys_nerr): Move from here ...
4409 * include/stdlib.h: Here.
4411 * include/netdb.h: Remove.
4412 * include/arpa/inet.h: Remove.
4413 * include/netinet/in.h: Remove.
4414 * include/sys/socket.h: Remove.
4416 Fri Sep 4 15:09:11 1998 Mumit Khan <khan@xraylith.wisc.edu>
4420 * include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h,
4421 sys/utime.h}: Protect stddef.h in RC_INVOKED macro.
4423 Thu Sep 3 10:43:29 1998 Mumit Khan <khan@xraylith.wisc.edu>
4425 * setjmp.h (_JBTYPE, _JBLEN): Define correctly.
4426 (jmpbuf): typedef using above.
4427 (setjmp, longjmp): Prototype using jmpbuf.
4429 Merge with Colin Peters' 980701 snapshot. I've ignored changes to
4430 obsolescent imported names, ie., from __imp__ to _imp___.
4432 Also ignored empty include/sys/param.h and incorrect
4433 include/sys/times.h.
4435 * CRTinit.c: New file.
4436 * include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef
4438 * include/io.h (umask): Fix prototype.
4439 * include/stdlib.h (OS constants): Replace with Colin's.
4440 * include/time.h (tzset, daylight, timezone): Replace with Colin's.
4441 * include/sys/state.h: Merge.
4443 Thu Sep 3 09:49:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
4445 * include/assert.h (assert): Lose the trailing semicolon.
4447 Thu Jul 30 21:18:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4449 * include/math.h (matherr): Declare.
4450 * include/stdio.h (fileno, _fileno): Declare.
4451 * include/stdlib.h (environ, _environ): Fix to use runtime DLL.
4454 * include/stdio.h (fdopen, _fdopen): Add const.
4455 (getw, putw): Declare.
4456 * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix.
4458 Sat Jun 13 18:19:41 1998 Mumit Khan <khan@xraylith.wisc.edu>
4460 * include/time.h (_timezone): Undefine.
4461 * include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
4463 * include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
4465 * include/stdlib.h (environ): Use DLL version.
4466 * init.c (environ): Undefine it before use.
4468 Sun Mar 22 19:59:30 1998 Mumit Khan <khan@xraylith.wisc.edu>
4470 * Update to 980309 snapshot from Colin Peters.
4472 * include/utime.h: remove
4473 * include/stdlib.h (__imp__osver_dll, __imp__winver_dll,
4474 __imp__winmajor_dll, __imp__winminor_dll): Apply Jan-Jaap's
4475 patches to define these.
4476 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4477 (_daylight, _timezone, _tzname, _tzset): Define.
4479 * include/netdb.h: Add from Colin's windows32api changes.
4480 * include/sys/socket.h: Likewise.
4481 * include/arpa/inet.h: Likewise.
4482 * include/netinet/in.h: Likewise.
4484 Wed Feb 4 14:16:44 1998 Mumit Khan <khan@xraylith.wisc.edu>
4486 * Update to 980128 snapshot from Colin Peters.
4488 Sat Dec 6 21:30:35 1997 Mumit Khan <khan@xraylith.wisc.edu>
4490 * configure.in (AC_INIT): Use dllmain.c instead of defunct
4492 * configure: Regenerate.
4494 Fri Dec 5 15:57:36 1997 Mumit Khan <khan@xraylith.wisc.edu>
4496 * Update to 971205 snapshot from Colin Peters. Lots of changes.
4497 Files renamed and include hierarchy loses directories named
4500 * include/dos.h: from Jan-Jaap.
4502 Thu Dec 4 21:48:13 1997 Mumit Khan <khan@xraylith.wisc.edu>
4504 Changes to conform to FSF tree.
4506 * crt1.c: Renamed from mcrt0.c.
4507 * dllcrt1.c: Renamed from dllcrt0.c.
4508 * Makefile.in: Update above. Also renamed libmoldnames.a to
4511 Mon Dec 1 16:51:30 1997 Mumit Khan <khan@xraylith.wisc.edu>
4513 * crtdll.def: Export all functions but the ones with funny names.
4514 * moldnames.def: Add fdopen since fileno is already there.
4515 * include/nonansi/dos.h: New file from Jan-Jaap.
4516 * include/errno.h: Add extern decl + various additions from JJ.
4517 * include/stdio.h: Likewise.
4518 * include/stdlib.h: Likewise.
4519 * include/nonansi/io.h: Likewise.
4520 * include/nonansi/process.h: Likewise.
4521 * include/sys/types.h: Likewise.
4523 Tue Nov 4 14:51:01 1997 Mumit Khan <khan@xraylith.wisc.edu>
4525 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4527 * include/stdlib.h (free): Fix prototype to return void, not void*.
4528 * include/nonansi/process.h: Add P_* and WAIT_* defs.
4530 * dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
4531 * mcrt0.c: Likewise.
4533 * Makefile.in (LIBS): Delete moldnames.dll from target libs.
4534 (libmoldnames.a): Add explicit rule to create it.
4536 Fri Aug 15 18:23:43 1997 Rob Savoye <rob@cygnus.com>
4538 New directory for the minimalist cygwin environment.
4540 * crtglob.c: New file. Turn on file globbing support.
4541 * crt_noglob.c: New file. Turn off file globbing support.
4542 * ctype_old.c: New file. Wrappers for functions that don't
4544 * dirent.c: New file. Directory routines readdir, opendir, closedir.
4545 * dllcrt0.c: New file. Initialization code to use crtdll.dll.
4546 * dllmain.c: New file. A stub DllMain function.
4547 * hugeval.c: New file. A gross hack to define HUGE_VAL.
4548 * init.c: New file. Common code to initialize standard file
4549 handles and command line arguments.
4550 * main.c: New file. A main for programs that only call WinMain.
4551 * mcrt0.c: New file. Default crt0 for mingw32.
4552 * oldnames.c: New File. Wrappers for functions that don't
4554 * string_old.c: New File.
4555 * include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h
4556 math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h
4557 string.h,tchar.h,time.h,wchar.h}: New header files for mingw.
4558 * include/sys/types.h: New header file for mingw.
4559 * include/nonansi/{alloc.h,conio.h,dir.h,direct.h,dirent.h
4560 fcntl.h,io.h,malloc.h,mem.h,memory.h,process.h,share.h,unistd.h
4561 utime.h,values.h,varargs.h}: New header files for mingw.
4562 * include/nonansi/sys/{fcntl.h,locking.h,stat.h,time.h
4563 timeb.h,unistd.h}: New header files for mingw.
4564 * Makefile.in,configure.in: Build and configure support.
4565 * configure: Generated from autoconf 2.12 with Cygnus patches.