1 2015-03-12 Keith Marshall <keithmarshall@users.sourceforge.net>
3 Fix GLOB_DOOFFS initialization bug.
5 * mingwex/glob.c (__mingw_glob) [!GLOB_DOOFFS]: Ensure...
6 (gl_data->gl_offs): ...this is properly initialized to zero.
8 2014-12-28 Keith Marshall <keithmarshall@users.sourceforge.net>
10 Tag all files for release of mingwrt-3.21.
12 * include/_mingw.h: Adjust version accordingly.
14 2014-12-28 Keith Marshall <keithmarshall@users.sourceforge.net>
16 Improve usage notes in stdlib.h, for mkstemp() function.
18 * include/stdlib.h (MKSTEMP_SETMODE): Explain usage; this is a copy of
19 an original comment, explaining the need to use _O_TEMPORARY, from...
20 * mingwex/mkstemp.c: ...here; delete trailing white space.
22 2014-12-23 Keith Marshall <keithmarshall@users.sourceforge.net>
24 Eliminate some potential definition inconsistencies.
26 * include/stdio.h: Cosmetic formatting change, relating to...
27 * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define them
28 unconditionally; this allows the compiler to check for consistency
29 with their primary definitions in stdio.h
31 2014-12-23 Keith Marshall <keithmarshall@users.sourceforge.net>
33 Suppress expected warning diagnostics in LIBIMPL builds.
35 * Makefile.in (LIBIMPL_CFLAGS): Redefine it; it now incorporates...
36 (LIBIMPL_EXTRA_CFLAGS): ...this new macro; it includes the requisite
37 GCC flag to supress warnings relating to deprecated declarations.
39 2014-12-23 Keith Marshall <keithmarshall@users.sourceforge.net>
41 Provide more POSIX conforming sleep() functions.
43 * include/sys/types.h (useconds_t): Make it explicitly long; int may
44 be okay, but doesn't guarantee enough bits; mark as deprecated, since
45 POSIX has declared it "obsolete", and no longer specifies it.
47 * mingwex/usleep.c: Delete file; it provided an implementation of...
48 (usleep): ...this now obsolete function, claiming POSIX.1 issue 6, but
49 its error handling was hopelessly broken; replace it with...
50 * mingwex/nsleep.c: ...this new file; it implements...
51 (__mingw_sleep): ...this generic helper function; it supports sleep
52 capability with interval specification to nanosecond precision.
54 * include/unistd.h (__mingw_sleep): Declare prototype; use it as the
55 basis for providing __LIBIMPL__ __CRT_INLINE implementations of...
56 (sleep, nanosleep): ...these current POSIX functions, and also...
57 (usleep): ...this obsolete one; mark it as deprecated.
59 * include/parts: New directory; it is intended to host partial header
60 implementations, for content which must be shared among arbitrary sets
61 of multiple standard header files.
63 * include/parts/time.h: New file; nominally declaring time.h content.
64 (struct timespec): Declare it; it is currently used within unistd.h,
65 to facilitate the __CRT_INLINE implementation of nanosleep().
67 * Makefile.in (libmingwex.a): Remove reference to...
68 (usleep.$OBJEXT): ...this; replace it with a reference to...
69 (nsleep.$OBJEXT): ...this alternative.
70 (mingwrt-includedirs): Add prerequisite to create...
71 ($includedir/parts): ...this new directory; it is populated by...
72 (install-mingwrt-headers): ...this rule; add requisite command.
74 2014-12-13 Keith Marshall <keithmarshall@users.sourceforge.net>
76 Delete an unnecessary Unicode wrapper file.
78 * mingwex/wdirent.c: Delete it; Makefile.in knows how to compile the
79 UTF-16LE API from dirent.c, without any need for this wrapper.
81 2014-12-13 Keith Marshall <keithmarshall@users.sourceforge.net>
83 Some further inline function rationalization.
85 * include/io.h (_CRTALIAS): Replace all references...
86 (__CRT_ALIAS): ...using this syntactically preferred form.
87 (lseek64): Specify __JMPSTUB__ semantics for extern implementation.
88 [__cplusplus] (_BEGIN_C_DECLS, _END_C_DECLS): Use these.
90 * include/unistd.h (ftruncate): Specify __JMPSTUB__ semantics.
91 [__cplusplus] (_BEGIN_C_DECLS, _END_C_DECLS): Use these.
93 * mingwex/stdio/lseek64.c: File is now redundant; delete it.
94 * mingwex/ftruncate.c: Likewise.
96 * Makefile.in (libmingwex.a): Delete obsolete dependencies on...
97 (lseek64.$OBJEXT, ftruncate.$OBJEXT): ...these.
99 2014-12-13 Keith Marshall <keithmarshall@users.sourceforge.net>
101 Some POSIX feature test adjustments.
103 * include/stdlib.h (mkstemp): Available since SUSv3, so requires...
104 [_POSIX_C_SOURCE >= 200112L]: ...this minimum level of POSIX support.
105 (mkdtemp): This didn't become available until SUSv4, so requires...
106 [_POSIX_C_SOURCE >= 200809L]: ...this increased feature level.
108 2014-12-11 Keith Marshall <keithmarshall@users.sourceforge.net>
110 Another CRT_INLINE function implementation rationalization.
112 * include/inttypes.h (imaxabs): Specify as __LIBIMPL__; declare...
113 (llabs): ...this, to be implemented as its __LIBIMPL__ alias.
114 [__cplusplus] (_BEGIN_C_DECLS, _END_C_DECLS): Use these.
116 * Makefile.in (libimpl_sed_script): Handle ALIAS attribute.
117 (libmingwex.a): Delete obsolete dependency on...
118 (imaxabs.$OBJEXT): ...this.
120 * mingwex/imaxabs.c: File is now redundant; delete it.
122 2014-12-11 Keith Marshall <keithmarshall@users.sourceforge.net>
124 More rationalization of CRT_INLINE function implementations.
126 * include/stdio.h (fopen64): Add __JMPSTUP__ specification.
127 (ftello64): Add __LIBIMPL__ specification for extern implementation.
128 [__cplusplus] (_BEGIN_C_DECLS, _END_C_DECLS): Use these.
130 * mingwex/stdio/fopen64.c: File is now redundant; delete it.
131 * mingwex/stdio/ftell064.c: Likewise.
133 * Makefile.in (libmingwex.a): Delete obsolete dependencies on...
134 (fopen64.$OBJEXT, ftello64.$OBJEXT): ...these.
136 2014-12-11 Keith Marshall <keithmarshall@users.sourceforge.net>
138 Don't implicitly define _POSIX_C_SOURCE too early.
140 * include/_mingw.h (_POSIX_C_SOURCE): Delay implict definition.
141 (__USE_MINGW_ANSI_STDIO): This must be initialized first, to ensure
142 that it is not accidentally activated by implied _POSIX_C_SOURCE.
144 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
146 Correct complex arcsin computation per issue [#2245].
148 * mingwex/complex/casin_generic.c: New file; it replaces...
149 * mingwex/complex/casin.c: ...this; it is now obsolete; delete it.
150 * mingwex/complex/casinf.c mingwex/complex/casinl: Likewise.
152 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
154 Correct complex square root computation per issue [#2246].
156 * include/math.h (hypotf): Redirect __CRT_INLINE call to...
157 (_hypot): ...this MSVCRT.DLL exported function, so avoiding...
158 (hypot): ...this libmoldname.a indirection.
160 * mingwex/complex/csqrt_generic.c: New file; it replaces...
161 * mingwex/complex/csqrt.c: ...this; it is now obsolete; delete it.
162 * mingwex/complex/csqrtf.c mingwex/complex/csqrtl: Likewise.
164 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
166 Adjust header guards to resolve issue [#2244].
168 * include/_mingw.h (_POSIX_C_SOURCE): Define it implicitly...
169 [_GNU_SOURCE || _BSD_SOURCE || _POSIX_SOURCE || !__STRICT_ANSI__]:
170 ...when any of these prevail, or as appropriate to correspond with...
171 [_XOPEN_SOURCE]: ...this; set conformance level accordingly.
173 * include/math.h [_POSIX_C_SOURCE || defined _USE_MATH_DEFINES]
174 (M_E, M_LOG2E, M_LOG10E, M_LN2, M_LN10, M_PI, M_PI_2, M_PI_4, M_1_PI)
175 (M_2_PI, M_2_SQRTPI, M_SQRT2, M_SQRT1_2): Define them, irrespective...
176 [__STRICT_ANSI__]: ...of this; replace guard accordingly.
178 2014-12-01 Keith Marshall <keithmarshall@users.sourceforge.net>
180 Add implementation of mkstemp() and mkdtemp() functions.
182 * mingwex/cryptnam.c: New file; it implements...
183 (__mingw_crypto_tmpname): ...this helper function; it generates a
184 cryptographically secure sequence of characters, used as the random
185 component in temporary file and directory names.
187 * mingwex/mkstemp.c: New file; it implements...
188 (__mingw_mkstemp): ...this provider of mkstemp() functionality.
190 * mingwex/mkdtemp.c: New file; it implements...
191 (__mingw_mkdtemp): ...this provider of mkdtemp() functionality.
193 * include/stdlib.h (mkstemp): Declare protototye; provide an inline
194 function implementation, with LIBIMPL extern semantics, in terms of...
195 (__mingw_mkstemp): ...this; also declare prototype, and define...
196 (_MKSTEMP_INVOKE, _MKSTEMP_DEFAULT): ...these supporting constants.
197 (_MKSTEMP_SETMODE): New macro; define it, also providing...
198 (MKSTEMP_SETMODE) [!_NO_OLDNAMES]: ...this alias.
199 (mkdtemp): Declare prototype; provide inline implementation, with
200 JMPSTUB extern semantics, in terms of...
201 (__mingw_mkdtemp): ...this; declare prototype.
203 * Makefile.in (libmingwex.a): Add dependency rule, to include...
204 (mkstemp.$OBJEXT, mkdtemp.$OBJEXT, cryptname.$OBJEXT): ...these.
206 2014-11-30 Keith Marshall <keithmarshall@users.sourceforge.net>
208 More JMPSTUB rationalization of inline functions.
210 * include/stdlib.h (_Exit, atoll, lltoa, ulltoa, wtoll, lltow)
211 (ulltow): Add __JMPSTUB__ declarations; each is REMAPPED to its
212 appropriate MSVCRT.DLL equivalent entry point.
214 * mingwex/_Exit.c: File is now redundant; delete it.
215 * mingwex/atoll.c mingwex/lltoa.c mingwex/ulltoa: Likewise.
216 * mingwex/wtoll.c mingwex/lltow.c mingwex/ulltow: Likewise.
218 * Makefile.in (jmpstub_awk_script): Add support for...
219 [__JMPSTUB__((REMAPPED))]: ...this stub function attribute.
220 (libmingwex.a): Remove dependencies on deleted files, namely...
221 (_Exit.$OBJEXT, atoll.$OBJEXT, lltoa.$OBJEXT, ulltoa.$OBJEXT)
222 (wtoll.$OBJEXT, lltow.$OBJEXT, ulltow.$OBJEXT): ...these.
224 2014-11-29 Keith Marshall <keithmarshall@users.sourceforge.net>
226 Correct omission of complex conjugate functions from libmingwex.a
228 * include/complex.h (conj, conjf, conjl): Add LIBIMPL declarations.
229 (creal, crealf, creall): Likewise, for consistency of implementation.
230 (cimag, cimagf, cimagl, carg, cargf, cargl): Likewise.
232 * Makefile.in (libimpl_sed_script): Add processing for __CRT_INLINE
233 declarations; they should be interpreted analogously to __CRT_ALIAS.
234 (libmingwex.a): Remove object file references for functions which are
235 now declared as LIBIMPL, and sort the remainder in ASCII collating
236 order; deleted function references comprise the set consisting of...
237 (carg.$OBJEXT, cargf.$OBJEXT, cargl.$OBJEXT): ...these...
238 (creal.$OBJEXT, crealf.$OBJEXT, creall.$OBJEXT): ...these, and...
239 (cimag.$OBJEXT, cimagf.$OBJEXT, cimagl.$OBJEXT): ...these.
241 * mingwex/complex/carg.c: Replaced by LIBIMPL; delete it.
242 * mingwex/complex/cargf.c mingwex/complex/cargl.c: Likewise.
243 * mingwex/complex/creal.c mingwex/complex/cimag.c: Likewise.
244 * mingwex/complex/crealf.c mingwex/complex/cimagf.c: Likewise.
245 * mingwex/complex/creall.c mingwex/complex/cimagl.c: Likewise.
247 2014-11-24 Keith Marshall <keithmarshall@users.sourceforge.net>
249 Back-port improved asinh() implementation from 4.0-dev branch.
251 * mingwex/math/asinh_generic.c: New file; it replaces...
252 * mingwex/math/asinh.c mingwex/math/asinhf.c mingwex/math/asinhl.c:
253 ...all of these; delete them.
255 2014-11-18 Keith Marshall <keithmarshall@users.sourceforge.net>
257 Enable remake of lost LIBIMPL object files.
259 * Makefile.in (libimpl_remake): New macro; define it, and...
260 (%.libimpl.$OBJEXT) [%.libimpl exists]: ...use it in build rule.
262 2014-11-17 Keith Marshall <keithmarshall@users.sourceforge.net>
264 Implement more robust _get_output_format fallback handling.
266 * mingwex/ofmt.c: New file; it implements...
267 (__mingw_output_format_flag): ...backing store, used by...
268 (__mingw_get_output_format, __mingw_set_output_format): ...these
269 MSVCRT.DLL version agnostic wrappers/emulators for each of these...
270 (_get_output_format, _set_output_format): ...MSVCR80.DLL and later
271 version specific Microsoft APIs, which are also supported by some
272 later versions of MSVCRT.DLL, (excluding WinXP and earlier).
273 (__mingw_get_output_format_fallback): Implement; it is aliased to...
274 (__mingw_set_output_format_fallback): ...this; together they provide
275 the emulation support for the preceding pair of functions, when they
276 are not available within the run-time platform MSVCRT.DLL
277 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
278 Implement them; they wrap, and if necessary emulate...
279 (_get_printf_count_output, _set_printf_count_output): ...these.
280 (__mingw_get_printf_count_output_fallback): Implement; aliased to...
281 (__mingw_set_printf_count_output_fallback): ...this; together they are
282 required to support emulation of the preceding pair of functions, when
283 they are not available within the run-time platform MSVCRT.DLL
285 * include/stdio.h (_TWO_DIGIT_EXPONENT): Define it unconditionally.
286 (_THREE_DIGIT_EXPONENT): New manifest constant; define it orthogonally.
287 (__mingw_get_output_format, __mingw_set_output_format)
288 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
289 Unconditionally declare their prototypes, for subsequent inline use.
290 [_MSVCRT_VERSION__ < 0x800] (_get_output_format): Emulate it inline.
291 [_MSVCRT_VERSION__ < 0x800] (_set_output_format): Likewise.
292 [_MSVCRT_VERSION__ < 0x800] (_get_printf_count_output): Likewise.
293 [_MSVCRT_VERSION__ < 0x800] (_set_printf_count_output): Likewise.
294 (__USE_MINGW_PRINTF): New manifest constant; define it. It is a
295 counterpart to __USE_MINGW_ANSI_STDIO, which is guaranteed to always
296 represent a compilable token.
298 * mingwex/stdio/pformat.c (__pformat_exponent_digits): Do not require
299 _get_output_format; consult __mingw_output_format_flag directly.
301 * ofmt_stub.s: No longer required; delete it.
303 * Makefile.in (ofmt_stub.$OBJEXT): Delete reference.
304 (PFORMAT_CFLAGS) [__MSVCRT_VERSION__ = 0x800]: Remove requirement.
305 (varofmt.$OBJEXT, crtofmt.$OBJEXT, getofmt.$OBJEXT, setofmt.$OBJEXT)
306 (crtnfmt.$OBJEXT, getnfmt.$OBJEXT, setnfmt.$OBJEXT): Add build rule;
307 all are compiled from ofmt.c
309 2014-11-16 Keith Marshall <keithmarshall@users.sourceforge.net>
311 Do some more essential build tree clean up.
313 * Makefile.in (mostly-clean-local): Add *.libimpl; matching files get
314 in the way of a successful rebuild from clean.
316 2014-11-11 Keith Marshall <keithmarshall@users.sourceforge.net>
318 Implement wrappers for emulation of POSIX dlfcn API.
320 * include/dlfcn.h: New file; it declares the API.
321 * mingwex/dlfcn.c: New file; implement it, with access via...
322 (__mingw_dlfcn): ...this publicly addressable vector table.
324 * Makefile.in (dlfcn.$OBJEXT): Add build requisite.
325 (dlopen, dlsym, dlclose, dlerror): Build call stubs, using...
326 (__LIBIMPL__): ...this automatic interface generator; implement it.
327 (libstub_refnames): New macro; it is adapted from and replaces...
328 (jmpstub_refs): ...this; when it is then invoked twice to build...
329 (Makefile.stub): ...this, it handles both JMPSTUB and LIBIMPL.
330 (jmpstub_awk_script): Adapt it to work with 'libstub_refnames'.
331 (libimpl_awk_script): New inline script; it handles automated builds
332 of LIBIMPL interfaces, as 'jmpstub_awk_script' does for JMPSTUB.
333 (libimpl_sed_script): New inline script; it prepares intermediate C
334 source code for LIBIMPL interfaces, as required to satisfy these...
335 (%.libimpl, %.libimpl.$OBJEXT): ...new implicit build objectives.
336 (LIBIMPL_CFLAGS): New macro; define it.
338 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
340 Move libgen functions to __mingw_ pseudo-namespace.
342 * mingwex/dirname.c (dirname): Rename function, as implemented...
343 (__mingwex_dirname): ...to this.
345 * mingwex/basename.c (basename): Rename function, as implemented...
346 (__mingwex_basename): ...to this.
348 * include/libgen.h (__mingw_dirname, __mingw_basename): Declare
349 prototypes, matching and augmenting original declarations for...
350 (dirname, basename): ...these; reimplement as inline aliases, with
351 __JMPSTUB__ references to the renamed implementation entry points.
353 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
355 Implement new command line argument globbing strategy.
357 * include/_mingw.h: Backport feature defines from master...
358 (__CRT_GLOB_USE_MINGW__, __CRT_GLOB_USE_MSVCRT__): New manifest
359 constants; define them. They select the preferred globbing algorithm.
360 [_CRT_glob & __CRT_GLOB_USE_MINGW__] (__CRT_GLOB_USE_SINGLE_QUOTE__)
361 (__CRT_GLOB_BRACKET_GROUPS__, __CRT_GLOB_CASE_SENSITIVE__): New option
362 bit-map constants; define them. When added to __CRT_GLOB_USE_MINGW__,
363 they enable optional additional features supported by this algorithm.
364 (__CRT_GLOB_ESCAPE_CHAR__): New manifest constant; define it.
366 * CRTglob.c (_CRT_glob): Change default to __CRT_GLOB_USE_MINGW__.
368 * Makefile.in (libmingw32.a): Add setargv.$OBJEXT, furnished by...
369 * setargv.c: ...new file; it implements the initialization mechanism
370 for the __CRT_GLOB_USE_MINGW__ globbing algorithm, when invoked by...
371 (_setargv) [_CRT_glob & __CRT_GLOB_USE_MINGW__]: ...this new function;
372 it invokes the algorithm via an API similar to that described by MSDN,
373 while continuing to support our original _CRT_glob interpretation.
374 (_setargv) [! _CRT_glob & __CRT_GLOB_USE_MINGW__]: Invoke Microsoft
375 algorithm, via the MSDN-alike API, by calling back to...
377 * crt1.c (_mingw32_init_mainargs): ...this original function, now
378 relocated to here, as a publicly addressable function; formerly...
379 (__mingw_CRTStartup): ...called directly from here, we now redirect
380 the call through _setargv(), whence it may be called indirectly.
382 * init.c: Redundant file; delete it. It originally provided...
383 (_mingw32_init_mainargs): ...this, now relocated as noted above, with
384 original static attribute removed, to allow global addressing.
386 2014-11-07 Keith Marshall <keithmarshall@users.sourceforge.net>
388 Backport glob implementation from master to legacy.
390 * include/glob.h: New file; copy it from master branch.
391 (__mingw_glob, __mingw_globfree): Add __JMPSTUB__ aliases for...
392 (glob, globfree): ...each of these, respectively.
394 * mingwex/glob.c: New file; copy it from master:src/libcrt/misc.
395 (CRT_GLOB_HARD_ESCAPE) [ifndef __CRT_GLOB_ESCAPE_CHAR__]: Provide a
396 fallback definition; default value is ASCII DEL, a.k.a. RUBOUT, code.
397 (accept_glob_nocheck_match): New static function; it adds support for
398 avoidance of globbing on patterns with no globbing token, so avoiding
399 the case transliteration effect reported as MinGW-Bug #2106.
400 (glob_match): Use it.
402 * Makefile.in: Build glob.$OBJEXT; add it to libmingwex.a
404 2014-11-05 Keith Marshall <keithmarshall@users.sourceforge.net>
406 Implement conventionally named dirent function trampolines.
408 * mingwex/jmpstub.sx: New file; it implements a generic trampoline,
409 which redirects a conventionally named function call to its __mingw_
410 pseudo-namespace implementation.
412 * aclocal.m4 (MINGW_AC_PROG_COMPILE_SX): New macro; define it.
413 * configure.ac (MINGW_AC_PROG_COMPILE_SX): Use it; it identifies the
414 appropriate protocol for compiling *.sx files, (supported natively by
415 GCC >= v4.3, but older versions require `-x assembler-with-cpp').
417 * Makefile.in (COMPILE.sx): New implicit rule; GNU make does not
418 yet provide it, so we define it ourselves; deploy it for *.sx files.
419 (Makefile.stub): New sinclude file; create it dynamically, using...
420 (jmpstub_awk_script): ...this new inline script, which is based on...
421 (jmpstub_refs, jmpstub_prerequisites): ...these new macros, and...
422 (mingwex/jmpstub.sx): ...this new file; add vpath reference.
423 (mostlyclean-local): Remove Makefile.stub; do likewise...
424 (Makefile): ...when remaking this, to ensure that both will be
427 2014-11-03 Keith Marshall <keithmarshall@users.sourceforge.net>
429 Make dirent implementation namespace and time_t clean.
431 * include/_mingw.h (_EXTERN_C, _BEGIN_C_DECLS, _END_C_DECLS): New
432 macros; define them. They facilitate identification of symbols which
433 must be compiled with `extern "C"' binding, when compiling C++ code.
434 (__CRT_ALIAS): New macro; define it. It is intended to replace...
435 (_CRTALIAS): ...this, which is to be considered as deprecated.
436 (__JMPSTUB__, __LIBIMPL__): New macros; define them. They provide
437 __CRT_ALIAS build hints, while remaining transparent to GCC.
438 (UNICODE, _UNICODE) [user defined]: Define consistently.
440 * mingwex/dirent.c: Reimplement; (this is a back-port from the
441 4.0-dev branch, with additional ABI changes to improve stability).
442 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
443 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
444 Add `__mingw_' prefix to all publicly exposed symbol names.
445 (dirent_findfirst, dirent_findnext, dirent_findclose): New locally
446 implemented functions; they replace Microsoft's ambiguously defined
447 _findfirst, _findnext, and _findclose, so avoiding ABI instability
448 resulting from the ambiguous size of Microsoft's time_t.
450 * include/dirent.h (struct dirent, struct _wdirent): Redefine them,
451 removing unnecessary time_t and file size fields; (our replacements
452 for _findfirst, and _findnext do not require them to be present).
453 (DIR, _WDIR): Adjust typedefs; they are now opaque structs.
454 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
455 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
456 Adjust prototypes, making them inline aliases for public symbols which
457 are now qualified by the `__mingw_' prefix; add build hints to support
458 compilation of addressable stubs, with the original symbol names.
459 (DT_REG, DT_DIR, DT_UNKNOWN): New manifest constants; define them.
460 (DT_BLK, DT_CHR, DT_FIFO, DT_LNK, DT_SOCK): Likewise; (these are for
461 BSD compatibility, but are fundamentally unsupported on MS-Windows).
462 (_DIRENT_HAVE_D_TYPE, _DIRENT_HAVE_D_RECLEN, _DIRENT_HAVE_D_NAMLEN):
463 New macros; define them. (These show availability of optional fields
464 within the dirent struct, which client code may wish to access).
466 2014-10-31 Keith Marshall <keithmarshall@users.sourceforge.net>
468 Correct improper naming of assembly language source files.
470 * mingwex/math/*.S: Rename all files with this extension...
471 * mingwex/math/*.s: ...to this; (all are simple assembly language, and
472 not extended `assembler-with-cpp' as implied by the former extension);
473 adjust all internal `.file <name>' references accordingly.
475 * Makefile.in (vpath %.S): Adjust reference to locate files....
476 (vpath %.s): ...now renamed thus.
478 2014-10-29 Keith Marshall <keithmarshall@users.sourceforge.net>
480 Streamline the build system infrastructure.
482 * configure.ac: New file; it replaces...
483 * configure.in: ...this; (name is obsolete); delete it.
485 * aclocal.m4 Makefile.in: Substantially rewritten; avoid recursive
486 make invocations, when processing subdirectories, and add automatic
487 dependency tracking for all generated files.
489 * configure: Delete it; as a generated file, it doesn't belong in SCM.
491 * mingwex/Makefile.in: No longer required; delete it.
492 * profile/Makefile.in: Likewise.
494 * mkinstalldirs: Not required; delete it; (make should use `mkdir -p',
495 or fall back on `install-sh -d', per AC_PROG_MKDIR_P).
497 * jamfile: Delete it; it hasn't been updated in ages, is likely no
498 longer relevant, and I have no desire to maintain it.
500 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
502 * include/_mingw.h: Increment version to 3.20.
504 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
506 * tlsmthread.c: Update to reflect changes in tlssup.c.
507 * tlssup.c: code clean-up.
509 2011-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
511 * include/_mingw.h: Increment version to 3.19.
513 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
515 * include/float.h: Modify guard to accomodate CLang.
517 Thanks to Ruben Van Boxem for the report.
519 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
521 * tlssup.c: Remove mingwm10.dll fallback.
523 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
525 * include/sys/types.h (ssize_t): Defined as int as opposed to long.
527 Thanks to bvassche for the report.
529 2011-05-31 Keith Marshall <keithmarshall@users.sourceforge.net>
531 Correct checking for short option matches in getopt_long_only().
533 * mingwex/getopt.c (getopt_verify): New static inline function.
534 (getopt_parse) [getopt_mode_long_only]: Use it, to validate as a
535 possible short option match after failing to match, or ambiguously
536 matching as a long option.
538 2011-05-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
540 * include/stdlib.h (strtod): Declare as extern to resolve compilation issues.
542 Thanks to cgf for the report.
544 2011-05-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
546 * include/time.h (daylight, timezone, tzname): Rework guards to expose when
547 compiles with __STRICT_ANSI__.
549 Thanks to Felipe Contreras for the report.
551 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
553 * include/stdlib.h (strtod): Remove possible static declaration to resolve
556 Thanks to Tobias Burnus for the report.
558 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
560 * include/stdlib.h (_rotl, _lrotl, _rotr, _lrotr): Resolve conflict with gcc
561 by wrapping the functions in brackets.
563 Thanks to Kai Tietz for the report.
565 2011-05-22 A.B., Khalid <abkhd@users.sourceforge.net>
567 * Makefile.in: Add support for msvcr100.dll.
568 * msvcrt.def.in: Ditto.
570 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
572 * mingwex/mingw-fseek.c: The anonymous union feature for LARGE_INTEGER is
573 not always available, go the long way and use the explicit named union
574 members, which are also declared in winnt.h.
576 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
578 * mingwex/isblank.c: Fix typo in declaration.
580 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
582 * include/_mingw.h: Define GCC system_header only if PCC is not defined.
583 * include/stdlib.h: Fix a long-standing typo which prevented correct use of
584 the MB_CUR_MAX macro/variable when DECLSPEC is not supported and <stdlib.h>
585 is included before <ctype.h>.
587 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
589 * include/wchar.h: Include stdio.h to grab definition of FILENAME_MAX.
591 Thanks to Jim Bell for the report and Greg Chicares for the fix.
593 2011-01-07 Jacky Lai <crazyjacky@users.sourceforge.net>
595 Correct hexadecimal formatting of double and long double values.
597 * mingwex/stdio/pformat.c (__pformat_xdouble): Delete function.
598 (__pformat) [A format]: Cast double values to long double, and use...
599 (__pformat_xldouble): ...this instead, with corrected adjustment of
600 exponent and alignment of mantissa, when formatting subnormals.
602 2010-12-27 Ozkan Sezer <sezero@users.sourceforge.net>
604 * include/dirent.h (dd_handle): Define as intptr_t.
606 2010-11-08 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
608 * tlssup.c (__dyn_tls_init): Use an integer variable to iterate between
611 2010-08-17 Keith Marshall <keithmarshall@users.sourceforge.net>
613 * include/limits.h (PATH_MAX): Make it agree with Microsoft's
614 semantically identical MAX_PATH; correct value is 260.
616 2010-07-25 Keith Marshall <keithmarshall@users.sourceforge.net>
618 Accept that mingwrt headers are not guaranteed to precede GCC's in the
619 system include search path; (issue reported by Mark Brand).
621 * include/float.h: Add multiple inclusion guard around...
622 [! defined _FLOAT_H___]: ...include_next <float.h> for GCC's version,
623 only when this define does not indicate that it has already been seen;
624 update comments to document rationale; move it within the scope of...
625 [! defined _MINGW_FLOAT_H_]: ...this multiple inclusion guard, so that
626 GCC's float.h, after an appropriate complementary modification, need
627 not perform a further include path search when this implementation
628 specific extension has already been processed.
630 2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>
632 * include/io.h (_findfirst, _findnext, _findclose, _findfirst32,
633 _findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32,
634 _findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext,
635 _findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64,
636 _findnexti64): Correct definition.
638 2010-04-27 Danny Smith <dannysmith@users.sourceforge.net>
640 * mingwex/mb_wc_common.h (get_codepage): Revert change of 2006-09-19.
642 2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
644 * include/_mingw.h: Increment version to 3.18.
646 2010-03-02 Daniel Atallah <datallah@users.sourceforge.net>
648 * include/stdio.h: (_vscprintf, _vscwprintf)
649 * include/tchar.h: (_vsctprintf)
651 2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
653 Issue [2134161]: time64 functions and types for msvcrt >= 8.0
654 (initial implementation)
656 * new type: __time32_t
658 * new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
659 __stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
660 __wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t
662 * new functions: _ctime32, _difftime32, _difftime64, _findfirst32
663 _findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
664 _findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
665 _futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
666 _mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
667 _wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
668 _wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
669 _wstat32i64, _wstat64i32,_wutime32
671 * new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
672 ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
673 _fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
674 _stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
675 _wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime
677 2010-01-25 Kai Tietz <kai.tietz@onevision.com>
679 Implement TLS Callback.
681 * tlsmcrt.c: New file.
682 * tlsmthread.c: Ditto.
685 * Makefile.in: Include new files.
686 * crt1.c: Implement TLS Callback.
688 * mthr_stub.c: Remove.
690 2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
692 * include/_mingw.h: Increment version to 3.17.
694 2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
696 * mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa:
697 cf. http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
699 2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
701 * include/io.h (_open_osfhandle): Correct definition.
703 Thanks to Alexander Shaduri for the information.
705 2009-11-02 Charles Wilson <mingw@cwilson.fastmail.fm>
707 Final sync of pseudo-reloc.c with mingw64 and cygwin
708 * lib/pseudo-reloc.c (__report_error) [CYGWIN]: Correct size bug
709 regarding error messages.
711 2009-10-29 Charles Wilson <mingw@cwilson.fastmail.fm>
713 Honor DESTDIR for winsup/mingw and winsup/w32api.
714 Detect and report error if installation paths are win32
715 format, but DESTDIR is non-empty.
717 * Makefile.in (DESTDIR): Honor per convention.
718 (need-DESTDIR-compatibility): New macro; define it and a
720 (fail-DESTDIR-compatibility): New dependency goal.
721 (install-dirs): Require need-DESTDIR-compatibility.
722 * mingwex/Makefile.in (DESTDIR): Honor per convention.
723 (need-DESTDIR-compatibility): New macro; define it and a
725 (fail-DESTDIR-compatibility): New dependency goal.
726 (install): Require need-DESTDIR-compatibility.
727 * profile/Makefile.in: Ditto.
729 2009-10-25 Charles Wilson <mingw@cwilson.fastmail.fm>
731 Sync pseudo-reloc.c with mingw64
732 * psuedo-reloc.c: Remove unnecessary includes.
733 Forward declare _pei386_runtime_relocator.
734 Decorate _image_base__ symbol with macro for
735 mingw64 compatibility. Whitespace changes.
736 (__print_reloc_error): Renamed to...
737 (__report_error): This. "Returns" void, and
738 always aborts. Now used on all platforms.
739 (__write_memory): Remove special case error handling
740 for different platforms - always call __report_error.
741 (do_pseudo_reloc): Remove special case error handling
742 for different platforms - always call __report_error.
743 (_pei386_runtime_relocator): Decorate _image_base__
744 symbol with mingw64 compatibility macro.
746 2009-10-23 Charles Wilson <mingw@cwilson.fastmail.fm>
748 Sync pseudo-reloc.c with cygwin/lib/
749 * pseudo-reloc.c [CYGWIN]: Added comments throughout and various
750 whitespace fixes. Exploit cygwin_internal(CW_EXIT_PROCESS,...)
751 for fatal error handling that is consistent with cygwin process
752 life-cycle. Ensure state variable (in _pei386_runtime_relocator)
753 is unique to each address space, across fork().
754 [CYGWIN] (__print_reloc_error): New function for reporting
755 errors in a manner supported by cygwin at this early stage of
756 the process life-cycle.
757 [CYGWIN] (_pei386_runtime_relocator): Ensure relocations
758 performed only once for each address space, but are repeated
759 after fork() in the new address space.
760 [MINGW] (__write_memory): Ensure that b is always initialized
761 by call to VirtualQuery, even if -DNDEBUG.
763 2009-09-29 Keith Marshall <keithmarshall@users.sourceforge.net>
765 Make MinGW printf() "%p" format compatible with MSVCRT scanf().
766 (Based on MinGW-patch 2844514 by Peter Rosin <peda@lysator.liu.se>)
768 * mingwex/stdio/pformat.c (__printf) [%p]: Do not arbitrarily apply...
769 (PFORMAT_HASHED): ...this formatting attribute; honour only user
770 specified format qualifiers, except in special case...
771 [%p && stream.flags == flags && state == PFORMAT_INIT]: Apply...
772 (PFORMAT_ZEROFILL): ...this default formatting attribute...
773 (stream.precision): ...filled to at least 2 * sizeof( uintptr_t )
776 2009-09-01 Keith Marshall <keithmarshall@users.sourceforge.net>
778 Avoid multiple link time definitions of _printf() for C++;
779 (problem reported by Alexander Shaduri, via MinGW-users ML).
781 * include/stdio.h [__USE_MINGW_ANSI_STDIO]:
782 (__mingw_stdio_redirect__) [__cplusplus]: remove `static' keyword.
784 2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
786 * include/_mingw.h: Increment version to 3.16.
788 2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>
790 * include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit,
791 __signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf,
792 __fp_unordered_compare): Add prototypes.
793 * include/stdio.h (vsnwprintf): Add prototype.
794 * include/wchar.h (vsnwprintf): Add prototype.
795 * include/stdlib.h (_Exit): Protect inline definition with !__STRICT_ANSI__.
796 * include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard.
798 2009-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
800 Correct disposition of wchar_t output in printf().
802 * mingwex/stdio/pformat.c (__pformat) [%C]: Create new instance of...
803 (argval): ...this, in inner scope, with singular type `wchar_t'; use
804 it to pass one wchar to __pformat_wputchars(), for output.
806 2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
808 * mingwex/stdio/pformat.c: Implement better fix for type punned warning.
810 2009-07-27 Keith Marshall <keithmarshall@users.sourceforge.net>
812 Convert to monolithic configuration procedure.
814 * configure.in (AC_CHECK_TOOL): All instances; tabulate arguments.
815 (AC_SUBST): Use its 2nd argument to initialise MinGW default settings.
816 (PACKAGE_TARNAME) [target_os ~ cygwin]: Redefine it as appropriate.
817 (W32API_INCLUDE): Redefine; make it relative to `top_srcdir'.
818 (CRT0S): Relocate from `profile'; define it as appropriate.
819 (LIBM_A): Define and AC_SUBST it unconditionally.
820 (AC_CONFIG_SUBDIRS): Remove; none to configure.
821 (AC_OUTPUT_FILES): Add `Makefile' for each of...
822 (mingwex, profile): ...these subdirectories.
824 * configure: Regenerated.
826 * Makefile.in (PACKAGE, host_os): Let AC_SUBST define them.
827 (top_srcdir, top_builddir): New macros; let AC_SUBST define them.
828 (datarootdir): New macro; autoconf > 2.59 wants AC_SUBST to define it.
829 (SUBDIRS): Define explicitly, to run recursive `make' in...
830 (mingwex, profile): ...these; simplify build commands...
831 (rootme, rootsrc): ...without these shell variables.
832 (all, subdirs): Delete redundant build commands.
833 (FIXME): Flag various issues for follow up.
835 * mingwex/Makefile.in (INCLUDES): Redefined macro; refer it to...
836 (top_srcdir): ...this new macro; let AC_SUBST define it.
837 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
838 (Makefile): Make it depend on...
839 (top_builddir/config.status): ...this, itself depending on...
840 (top_srcdir/configure): ...this.
841 (FIXME): Flag various issues for follow up.
843 * mingwex/aclocal.m4: File no longer required; delete it.
844 * mingwex/configure mingwex/configure.in: Likewise.
846 * profile/Makefile.in (INCLUDES): Redefined macro; refer it to...
847 (top_srcdir): ...this new macro; let AC_SUBST define it.
848 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
849 (Makefile): Make it depend on...
850 (top_builddir/config.status): ...this, itself depending on...
851 (top_srcdir/configure): ...this.
852 (FIXME): Flag various issues for follow up.
854 * profile/aclocal.m4: File no longer required; delete it.
855 * profile/configure profile/configure.in: Likewise.
857 2009-07-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
859 * msvcrt.def.in: disable time symbol for libmsvcr90.a and libmsvcr90d.a due
860 to complaints that it causes issues.
862 2009-07-23 Jacky Lai <crazyjacky@users.sourceforge.net>
864 * mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan().
866 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
868 * include/inttypes.h include/math.h include/stdio.h include/stdlib.h
869 include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard
870 to all inline functions.
872 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
874 * CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
877 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
879 * cpu_features.c: replace gcc-specific construct with portable alternative
880 and match the code a few lines above.
881 * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
883 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
885 * include/_mingw.h: Changes required for PCC compiler.
887 2009-07-18 Jeff Lu <jll544@yahoo.com>
889 * mingwex/usleep.c: round up to next ms
891 2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
893 * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
894 mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
895 mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
896 the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
898 2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
900 * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.
902 2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>
904 * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files.
905 * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c
906 mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c
907 mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h
908 mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h
909 mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c
910 mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c
911 mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c
912 mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c
913 mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org
914 sources as of Apr. 20, 2009. Update further to match the sources in
915 the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX
916 code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the
917 double/ulong union from U to dbl_union for better grepping and white-
920 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
922 * include/stdlib.h (_wtof): Define.
924 2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
926 * include/stdint.h (int_fast8_t): Specify as signed char.
927 (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
928 (INT32_C, UINT32_C): Remove 'L' type specifier on constant.
930 2009-03-05 Kai Tietz <kai.tietz@onevision.com>
932 * pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2.
934 2009-02-08 Keith Marshall <keithmarshall@users.sourceforge.net>
936 MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.
937 (Requested by Robert Riebisch)
939 * mingwex/getopt.c (getopt_parse): Track external increments of...
940 (optind): ...this global variable.
942 2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
944 * include/_mingw.h: Increment version to 3.15.2.
946 2009-01-04 Keith Marshall <keithmarshall@users.sourceforge.net>
948 Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
949 Also add tentative support for BSD specific `optreset' feature.
951 * include/getopt.h (optreset) [_BSD_SOURCE]: Define; map it to...
952 (__mingw_optreset): ...this new global variable.
954 * mingwex/getopt.c (__mingw_optreset): Instantiate it...
955 (getopt_parse) [optind < 1]: ...make it true; use it to reset argument
958 2008-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
960 Partial fix for MinGW-Bug [2457778]: (Reported by Sisyphus).
961 Correct mishandling of invalid characters in printf() format specs.
963 * mingwex/stdio/pformat.c (__pformat): Save `fmt' scan position in...
964 (backtrack): ...this new automatic variable, at start of each format
965 conversion specification substring; use it to backtrack, and print the
966 substring literally, if any invalid character is encountered.
968 2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
970 * msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
971 ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
972 ___unguarded_readlc_active_add_func, __crtCompareStringW,
973 __crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
974 __pwctype_func, __iob_func, __uncaught_exception, __wcserror,
975 __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
976 __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
977 __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
978 _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
979 _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
980 _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
981 _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
982 _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
983 _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
985 2008-12-08 Dmitry G. Gorbachev <d.g.gorbachev@gmail.com>
987 * cpu_features.c (__cpu_features_init): Remove erroneous ';'.
989 2008-10-28 Keith Marshall <keithmarshall@users.sourceforge.net>
991 Correct some binary distribution packaging defects.
993 * Makefile.in (bindist): Remove `make' conditionals; segregate into...
994 (bindist-common, bindist-mingwrt, bindist-mingw-runtime): ...these new
995 intermediate goals; they make packages of files, as specified by...
996 (BINDIST_FILES, DEVDIST_FILES, DLLDIST_FILES): ...these new macros.
997 (dist_prefix) [target_alias !~ cygwin]: Leave it undefined.
999 2008-10-18 Keith Marshall <keithmarshall@users.sourceforge.net>
1001 Fix MinGW-Bug [2136252]: (Reported by Roumen Petrov).
1002 Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5
1004 * mingwex/stdio/pformat.c (__pformat_emit_float): Always make output
1005 of radix point conditional on precision != 0 or `#' flag specified.
1007 2008-10-13 Keith Marshall <keithmarshall@users.sourceforge.net>
1009 Fix MinGW-Bug [2160227]
1010 Eliminate conflicting declarations and implementations of scalb().
1012 * moldname.def.in (scalb): Comment out of EXPORTS list.
1013 * include/math.h (scalb): Comment out OLDNAMES prototype; it conflicts
1014 with GCC's built-in declaration.
1016 2008-10-12 Christopher Faylor <me+cygwin@cgf.cx>
1018 * Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
1020 * mingwex/Makefile.in: Ditto.
1021 * profile/Makefile.in: Ditto.
1022 * configure.in: Record mingw front-end for building under Cygwin.
1023 * mingwex/configure.in: Ditto.
1024 * profile/configure.in: Ditto.
1025 * configure: Regenerate.
1026 * mingwex/configure: Ditto.
1027 * profile/configure: Ditto.
1029 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
1031 Use de-facto standard Makefile goals to invoke test suite.
1033 * Makefile.in: Some minor formatting adjustments.
1034 (test_headers): Unconventionally named goal renamed to...
1035 (check-headers): ...this; make it a prerequisite of...
1036 (check): ...this new conventionally named goal.
1038 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
1040 Make strtod() inline definition C89 compliant.
1041 (Issue reported by Ilya Shestopalov and Ian Puleston)
1042 (Correction identified by Danny Smith)
1044 * include/stdlib.h (strtod): Declare as `__inline__', not `inline';
1045 reformat inline function definition.
1047 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1049 * include/_mingw.h: Increment version to 3.15.1 and introduce
1050 __MINGW32_PATCHLEVEL variable.
1052 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
1054 Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
1055 (Reported by Christian Franke)
1057 * mingwex/getopt.c (optind): Make global variable value conform to
1058 behaviour specified by POSIX; do not use it for internal state in...
1059 (getopt_parse): ...this static function; use...
1060 (optbase): ...this new static local variable instead.
1061 (getopt_resolved): Update `optind' as required.
1063 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
1065 Improve package identification in configure script.
1067 * configure.ac (AC_INIT): Redefine parameters...
1068 (PACKAGE_NAME): Set to `MinGW Runtime'.
1069 (PACKAGE_BUGREPORT): Set to `http://mingw.org/reporting_bugs'
1070 (PACKAGE_TARNAME): Set to `mingwrt'.
1071 (PACKAGE_VERSION): Set generically to `v3.x'; reassigned by...
1072 (MINGW_AC_CONFIG_SRCDIR): ...this macro, which extracts...
1073 (__MINGW32_VERSION): ...this, from file `include/_mingw.h'.
1075 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): Do not redefine...
1076 (PACKAGE_TARNAME): ...this.
1078 * configure: Regenerated.
1080 2008-09-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1082 Fix MinGW-Bug [2125708].
1083 (Reported by Alexandr Zamaraev).
1085 * include/stdlib.h (intptr_t) [!_INTPTR_T_DEFINED]: Unused typedef;
1086 not wanted here; remove it; replace it by...
1087 (uintptr_t) [!_UINTPTR_T_DEFINED]: ...this typedef; needed by...
1088 (_invalid_parameter_handler): ...this function typedef.
1090 2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
1092 * Makefile.in: Don't include host_os as part of snapshot filename.
1094 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
1096 Fix MinGW-Bug [2119504].
1097 (Reported by Peiyuan Song).
1099 * mingwex/getopt.c (getopt_resolved): Do not overwrite...
1100 (*retindex): ...this already correctly assigned return variable...
1101 (opt[index].val): ...with this; this should have been assigned to...
1102 (*opt[index].flag) [opt[index].flag != NULL]: ...this instead.
1104 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
1106 Fix MinGW-Bug [2117379].
1107 (Reported by Peiyuan Song).
1109 * include/stdio.h (__argv): Replace all references in function
1110 prototype argument lists and inline function local variables, with ...
1111 (__local_argv): ...this, to avoid potential conflict with ...
1112 * include/stdlib (__argv): ...this #defined macro.
1114 2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1116 * include/_mingw.h: Increment version to 3.15.
1118 2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1120 * Makefile.in: Adjust to new naming standard for MinGW while maintaining old
1121 naming standard for Cygwin.
1123 2008-08-31 Keith Marshall <keithmarshall@users.sourceforge.net>
1125 Reimplement getopt.c to add getopt_long_only() function.
1127 (N.B. this reimplementation removes support for BSD/Mac-OS-X
1128 `optreset' nonsense; user code should set `optind = 0' instead,
1129 to reinitialise option scanning).
1131 * mingwex/getopt.c: Delete all content; reimplement it.
1132 * include/getopt.h: Likewise.
1134 * include/unistd.h (__UNISTD_H_SOURCED__): New macro; define it.
1135 (__UNISTD_GETOPT__): This macro is no longer required; remove it.
1137 2008-08-30 Keith Marshall <keithmarshall@users.sourceforge.net>
1139 Implement conditional replacement for printf() family functions.
1141 * include/_mingw.h (__USE_MINGW_ANSI_STDIO): New macro; define it.
1142 (__MINGW_ANSI_STDIO__): New manifest constant; define as bitmapped
1143 flag for use in user specified __MINGW_FEATURES__ attribute.
1144 (__MINGW_LC_MESSAGES__, __MINGW_LC_ENVVARS__): New manifest constants;
1145 currently unused: reserved as components of...
1146 (__MINGW_LC_EXTENSIONS__): ...this new manifest constant; earmarked as
1147 a __MINGW_FEATURES__ enhancement to setlocale().
1149 * include/stdio.h (__mingw_printf, __mingw_vprintf): Prototype them.
1150 (__mingw_fprintf, __mingw_vfprintf): Likewise.
1151 (__mingw_sprintf, __mingw_vsprintf): Likewise.
1152 (__msvcrt_printf, __msvcrt_vprintf): Likewise.
1153 (__msvcrt_fprintf, __msvcrt_vfprintf): Likewise.
1154 (__msvcrt_sprintf, __msvcrt_vsprintf): Likewise.
1155 (printf, vprintf) [!__USE_MINGW_ANSI_STDIO]: Prototype for default
1156 usage; link to DLL import stub, importing from MSVCRT.
1157 (fprintf, vfprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
1158 (sprintf, vsprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
1159 (printf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_printf; use
1160 locally defined static stub implementation.
1161 (fprintf, sprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
1162 __mingw_fprintf and __mingw_sprintf respectively.
1163 (vprintf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_vprintf; use
1164 static inline implementation for C++ and GNU C, or locally defined
1165 static stub otherwise.
1166 (vfprintf, vsprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
1167 __mingw_vfprintf and __mingw_vsprintf respectively.
1169 2008-08-27 Keith Marshall <keithmarshall@users.sourceforge.net>
1171 Avoid access violations, passing NULL to printf( "...%s..." );
1172 (inconsistencency with MSVCRT and glibc, reported by Colin Harrison).
1174 * mingwex/stdio/pformat.c (__pformat_puts): Substitute "(null)"
1175 for argument value, if caller passes a NULL pointer.
1176 (__pformat_wcputs): Likewise, substitute L"(null)".
1178 2008-08-14 Keith Marshall <keithmarshall@users.sourceforge.net>
1180 Add missing dependencies for building libmingwex.a.
1182 * mingwex/Makefile.in (printf.o, fprintf.o, sprintf.o): Make them...
1183 (vprintf.o, vfprintf.o, vsprintf.o): ...and also these, depend on...
1184 (pformat.h): ...this.
1186 2008-08-11 Keith Marshall <keithmarshall@users.sourceforge.net>
1188 Add replacements for remaining members of printf() family.
1190 * mingwex/stdio/printf.c: New file.
1191 * mingwex/stdio/fprintf.c: New file.
1192 * mingwex/stdio/sprintf.c: New file.
1193 * mingwex/stdio/vprintf.c: New file.
1194 * mingwex/stdio/vfprintf.c: New file.
1195 * mingwex/stdio/vsprintf.c: New file.
1197 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
1198 (STDIO_OBJS): Add their corresponding object files.
1200 2008-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
1202 Replace __mingw_snprintf() with new generic family implementation;
1203 likewise, replace __mingw_vsnprintf().
1205 * mingwex/stdio/pformat.c mingwex/stdio/pformat.h: New files.
1206 * mingwex/stdio/snprintf.c mingwex/stdio/vsnprintf.c: New files.
1207 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
1208 (GDTOA_DISTFILES): Remove mingw_snprintf.c
1209 (STDIO_OBJS): Add pformat.o, snprintf.o and vsnprintf.o
1210 (GDTOA_OBJS): Remove mingw_snprintf.o
1211 (PFORMAT_CFLAGS): New macro; define it, as required by...
1212 (pformat.o): ...this new explicit build target.
1213 (snprintf.o, vsnprintf.o): Declare prerequisites.
1215 * mingwex/gdtoa/mingw_snprintf.c: Redundant file; delete it.
1217 2008-07-28 Keith Marshall <keithmarshall@users.sourceforge.net>
1219 Lay foundations for new printf() function family implementation.
1221 * ofmt_stub.s: New file; implement forward compatibility stub for...
1222 (_get_output_format): ...this MSVCR80.DLL and later function.
1224 * Makefile.in (SRCDIST_FILES): Add ofmt_stub.s.
1225 (NM, OBJCOPY): New macros; define them with AC_SUBSTed values.
1226 (sym_prefix, NM_LOOKUP, MINGW_REPL_FUNCS): New macros; define them.
1227 (lib%.a): Include ofmt_stub.o when import library does not already
1228 advertise availability of the _get_output_format() function;
1229 Add alias stubs for MINGW_REPL_FUNCS, such that...
1230 (__msvcrt_printf): ...is an alias for Microsoft's printf().
1231 (__msvcrt_fprintf): ...is an alias for Microsoft's fprintf().
1232 (__msvcrt_sprintf): ...is an alias for Microsoft's sprintf().
1233 (__msvcrt_vprintf): ...is an alias for Microsoft's vprintf().
1234 (__msvcrt_vfprintf): ...is an alias for Microsoft's vfprintf().
1235 (__msvcrt_vsprintf): ...is an alias for Microsoft's vsprintf().
1236 (clean): Add msvcr*.def.
1238 * configure.in (NM, OBJCOPY): Use AC_CHECK_TOOL to specify them.
1239 * configure: Regenerated.
1241 2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
1243 * include/ctype.h (_imp____mb_cur_max): Correct spelling.
1244 (_imp____mb_cur_max_dll): Likewise.
1246 2008-07-04 Danny Smith <dannysmith@users,sourceforge.net>
1248 * include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
1249 * include/wchar.h (swprintf, vswprintf): Likewise.
1251 2008-07-01 Keith Marshall <keithmarshall@users.sourceforge.net>
1253 * msvcrt.def.in [__msvcr80__, __msvcr80d__, __msvcr90__, __msvcr90d__]
1254 (_get_output_format, _set_output_format): Add references.
1256 * include/stdio.h [__MSVCRT_VERSION__ >= 0x800]
1257 (_get_output_format, _set_output_format): Declare prototypes.
1258 (_TWO_DIGIT_EXPONENT): Define.
1259 Some other minor formatting adjustments.
1261 2008-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1263 [mingw-Bugs-1801641]
1264 * include/wchar.h (_wfdopen): Const-ify second arg.
1265 * include/stdio.h (_wfdopen): Likewise.
1266 Thanks to <tdragon at users dot sourceforge net>
1268 2008-06-02 Keith Marshall <keithmarshall@users.sourceforge.net>
1270 Avoid precision errors in round(), lround() and llround() functions.
1272 * mingwex/math/round_generic.c: New file; it replaces...
1273 * mingwex/math/round.c: ...this; delete it.
1274 * mingwex/math/roundf.c: ...and this; ditto.
1275 * mingwex/math/roundl.c: ...and this; ditto.
1277 * mingwex/math/lround_generic.c: New file; it replaces...
1278 * mingwex/math/lround.c: ...this; delete it.
1279 * mingwex/math/lroundf.c: ...and this; ditto.
1280 * mingwex/math/lroundl.c: ...and this; ditto.
1281 * mingwex/math/llround.c: ...and this; ditto.
1282 * mingwex/math/llroundf.c: ...and this; ditto.
1283 * mingwex/math/llroundl.c: ...and this; ditto.
1285 * mingwex/math/round_internal.h: New file; it provides generic common
1286 code, which is shared by `round_generic.c' and `lround_generic.c'; the
1287 implementation is based on techniques suggested by Danny Smith and
1290 * mingwex/Makefile.in (MATH_DISTFILES): Remove `round.c', `roundf.c',
1291 `roundl.c', `lround.c', `lroundf.c', `lroundl.c', `llround.c',
1292 `llroundf.c' and `llroundl.c'; replace by `round_internal.h',
1293 `round_generic.c' and `lround_generic.c'.
1294 (MATH_OBJS): Factor out files listed in...
1295 (MATH_ROUND_OBJS, MATH_LROUND_OBJS, MATH_LLROUND_OBJS): ...these new
1296 macros; define them; specify dependencies and build rules; add to...
1297 (LIB_OBJS): ...this list.
1299 2008-05-22 Danny Smith <dannysmith@users.sourceforge.net>
1301 [ mingw-Bugs-1961893 ]
1302 * mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa
1303 mode to 2 for E format.
1305 2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
1307 * include/stdlib.h: Fix strtod under C++.
1309 2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
1311 * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
1312 * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
1314 2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
1316 * include/sys/types.h (useconds_t): typedef.
1317 * include/unistd.h (usleep): Add prototype.
1318 * mingwex/usleep.c: New file.
1319 * mingwex/makefile.in: Add usleep source and object.
1321 2008-05-02 Ramiro Polla <ramiro@lisha.ufsc.br>
1323 Make strtod() conform to C99.
1325 * include/stdlib.h (strtod): Declare this mingwex function, and...
1326 (_strtod): rename this MSVCRT counterpart.
1328 * mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
1330 2008-04-26 Chuck Wilson <cwilso11@users.sourceforge.net>
1332 * Makefile.in: correct issues with mingw10.dll having multiple relocs.
1334 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1336 * include/process.h: Include stdint.h for intptr_t definition.
1337 (_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
1338 _spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
1339 _spawnvpe): Return intptr_t.
1340 (execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
1341 spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
1343 * include/wchar.h: Guard wide process.h functions with !__STRICT_ANSI__.
1345 [!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
1346 (_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
1347 _wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
1348 _wspawnvp, _wspawnvpe): Return intptr_t.
1350 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1352 * include/wchar.h (fwide): Return success code rather than failure in inline
1354 * mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
1355 code rather than failure.
1357 2008-03-21 Danny Smith <dannysmith@users.sourceforge.net>
1359 * include/math.h (float_t, double_t): Define.
1361 2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1363 * mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
1364 * mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
1365 (x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
1367 2008-02-28 Joseph Myers <joseph@codesourcery.com>
1369 * include/complex.h: Don't condition contents on C99 or not
1372 2008-02-01 Brian Dessent <brian@dessent.net>
1374 * Makefile.in: Add rules to generate multiple versions of libmoldname.a for
1375 the different runtime versions.
1377 2008-01-19 Danny Smith <dannysmithusers.sourceforge.net
1379 * inclue/wchar.h (fwide): Add prototype and guard inline definition.
1380 (mbsinit): Likewise.
1382 2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1384 * include/_mingw.h: Increment version to 3.14.
1386 2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1388 * Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
1389 * msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
1390 * mingwex/math/log10f.S: Correct issue with comments.
1391 * mingwex/math/log10l.S: Ditto.
1392 * mingwex/math/log1p.S: Ditto.
1393 * mingwex/math/log1pf.S: Ditto.
1394 * mingwex/math/log1pl.S: Ditto.
1395 * mingwex/math/log2.S: Ditto.
1396 * mingwex/math/log2f.S: Ditto.
1397 * mingwex/math/log2l.S: Ditto.
1398 * mingwex/math/logf.S: Ditto.
1399 * mingwex/math/logl.S: Ditto.
1401 2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
1403 * mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
1405 2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
1407 * include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
1408 from '_fsize_t' to '__int64' to be consistent with the other ...64
1409 structures and the value set there is 8 bytes not 4. Add guard for both
1410 as the are only used by functions available from 6.1 on.
1412 * include/malloc.h (_HEAP_MAXREQ): Define.
1413 (_aligned_offset_recalloc): Define.
1414 (_aligned_recalloc()): Define.
1416 * include/math.h: fixed a typo in a comment.
1417 (atanhf): Fixed declaration.
1419 * include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
1420 to '__int64' to be consistent with the other ...64 structures and the value
1421 set there is 8 bytes not 4. Added guard as this function is only used by
1422 functions available from 6.1 on.
1424 * include/sys/stat.h: some members of 'stat' were declared with types with
1425 a prefixed underscore, while the ones without the underscore should have
1426 been used. Added guard to '__stat64' as it is only used by functions
1427 available from 6.1 on. Added the wide character versions of the
1428 exec()/spawn() family for completion
1429 (_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
1432 * include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
1433 from 'long' to 'time_t'
1434 (__timeb64): moved declaration of structure directly before the declaration
1435 of the function '_ftime64()', so it is guarded as well
1437 * include/sys/utime.h (__utimbuf64): moved declaration of structure directly
1438 before the declaration of the functions using it, so it is guarded as well
1440 2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
1442 * mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
1443 case. Add missing break in 's'/LEN_S case.
1445 2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1447 Make snprintf() and vsnprintf() conform to C99.
1449 * include/stdio.h: Add note about incompatibility between...
1450 (snprintf, vsnprintf): These two mingwex functions, and...
1451 (_snprintf, _vsnprintf): these MSVCRT counterparts.
1453 * mingwex/Makefile.in (STDIO_OBJS): Remove snprintf.o and vsnprintf.o
1454 (STDIO_DISTFILES): Remove snprintf.c and vsnprintf.c
1456 * mingwex/stdio/snprintf.c: Delete.
1457 * mingwex/stdio/vsnprintf.c: Delete.
1459 * mingwex/gdtoa/mingw_snprintf.c (snprintf): Alias to __mingw_snprintf
1460 (vsnprintf): Alias to __mingw_vsnprintf.
1462 2007-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1464 * include/_mingw.h: Increment version to 3.13.
1465 * Makefile.in: Reset CYGRELEASE to 1
1467 2007-07-23 Keith Marshall <keithmarshall@users.sourceforge.net>
1469 * Makefile.in (SUBDIRS): Delete stray line continuation artifact,
1470 resulting from incomplete removal of enclosing `for ...; do ...; done'
1471 loop from compound command; (reported by Greg Chicares).
1473 2007-07-19 Danny Smith <dannysmith@users.sourceforge.net>
1475 * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
1478 2007-07-12 Danny Smith <dannysmith@users.sourceforge.net>
1480 [mingw-Bugs-1734142]
1481 * include/wchar.h (_wsystem) Declare.
1483 (_wgetenv): Declare.
1484 (_wsearchenv): Declare.
1485 (_wmakepath): Declare.
1486 (_wsplitpath): Declare.
1487 (_wfullpath): Declare.
1488 * include/stdlib.h (_wsystem) Declare.
1489 (_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath,
1490 _wfullpath): Move into _WSTDLIB_DEFINED guard.
1491 * include/tchar.h (_tsystem): New UNICODE mapping define.
1493 2007-06-29 Danny Smith <dannysmith@users.sourceforge.net>
1495 * mingwex/gdtoa/mingw_snprintf.c: New file.
1496 * mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
1497 (GDTOA_OBJS): Add mingw_snprintf.o.
1499 2007-06-28 Danny Smith <dannysmith@users.sourceforge.net>
1501 * msvcrt.def.in: Update comment.
1502 Exclude _ctype stub if using msvcr71.dll or newer.
1503 * include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
1504 * include/wctype.h: Likewise.
1506 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1508 *include/wctype.h: Qualify all functions with __MINGW_NOTHROW.
1509 *include/dirent.h: Likewise.
1511 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1513 * include/assert.h: Qualify all functions with __MINGW_NOTHROW.
1514 * include/conio.h: Likewise.
1515 * include/ctype.h: Likewise.
1516 * include/direct.h: Likewise.
1517 * include/dos.h: Likewise.
1518 * include/errno.h: Likewise.
1519 * include/fenv.h: Likewise.
1520 * include/float.h: Likewise.
1521 * include/inttypes.h: Likewise.
1522 * include/io.h: Likewise.
1523 * include/libgen.h: Likewise.
1524 * include/locale.h: Likewise.
1525 * include/malloc.h: Likewise.
1526 * include/mbctype.h: Likewise.
1527 * include/mbstring.h: Likewise.
1528 * include/process.h: Likewise.
1529 * include/search.h: Likewise.
1530 * include/setjmp.h: Likewise.
1531 * include/signal.h: Likewise.
1532 * include/stdio.h: Likewise.
1533 * include/stdlib.h: Likewise.
1534 * include/string.h: Likewise.
1535 * include/time.h: Likewise.
1536 * include/wchar.h: Likewise.
1537 * include/sys/stat.h: Likewise.
1538 * include/sys/time.h: Likewise.
1539 * include/sys/timeb.h: Likewise.
1540 * include/sys/utime.h: Likewise.
1542 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1544 * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
1546 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1548 Add POSIX binary tree search API.
1550 * mingwex/tfind.c: New file.
1551 * mingwex/tdelete.c: New file.
1552 * mingwex/tsearch.c: New file.
1553 * mingwex/twalk.c: New file.
1554 * mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
1555 * mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
1556 * include/search.h (tfind): Declare.
1563 (node_t): Define, on condition of _SEARCH_PRIVATE.
1565 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1567 * include/_mingw.h (__MINGW_NOTHROW): Define.
1569 2007-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1571 * include/stdio.h (vsnprintf): Remove inline definition.
1574 2007-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1576 * CRTfmode.c: Nit-pick comment fix.
1578 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1580 * CRTfmode.c: Fix nested comment.
1582 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1584 * include/string.h (strcasecmp): Fix typo in declaration prototype.
1586 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1588 * include/io.h (lseek64) : Add prototype.
1590 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1592 * include/string.h (strcasecmp): Add prototype.
1593 (strncasecmp): Add prototype.
1595 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1597 * Makefile.in (CRT0S): Revert last change.
1598 * CRTfmode.c. Correct comment.
1600 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1602 * Makefile.in (CRT0S): Add back CRTfmode.o.
1604 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1606 * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
1607 * include/io.h: Likewise.
1609 2007-06-11 Danny Smith <dannysmith@users.sourceforge.net>
1611 * crt1.c (__mingw_CRTStartup): Add explicit call to gcc's __main.
1613 2007-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1615 * include/stdint.h (intptr_t): Fix typo.
1616 Thanks to Charles Wilson for report.
1618 2007-05-07 Danny Smith <dannysmith@users.sourceforge.net>
1620 * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
1621 Condition on _WIN64.
1622 (uintptr_t): Protect with _UINTPTR_T_DEFINED. Condition on _WIN64.
1623 (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64.
1624 (PTRDIFF_MIN): Define as INTPTR_MIN.
1625 (PTRDIFF_MAX): Define as INTPTR_MAX.
1626 (SIG_ATOMIC_MIN): Define as INTPTR_MIN.
1627 (SIG_ATOMIC_MAX): Define as INTPTR_MAX.
1629 2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1631 * Makefile.in: Removed mansuffix variable. Changed mansection to support
1632 Cygwin man page location.
1634 2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1636 * Makefile.in: Added mansection and mansuffix variables. Changed mandir to
1637 support Cygwin man page location.
1639 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1641 * Include/_mingw.h: Increment version to 3.12.
1643 2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
1645 * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__.
1647 2007-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1649 * Makefile.in: Tweak srcdist to fix build issue.
1651 2007-03-20 Keith Marshall <keithmarshall@users.sourceforge.net>
1653 Add --enable-mingw-manpage-transform configure option.
1655 * aclocal.m4 (MINGW_AC_MANPAGE_TRANSFORM): New macro.
1656 * configure.in, Makefile.in: Use it.
1657 * configure: Regenerated.
1659 2007-03-18 Danny Smith <dannysmith@users.sourceforge.net>
1661 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ for gcc 4.2.x too.
1663 2007-03-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1665 Add manpages for dirname and basename functions.
1667 * man: New directory.
1668 * man/dirname.man: New file; it sources both manpages.
1669 * Makefile.in: Add provisional rules to distribute them.
1671 2007-03-08 Keith Marshall <keithmarshall@users.sourceforge.net>
1673 * mingwex/basename.c: Make it work with path names containing
1674 multibyte character strings.
1675 * mingwex/dirname.c: Likewise.
1677 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1679 * include/io.h (__mingw_access): New static inline wrapper to restore
1680 pre-Vista 'access (fname, X_OK)' behaviour.
1681 (__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
1683 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1685 * mingwex/fesetround.c (fesetround): Use unsigned int as operand
1687 Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
1689 2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
1691 * include/stdio.h (_unlink, unlink): Add prototypes.
1693 2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
1695 * include/excpt.h: Replace "_try1" in comments with "__try1".
1697 2007-02-15 Danny Smith <dannysmith@users.sourceforge.net>
1699 * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1700 (ALL_CXXFLAGS): Likewise.
1701 * mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1702 (ALL_CXXFLAGS): Likewise.
1703 * profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1704 (ALL_CXXFLAGS): Likewise.
1706 2007-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1708 * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
1710 2007-01-27 Danny Smith <dannysmith@users.sourceforge.net>
1712 Expose some more msvcr80.dll functions.
1713 * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
1714 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
1715 * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
1716 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
1718 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1720 Expose some msvcr80.dll functions.
1721 * include/stdlib.h (_set_abort_behavior): Add prototype.
1722 (_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
1723 _set_abort_behavior mask argument.
1724 (_invalid_parameter_handler): Add typedef.
1725 (_set_invalid_parameter_handler): Add prototype.
1726 * include/stdio.h (_get_printf_count_output): Add prototype.
1727 (_set_printf_count_output): Add prototype.
1728 * msvcrt.def.in (_get_printf_count_output,_set_printf_count_output,
1729 _set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
1731 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1733 * include/_mingw.h (CRT_INLINE): Correct typo.
1735 2007-01-24 Danny Smith <dannysmith@users.sourceforge.net>
1737 * include/io.h (X_OK): Define to F_OK.
1739 2007-01-19 Danny Smith <dannysmith@users.sourceforge.net>
1741 * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1742 unconditionally. Change comment.
1743 * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1745 * include/io.h (rename): Declare.
1748 2006-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
1750 * include/libgen.h: New file; required by...
1751 * mingwex/basename.c, mingwex/dirname.c: New files.
1752 * mingwex/Makefile.in (DISTFILES): Add them...
1753 (POSIX_OBJS): ...with corresponding basename.o, dirname.o
1754 (Dependencies): Typo; s/Dependancies/Dependencies/
1756 2006-11-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1758 * Makefile.in (VERSION): Let configure define it.
1760 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): New macro.
1761 * configure.in: Use it.
1762 Correct quoting of autoconf macro arguments throughout.
1763 (AC_INIT, AC_OUTPUT): Update to autoconf 2.5x preferred syntax.
1764 (AR, AS, RANLIB, LD, DLLTOOL, DLLWRAP): Don't need AC_SUBST.
1765 (AC_ALLOCA): Invalid after GCC_NO_EXECUTABLES; removed.
1766 (AC_CONFIG_FILES): Add, to generate Makefile.
1768 * configure: Regenerated.
1770 2006-11-21 Danny Smith <dannysmith@users.sourceforge.net>
1772 * Makefile.in: Add aclocal.m4 to source release.
1773 * mingwex/Makefile.in: Ditto.
1774 * profile/Makefile.in: Ditto.
1776 2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1778 * Include/_mingw.h: Increment version to 3.11.
1779 * Makefile.in: Ditto.
1781 2006-11-09 Danny Smith <dannysmith@users.sourceforge.net>
1783 [ mingw-Bugs-1590623 ]
1784 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
1787 2006-10-04 Corinna Vinschen <corinna@vinschen.de>
1789 * Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
1790 correctly parenthesized.
1792 2006-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1794 * mingwex/mb_wc_common.h (get_codepage): Get it
1797 2006-09-18 Danny Smith <dannysmith@users.sourceforge.net>
1799 * mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity.
1801 * mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to
1803 * mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with
1806 2006-09-16 Danny Smith <dannysmith@users.sourceforge.net>
1808 * mingwex/gdtoa/strtopx.c (strtopx): Fix long double representation
1811 2006-09-11 Christopher Faylor <cgf@timesys.com>
1813 * Makefile.in: Semi-revert 2006-08-30 change.
1815 2006-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1817 * include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
1818 (__MINGW_IMPORT): Ansify.
1819 * include/stdlib.h (_sleep, _beep, _seterrormode): Add
1820 __MINGW_ATTRIB_DEPRECATED.
1822 2006-09-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1824 * aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
1825 Redundant macros; deleted.
1827 * configure.in (LIB_AC_PROG_CC): Replaced by...
1828 (AC_PROG_CC): ...this.
1830 * configure: Regenerated.
1832 2006-09-06 Danny Smith <dannysmith@users.sourceforge.net>
1834 * mingwex/gdtoa/misc.c (pow5mult): Restore original code.
1835 * mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
1836 * mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
1838 2006-09-01 Danny Smith <dannysmith@users.sourceforge.net>
1840 * mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
1841 g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
1842 gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
1843 README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
1845 * mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
1846 * mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
1847 * mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
1848 * mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
1849 * mingwex/wcstold.c: Avoid using strtold internals.
1850 * mingwex/wcstof.c: Rewrite.
1851 * mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
1852 (GDTOA_OBJS): Add to library.
1853 (DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
1854 (STDLIB_OBJS): Remove.
1855 (STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
1856 (Q8_OBJS): Add wcstof.o wcstold.o.
1857 * include/stdlib.h (strtof): Remove inline definition.
1859 * include/wchar.h (wcstof): Remove inline definition.
1861 2006-08-30 Corinna Vinschen <corinna@vinschen.de>
1863 * Makefile.in: Add with_cross_host to allow more granular checks.
1864 Set installation directories accordingly. Override CC setting only
1865 if building a Cygwin target.
1866 * aclocal.m4: Regenerate.
1867 * configure.in: Move AC_CANONICAL_SYSTEM check up. Add
1868 GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files.
1869 Test AC_ALLOCA only if building on a native system.
1870 * configure: Regenerate.
1872 2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1874 * include/ctype.h: Fix typo.
1876 2006-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1878 * include/ctype.h: Expose iswblank if __cplusplus.
1879 * include/wctype.h: Expose iswblank if __cplusplus.
1881 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1883 * include/ctype.h: Remove stray ')';
1885 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1887 * include/ctype.h (_BLANK): Expand comment.
1888 (isblank): Add prototype and inline definition.
1889 (iswblank): Add prototype and inline definition.
1890 * include/wctype.h (iswblank): Add prototype and inline definition.
1891 * mingwex/isblank.c: New file.
1892 * mingwex/iswblank.c: New file.
1893 * mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
1895 2006-07-06 Danny Smith <dannysmith@users.sourceforge.net>
1897 * include/math.h (__INFF,__INFL): Remove '#'.
1899 2006-07-04 Danny Smith <dannysmith@users.sourceforge.net>
1901 * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
1903 2006-07-03 Danny Smith <dannysmith@users.sourceforge.net>
1905 Support SSE float environment in fenv.h functions.
1906 * cpu_features.c: New file.
1907 * cpu_features.h: New file.
1908 * crt1.c: Include "cpu_features.h".
1909 (__mingw_CRTStartup): Call cpu_features_init().
1910 * Makefile.in (MING_OBJS): Add cpu_features.c.
1911 (SRCDIST_FILES): Add cpu_features.c, cpu_features.h.
1912 * include/fenv,h ( fenv_t;): Append __mxcsr field.
1913 (__MXCSR_EXCEPT_FLAG_SHIFT): New define.
1914 (__MXCSR_EXCEPT_MASK_SHIFT): New define.
1915 (__MXCSR_ROUND_FLAG_SHIFT): New define.
1916 * mingwex/feclearexcept.c: Include "cpu_features.h".
1917 Handle SSE environment.
1918 * mingwex/fegetenv.c: Likewise.
1919 * mingwex/feholdexcept.c: Likewise.
1920 * mingwex/fesetenv.c: Likewise.
1921 * mingwex/fesetexceptflag.c: Likewise.
1922 * mingwex/fesetround.c: Likewise.
1923 * mingwex/fetestexcept.c: Likewise.
1924 * mingwex/feupdateenv.c: Likewise.
1925 * mingwex/fegetround.c: Add comment.
1927 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1929 * Include/_mingw.h: Increment version to 3.10.
1930 * Makefile.in: Ditto.
1932 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1934 * mingwex/math/tgamma.c (SQTPI): Add braces.
1936 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1938 * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
1939 * mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
1941 * mingwex/math/sf_erf.c (erff): Initialize z.
1943 * mingwex/math/tgamma.c (SQTPI): Avoid type punning.
1945 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1947 * Include/_mingw.h: Increment version to 3.10.
1948 * Makefile.in: Ditto.
1950 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1952 * include/sys/time.h (struct timezone): Define.
1953 * include/time.h: Correct comment about timezone.
1955 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1957 * configure.in (AC_CONFIG_AUX_DIR): Remove.
1958 * configure: Regenerate.
1960 2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
1962 * configure: add srcdir as a possible location for install-sh.
1964 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1966 * mingwex/dirent.c (_tGetFileAttributes): New helper function.
1967 (_topendir): Use it.
1969 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1971 * include/sys/time.h: Add header guard. Add extern "C" bracketing
1973 (gettimeofday): Add prototype.
1974 * mingwex/gettimeofday.c: New file.
1975 * mingwex/makefile.in: Add gettimeofday source and object.
1977 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1979 * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
1980 else global library variable.
1981 (HUGEVALF): Likewise.
1982 (HUGEVALL): Likewise.
1983 (INFINITY): Likewise.
1986 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1988 * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
1990 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1992 * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
1994 2006-05-24 Christopher Faylor <cgf@timesys.com>
1996 * configure.in: Update to newer autoconf.
1997 (thanks to Steve Ellcey)
1998 * mingwex/configure.in: Ditto.
1999 * profile/configure.in: Ditto.
2000 * configure: Regenerate.
2001 * mingwex/configure: Ditto.
2002 * profile/configure: Ditto.
2003 * aclocal.m4: New file.
2004 * mingwex/aclocal.m4: Ditto.
2005 * profile/aclocal.m4: Ditto.
2007 2006-05-17 Danny Smith <dannysmith@users.sourceforge.net>
2009 * mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.
2010 Use supplied codepage as arg to WideCharToMultiByte.
2012 2006-02-13 Earnie Boyd <earnie@users.sf.net>
2014 * Makefile.in (libmsvcr80.a): Add import lib.
2015 (libmsvcr80d.a): Ditto.
2017 2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
2019 * Makefile.in: Bump cygwin build number.
2021 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
2023 * Include/_mingw.h: Increment version to 3.9.
2024 * Makefile.in: Ditto.
2026 2005-10-14 Danny Smith <dannysmith@users.sourceforge.net>
2028 * include/limits.h (SSIZE_MAX): Define.
2029 (LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.
2031 2005-10-13 Wu Yongwei <adah@users.sourceforge.net>
2033 * include/tchar.h: Include <wchar.h> when _UNICODE is defined.
2034 (_TEOF): New macro definition for _UNICODE and non_UNICODE cases.
2036 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
2038 * include/stddef.h: Remove.
2039 * include/stdarg.h: Remove.
2041 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
2043 * mingwex/complex/csqrt.c (csqrt): The sign of real part
2044 of result is positive when real part of arg == 0;
2045 * mingwex/complex/csqrtf.c (csqrtf): Ditto.
2046 * mingwex/complex/csqrtl.c (csqrtl): Ditto.
2048 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
2050 * include/time.h (_time64): Correct prototype.
2052 2005-10-08 Danny Smith <dannysmith@users.sourceforge.net>
2054 * mingwex/fegetenv.c (fegetenv): Restore exception masks.
2055 * mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
2056 to non-stop. Use "fnclex" to clear exception flags.
2058 2005-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2060 * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
2061 Avoid raising FP exceptions.
2063 2005-09-19 Danny Smith <dannysmith@users.sourceforge.net>
2065 * include/stdlib.h (strtof): Add prototype. Uglify
2066 parameter names in inline definition.
2068 (_Exit): Uglify parameter names in inline definition.
2069 (llabs): Add prototype.
2070 (_set_error_mode): Add prototype and input defines.
2072 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
2074 * mingwex/fe*.c: Revert previous changes.
2075 * include/fenv.h: Revert previous changes.
2077 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
2079 * mingwex/feclearexcept.c (feclearexcept): Change declaration.
2080 Do not return a value.
2081 * mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
2082 * mingwex/feraiseexcept.c (feraiseexcept): Likewise.
2083 * mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
2084 * mingwex/fegetenv.c (fegetenv): Likewise.
2085 * mingwex/fesetenv.c (fesetenv): Likewise.
2086 * mingwex/feupdateenv.c (feupdateenv): Likewise.
2087 * include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
2088 fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
2091 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
2093 * mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
2094 getting filelength for SEEK_END.
2096 2005-08-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
2098 * Include/_mingw.h: Increment version to 3.8.
2099 * Makefile.in: Ditto.
2101 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
2103 * include/wctype.h (towupper, towlower): Change arg and return value
2105 * include/ctype.h (towupper, towlower): Likewise.
2107 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
2109 * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
2110 a diagnostic, guarded by #ifdef DEBUG.
2111 (__mingwthr_remove_key_dtor): Likewise.
2113 2005-08-08 Danny Smith <dannysmith@users.sourceforge.net>
2115 * moldname.def.in (sleep, beep, seterrormode): Remove.
2117 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
2119 * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
2120 (_MCOUNT_DECL): Use it.
2121 (MCOUNT): Save and restore eax, ecx, edx registers.
2122 * profile/mcount.c (_mcount): ANSI-fy.
2124 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
2126 * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
2127 guard __MINGW_ATTRIB macro definitions.
2128 * include/math.h (logb[fl]): Don't define inlines for
2129 GCC-4.0+ && __FAST_MATH__.
2130 (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up
2131 line-continuation backslashes.
2133 2005-06-06 Danny Smith <dannysmith@users.sourceforge.net>
2135 * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
2136 in GNUC version guard.
2138 2005-05-20 Danny Smith <dannysmith@users.sourceforge.net>
2140 * crt1.c (_gnu_exception_handler): Handle illegal instruction
2141 OS exception as a signal if user has defined a SIGILL handler.
2143 2005-05-10 Danny Smith <dannysmith@users.sourceforge.net>
2145 * mingwex/math/nexttoward.c: New file.
2146 * mingwex/math/nexttowardf.c: New file.
2147 * mingwex/math/nextafterl.c: Add nexttowardl alias.
2148 * mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
2150 (MATH_OBJS): Add nexttoward.o, nexttowardf.o,
2151 * include/math.h (nexttoward, nextowardf, nexttowardl): Add
2154 2005-05-09 Danny Smith <dannysmith@users.sourceforge.net>
2156 * mingwex/math/nextafterf.c (nextafterf): Correct
2158 * mingwex/math/nextafterl.c: New file.
2159 * mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
2160 (MATH_OBJS): Add nextafterl.o.
2161 * include/math.h (nextafterl): Uncomment prototype.
2163 2005-05-08 Danny Smith <dannysmith@users.sourceforge.net>
2165 * mingwex/math/erfl.c: New file.
2166 * mingwex/Makefile.in (MATH_DISTFILES): Add erfl.c.
2167 (MATH_OBJS): Add erfl.o.
2168 * include/math.h (erfl, erfcl): Uncomment prototypes.
2170 2005-05-04 Danny Smith <dannysmith@users.sourceforge.net>
2172 * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
2173 #if (WCHAR_MAX <= WCHAR_MIN) is false.
2174 * include/stdint.h (WCHAR_MAX): Likwise.
2175 (WINT_MAX): Likewise.
2177 2005-05-03 Danny Smith <dannysmith@users.sourceforge.net>
2179 * mingwex/math/signbit.c (__signbit): Make return value
2180 consistent with GCC's __builtin_signbit.
2181 * mingwex/math/signbitf.c (__signbitf): Likewise.
2182 * mingwex/math/signbitf.c (__signbitl): Likewise.
2183 * include/math.h (__signbit, __signbitf, __signbitl): Likewise
2186 2005-05-02 Danny Smith <dannysmith@users.sourceforge.net>
2188 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
2190 * mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
2191 Remove unused MBTOWC_FLAGS define.
2193 2005-04-23 Danny Smith <dannysmith@users.sourceforge.net>
2195 * mingwex/mbrtowc.c: New file.
2196 * mingwex/wcrtomb.c: New file.
2197 * mingwex/btowc.c: New file.
2198 * mingwex/wctob.c: New file.
2199 * mingwex/mb_wc_common.h: New file.
2200 * mingwex/Makefile.in (DISTFILES): Add new files.
2201 (Q8_OBJS): Add new objects.
2202 * include/wchar.h: Adjust comment about mbrtowc() and related
2203 funcions. Add __restrict__ to pointer params in prototypes.
2204 (wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
2205 arg names from protototypes.
2207 2005-04-23 Wu Yongwei <adah@sh163.net>
2209 * mingwex/dirent.c: Formatting changes.
2210 * mingwex/dirent.c (_topendir): Make the end-of-path slash check
2213 2005-03-31 Danny Smith <dannysmith@users.sourceforge.net>
2215 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
2217 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
2219 * include/stdio.h (__mingw_fwrite): Change return value to
2221 * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
2223 2005-03-15 Hans Leidekker <hans@it.vu.nl>
2225 * include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
2227 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2229 * include/wctype.h (wctrans): Remove _CRTIMP.
2230 (towctrans): Likewise.
2233 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2235 * include/wctype.h: Add comment on wctrans, towctrans, wctype.
2237 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2239 * mingwex/wctype.c: New file.
2240 * mingwex/wctrans.c: New file.
2241 * mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c.
2242 * mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.
2244 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2246 * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.
2248 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2250 * include/assert.h: Remove header guard. #undef assert macro.
2251 (_assert): Use __MINGW_ATTRIB_NORETURN define.
2253 2005-02-11 Gregory W. Chicares <chicares@cox.net>
2255 * include/math.h (expm1, expm1f, expmll): Add prototypes.
2256 * mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
2258 (MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
2259 * mingwex/math/expm1.c: New file.
2260 * mingwex/math/expm1f.c: New file.
2261 * mingwex/math/expm1l.c: New file.
2263 2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
2265 * include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
2266 * include/wchar.h (struct stat): Likwwise.
2267 Bug reported to Debian by Anand Kumria <wildfire@progsoc.org>
2269 * include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
2271 2005-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2273 * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
2274 string is not valid.
2276 2005-01-26 Oliver Stoeneberg <oliverst@online.de>
2278 * include/malloc.h: Add missing return code defines for
2281 2005-01-17 Danny Smith <dannysmith@users.sourceforge.net>
2283 * include/sys/stat.h (struct __stat64): Change st_size type to
2285 * include/wchar.h (struct __stat64): Change st_size type to __int64.
2287 2005-01-13 Earnie Boyd <earnie@users.sf.net>
2289 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2291 * include/errno.h (ELOOP): Ditto.
2292 * include/_mingw.h: Increment version to 3.7.
2293 * Makefile.in: Ditto.
2295 2005-01-11 Danny Smith <dannysmith@users.sourceforge.net>
2297 * include/tchar.h (_tfreopen): Add UNICODE mappings.
2299 2005-01-11 Earnie Boyd <earnie@users.sf.net>
2301 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2302 lstat): Conditionalize defines for __STRICT_ANSI__.
2304 2005-01-10 Earnie Boyd <earnie@users.sf.net>
2306 * include/errno.h (ELOOP): Add definition.
2308 2005-01-10 Danny Smith <dannysmith@users.sourceforge.net>
2310 * mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
2311 casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
2312 clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
2313 ctanl.c ctanhl.c): New files.
2314 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2315 (COMPLEX_OBJS): Adjust.
2316 * include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
2317 casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
2318 cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
2321 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2323 * include/_mingw.h (__int16): Define as short.
2324 Thanks to: Leo Yuriev <leoyuriev at users dot sf dot net>
2326 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2328 * include/stdio.h (P_tmpdir): Add define.
2330 2005-01-03 Earnie Boyd <earnie@users.sf.net>
2332 * Makefile.in (inst_docdir): For Cygwin target set to share/doc/.
2334 2005-01-02 Earnie Boyd <earnie@users.sf.net>
2336 * include/_mingw.h: Increment version to 3.6
2337 * Makefile.in: Ditto
2339 2004-12-26 Danny Smith <dannysmith@users.sourceforge.net>
2341 * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
2342 casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
2343 clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
2344 ctanf.c ctanhf.c): New files.
2345 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2346 (COMPLEX_OBJS): Adjust.
2347 * include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
2348 casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
2349 cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
2352 2004-12-20 Danny Smith <dannysmith@users.sourceforge.net>
2354 * include/wchar.h (wcsdup): Correct prototype.
2355 * include/string.h (wcsdup): Correct prototype.
2357 2004-10-14 Danny Smith <dannysmith@users.sourceforge.net>
2359 * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
2361 2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
2363 * mingwex/math/fastmath.h: New file.
2364 * mingwex/math/asinh.c: New file.
2365 * mingwex/math/asinhf.c: New file.
2366 * mingwex/math/asinhl.c: New file.
2367 * mingwex/math/acosh.c: New file.
2368 * mingwex/math/acoshf.c: New file.
2369 * mingwex/math/acoshl.c: New file.
2370 * mingwex/math/atanh.c: New file.
2371 * mingwex/math/atanhf.c: New file.
2372 * include/math.h (asinh, asinhf, asinhl, acosh, acoshf, acoshl,
2373 atanh, atanhf, atanhl): Add prototypes.
2374 * mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
2375 (MATH_DISTFILES): Add sources for above and fastmath.h to list.
2376 Specify dependency on fastmath.h for new objects.
2378 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2380 * include/sys/stat.h (_S_IFLNK): Add definition.
2387 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2389 * include/sys/stat.h (_S_ISLNK): Add definition.
2392 2004-09-05 Earnie Boyd <earnie@users.sf.net>
2394 * include/_mingw.h: Increment minor version for 3.5 release.
2395 * Makefile.in: Ditto.
2396 * mingwex/Makefile.in: Correct typo in list of DISTFILES.
2398 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2400 * include/malloc.h (__mingw_aligned_offset_malloc,
2401 __mingw_aligned_offset_realloc, __mingw_aligned_malloc,
2402 __mingw_aligned_realloc, __mingw_aligned_free): Add
2404 * mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
2405 tst-aligned-malloc.c.
2406 (REPLACE_OBJS): Add mingw-aligned-malloc.o.
2408 2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
2410 * mingwex/mingw-aligned-malloc.c: New file.
2411 * mingwex/tst-aligned-malloc.c: New file.
2413 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2415 * crt1.c: (__mingw_CRTStartup): Change return to void. Add
2416 noreturn attribute. Align stack to 16 bytes before passing args
2418 (mainCRTStartup): Change return to void.
2419 (WinMainCRTStartup): Likewise.
2421 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2423 * profile/COPYING: New file.
2424 * profile/CYGWIN_LICENSE: New file.
2425 * profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
2427 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2429 * mingwex/fopen64.c: Move.
2430 * mingwex/fseeko64.c: Move.
2431 * mingwex/ftello64.c: Move.
2432 * mingwex/lseek64.c: Move.
2433 * mingwex/stdio/fopen64.c: To here.
2434 * mingwex/stdio/fseeko64.c: To here.
2435 * mingwex/stdio/ftello64.c: To here.
2436 * mingwex/stdio/lseek64.c: To here.
2438 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2440 * profile/gmon.c [__MINGW32__]: Include string.h for
2443 2004-08-08 Christopher Faylor <cgf@timesys.com>
2445 * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
2447 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2449 * include/complex.h: Remove __attribute__ ((const)) from
2450 transcendantal and trig functions. Replace __attribute__ ((const))
2451 with __MINGW_ATTRIB_CONST on other declarations.
2453 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2455 * include/wchar.h: Reorganize, avoid including other headers.
2457 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2459 * include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
2460 (strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
2463 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2465 * include/dirent.h (struct _wdirent): Remove obsolete comment.
2467 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2469 * include/string.h: Revert 2004-07-26 additions of
2472 2004-07-28 Danny Smith <dannysmith@users.sourceforge.net>
2474 * mingwex/math/powl.c (powl): Revert change of 2004-02-01.
2475 (__convert_inf_to_maxnum): New.static inline.
2476 (reducl): Use it to protect against Inf - Inf.
2477 (__fast_ldexpl): New function. Use in lieu of ldexpl.
2479 2004-07-27 Danny Smith <dannysmith@users.sourceforge.net>
2481 * mingwex/math/expl.c (expl): Move body of code to new static
2482 function __expl, removing tests for +/-Inf. Extern function
2483 expl calls __expl after testing for max, min log thresholds.
2485 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2487 * mingwex/stdio/vsscanf.c: Add "edi" to registers-modified field
2488 * mingwex/stdio/vfscanf.c: Likewise.
2489 * mingwex/stdio/vswscanf.c: Likewise.
2490 * mingwex/stdio/vfwscanf.c: Likewise.
2492 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2494 * include/_mingw.h: Use only two underscores to uglify
2495 __MINGW_ATTRIB_* macros.
2496 * include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
2497 * include/setjmp.h: Likewise.
2499 * include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
2501 (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
2503 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2505 * include/string.h: Group wide string functions together,
2506 and protect with _WSTRING_DEFINED.
2508 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2510 * include/_mingw.h (__MINGW_ATTR_*): Replace with
2512 * include/stdlib.h (_ATTRIB_NORETURN): Replace with
2513 __MINGW_ATTRIB_NORETURN, throughout.
2514 (malloc): Declare with __MINGW_ATTRIB_MALLOC.
2516 (abs): Declare with __MINGW_ATTRIB_CONST.
2525 * include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
2527 2004-07-21 Danny Smith <dannysmith@users.sourceforge.net>
2529 * include/_mingw.h: Undefine __attribute__.
2530 (__MINGW_ATTR_NORETURN): New define.
2531 (__MINGW_ATTR_CONST): New define.
2532 (__MINGW_ATTR_MALLOC): New define.
2533 (__MINGW_ATTR_PURE): New define.
2534 (_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
2537 2004-07-19 Danny Smith <dannysmith@users.sourceforge.net>
2539 * include/time.h (__time64_t): Add missing ';'.
2541 2004-07-17 Danny Smith <dannysmith@users.sourceforge.net>
2543 * include/time.h (wcsftime): Move out of !__STRICT_ANSI__ block.
2544 (struct tm): Protect with _TM_DEFINED.
2546 2004-07-17 Christopher Faylor <cgf@timesys.com>
2548 * Makefile.in (CC): Strip inappropriate include file settings from any
2551 2004-07-15 "dgun" <dgun@umpire.com>
2553 * include/complex.h (conj): Correct typo in prototype.
2555 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2557 * include/math.h: Add pragma GCC system_header.
2559 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2561 * mingwex/complex/carg.c: New file.
2562 * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
2564 2004-07-15 Corinna Vinschen <corinna@vinschen.de>
2566 * Makefile.in (INCLUDES): Temporarily revert previous change.
2567 * mingwex/Makefile,in (INCLUDES): Ditto.
2568 * profile/Makefile,in (INCLUDES): Ditto.
2569 * mingwex/Makefile,in: Drop carg.o dependency.
2571 2004-07-14 Christopher Faylor <cgf@timesys.com>
2573 * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
2575 2004-07-14 Danny Smith <dannysmith@users.sourceforge.net>
2577 * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
2579 * mingwex/Makefile,in (INCLUDES): Ditto.
2580 * profile/Makefile,in (INCLUDES): Ditto.
2582 * mingwex/Makefile,in: Add carg.o to libmingwex.a.
2584 2004-07-13 Earnie Boyd <earnie@users.sourcefourge.net>
2586 * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
2588 * mingwex/Makefile.in: Ditto.
2589 * profile/Makefile.in: Ditto.
2590 * include/limits.h: Change to new file header preamble.
2591 * include/_mingw.h: Increment minor version for 3.4 release.
2592 * Makefile.in: Ditto.
2594 2004-07-12 Danny Smith <dannysmith@users.sourceforge.net>
2596 * mingwex/math/cephes_emath.h (__etens): Remove declaration.
2598 2004-07-11 Danny Smith <dannysmith@users.sourceforge.net>
2600 * include/unistd.h (ftruncate): Add inline definition.
2601 * mingwex/ftruncate.c: New file.
2602 * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
2604 2004-07-10 Danny Smith <dannysmith@users.sourceforge.net>
2606 * include/time.h: Do not include sys/types.h.
2608 2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
2610 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
2611 (MATH_OBJS): Remove pow,o.
2612 * include/math.h (pow): Declare with _CRTIMP.
2613 Add comment on how to avoid excess precision problems.
2615 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
2617 * include/stdio.h (__mingw_fseeko64): Add prototype.
2618 * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
2619 (__mingw_fwrite): Handle huge files.
2621 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
2622 Danny Smith <dannysmith@users.sourceforge.net>
2624 * include/stdio.h (fopen64): Add inline function.
2625 (fseeko64): Add prototype.
2626 (ftello64): Add inline function.
2627 * include/io.h (lseek64): Add inline function.
2628 * include/sys/types (off64_t): Add typedef.
2629 (fpos64_t): Add typedef.
2630 * mingwex/fopen64.c: New file.
2631 * mingwex/fseeko64.c: New file.
2632 * mingwex/ftello64.c: New file.
2633 * mingwex/lseek64.c: New file.
2634 * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
2635 fseeko.64.c, ftello64.c, lseek64.c.
2636 (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
2638 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
2640 * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
2642 2004-04-22 Earnie Boyd <earnie@users.sf.net>
2644 * DISCLAIMER: Add words about "free to use".
2645 * README: Modify "Win32 runtime" to "Microsoft C Runtime".
2646 * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
2647 (inst_docdir): New variable.
2649 (FLAGS_TO_PASS): Include inst_docdir.
2650 (install-dirs): Add inst_docdir.
2651 (install): Add loop for INSTDOCS.
2652 * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
2653 section to CONTRIBUTORS file. Remove RCS tags.
2655 2004-04-22 Danny Smith <dannysmith@users.sourceforge.net>
2657 * mingwex/math/lround.c: Rewrite.
2658 * mingwex/math/lroundf.c: Rewrite.
2659 * mingwex/math/lroundl.c: Rewrite.
2660 * mingwex/math/llround.c: Rewrite.
2661 * mingwex/math/llroundf.c: Rewrite.
2662 * mingwex/math/llroundl.c: Rewrite.
2664 2004-04-20 Earnie Boyd <earnie@users.sf.net>
2666 * CONTRIBUTORS: New file.
2667 * DISCLAIMER: Ditto.
2668 * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
2669 section to CONTRIBUTORS file. Remove RCS tags.
2670 * CRTFmode.c: Ditto.
2674 * crtdll.dev: Ditto.
2684 * msvcrt.def.in: Ditto.
2685 * strcasecmp.c: Ditto.
2688 * include/assert.h: Ditto.
2689 * include/conio.h: Ditto.
2690 * include/ctype.h: Ditto.
2691 * include/direct.h: Ditto.
2692 * include/dirent.h: Ditto.
2693 * include/dos.h: Ditto.
2694 * include/errno.h: Ditto.
2695 * include/excpt.h: Ditto.
2696 * include/fcntl.h: Ditto.
2697 * include/float.h: Ditto.
2698 * include/io.h: Ditto.
2699 * include/locale.h: Ditto.
2700 * include/malloc.h: Ditto.
2701 * include/math.h: Ditto.
2702 * include/process.h: Ditto.
2703 * include/setjmp.h: Ditto.
2704 * include/share.h: Ditto.
2705 * include/signal.h: Ditto.
2706 * include/stdio.h: Ditto.
2707 * include/stdlib.h: Ditto.
2708 * include/string.h: Ditto.
2709 * include/tchar.h: Ditto.
2710 * include/time.h: Ditto.
2711 * include/wchar.h: Ditto.
2712 * include/sys/locking.h: Ditto.
2713 * include/sys/param.h: Ditto.
2714 * include/sys/stat.h: Ditto.
2715 * include/sys/timeb.h: Ditto.
2716 * include/sys/types.h: Ditto.
2717 * include/sys/utime.h: Ditto.
2718 * mingwex/dirent.c: Ditto.
2720 2004-04-19 Earnie Boyd <earnie@users.sf.net>
2722 * include/_mingw.h: Revert to primary release 3 and increment minor
2724 * Makefile.in (VERSION): Ditto.
2726 2004-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2728 * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
2729 _fmode if not __MSVCRT__.
2731 2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
2733 * include/io.h: (_findfirst): Correct prototype.
2735 2004-03-30 Hans Leidekker <hans@it.vu.nl>
2737 * include/io.h: (_findnext, _findclose): Correct prototype.
2739 2004-03-28 Hans Leidekker <hans@it.vu.nl>
2741 * include/math.h (FP_*): Add defines.
2743 2004-03-29 Danny Smith <dannysmith@users.sourceforge.net>
2745 * mingwex/math/round.c: Rewrite.
2746 * mingwex/math/roundf.c: Rewrite.
2747 * mingwex/math/roundl.c: Rewrite.
2749 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2751 * include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.
2752 * include/time.h (__time64_t): Add typedef.
2753 (_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2754 (_ctime64): Likewise.
2755 (_wctime64): Likewise.
2756 (_gmtime64): Likewise.
2757 (_localtime64): Likewise.
2758 (wcsftime): Move into _WTIME_DEFINED block.
2759 Regroup non-ANSI prototypes.
2760 * include/io.h: Include <stdint.h>.
2761 (__finddata64_t): Add struct definition.
2762 (__wfinddata64_t): Likewise.
2763 (_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2764 (_findnext64): Likewise.
2765 (_wfindfirst64): Likewise.
2766 (_wfindnext64): Likewise.
2767 * include/sys/timeb.h (__timeb64): Add struct definition.
2768 (_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2769 * include/sys/utime.h (__utimbuf64): Add struct definition.
2770 (_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2771 (_futime64): Likewise.
2772 (_wutime64): Likewise.
2773 * include/sys/stat.h (__stat64): Add struct definition.
2774 (_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2775 (_stat64): Likewise.
2776 (_wstat64): Likwise.
2777 * include/sys/types.h (__time64_t): Add typedef.
2778 * include/wchar.h (__wfinddata64_t): Add structure definition.
2779 (__stat64): Likewise.
2780 (_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2781 (_wfindfirst64): Likewise.
2782 (_wfindnext64): Likewise.
2783 (_wutime64): Likewise.
2784 (_wstat64): Likwise.
2785 * include/malloc.h (_aligned_free): Add prototype for
2786 __MSVCRT_VERSION__ >= 0x0700.
2787 (_aligned_malloc): Likewise.
2788 (_aligned_offset_malloc): Likewise.
2789 (_aligned_offset_realloc): Likewise.
2790 (_aligned_realloc): Likewise.
2791 * include/string.h (_wcserror): Add prototype for
2792 __MSVCRT_VERSION__ >= 0x0700.
2793 (__wcserror): Likewise.
2794 * include/math.h (_set_SSE2_enable): Add prototype for
2795 __MSVCRT_VERSION__ >= 0x0701.
2797 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2799 * include/stdio.h (_fsopen): Add prototype.
2800 * include/tchar.h (_tfsopen): Add defines.
2801 Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
2803 2004-03-19 Danny Smith <dannysmith@users.sourceforge.net>
2805 * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
2806 msvcr70.dll, and msvcr71.dll.
2807 * Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant
2808 using basename of output def file.
2810 2004-03-13 Danny Smith <dannysmith@users.sourceforge.net>
2812 * include/malloc.h: Remove __STRICT_ANSI__ guard.
2814 2004-03-11 Brian Keener <bkeener@thesoftwaresource.com>
2816 * include/process.h: Remove the #endif associated with removal of
2817 __STRICT_ANSI__ guard from non-ANSI header.
2819 2004-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2821 * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
2822 * include/direct.h: Ditto.
2823 * include/dirent.h: Ditto.
2824 * include/dos.h: Ditto.
2825 * include/excpt.h: Ditto.
2827 * include/io.h: Ditto.
2828 * inlude/mem.h: Ditto.
2829 * include/memory.h: Ditto.
2830 * include/process.h: Ditto.
2831 * inlude/search.h: Ditto.
2832 * include/share.h: Ditto.
2833 * include/unistd.h: Ditto.
2834 * include/sys/fcntl.h: Ditto.
2835 * include/file.h: Ditto.
2836 * include/sys/locking.h: Ditto.
2837 * include/sys/param.h: Ditto.
2838 * include/sys/stat,h
2839 * include/sys/time.h: Ditto.
2840 * include/sys/timeb.h: Ditto.
2841 * include/sys/types.h: Ditto.
2842 * include/sys/unistd.h: Ditto.
2843 * include/sys/utime.h: Ditto.
2845 2004-02-21 Danny Smith <dannysmith@users.sourceforge.net>
2847 * include/_mingw.h (__UNUSED_PARAM): Define macro.
2848 * include/wchar.h (fwide): Use it.
2851 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2853 * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
2854 NetBSD getopt_long.c.
2856 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2858 * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
2859 codes and handling of special chars.
2861 2004-02-02 Danny Smith <dannysmith@users.sourceforge.net>
2863 * include/stdio.h (feof): Add inlined definition.
2866 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2868 * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
2869 directly, rather than via scabnl.
2871 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2873 * mingwex/math/powl.c (powl): Return infinity if
2874 extended precision multiplication of x by log2(y)
2877 2004-01-31 Danny Smith <dannysmith@users.sourceforge.net>
2879 * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
2880 (__enan_NI16): Fix another one.
2881 (__enan_NBITS): Tidy.
2883 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
2885 * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
2886 types. (Thanks to John Maddock for report.)
2888 2004-01-14 Greg Chicares <chicares@users.sourceforge.net>
2890 * include/tchar.h (_puttchar): Define.
2892 2003-12-13 Danny Smith <dannysmith@users.sourceforge.net>
2894 * include/stdio.h:(_fileno): Define macro version after both
2895 fileno and _fileno functions declared.
2897 * include/stdio.h (_rmtmp, rmtmp): Add prototypes.
2898 * moldnames.def.in (rmtmp) Add stub.
2900 2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
2902 * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
2904 2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
2906 * include/math.h: Guard ISO C99 additions with __cplusplus
2909 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2911 * include/_mingw.h: Define __attribute__((x)) to nothing
2914 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2916 * include/complex.h: New file.
2917 * mingwex/complex: New directory.
2918 * mingwex/complex/cabs.c: New file.
2919 * mingwex/complex/cacos.c: New file.
2920 * mingwex/complex/cacosh.c: New file.
2921 * mingwex/complex/casin.c: New file.
2922 * mingwex/complex/casinh.c: New file.
2923 * mingwex/complex/catan.c: New file.
2924 * mingwex/complex/catanh.c: New file.
2925 * mingwex/complex/ccos.c: New file.
2926 * mingwex/complex/ccosh.c: New file.
2927 * mingwex/complex/cexp.c: New file.
2928 * mingwex/complex/cimag.c: New file.
2929 * mingwex/complex/clog.c: New file.
2930 * mingwex/complex/cpow.c: New file.
2931 * mingwex/complex/cproj.c: New file.
2932 * mingwex/complex/creal.c: New file.
2933 * mingwex/complex/csin.c: New file.
2934 * mingwex/complex/csinh.c: New file.
2935 * mingwex/complex/csqrt.c: New file.
2936 * mingwex/complex/ctan.c: New file.
2937 * mingwex/complex/ctanh.c: New file.
2938 * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
2941 (COMPLEX_OBJS): New list of objects.
2942 (LIB_OBJS): Include it in the library.
2944 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2946 * include/math.h (cabs): Remove non-ISO prototype.
2948 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2950 * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
2951 Use GCC __builtin's if available.
2952 (INFINITY, INFINITYF, INFINITYL): Likewise.
2954 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2956 * mingwex/math/s_erf.c (erf): Set errno to ERANGE if
2957 beyond approximation limit.
2958 * mingwex/math/sf_erf.c (erff): Likewise.
2960 2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
2962 * include/stdio.h (getc): Cast result to unsigned char before
2965 (getchar): Likewise.
2966 (putchar): Likewise.
2967 Thanks to M.Fujii <boochang@m4.kcn.ne.jp>
2969 2003-10-10 Earnie Boyd <earnie@users.sf.net>
2971 * include/_mingw.h: Increment version to 3.2.
2972 * Makefile.in: Ditto.
2974 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2976 * include/sys/types.h: Revert last change.
2978 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2980 * include/sys/types.h (ssize_t): Correct the definition.
2982 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2984 * include/stdio.h (_filbuf): Add prototype.
2985 (_flsbuf): Add prototype.
2986 (getc): Add inline version.
2988 (getchar): Likewise.
2989 (putchar): Likewise.
2991 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2993 * mingwex/dirent.c (_treaddir): Reset errno to 0 if end
2996 2003-09-29 Danny Smith <dannysmith@users.sourceforge.net>
2998 * include/stdlib.h: Guard non-ISO functions with
2999 !__STRICT_ANSI__, throughout.
3001 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
3003 * include/io.h (_fileno): Remove prototype.
3005 (FILENAME_MAX): Define, if needed.
3006 Don't include <stdio.h>.
3007 * include/stdio.h (FILENAME_MAX): Protect against
3009 (_fileno): Define macro implementation.
3012 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
3014 * include/inttypes.h: Include _mingw.h.
3016 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
3018 * include/_mingw.h (__CRT_INLINE): Define.
3019 * include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
3021 * include/inttypes.h: Likewise.
3022 * include/math.h: Likewise.
3023 * include/stdio.h: Likewise.
3024 * include/stdlib.h: Likewise.
3025 * include/string.h: Likewise.
3026 * include/wchar.h: Likewise.
3027 * include/wctype.h: Likewise.
3029 2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
3031 * mingwex/dirent.c (_topendir): Allocate enough memory for
3032 DIR struct in UNICODE case too.
3034 2003-09-15 Earnie Boyd <earnie@users.sf.net>
3036 * include/_mingw.h: Increment version to 3.2.
3037 * Makefile.in: Ditto.
3039 2003-07-03 Earnie Boyd <earnie@users.sf.net>
3041 * config.guess, config.sub: Update with versions from ftp.gnu.org.
3043 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
3045 * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
3046 * mingwex/math/truncf.c (truncf): Likewise.
3047 * mingwex/math/truncl.c (truncl): Likewise.
3048 * mingwex/math/modff.c (modff): Likewise.
3049 * mingwex/math/modfl.c (modfl): Likewise.
3051 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
3053 * include/search.h: New file.
3054 * include/stdlib.h: Add comment about qsort, bsearch in
3056 * test_headers.c: Include search.h.
3057 * moldname.def.in (lfind, lsearch): Add.
3059 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
3061 * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
3062 _execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
3063 execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
3065 2003-07-01 Earnie Boyd <earnie@users.sf.net>
3067 * include/_mingw.h (small, hyper): Change to __small and __hyper to
3068 avoid user space name conflicts.
3070 2003-07-01 Earnie Boyd <earnie@users.sf.net>
3072 * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
3073 Note: Also added to w32api/include/basetyps.h.
3074 * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
3075 Rename to Small (case difference).
3077 2003-06-18 Earnie Boyd <earnie@users.sf.net>
3079 * include/dirent.h (dirent): Make d_name and array instead of a pointer.
3080 * mingwex/dirent.c: Modifications througout to fill d_name array.
3081 * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
3082 libmsvcr71, including debug versions.
3083 (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
3085 2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
3087 * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
3088 __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
3090 Thanks to: Aaron W LaFramboise <AWLaFramboise@aol.com>
3092 2003-05-30 Sascha Sommer <saschasommer@freenet.de>
3094 * include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
3096 2003-05-15 Danny Smith <dannysmith@users.sourceforge.net>
3098 * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
3099 but still protect inline definition with __STRICT_ANSI__.
3101 2003-05-14 Danny Smith <dannysmith@users.sourceforge.net>
3103 * string_old.c: Remove, splitting into...
3104 * strcasecmp.c: New file.
3105 * strncasecmp.c: New file.
3106 * wscmpi.c : New file.
3107 * ctype_old.c: Remove, splitting into...
3108 * isascii.c: New file.
3109 * iscsym.c: New file.
3110 * iscsymf.c: New file.
3111 * toascii.c: New file.
3112 * Makefile.in (MOLD_OBJS): Adjust.
3113 (SRCDIST_FILES): Adjust.
3115 2003-05-13 Danny Smith <dannysmith@users.sourceforge.net>
3117 * include/math.h (fabs) : Remove inline definition.
3121 2003-05-06 Earnie Boyd <earnie@users.sf.net>
3123 * include/_mingw.h: Change version to 3.0
3124 * Makefile.in: Ditto.
3126 2003-05-06 Earnie Boyd <earnie@users.sf.net>
3128 * configure.in (W32API_INCLUDE): Need the -I switch in the value.
3129 * mingwex/configure.in (W32API_INCLUDE): Ditto.
3130 * profile/configure.in (W32API_INCLUDE): Ditto.
3132 2003-05-06 Earnie Boyd <earnie@users.sf.net>
3134 * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
3135 of multiply defined symbols if the symbols is defined locally. E.G.:
3136 A local definition of malloc causes this problem.
3137 * configure: Regenerate.
3138 * profile/Makefile.in (W32API_INCLUDE): New variable.
3139 (ALL_CFLAGS): Use W32API_INCLUDE value.
3140 (ALL_CXXFLAGS): Ditto.
3141 (gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
3142 Thanks to Jeff Bonggren <jbon@users.sf.net>.
3143 * profile/configure.in (W32API_INCLUDE): Set default value.
3144 * profile/configure: Regenerate.
3145 * mingwex/Makefile.in (W32API_INCLUDE): New variable.
3146 (ALL_CFLAGS): Use W32API-INCLUDE value.
3147 (ALL_CXXFLAGS): Ditto.
3148 * mingwex/configure.in (W32API_INCLUDE): Set default value.
3149 * mingwex/configure: Regenerate.
3151 2003-05-05 Earnie Boyd <earnie@users.sf.net>
3153 * Makefile.in (W32API_INCLUDE): New variable.
3154 (ALL_CFLAGS): Use W32API_INCLUDE value.
3155 (ALL_CXXFLAGS): Ditto.
3156 * configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
3157 (W32API_INCLUDE): Set default value.
3158 * configure: Regenerate.
3160 2003-04-11 Earnie Boyd <earnie@users.sf.net>
3162 * configure.in (LIBM_A): Define for cygwin target.
3163 * configure (LIBM_A): Ditto.
3165 2003-04-07 Danny Smith <dannysmith@users.sourceforge.net>
3167 * include/time.h (strftime): Remove duplicate declaration.
3169 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
3171 * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
3173 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3175 * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
3176 * mingwex/strtoimax.c (strtoimax): Likewise.
3177 * mingwex/wcstoimax.c (wcstoimax): Likewise.
3178 * mingwex/wtoll.c (wtoll): Remove unnecessary ';'
3179 * mingwex/fesentenv.c: Include float.h.
3180 * mingwex/math/powl.c: Eliminate type punning/strict aliasing
3182 * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
3184 * mingwex/math/tgammal.c: Likewise.
3186 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3188 * include/utime.h: New file, forwarding to sys/utime.h.
3190 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3192 * include/sys/param.h (MAXPATHLEN): Define.
3194 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3196 * include/tchar.h: Ansi-fy a comment.
3198 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3200 * profile/profile.h (mcount): Use __builtin_return_address
3201 rather than inline __asm statements.
3202 * profile/Makefile.in: Remove special rule for mcount.o
3203 Specify dependencies for mcount.o profil.o gmon.o.
3205 2003-03-10 Danny Smith <dannysmith@users.sourceforge.net>
3207 * include/stdlib.h (qsort): Remove const from first parm.
3208 Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
3210 2003-03-03 Christopher Faylor <cgf@redhat.com>
3212 * mingwex/getopt.c: Refresh from NetBSD sources.
3214 2003-03-03 Danny Smith <dannysmith@users.sourceforge.net>
3216 * mingwex/getopt.c: New file, copied from cygwin srcs.
3217 * include/getopt.h: New file, copied from cygwin srcs.
3218 * include/unistd.h: Include getopt.h.
3219 * mingwex/Makefile.in (DISTFILES): Add getopt.c.
3220 (POSIX_OBJS): Add getopt.o.
3222 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
3224 * include/stdio.h (vscanf): Add prototype.
3230 * include/wchar.h (vwscanf): Add prototype.
3233 * mingwex/snprintf.c: Move to mingwex/stdio.
3234 * mingwex/vsnprintf.c: Ditto.
3235 * mingwex/snwprintf.c: Ditto.
3236 * mingwex/vsnwprintf.c: Ditto.
3237 * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
3238 (STDIO_DISTFILES): Add.
3239 (DISTFILES): Adjust.
3240 (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
3244 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com>
3246 * mingwex/stdio: New directory
3247 * mingwex/stdio/vfscanf.c: New file.
3248 * mingwex/stdio/vfwscanf.c: New file.
3249 * mingwex/stdio/vscanf.c: New file.
3250 * mingwex/stdio/vsscanf.c: New file.
3251 * mingwex/stdio/vswscanf.c: New file.
3252 * mingwex/stdio/vwscanf.c: New file.
3254 2003-02-25 Earnie Boyd <earnie@users.sf.net>
3256 * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
3257 (libmsvcrt40.a): Ditto.
3259 2003-02-21 Earnie Boyd <earnie@users.sf.net>
3261 Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
3263 * Makefile.in (libmsvcrtd.a): Add target library.
3264 (libmoldnamed.a): Ditto.
3265 (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
3267 ($(srcdir)): Remove explicit reference for depencies of object targets.
3268 * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
3269 msvcrt20.def, msvcrt40.def: Remove.
3270 * msvcrt.def.in: New file (Copy of previous msvcrt.def).
3272 2003-02-20 Corinna Vinschen <corinna@vinschen.de>
3274 * Makefile.in: Make sure libmingwex.a from current build tree is used.
3276 2003-02-14 Christopher Faylor <cgf@redhat.com>
3278 * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
3279 ensure -mno-cygwin where appropriate. Filter out -O2.
3281 2003-02-13 Danny Smith <dannysmith@users.sourceforge.net>
3283 * profile/Makefile.in (mcount.o): Use -O1 optimization
3286 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3288 * include/math.h: Remove _CRTIMP from pow() prototype,
3289 unless __NO_ISOCEXT.
3291 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3293 * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
3295 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3297 * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
3298 __declspec(dllimport) supported.
3299 (__cdecl): Define if not already defined.
3300 (__stdcall): Likewise.
3301 * include/dirent.h: Qualify fuctions with __cdecl.
3302 * include/fenv.h: Likewise.
3303 * include/inttypes.h: Likewise.
3304 * include/assert.h: Qualify fuctions with __cdecl. Qualify
3305 CRT dll imports with _CRTIMP.
3306 * include/conio.h: Likewise.
3307 * include/ctype.h: Likewise.
3308 * include/direct.h: Likewise.
3309 * include/dos.h: Likewise.
3310 * include/errno.h: Likewise.
3311 * include/float.h: Likewise.
3312 * include/io.h: Likewise.
3313 * include/locale.h: Likewise.
3314 * include/malloc.h: Likewise.
3315 * include/math.h: Likewise.
3316 * include/mbctype.h: Likewise.
3317 * include/mbstring.h: Likewise.
3318 * include/process.h: Likewise.
3319 * include/setjmp.h: Likewise.
3320 * include/signal.h: Likewise.
3321 * include/stdio.h: Likewise.
3322 * include/stdlib.h: Likewise.
3323 * include/string.h: Likewise.
3324 * include/time.h: Likewise.
3325 * include/wchar.h: Likewise.
3326 * include/wctype.h: Likewise.
3327 * include/sys/stat.h: Likewise.
3328 * include/sys/timeb.h: Likewise.
3329 * include/sys/utime.h: Likewise.
3331 * include/ctype.h: Guard ctype inlines with __NO_INLINE__.
3332 * include/wctype.h: Guard wctype inlines with __NO_INLINE__.
3334 * include/stdio.h (__VALIST): Guard against prior definition.
3336 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3338 * include/_mingw.h: Change version to 3.0
3339 * Makefile.in: Ditto.
3341 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3343 * include/stdlib.h: Make words after #endif a comment.
3345 2003-02-07 Danny Smith <dannysmith@users.sourceforge.net>
3347 * include/locale.h: Include stddef.h for definition of NULL.
3349 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3351 * include/math.h (tgamma): Correct typo in comment.
3353 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3355 * mingwex/mingw-fseek.c (INLINE): Remove define.
3356 (__mingw_is_win9x): Remove static inline function.
3357 (_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
3359 2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
3361 * mingwex/math/llround.c: Correct function name and
3362 change return value to long long.
3364 2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
3366 * include/ctype.h (__isascii): Don't cast arg to unsigned.
3367 (iswascii): Likewise. Correct mask.
3368 * include/wctype.h (iswascii): Don't cast arg to unsigned.
3371 2003-01-03 Danny Smith <dannysmith@users.sourceforge.net>
3373 * include/stdlib.h (_osver, _winver, _winmajor,
3374 _winminor): Declare as direct imports from dll if
3375 __DECLSPEC_SUPPORTED.
3377 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
3379 * pseudo-reloc.c (do_pseudo_reloc): Make static.
3380 * pseudo-reloc-list.c: New file.
3381 * crt1.c (_pei386_runtime_relocator): Declare.
3382 (__mingw_CRTStartup): Call it.
3383 * dllcrt1.c (_pei386_runtime_relocator): Declare.
3384 (DllMainCRTStartup): Call it.
3385 * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to
3388 2003-01-01 Egor Duda <deo@logos-m.ru>
3390 * pseudo-reloc.c: New file.
3392 2002-12-20 Earnie Boyd <earnie@users.sf.net>
3394 * include/_mingw.h: Increment version to 2.4.
3397 2002-12-12 Earnie Boyd <earnie@users.sf.net>
3399 * include/malloc.h (_alloca): Add definition.
3402 2002-12-08 Danny Smith <dannysmith@users.sourceforge.net>
3404 * mingwex/math/s_erf.c: New file.
3405 * mingwex/math/sf_erf.c: New file.
3406 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3407 (MATH_OBJS): Add new objects.
3408 * include/math.h (erf[f]): Add prototypes.
3409 (erfc[f]): Add prototypes.
3411 2002-12-07 Danny Smith <dannysmith@users.sourceforge.net>
3413 * include/math.h: Add traditional/XOPEN math constants.
3415 2002-11-27 Danny Smith <dannysmith@users.sourceforge.net>
3417 * mingwex/math/lgamma.c: New file.
3418 * mingwex/math/lgammaf.c: New file.
3419 * mingwex/math/lgammal.c: New file.
3420 * mingwex/math/tgamma.c: New file.
3421 * mingwex/math/tgammaf.c: New file.
3422 * mingwex/math/tgammal.c: New file.
3423 * mingwex/math/cephes_mconf (polevlf): Add float version.
3425 Define _CEPHES_USE_ERRNO.
3426 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3427 (MATH_OBJS): Add new objects.
3428 * include/math.h (lgamma[fl]): Add prototypes.
3429 (tgamma[fl]): Add prototypes.
3431 2002-11-26 Danny Smith <dannysmith@users.sourceforge.net>
3433 * mingwex/strtold.c: New file.
3434 * mingwex/wcstold.c: New file.
3435 * mingwex/ldtoa.c: New file.
3436 * mingwex/math/cephes_emath.h: New file.
3437 * mingwex/math/cephes_emath.c: New file.
3438 * mingwex/Makefile.in (DISTFILES): Add new files.
3439 (MATH_DISTFILES): Ditto.
3440 (STDLIB_OBJS): New. Define as strtold.c wcstold.c.
3441 (MATH_OBJS): Add cephes_emath.o.
3442 (LIB_OBJS): Add $(STDLIB_OBJS).
3443 * include/stdlib.h (strtold, wcstold): Add prototypes.
3444 * include/wchar.h (wcstold): Add prototype.
3446 2002-11-09 Danny Smith <dannysmith@users.sourceforge.net>
3448 * include/math.h (sqrt): Remove inline definition.
3449 (sqrtf): Replace inline definition with prototype.
3451 * mingwex/math/sqrtf.c (sqrtf): Set domain error if
3452 argument less than zero.
3453 * mingwex/math/sqrtf.c (sqrtl): Likewise.
3455 2002-10-30 Guido Serassio <serassio@libero.it>
3457 * include/stdio.h (_getmaxstdio): Add prototype.
3458 (_setmaxstdio): Likewise.
3460 2002-10-19 Kang Li <rubylith@users.sourceforge.net>
3462 * include/fcntl.h (O_SEQUENTIAL): Correct typo.
3464 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3466 * crt1.c: Define new macro __IN_MINGW_RUNTIME before including
3468 Define WIN32_MEAN_AND_LEAN before including windows.h
3469 * include/stdlib.h (_fmode): Protect declaration as dllimported
3470 variable with __IN_MINGW_RUNTIME.
3472 2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu>
3474 * crt1.c: Include stdlib.h.
3476 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3478 * Makefile.in (CRT0S): Add txtmode.o binmode.o.
3479 (MINGW_OBJS): Add txtmode.o.
3480 (SRCDIST_FILES): Add txtmode.c binmode.c.
3481 crt1.c: Don't include fcntrl.h, stdlib.h.
3482 (_fmode): Declare, without dllimport attribute.
3483 (__p__fmode): Declare access function for dll's _fmode.
3484 (_mingw32_init_fmode): Sync dll _fmode with staticly linked
3486 * txtmode.c: New file.
3487 * binmode.c: New file.
3488 * samples/fmode/test2.c: New file.
3489 * samples/fmode/jamfile: Add test2.exe target.
3491 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3493 * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
3494 macros work with C89.
3495 (INTMAX_C, UINTMAX_C): Likewise.
3497 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3499 * include/string.h (strcasecmp): Make extern __inline__.
3500 (strncasecmp): Likewise.
3501 (wcscmpi): Likewise.
3503 2002-10-08 Heiko Gerdau <hg@technosis.de>
3505 * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
3506 _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
3509 2002-10-07 Danny Smith <dannysmith@users.sourceforge.net>
3511 * mingwex/math/powil.c: Rename powil to __powil.
3512 * mingwex/math/powl.c: Adjust declaration and call
3513 to __powil. Remove comment on powil.
3514 * mingwex/math/powi.c: New file.
3515 * mingwex/math/powif.c: New file.
3516 * mingwex/math/pow.c: New file.
3517 * mingwex/math/cephes_mconf.h. Add double and float
3518 versions of constants.
3519 (polevl): Add double precision function.
3521 * mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
3523 (MATH_OBJS): Add pow.o, powi.o, powif.o.
3525 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3527 * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
3528 (_imp____mbcur_max_dll): Likewise.
3530 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3532 * include/fcntl.h (_fmode): Remove declarations and
3533 compatibility defines.
3534 (_setmode, setmode): Remove prototypes.
3535 * include/stdlib (_fmode): Add declarations and
3536 compatibility defines. Change type to int.
3537 * include/io.h (_setmode, setmode): Add prototypes.
3538 * samples/fmode/all.c: Adjust includes.
3539 * samples/fmode/test.c: Likewise.
3540 * crt1.c (_CRT_fmode): Declare as int.
3541 * CRTfmode.c (_CRT_fmode): Likewise.
3543 * include/stdlib: Remove comment about MB_CUR_MAX.
3545 2002-10-02 Danny Smith <dannysmith@users.sourceforge.net>
3547 * include/stdlib.h (_imp____mbcur_max): Add missing ';'.
3548 (_imp____mbcur_max_dll): Likewise.
3550 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3552 * mingwex/math/files.txt: Remove inadvertantly added file.
3554 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3556 * include/string.h (_strerror): Move into #ifndef
3557 __STRICT_ANSI__ block.
3559 2002-09-17 Danny Smith <dannysmith@users.sourceforge.net>
3561 * include/time.h (__need_NULL): Define before including
3562 stddef.h. Thanks to: Rüdiger Dehmel <de@lmnet.de>.
3564 2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
3566 * include/stdio.h: Correct comment about directory separator.
3568 2002-09-12 Danny Smith <dannysmith@users.sourceforge.net>
3570 * include/sys/time.h (timeval): Add struct definition and
3571 associated macros (copied from w32api/include/winsock.h).
3573 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3575 * include/_mingw.h: Increment version to 2.3.
3578 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3580 * mingwex/fegetenv.c: Change to \n line endings.
3581 * mingwex/vsnprintf.c: Ditto.
3582 * mingwex/vsnwprintf.c: Ditto.
3584 2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
3586 * mingwex/math/hypotl.c: Replace with version based on cephes
3589 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3591 * include/sys/param.h: Add ENDIAN defines.
3592 * test_headers.c: Include sys/param.h.
3594 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3596 * test_headers.c: Don't include varargs.h.
3597 * Makefile.in (test_headers): Don't use -std=xx
3600 2002-08-21 Earnie Boyd <earnie@users.sf.net>
3602 * include/sys/param.h: New File.
3604 2002-08-21 Danny Smith <dannysmith@users.sourceforge.net>
3606 * include/math.h (asm): Change to __asm__ throughout.
3607 Expose ISO C99 functions if __GLIPCPP__.
3608 (hypotf): Use hypot, not _hypot in stub.
3610 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3612 * include/tchar.h: Ansi-fy another comment.
3614 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3616 * include/tchar.h: Ansi-fy comment.
3618 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3620 * test_headers.c : New file.
3621 * Makefile.in (test_headers): New target, using it,
3622 (SRCDIST_FILES): Distribute it.
3624 2002-08-20 Earnie Boyd <earnie@users.sf.net>
3626 * include/_mingw.h: Increment version to 2.2.
3629 2002-08-14 Earnie Boyd <earnie@users.sf.net>
3631 * include/unistd.h: Add include of process.h.
3633 2002-08-03 Danny Smith <dannysmith@users.sourceforge.net>
3635 * include/stdio.h (_fcloseall): Add prototype.
3637 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3639 * include/tchar.h (_tfdopen): Correct typo.
3641 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3643 * moldname.def.in (chgsign,scalb,finite,fpclass,logb,
3644 nextafter): Add non-underscored stubs.
3645 * moldname-msvcrt.def: Regenerate.
3646 * moldname-crtdll.def: Regenerate.
3647 * mingwex/math: New directory.
3648 * mingwex/rint.c: Move to mingwex/math.
3649 * mingwex/rintf.c: Ditto.
3650 * mingwex/rintl.c: Ditto.
3651 * mingwex/round.c: Ditto.
3652 * mingwex/roundf.c: Ditto.
3653 * mingwex/roundl.c: Ditto.
3654 * mingwex/rint.c: Ditto.
3655 * mingwex/rintf.c: Ditto.
3656 * mingwex/rintl.c: Ditto.
3657 * mingwex/trunc.c: Ditto.
3658 * mingwex/truncf.c: Ditto.
3659 * mingwex/truncl.c: Ditto.
3660 * mingwex/signbit.c: Ditto.
3661 * mingwex/signbitf.c: Ditto.
3662 * mingwex/signbitl.c: Ditto.
3663 * mingwex/copysignl.S: Ditto.
3664 * mingwex/fdim.c: Ditto.
3665 * mingwex/fdimf.c: Ditto.
3666 * mingwex/fdiml.c: Ditto.
3667 * mingwex/fmin.c: Ditto.
3668 * mingwex/fminf.c: Ditto.
3669 * mingwex/fminl.c: Ditto.
3670 * mingwex/fmax.c: Ditto.
3671 * mingwex/fmaxf.c: Ditto.
3672 * mingwex/fmaxl.c: Ditto.
3673 * mingwex/fma.c: Ditto.
3674 * mingwex/fmaf.c: Ditto.
3675 * mingwex/fmal.c: Ditto.
3676 * mingwex/fpclassify.c: Ditto.
3677 * mingwex/fpclassifyl.c: Ditto.
3678 * mingwex/fpclassifyl.c: Ditto.
3679 * mingwex/isnan.c: Ditto.
3680 * mingwex/isnanf.c: Ditto.
3681 * mingwex/isnanl.c: Ditto.
3682 * mingwex/fucom.c: Ditto.
3683 * mingwex/fp_consts.c: Ditto. Split out float and long double
3685 * mingwex/math_stubs.c: Remove.
3686 * mingwex/log2.c: Remove. Replaced by math/log2.S
3687 * mingwex/log2f.c: Remove. Replaced by math/log2f.S
3688 * mingwex/log2l.c: Remove. Replaced by math/log2l.S
3689 * mingwex/math/acosf.c : New file.
3690 * mingwex/math/acosl.c: New file.
3691 * mingwex/math/asinf.c: New file.
3692 * mingwex/math/asinl.c: New file.
3693 * mingwex/math/atan2f.c: New file.
3694 * mingwex/math/atan2l.c: New file.
3695 * mingwex/math/atanf.c: New file.
3696 * mingwex/math/atanl.c: New file.
3697 * mingwex/math/cbrt.c: New file.
3698 * mingwex/math/cbrtf.c: New file.
3699 * mingwex/math/cbrtl.c: New file.
3700 * mingwex/math/ceilf.S: New file.
3701 * mingwex/math/ceill.S: New file.
3702 * mingwex/math/cephes_ld.h: New file.
3703 * mingwex/math/copysign.S: New file.
3704 * mingwex/math/copysignf.S: New file.
3705 * mingwex/math/cosf.S: New file.
3706 * mingwex/math/coshf.c: New file.
3707 * mingwex/math/coshl.c: New file.
3708 * mingwex/math/cosl.S: New file.
3709 * mingwex/math/exp2.S: New file.
3710 * mingwex/math/exp2f.S: New file.
3711 * mingwex/math/exp2l.S: New file.
3712 * mingwex/math/expf.c: New file.
3713 * mingwex/math/expl.c: New file.
3714 * mingwex/math/fabs.c: New file.
3715 * mingwex/math/fabsf.c: New file.
3716 * mingwex/math/fabsl.c: New file.
3717 * mingwex/math/floorf.S: New file.
3718 * mingwex/math/floorl.S: New file.
3719 * mingwex/math/fmodf.c: New file.
3720 * mingwex/math/fmodl.c: New file.
3721 * mingwex/math/fp_consts.h: Ditto.
3722 * mingwex/math/fp_constsf.c: Ditto.
3723 * mingwex/math/fp_constsl.c: Ditto.
3724 * mingwex/math/frexpf.c: New file.
3725 * mingwex/math/frexpl.S: New file.
3726 * mingwex/math/hypotf.c: New file.
3727 * mingwex/math/hypotl.c: New file.
3728 * mingwex/math/ilogb.S: New file.
3729 * mingwex/math/ilogbf.S: New file.
3730 * mingwex/math/ilogbl.S: New file.
3731 * mingwex/math/ldexpf.c: New file.
3732 * mingwex/math/ldexpl.c: New file.
3733 * mingwex/math/llrint.c: New file.
3734 * mingwex/math/llrintf.c: New file.
3735 * mingwex/math/llrintl.c: New file.
3736 * mingwex/math/llround.c: New file.
3737 * mingwex/math/llroundf.c: New file.
3738 * mingwex/math/llroundl.c: New file.
3739 * mingwex/math/log10f.S: New file.
3740 * mingwex/math/log10l.S: New file.
3741 * mingwex/math/log1p.S: New file.
3742 * mingwex/math/log1pf.S: New file.
3743 * mingwex/math/log1pl.S: New file.
3744 * mingwex/math/log2.S: New file.
3745 * mingwex/math/log2f.S: New file.
3746 * mingwex/math/log2l.S: New file.
3747 * mingwex/math/logb.c: New file.
3748 * mingwex/math/logbf.c: New file.
3749 * mingwex/math/logbl.c: New file.
3750 * mingwex/math/logf.S: New file.
3751 * mingwex/math/logl.S: New file.
3752 * mingwex/math/lrint.c: New file.
3753 * mingwex/math/lrintf.c: New file.
3754 * mingwex/math/lrintl.c: New file.
3755 * mingwex/math/lround.c: New file.
3756 * mingwex/math/lroundf.c: New file.
3757 * mingwex/math/lroundl.c: New file.
3758 * mingwex/math/modff.c: New file.
3759 * mingwex/math/modfl.c: New file.
3760 * mingwex/math/nearbyint.S: New file.
3761 * mingwex/math/nearbyintf.S: New file.
3762 * mingwex/math/nearbyintl.S: New file.
3763 * mingwex/math/nextafterf.c: New file.
3764 * mingwex/math/powf.c: New file.
3765 * mingwex/math/powl.c: New file.
3766 * mingwex/math/powil.c: New file.
3767 * mingwex/math/remainder.S: New file.
3768 * mingwex/math/remainderf.S: New file.
3769 * mingwex/math/remainderl.S: New file.
3770 * mingwex/math/remquo.S: New file.
3771 * mingwex/math/remquof.S: New file.
3772 * mingwex/math/remquol.S: New file.
3773 * mingwex/math/scalbn.S: New file.
3774 * mingwex/math/scalbnf.S: New file.
3775 * mingwex/math/scalbnl.S: New file.
3776 * mingwex/math/sinf.S: New file.
3777 * mingwex/math/sinhf.c: New file.
3778 * mingwex/math/sinhl.c: New file.
3779 * mingwex/math/sinl.S: New file.
3780 * mingwex/math/sqrt.c: New file.
3781 * mingwex/math/sqrtf.c: New file.
3782 * mingwex/math/sqrtl.c: New file.
3783 * mingwex/math/tanf.S: New file.
3784 * mingwex/math/tanhf.c: New file.
3785 * mingwex/math/tanhl.c: New file.
3786 * mingwex/math/tanl.S: New file.
3787 * mingwex/Makefile.in: Adjust VPATH for source files in
3790 Add MATH_DISTFILES and use it to build source distro.
3791 * include/ math.h: Add protypes for new functions and
3792 reorganise to reflect ANSI,C99 status.
3794 2002-06-19 Danny Smith <dannysmith@users.sourceforge.net>
3796 * include/tchar.h (_getts): Define as _getws for _UNICODE.
3797 (_putts): Define as _putws for _UNICODE.
3798 Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report.
3800 2002-06-18 Danny Smith <dannysmith@users.sourceforge.net>
3802 * include/float.h: #include_next<float.h> before header guard.
3804 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
3806 * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
3808 * include/excpt.h (): Include windef.h not windows.h.
3809 * include/fcntl.h (_O_SHORT_LIVED): Add define.
3810 (_chmod): Add prototype.
3811 (_creat): Correct prototype.
3812 (SH_DENY*): Rename defines to _SH_DENY*.
3813 (SH_DENY*): Add Non-ANSI names for _SH_DENY*.
3814 include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
3815 _IOAPPEND): Add defines.
3816 (_wfindfirst): Correct prototype.
3817 (_wfdopen): Add prototype.
3818 * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
3820 * include/string.h (_mbschr, _mbstok, _mbsncat): Remove
3822 (_wcsdup): Correct prototype.
3823 * include/mbstring.h: Remove comments about _mbschr, _mbstok,
3824 _mbsncat being in string.h.
3825 * include/wchar.h (_wfindfirst): Correct prototype.
3826 * include/tchar.h (_tfdopen): Add _UNICODE mappings.
3828 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3830 * include/_mingw.h: Increment to version 2.1.
3831 * Makefile.in: Ditto.
3833 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3835 * Makefile.in (conf_prefix): New variable.
3836 (dist_prefix): Ditto. Conditionally set to $(conf_prefix).
3837 (bindist): Use dist_prefix.
3839 2002-06-13 Danny Smith <dannysmith@users.sourceforge.net>
3841 * include/_mingw.h: Increment version to 2.0.
3842 * Makefile.in: Ditto.
3844 Merge in mingwex branch.
3846 2002-06-11 Danny Smith <dannysmith@users.sourceforge.net>
3848 * include/math.h (fdim, fdimf, fdiml): Add prototypes.
3849 * mingwex/fdim.c: New file.
3850 * mingwex/fdimf.c: New file.
3851 * mingwex/fdiml.c: New file.
3852 * mingwex/Makefile.in (DISTFILES): Add fdim.c, fdimf.c,
3854 (MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
3856 2002-05-23 Danny Smith <dannysmith@users.sourceforge.net>
3858 * mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c.
3860 2002-05-22 Danny Smith <dannysmith@users.sourceforge.net>
3862 * mingwex/isnanl.c: New file.
3864 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3866 * include/stdint.h: Include stddef.h to get
3868 (WINT_MAX): Define to ((wint_t)-1).
3870 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3872 * include/wctype.h: Replace 'inline' with '__inline__'.
3873 * include/inttypes.h: Likewise.
3875 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3877 * include/_mingw.h (__MINGW_IMPORT): Put extern at start
3878 to avoid warnings. Thanks to: Oscar Fuentes <ofv@wanadoo.es>.
3880 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3882 * mingwex/snprintf.c: Split out vsnprintf to....
3883 * mingwex/vsnprintf.c: New file.
3884 * mingwex/snwprintf.c: Split out vsnwprintf to...
3885 * mingwex/vsnwprintf.c: New file.
3886 * mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
3888 2002-05-15 Pascal Obry <obry@gnat.com>
3890 * include/dirent.h (DIR): Change dd_stat type to int.
3893 2002-05-07 Danny Smith <dannysmith@users.sourceforge.net>
3895 * include/stdio.h (vsnprintf): Change inline to __inline__;
3896 (vsnwprintf): Likewise.
3897 * include/wchar.h (vsnwprintf): Likewise.
3900 (mbsinit): Likewise.
3902 2002-04-29 Danny Smith <dannysmith@users.sourceforge.net>
3904 Change FP default precison from 53 to 64-bit mantissa.
3906 * Makefile.in (CRT0S): Add CRT_fp8.o.
3907 (MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o.
3908 * include/float.h: Replace standard float.h defines with
3909 #include_next<float.h> to use GCC's defines. Adjust comments
3912 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3914 * include/dos.h: Change prefix "__imp_" to "_imp__" for
3915 __GNUC__ without __DECLSPEC_SUPPORTED.
3916 * include/fnctl.h: Likewise.
3917 * include/math.h: Likewise.
3918 * include/stdio.h: Likewise.
3919 * include/stdlib.h: Likewise.
3920 * include/time.h: Likewise.
3921 * include/wctype.h: Likewise.
3922 * include/ctype.h: Likewise.
3924 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3926 Add atexit support for dlls.
3927 * crt1.c (atexit): Force thunk to _imp__atexit.
3928 (_onexit): Force thunk to _imp___onexit.
3929 * dllcrt1.c (DllMainCRTStartup): Initialise private atexit
3930 table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
3931 (__dll_exit): New function to run atexit-registered functions
3932 and flush output buffers on DLL_PROCESS_DETACH or failed
3934 (atexit): Force use of private atexit table via _dllonexit,
3935 (_onexit): New function. Force use of private atexit table via
3937 * msvcrt.def (atexit, _onexit): Add DATA keyword so that only
3938 _imp_<_symbol> is visible in import lib.
3939 * msvcrt20.def: Likewise.
3940 * msvcrt40.def: Likewise.
3941 * crtdll.def: Likewise.
3943 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3945 * include/fenv.h: Change header guard macro to _FENV_H_.
3946 (fenv_t, fexcept_t): Move into block protected by
3948 Cleanup some whitespace.
3949 * include/inttypes.h: Change header guard macro to
3952 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3954 * include/math.h (copysignl): Declare.
3955 * mingwex/Makefile.in (DISTFILES): Add copysignl.S.
3956 (MATHOBJS):Add copysignl.o.
3958 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3960 * include/math.h (__signbitl, __isnanl): Declare.
3962 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3964 * include/math.h (nanl, __fpcassifyl, fminl, fmaxl, rintl,
3965 roundl, truncl, fmal, log2l): Declare.
3966 Protect C99 declarations with _STDC_VERSION__ >= 199901L)
3967 || !defined __STRICT_ANSI__.
3968 * mingwex/fmax.c (fmax): Call __isnan, not _isnan.
3969 * mingwex/fmin.c (fmin): Likewise.
3970 * mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan.
3971 * mingwex/fminf.c (fminf): Likewise.
3972 * mingwex/fmaxl.c: New file.
3973 * mingwex/fminl.c: New file.
3974 * mingwex/fpclassify.c (__fpclassifyf): Split out to ...
3975 * mingwex/fpclassifyf.c: New file.
3976 * mingwex/fpclassifyl.c: New file.
3977 * mingwex/rint.c (rintf): Split out to...
3978 * mingwex/rintf.c: New file.
3979 * mingwex/rintl.c: New file.
3980 * mingwex/round.c (roundf): Split out to...
3981 * mingwex/roundf.c: New file.
3982 * mingwex/roundl.c: New file.
3983 * mingwex/trunc.c (truncf): Split out to...
3984 * mingwex/truncf.c: New file.
3985 * mingwex/truncl.c: New file.
3986 * mingwex/signbit.c (signbitf): Split out to...
3987 * mingwex/signbitf.c: New file.
3988 * mingwex/signbitl.c: New file.
3989 * mingwex/fmal.c: New file.
3990 * mingwex/copysignl.S: New file.
3991 * mingwex/log2l.c: New file.
3992 * mingwex/fp_consts.c: Add nanl definition.
3993 Comment out unused constants.
3994 * mingwex/Makefile.in (DISTFILES): Add fmaxl.c, fminl.c,
3995 fpclassifyf.c, fpclassifyl.c, rintf.c, rintl.c, roundf.c,
3996 roundl.c, truncf.c truncl.c, signbitf.c signbitl.c,
3998 (MATHOBJS): Add fmaxl.o, fminl.o, fpclassifyf.o,
3999 fpclassifyl.o, rintf.o, rintl.o, roundf.o, roundl.o,
4000 truncf.o truncl.o, signbitf.o signbitl.o, fmal.o,
4002 * mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo.
4004 2002-04-23 Danny Smith <dannysmith@users.sourceforge.net>
4006 Make wide char versions of opendir and friends.
4008 * include/dirent.h (_wdirent, _WDIR): Define wide versions of
4010 (_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
4011 _wseekdir): Add prototypes for wide versions of corresponding
4013 * include/tchar.h; Add _UNICODE mappings for dirent.h
4014 structures and functions.
4015 * mingwex/dirent.c: Make _UNICODE neutral.
4016 * mingwex/wdirent.c: New file to define _UNICODE before
4018 * mingwex/Makefile.in (DISTFILES): Add wdirent.c.
4019 (POSIX_OBJS): Add wdirent.o.
4020 (wdirent.o): Specify dependency on dirent.c as well as
4022 * samples/dirent/wtest.c: New file, wide version of test.c.
4024 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
4026 * Makefile.in (INCLUDES): Add "-iwithprefixbefore include" to
4027 ensure gcc include dir is searched despite -nostdinc.
4028 * profile/Makefile.in (INCLUDES): Likewise.
4029 * mingwex/Makefile.in (INCLUDES): Likewise.
4030 * include/stdarg.h: Replace with stub that just guards the
4031 real gcc system header with #ifndef RC_INVOKED
4032 * include/varargs.h: Likewise.
4033 * include/stddef.h: Likewise.
4034 * include/stdio.h: Include stdarg.h after defining
4036 (__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
4037 Replace va_list with __VALIST throughout.
4039 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
4041 * crt1.c: Revert changes of 2002-04-16. Use _fpreset again.
4042 * msvcrt.def (_fpreset): Mark as DATA so that only
4043 _imp___fpreset is exported.
4044 * msvcrt20.def (_fpreset): Likewise.
4045 * msvcrt40.def (_fpreset): Likewise.
4046 * crtdll.def (_fpreset): Likewise.
4047 * CRT_fp10.c (_fpreset): Overide library _fpreset with one
4049 (fpreset): Add alias.
4050 (__CRT_PC): Delete definition. _fpreset does it now.
4051 * CRT_fp8.c (_fpreset): Force use of library _imp___fpreset.
4052 (fpreset): Add alias.
4053 (__CRT_PC): Delete definition.
4054 * moldname.def.in: Comment out fpreset.
4055 * moldname-msvcrt.def: Regenerate.
4056 * moldname-crtdll.def: Regenerate.
4057 * include/fenv.h (FE_DFL_ENV): Define as (fenv_t*)0.
4058 * mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment
4059 with the _fpreset determined by startup CRT_fp object.
4061 2002-04-16 Danny Smith <dannysmith@users.sourceforge.net>
4063 * CRT_fp8.c: New file.
4064 * CRT_fp10.c: New file.
4065 * crt1.c (__CRT_PC) Declare.
4066 (__CRT_fesetenv): New static function, using _CRT_PC.
4067 (__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset.
4068 (_gnu_exception_handler): Likewise.
4069 * Makefile.in (CRT0S): Add CRT_fp10.o.
4070 (MINGW_OBJS): Add CRT_fp8.o.
4071 (SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c.
4072 Add CRT_fp8.o, CRT_fp10.o dependancies.
4073 * include/float.h (_fpreset): Expand comment.
4074 * include/fenv.h (FE_PC64_ENV): New define for Intel x87
4075 (extended precison) environmemt.
4076 (FE_PC53_ENV): New define for MSVCRT default environmemt.
4077 (FE_DFL_ENV): Define as FE_PC53_ENV.
4078 * mingwex/fesetenv.c: Use FE_PC53_ENV, FE_PC64_ENV to determine
4079 precision control for default environment.
4081 * include/math.h: Fix long comment line.
4082 * profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
4084 * profile/configure: Regenerate.
4086 2002-04-12 Danny Smith <dannysmith@users.sourceforge.net>
4088 * mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c.
4090 2002-04-10 Danny Smith <dannysmith@users.sourceforge.net>
4092 * mingwex/mingw-fseek.c: New file, based on 1999-11-07 mingw-local
4093 patch to binutils, by Mumit Khan <khan@nanotech.wisc.edu>; provide...
4094 (__mingw_fseek): New function to work around Win9x f/lseek bug.
4095 (__mingw_fwrite): Likewise.
4096 (__mingw_is_win9x): New helper function.
4098 * include/stdio.h (__USE_MINGW_FSEEK): New define,guarding...
4099 (__mingw_fseek): New prototype and define to replace fseek.
4100 (__mingw_fwrite): New prototype and define to replace fwrite.
4101 * mingwex/Makefile.in: Add mingw-fseek.o to libmingwex.a.
4102 * moldname-crtdll.def: Remove CR from end of line.
4103 * moldname-msvcrt.def: Ditto.
4105 2002-04-09 Danny Smith <dannysmith@users.sourceforge.net>
4107 * profile/configure.in (CRT0S): Configure name of gcrt?.o
4108 based on target, building gcrt0.o for cygwin -mno-cygwin.
4109 * profile/configure: Regenerate.
4110 * profile/Makefile.in (CRT0S): Use name from configure.
4111 (gcrt0.o): New rule.
4112 (ALL_CRT0S): New define, used to cleanup all gcrt?.o's.
4114 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
4116 * include/math.h (_controlfp, _control87, _clearfp, _statusfp, _fpreset,
4117 _fpecode): Remove prototypes copied from float.h.
4118 (nan, nanf): Move into block protected against RC_INVOKED
4120 * include/stdlib.h (_Exit): Change from static inline to
4122 * mingwex/_Exit.c : New file.
4123 * mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
4125 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
4127 Add libgmon.a and libmingwex.a for cygwin -mno-cygwin.
4128 * configure.in (SUBDIRS): Add profile and mingwex to cygwin target.
4129 (configdirs): Likewise.
4130 (LIBGMON_A): Define for cygwin target as well.
4131 * configure: Regenerate.
4132 * profile/configure.in (THREAD_DLL): Remove define.
4133 (LIBM_A): Remove define.
4134 (LIBGMON_A): Define for cygwin target as well.
4135 * profile/configure: Regenerate.
4136 * profile/makefile.in (install): Install to inst_libdir and
4138 * mingwex/makefile.in (CFLAGS): Move -fomit-frame-pointer to...
4139 (OPTFLAGS): New define.
4140 (ALL_CFLAGS): Add $(OPTFLAGS).
4141 (ALL_CXXFLAGS): Same.
4142 (.c.o:): Remove ALL_CXXFLAGS.
4144 2002-03-29 Danny Smith <dannysmith@users.sourceforge.net>
4146 * include/stdint.h: Add missing newline at eof.
4147 * include/stdio.h (snprintf): Add prototype.
4148 (vsnprintf): Add prototype and inline definition.
4149 (snwprintf): Add prototype.
4150 (vsnwprintf): Add prototype and inline definition.
4151 * include/wchar.h (snwprintf): Add prototype.
4152 (vsnwprintf): Add prototype and inline definition.
4153 * mingwex/Makefile.in: Add snprintf.o, snwprintf.o
4155 * mingwex/snprintf.c: New file.
4156 * mingwex/snwprintf.c: New file.
4158 2002-03-22 Danny Smith <dannysmith@users.sourceforge.net>
4160 * configure.in: Add mingwex as SUBDIRS and configdirs.
4161 * configure: Regenerate.
4162 * Makefile.in (MINGW_OBJS): Remove dirent.o.
4163 (SRC_DIST_FILES): Remove dirent.c.
4165 * include/stdlib.h (_Exit): Add static inline
4167 (struct lldiv_t): Define.
4168 (lldiv): Add prototype.
4169 (llabs): Add extern inline function.
4170 (strtoll,strtoull): Add prototypes.
4171 (wcstol, wcstoul, wcstod): Group together.
4172 (strtof, wcstof): Add extern inline definitions.
4173 (atoll,lltoa,ulltoa, wtoll, lltow ulltow): Add prototypes
4174 and extern inline definitions.
4175 * include/wchar.h (fwide, wcstoll,wcstoull, wmemchr
4176 wmemcmp, wmemcpy, wmemmove, wmemset. mbsinit): Add
4178 (wcstol, wcstoul,wcstod): Copy prototypes from stdlib.h.
4179 (wcstof): Add extern inline definition.
4180 * include/math.h (nan, nanf): Add prototypes.
4181 (NAN, INFINITE): Define constants.
4182 (fpclassify, isnan ,signbit): Add macros and supporting float
4183 and double functions.
4184 (isfinite, isinf, isnormal): Add macros.
4185 (isgreater, isless, isgreaterequal, islessequal,islessgreater):
4187 (rint, rintf, round, roundf, trunc. truncf, fmax, fmaxf,
4188 fmin, fminf, fma, fmaf, log2, log2f): Add prototypes.
4189 (copysign, logb, nextafter, scalb): Add prototypes and
4190 inline stubs for underscored versions in msvcrt.dll.
4191 * include/inttypes.h: New file.
4192 * include/fenv.h: New file
4194 Add new mingwex subdir and files.
4195 * mingwex: New directory.
4196 * mingwex/Makefile.in: New file.
4197 * mingwex/configure.in: New file.
4198 * mingwex/configure: Generate.
4199 * mingwex/dirent.c: Moved here from parent dir.
4200 * mingwex/atoll.c: New file.
4201 * mingwex/feclearexcept.c: New file.
4202 * mingwex/fegetenv.c: New file.
4203 * mingwex/fegetexceptflag.c: New file.
4204 * mingwex/fegetround.c: New file.
4205 * mingwex/feholdexcept.c: New file.
4206 * mingwex/feraiseexcept.c: New file.
4207 * mingwex/fesetenv.c: New file.
4208 * mingwex/fesetexceptflag.c: New file.
4209 * mingwex/fesetround.o: New file.
4210 * mingwex/fetestexcept.c: New file.
4211 * mingwex/feupdateenv.c: New file.
4212 * mingwex/fma.S: New file.
4213 * mingwex/fmaf.S: New file.
4214 * mingwex/fmax.c: New file.
4215 * mingwex/fmaxf.c: New file.
4216 * mingwex/fmin.c: New file.
4217 * mingwex/fminf.c: New file.
4218 * mingwex/fp_consts.c: New file.
4219 * mingwex/fpclassify.c: New file.
4220 * mingwex/fucom.c: New file.
4221 * mingwex/fwide.c: New file.
4222 * mingwex/imaxabs.c: New file.
4223 * mingwex/imaxdiv.c: New file.
4224 * mingwex/isnan.c: New file.
4225 * mingwex/isnanf.c: New file.
4226 * mingwex/lltoa.c: New file.
4227 * mingwex/lltow.c: New file.
4228 * mingwex/log2.c: New file.
4229 * mingwex/log2f.c: New file.
4230 * mingwex/math_stubs.c: New file.
4231 * mingwex/mbsinit.c: New file.
4232 * mingwex/rint.c: New file.
4233 * mingwex/round.c: New file.
4234 * mingwex/signbit.c: New file.
4235 * mingwex/sitest.c: New file.
4236 * mingwex/strtof.c: New file.
4237 * mingwex/strtoimax.c: New file.
4238 * mingwex/strtoumax.c: New file.
4239 * mingwex/testwmem.c: New file.
4240 * mingwex/trunc.c: New file.
4241 * mingwex/ulltoa.c: New file.
4242 * mingwex/ulltow.c: New file.
4243 * mingwex/wcstof.c: New file.
4244 * mingwex/wcstoimax.c: New file.
4245 * mingwex/wcstoumax.c: New file.
4246 * mingwex/wmemchr.c: New file.
4247 * mingwex/wmemcmp.c: New file.
4248 * mingwex/wmemcpy.c: New file.
4249 * mingwex/wmemmove.c: New file.
4250 * mingwex/wmemset.c: New file.
4251 * mingwex/wtoll.c: New file.
4253 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4255 * include/mbstring.h: New file.
4256 * include/mbctype.h: New file.
4258 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4260 * include/tchar.h (__TEXT): Make same as define in
4261 w32api/include/winnt.h.
4263 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4265 * include/tchar.h (_tputenv): Add UNICODE mappings.
4266 (_tsearchenv): Likewise.
4267 (_tmakepath): Likewise.
4268 (_tsplitpath): Likewise.
4269 (_tfullpath): Likewise.
4271 2002-04-18 Pascal Obry <obry@gnat.com>
4273 * dirent.c (opendir): Convert given pathname to
4276 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4278 * include/_mingw.h: Increment version.
4279 * Makefile.in: Ditto.
4281 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4283 * moldname-crtdll.def: Remove CR from end of line.
4284 * moldname-msvcrt.def: Ditto.
4285 * Makefile.in: Use bzip2 compression for Cygwin target.
4287 2002-04-04 Danny Smith <dannysmith@sourceforge.users.net>
4289 * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
4290 TLOSS, PLOSS): Move oldname defines back, following
4291 the underscored names.
4293 2002-03-29 Danny Smith <dannysmith@sourceforge.users.net>
4295 * include/stdio.h (_snwprintf): Correct spelling.
4296 (_vsnwprintf): Likewise.
4297 * include/wchar.h (_snwprintf): Correct spelling.
4298 (_vsnwprintf): Likewise.
4300 2002-03-26 Danny Smith <dannysmith@users.sourceforge.net>
4302 * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__).
4303 (wpopen): Add if !(__CRTDLL__).
4304 * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
4306 (moldname-crtdll.def rule): Likewise.
4307 * moldname-msvcrt.def: Regenerate.
4308 * moldname-crtdll.def: Regenerate.
4309 * include/stdio.h (wpopen):Use prototype, not a define.
4310 (_swnprintf): Add prototype.
4311 (_vswnprintf): Likewise.
4313 * include/wchar.h (_swnprintf): Add prototype.
4314 (_vswnprintf): Likewise.
4317 2002-01-28 Danny Smith <dannysmith@users.sourceforge.net>
4319 * include/malloc.h (_heapinfo): Correct structure definition.
4320 (_USEDENTRY,_FREEENTRY): Add defines.
4321 Add comment on platform support for _heap* functions.
4322 (_get_sbh_threshold): Add prototype.
4323 (_set_sbh_threshold): Likewise.
4324 (_expand): Likewise.
4326 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4328 * profile/profil.c: Update copyright info.
4329 * profile/profil.h: Likewise.
4330 * profile/gcrt0.c: Likewise.
4332 2002-01-25 Pascal Obry <obry@gnat.com>
4334 * profile/profil.h (PROFADDR): Cast idx to unsigned long long to
4336 * profile/gmon.c: Define bzero as memset if mingw32.
4337 (monstartup): Use it.
4339 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4341 * include/tchar.h (_TCHAR): Add missing ;.
4343 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4345 * include/tchar.h (_TCHAR): Add typedefs.
4347 2002-01-16 Danny Smith <dannysmith@users.sourceforge.net>
4349 * include/stdlib.h (_onexit_t): Add typedef.
4350 (_onexit): Add prototype.
4352 2002-01-12 Danny Smith <dannysmith@users.sourceforge.net>
4354 * msvcrt.def: Revert accidental change.
4355 * include/stdlib.h: Ditto.
4357 2001-12-07 Earnie Boyd <earnie@users.sf.net>
4359 * Makefile.in: Increment VERSION.
4360 * include/_mingw.h: Ditto.
4362 2001-12-05 Earnie Boyd <earnie@users.sf.net>
4364 * include/strings.h: New File.
4366 2001-12-02 Mumit Khan <khan@nanotech.wisc.edu>
4368 * include/math.h (_FPCLASS* ): Add defines from float.h.
4369 (IEEE recommended functions): Add declarations from float.h.
4370 * include/float.h (_FPCLASS* ): Protect against redefinition.
4372 2001-11-29 Wu Yongwei <adah@netstd.com>
4374 * include/_mingw.h,assert.h,conio.h,ctype.h,dir.h,direct.h
4375 dirent.h,dos.h,errno.h,excpt.h,fcntl.h,float.h,io.h,
4376 limits.h,locale.h,malloc.h,math.h,process.h,setjmp.h,
4377 share.h,signal.h,stdarg.h,stddef.h,stdint.h,stdio.h,
4378 stdlib.h,string.h,tchar.h,time.h,varargs.h,wchar.h,
4379 wctype.h,sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h:
4380 Correct spelling of "disclaimed" in comments.
4381 * include/excpt.h: Another spelling correction.
4383 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
4385 * include/errno.h: Fix "errno is not a prototype" warning.
4387 2001-11-07 Danny Smith <dannysmith@users.sourceforge.net>
4389 * include/ctype.h (tolower, toupper,_tolower,_toupper): Comment
4390 differences between ANSI and non-ANSI versions.
4391 (_ctype[],_pctype): Declare vars.
4392 (__ISCTYPE): New helper macro using _pctype.
4393 (is* ctype functions): Use __ISCTYPE to define inline versions.
4394 (_toupper, _tolower, __isascii, __toascii, __iscsym, __iscsymf):
4396 (isw* ctype functions): Inline definitions.
4397 * include/wctype.h (_ctype[],_pctype): Declare vars.
4398 (isw* ctype functions): Inline definitions.
4401 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4403 * include/float.h (_clearfp, _statusfp, _fpreset, fpreset,
4404 __fpecode): Use __STDC__ prototypes.
4407 2001-11-06 Thomas Pfaff <tpfaff@gmx.net>
4409 * mthr_stub.c (__mingwthr_remove_key_dtor) New.
4410 * mthr_init.c (DllMain) Run dtors if a process terminates.
4411 * mthr.c (__mingwthr_add_key_dtor) Removed.
4412 (___mingwthr_add_key_dtor) New.
4413 (___mingwthr_remove_key_dtor) New.
4414 (__mingwthr_run_key_dtors) Complete rewrite.
4415 (__mingwthr_remove_key_dtor) New.
4417 2001-11-05 Egor Duda <deo@logos-m.ru>
4419 * Makefile.in: Delete unused executable after creating base-files.
4421 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4423 * include/errno.h (_errno): Use __STDC__ prototype.
4424 Thanks to: Jim Barton.
4426 2001-11-04 "stefan" <stefan@lkcc.org>
4428 * include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names.
4430 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4432 * include/io.h (_commit): Add declaration.
4433 Thanks to: "stefan" <stefan@lkcc.org>
4435 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4437 * include/sys/stat.h: Make S_IS* macros safer.
4439 2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
4441 * include/stdlib.h (EXIT_FAILURE): Change value to 1.
4443 2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
4445 * include/stdlib.h (__p__environ, __p__wenviron): Use
4446 __STDC__ prototypes.
4448 2001-09-19 Earnie Boyd <earnie@SF.net>
4450 * Makefile.in: Remove the /usr from the install target.
4451 (VERSION): Increment.
4452 include/_mingw.h: Ditto.
4454 2001-09-17 Earnie Boyd <earnie@SF.net>
4456 * Makefile.in: Increment version.
4457 * include/_mingw.h: Ditto.
4459 2001-09-10 Earnie Boyd <earnie@SF.net>
4461 * dossh: Remove inadvertantly imported file.
4463 2001-09-10 Danny Smith <dannysmith@users.sourceforge.net>
4465 * dirent.c (opendir): Use GetFileAttributes rather than stat
4466 to determine if input arg is dir.
4468 2001-08-29 Danny Smith <dannysmith@users.sourceforge.net>
4470 * include/stdarg.h (va_list): Typedef as __builtin_va_list if
4472 * include/varargs.h (va_list): Ditto.
4473 * include/stdio.h (va_list): Ditto.
4475 2001-08-01 Danny Smith <dannysmith@users.sourceforge.net>
4477 * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
4478 * include/stdio.h (_IORW): Change constant to 0x0080.
4479 (TMP_MAX): Add new define.
4481 (_wP_tmpdir): Ditto.
4482 (L_tmpnam): Change constant to 16.
4484 2001-06-28 Danny Smith <dannysmith@users.sourceforge.net>
4486 * include/malloc.h: Fix non-ANSI comment after #endif.
4488 2001-06-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4490 * profile/configure.in: Make msvcrt.dll version default.
4491 * profile/makefile.in: Build both gcrt1.o and gcrt2.o.
4492 * provile/configure: Regenerate.
4494 2001-06-11 Mattia Barbon <mbarbon@dsi.unive.it>
4496 * include/stdio.h (swscanf): Make first arugument const.
4497 * include/wchar.h (swscanf): Ditto.
4498 * include/tchar.h (_tfopen): New _UNICODE define.
4500 (_tsetlocale): Ditto.
4502 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4504 * profile/Makefile.in (mkinstalldirs): Correct relative path.
4506 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4508 * include/_mingw.h: Change version to 1.0.
4511 2000-02-21 Earnie Boyd <earnie@users.sourceforge.net>
4513 * include/tchar.h: (__TEXT): Remove undef.
4517 2001-02-02 Earnie Boyd <earnie@users.sourceforge.net>
4519 * include/tchar.h: (__TEXT): Add private macro.
4520 (_TEXT): Modify definition to use __TEXT.
4522 This change allows the passing of a MACRO as an argument and have that
4523 MACRO resolved first.
4524 Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
4526 2001-01-31 Earnie Boyd <earnie@users.sourceforge.net>
4528 * Makefile.in: Increment version to 0.5
4529 * include/_mingw.h: Increment minor version
4531 2001-01-30 Earnie Boyd <earnie@users.sourceforge.net>
4533 * include/assert.h: (assert): Remove ; from end of definition
4534 Thanks to: AJ Reins <tbisp@qwest.net>
4536 2001-01-30 Earnie Boyd <earnie@users.sourceforge.net>
4538 * include/time.h (CLOCKS_PER_SEC): Type cast the constant.
4539 Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
4541 2001-01-29 Earnie Boyd <earnie@users.sourceforge.net>
4543 * include/time.h (CLOCKS_PER_SEC): Change from FP to integer constant.
4545 2001-01-28 Earnie Boyd <earnie@users.sourceforge.net>
4547 * include/wchar.h: The 2001.01.18 Change was incorrect. The functions
4548 are actually C functions. These functions are resolved via the
4549 -lmsvcp60 library and comments were placed in the header.
4551 2001-01-28 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4553 * include/stdlib.h (__p__pgmptr): add prototype.
4554 (__p__wpgmptr): likewise.
4555 (_pgmptr_dll): move declaration from dos.h.
4556 (_wpgmptr_dll): likewise.
4557 (_pgmptr): conditional define (MSVCT/CRTDLL).
4558 (_wpgmptr): likewise.
4559 * include/dos.h (_base*_dll variables): declare only for CRTDLL.
4560 (_os*_dll variables): likewise.
4561 (_pgmptr_dll): remove declaration and associated defines to stdlib.h.
4562 (_wpgmptr_dll): likewise.
4564 2001-01-22 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4566 * include/stdint.h: New file.
4568 2001-01-18 Earnie Boyd <earnie@users.sourceforge.net>
4570 * include/wchar.h: Protect prototypes only declared in the C++ STL
4571 from being declared unless __cplusplus is defined.
4573 2001-01-16 Earnie Boyd <earnie@users.sourceforge.net>
4575 * include/stdlib.h: Apply Danny Smith patch 102730
4576 2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4577 (_wgetenv) Correction to return type.
4579 2001-01-16 Earnie Boyd <earnie@users.sourceforge.net>
4581 * include/locale.h: Apply Danny Smith patch 101834
4582 2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4583 (LC_MIN) Add definition.
4585 (_wsetlocale) Add prototype.
4587 2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
4589 * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
4590 Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
4591 Create a libcoldname.a for the oldname library for CRTDLL.
4592 Restrict libmoldname.a for the oldname library for MSVCRT.
4593 * configure.in: eliminate setting RUNTIME and CRT_ID variables.
4594 Restructure the $target_os case logic.
4595 Always name the MinGW thread dll helper mingwm.
4596 Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
4597 * configure: regenerate.
4599 2000-11-22 Earnie Boyd <earnie_boyd@yahoo.com>
4601 * Makefile.in: Fix bindist target to distribute the correct files.
4602 Remove the use of SNAPSHOT variable and test SNAPDATE instead.
4603 Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
4605 2000-11-21 Earnie Boyd <earnie_boyd@yahoo.com>
4607 * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
4608 Add variables and targets to control binary and source distributions.
4609 Add variables and targets to control snapshot distribution.
4610 * profile/gmon.h: Add missing #endif for #ifndef.
4611 * profile/ChangeLog: Merge entries here and remove.
4612 * profile/Makefile.in: Add variables and targets to control
4616 * config.guess: ditto.
4617 * config.sub: ditto.
4618 * mkinstalldirs: ditto.
4619 * install-sh: ditto.
4620 * configure: regenerate.
4621 * profile/configure: ditto.
4623 2000-11-20 Earnie Boyd <earnie_boyd@yahoo.com>
4625 * Merge in changes from
4626 2000-10-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4627 * include/direct.h: add guard around MSVCRT-only prototytpes
4628 * include/io.h: add __int64 struct definitions and function prototypes;
4629 add guard for MSVCRT-only prototypes
4630 * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
4631 * include/stdio.h: add wchar function prototypes (__MSVCRT__);
4632 put wchar functions together to make sync with wchar.h easier
4633 * include/stdlib.h: add wide char functions (__MSVCRT__)
4634 * include/string.h: add string collation functions ( __MSVCRT__)
4635 * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
4636 * include/tchar.h: add macros and macro function definitions
4637 * include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
4638 enclose more functions in __MSVCRT__ guard;
4639 some oldname wide char function prototypes #if (0)'d
4640 * profile/gmon.h: add guard around BSD-ish typedefs
4642 2000-11-20 Christopher Faylor <cgf@cygnus.com>
4644 * Makefile.in: Use a different variable name for subdirectory since the
4645 previous one was used by the top level make.
4647 2000-11-19 Christopher Faylor <cgf@cygnus.com>
4649 * Makefile.in: Install mingw stuff in a subdirectory if building under
4652 2000-06-17 Christopher Faylor <cgf@cygnus.com>
4654 * Makefile.in (subdirs): Eliminate for loop.
4656 2000-06-17 Christopher Faylor <cgf@cygnus.com>
4658 * Makefile.in (subdirs): Previous change did not fix problem in
4661 2000-06-17 Christopher Faylor <cgf@cygnus.com>
4663 * Makefile.in: Avoid installing dll if we're cross building and the
4664 cross-host system isn't a Windows system.
4665 * configure.in: Detect cross-hosting situation and set appropriate
4666 variables in Makefile.in.
4667 * configure: Regenerate.
4669 2000-04-19 Christopher Faylor <cgf@cygnus.com>
4671 * configure.in: Change HEADER_SUBDIR to mingw32.
4672 * configure: Regenerate.
4674 2000-04-10 Christopher Faylor <cgf@cygnus.com>
4676 * include/string.h: Use proper prototype for _strerror.
4678 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
4680 * Makefile.in (subdirs): Workaround for broken shells.
4682 2000-02-03 Mumit Khan <khan@xraylith.wisc.edu>
4684 * Snapshot 2000-02-03.
4686 * include/{assert.h, conio.h, ctype.h, direct.h, dirent.h, fcntl.h,
4687 float.h, io.h, locale.h, malloc.h, math.h, process.h, signal.h,
4688 stdio.h, stdlib.h, string.h, time.h, wctype.h, sys/stat.h,
4689 sys/timeb.h, sys/utime.h}: Remove parameter names to avoid namespace
4692 * Makefile.in (all): Build CRT0S first.
4693 (libmingwthrd.a): Remove thread support DLL from dependency.
4695 2000-01-21 Mumit Khan <khan@xraylith.wisc.edu>
4697 * Snapshot 2000-01-21.
4699 2000-01-20 Mumit Khan <khan@xraylith.wisc.edu>
4701 Merge in changes from Cygwin:
4702 * configure.in (HEADER_SUBDIRS): New variable. Substitute.
4703 (SUBDIRS): Likewise.
4704 * Makefile.in (HEADER_SUBDIRS): New variable.
4705 (install): Use to install Mingw headers to a subdirectory if building
4707 (DLL_CC_STUFF): Add DLL entry point.
4708 * configure: Regenerate.
4710 2000-01-19 Mumit Khan <khan@xraylith.wisc.edu>
4712 * include/stdio.h (fsetpos): Fix prototype.
4713 (fpos_t): Fix for MSVCRT.
4714 * include/float.h (fpreset): Add prototype.
4715 * include/limits.h: Define UINT_MAX, USHRT_MAX and ULONG_MAX with
4717 * include/time.h: Don't define tzname as a macro for CRTDLL, and
4718 export using libmoldname.a.
4719 * crtdll.def: Add DATA tags.
4720 * msvcrt.def: Likewise.
4721 * moldname.def.in: Likewise. Add fpreset. Export tzname for
4722 both MSVCRT and CRTDLL.
4723 * moldname-crtdll.def: Regenerate.
4724 * moldname-msvcrt.def: Regenerate.
4726 1999-12-21 Mumit Khan <khan@xraylith.wisc.edu>
4728 * Snapshot 1999-12-21.
4730 * include/wctype.h: New file.
4731 * include/ctype.h (MB_CUR_MAX): Define.
4733 * include/stdlib.h (MB_CUR_MAX): Define.
4734 * include/wchar.h: Define stat, _stat structures here as well.
4735 * include/float.h: Add invalid subconditions (_SW) and floating
4736 point error (_FPE) macros.
4737 * include/time.h (_CLOCK_T): Rename macro to _CLOCK_T_DEFINED.
4738 (_TIME_T): Rename macro to _TIME_T_DEFINED.
4739 * include/sys/types.h: Likewise.
4741 1999-11-18 Mumit Khan <khan@xraylith.wisc.edu>
4743 * profile/profil.c (profile_on): Set the profiler thread priority to
4744 be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
4745 * Snapshot 1999-11-18.
4747 1999-11-07 Mumit Khan <khan@xraylith.wisc.edu>
4749 Released 1999-11-07.
4751 * Makefile.in (CRT0S): Add crtst.o.
4752 (install): Install in subdirs as well.
4753 * dirent.h (struct _stat): Rename from struct stat.
4754 * include/tchar.h: Add some new macros. Thanks to
4755 Eric Kohl <ekohl@abo.rhein-zeitung.de>.
4756 * profile/Makefile.in (install): Fix target.
4758 1999-11-04 Mumit Khan <khan@xraylith.wisc.edu>
4760 * Makefile.in: Add support for profile directory.
4761 * configure.in: Likewise.
4762 * configure: Regenerate.
4764 * profile: Imported profiling sources from winsup-19991026 snapshot.
4765 * profile/Makefile.in: New file.
4766 * profile/configure.in: New file.
4767 * profile/configure: Generate.
4768 * profile/gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
4769 * profile/gmon.h (u_char, u_short, u_int, u_long): Likewise.
4770 * profile/gmon.c (unistd.h): Include conditionally.
4771 (sys/param.h): Likewise.
4772 * profile/mcount.c (sys/param.h): Likewise.
4773 * profile/profil.c (profile_on): thread id is DWORD, not int.
4776 1999-11-03 Mumit Khan <khan@xraylith.wisc.edu>
4778 * include/stdlib.h: Add wide character version of argv/environ.
4780 * include/wchar.h: More wide character prototypes.
4781 * include/sys/stat.h: Likewise. Add struct stat as well as _stat.
4783 * dllcrt1.c (init.c): Don't include.
4784 (DllMainCRTStartup): Don't call _mingw32_init_mainargs().
4785 * Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists.
4787 1999-10-30 Mumit Khan <khan@xraylith.wisc.edu>
4789 * moldname.def: Remove file.
4790 * moldname.def.in: And add this.
4791 * moldname-msvcrt.def: Generate from moldname.def.in.
4792 * moldname-crtdll.def: Likewise.
4794 * mthr.c: New file for -mthread (thread-safe C++ EH) support.
4795 * mthr_init.c: New file for -mthread (thread-safe C++ EH) support.
4796 * mthr_stub.c: New file for -mthread (thread-safe C++ EH) support.
4798 * Makefile.in: Update.
4799 * configure.in: Likewise. Also add *cygwin* target for building
4800 under Cygwin winsup.
4801 * configure: Regenerate.
4803 1999-10-01 Mumit Khan <khan@xraylith.wisc.edu>
4805 * include/_mingw.h: Add version macros.
4806 * include/direct.h (_diskfree_t, getdiskfree, getdrives): Add.
4807 Also add wide character versions shared with wchar.h.
4808 * include/dos.h (_diskfree_t, getdiskfree, getdrives): Add.
4809 * include/io.h (sopen, _sopen): Fix prototype.
4810 Add wide character prototypes.
4811 * include/wchar.h: Likewise.
4812 * include/stdlib.h (beep, seterrormode, sleep): Remove non-
4813 underscored versions. Potential incompatibility.
4814 * include/time.h (daylight, timezone, tzname): Fix MSVCRT cases.
4815 Add wide character prototypes.
4816 * include/sys/timeb.h (struct _timeb): Don't use macro, but real
4819 1999-08-18 Mumit Khan <khan@xraylith.wisc.edu>
4821 * configure.in (RUNTIME, CRT_ID): Add to differentiate between
4822 crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
4824 * configure: Rengerate.
4825 * Makefile.in (RUNTIME, CRT_ID): Use to generate the correct
4826 dll name and crt's. CRTDLL and MSVCRT are meant to created
4827 separately, so remove all the *-msvcrt* targets.
4828 (libmingwthr.a): New target. Dummy thread support archive.
4829 (LIBS): Add libmingwthr.a.
4830 (CRT0S): Use CRT_ID. Add crtmt.o.
4831 (MINGW_OBJS): Add crtst.o.
4832 * main.c (WinMain): Fix prototype.
4833 * crtmt.c: New file.
4834 * crtst.c: New file.
4836 * include/process.h (_beginthreadex): Fix prototype.
4837 * include/_mingw.h (__int64): Define for __GNUC__.
4838 * include/tchar.h (_ttol): Add macro.
4839 * include/stdlib.h (_wtoi, _wtol, _i64toa, _ui64toa, _atoi64,
4840 _i64tow, _ui64tow, _wtoi64): Add prototypes.
4842 Reported by Emanuele Aliberti <ea@iol.it>:
4843 * include/tchar.h (_ttoi): Add macro.
4845 Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
4846 * include/stdio.h (_snprintf): Add prototype.
4847 (_vsnprintf): Likewise.
4849 1999-08-07 Mumit Khan <khan@xraylith.wisc.edu>
4851 Reported by Tor Lillqvist <tml@iki.fi>:
4852 * include/stdlib.h (__p___argv): Fix return type.
4854 1999-07-30 Mumit Khan <khan@xraylith.wisc.edu>
4857 * include/errno.h (errno): It's linked in from startup, not imported.
4858 * include/stdlib.h (errno): Likewise.
4859 * include/io.h: Guard against conflicting macros and prototypes in
4861 * include/stdlib.h: Likewise.
4862 * include/string.h: Likewise.
4863 * include/time.h: Likewise.
4865 1999-07-30 Mumit Khan <khan@xraylith.wisc.edu>
4867 * include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans.
4868 * include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT.
4869 * Makefile.in (INCLUDES): Remove old windows32 include directory.
4871 * crt1.c (_gnu_exception_handler): Fix prototype.
4872 (__mingw_CRTStartup): New function based on mainCRTStartup.
4873 (mainCRTStartup): Set the app type for MSVCRT and call
4875 (WinMainCRTStartup): Likewise.
4876 * init.c (_startupinfo): Define.
4877 (_getmainargs): Add 5th parameter.
4878 (_mingw32_init_mainargs): Use.
4880 * ALL *.c files: Reformat according to GNU coding style.
4882 1999-07-16 Mumit Khan <khan@xraylith.wisc.edu>
4884 * Makefile.in (INCLUDES): Add w32api include directory.
4886 * include/_mingw.h: New file.
4887 * include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h,
4888 errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h,
4889 math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h,
4890 stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h,
4891 sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and
4892 use the macros __DECLSPEC_SUPPORTED and __MINGW_IMPORT.
4894 * include/stdlib.h (atexit): Fix prototype.
4896 1999-06-14 Mumit Khan <khan@xraylith.wisc.edu>
4898 * include/stdio.h (_tempnam): Fix prototype.
4899 (tempnam): Likewise.
4900 * include/stdlib.h: Replace with GCC's version, and guard
4903 From Anders Norlander <anorland@hem2.passagen.se>:
4904 * include/stdlib.h (__argc): Declare.
4907 1999-04-05 Mumit Khan <khan@xraylith.wisc.edu>
4909 * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
4911 * Makefile.in (_libm_dummy.o): New target.
4914 1999-03-16 Mumit Khan <khan@xraylith.wisc.edu>
4916 * Released 1999-03-16 along with egcs-1.1.2.
4918 1999-02-17 Mumit Khan <khan@xraylith.wisc.edu>
4920 * Makefile.in (LIBS): Add libm.a.
4921 (libm.a): Dummy libm.a.
4923 * Makefile.in: Update from winsup 1999-02-08 snapshot.
4924 Preserve local changes.
4925 (mkinstalldirs): In ../, not ../../.
4926 (INCLUDES): Point to local windows32api headers and use -nostdinc.
4928 (LIBS): Add libmoldname-msvc.a.
4929 (libmoldname-msvc.a): Add target.
4930 (distclean): Add target.
4932 1999-02-09 Mumit Khan <khan@xraylith.wisc.edu>
4934 * include/dir.h: Reintroduce as an obsolescent header.
4935 * crt1.c (signal.h): Include.
4936 (_gnu_exception_handler): New function to properly handle win32
4937 asynchronous signals.
4938 (mainCRTStartup): Use.
4940 1999-01-03 Mumit Khan <khan@xraylith.wisc.edu>
4942 * include/direct.h: Include io.h instead of dir.h
4943 * include/dirent.h: Likewise.
4944 * include/dos.h: Likewise.
4945 * include/stdio.h: Replace reference to dir.h with io.h.
4947 1998-12-31 Mumit Khan <khan@xraylith.wisc.edu>
4949 * 1999-01-01 release bundled with egcs-1.1.1.
4951 * include/io.h: Incorporate dir.h.
4952 * include/dir.h: Remove.
4953 * include/signal.h: Move RC_INVOKED up a bit.
4955 1998-12-29 Mumit Khan <khan@xraylith.wisc.edu>
4957 * include/signal.h (sig_atomic_t): Define.
4959 * include/malloc.h: Import defs from deprecated alloc.h.
4960 * include/alloc.h: Remove.
4962 From "Daniel J. Rodriksson" <djr@dit.upm.es>:
4963 * include/sys/types.h (_dev_t): Should be unsigned int for MSVCRT.
4964 * include/sys/stat.h (struct stat): st_uid is of type short. Use
4965 _off_t instead of long for st_size.
4967 1998-09-10 Mumit Khan <khan@xraylith.wisc.edu>
4969 * include/errno.h (sys_errlist, sys_nerr): Move from here ...
4970 * include/stdlib.h: Here.
4972 * include/netdb.h: Remove.
4973 * include/arpa/inet.h: Remove.
4974 * include/netinet/in.h: Remove.
4975 * include/sys/socket.h: Remove.
4977 1998-09-04 Mumit Khan <khan@xraylith.wisc.edu>
4981 * include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h,
4982 sys/utime.h}: Protect stddef.h in RC_INVOKED macro.
4984 1998-09-03 Mumit Khan <khan@xraylith.wisc.edu>
4986 * setjmp.h (_JBTYPE, _JBLEN): Define correctly.
4987 (jmpbuf): typedef using above.
4988 (setjmp, longjmp): Prototype using jmpbuf.
4990 Merge with Colin Peters' 980701 snapshot. I've ignored changes to
4991 obsolescent imported names, ie., from __imp__ to _imp___.
4993 Also ignored empty include/sys/param.h and incorrect
4994 include/sys/times.h.
4996 * CRTinit.c: New file.
4997 * include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef
4999 * include/io.h (umask): Fix prototype.
5000 * include/stdlib.h (OS constants): Replace with Colin's.
5001 * include/time.h (tzset, daylight, timezone): Replace with Colin's.
5002 * include/sys/state.h: Merge.
5004 1998-09-03 Mumit Khan <khan@xraylith.wisc.edu>
5006 * include/assert.h (assert): Lose the trailing semicolon.
5008 1998-07-30 Mumit Khan <khan@xraylith.wisc.edu>
5010 * include/math.h (matherr): Declare.
5011 * include/stdio.h (fileno, _fileno): Declare.
5012 * include/stdlib.h (environ, _environ): Fix to use runtime DLL.
5015 * include/stdio.h (fdopen, _fdopen): Add const.
5016 (getw, putw): Declare.
5017 * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix.
5019 1998-06-13 Mumit Khan <khan@xraylith.wisc.edu>
5021 * include/time.h (_timezone): Undefine.
5022 * include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
5024 * include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
5026 * include/stdlib.h (environ): Use DLL version.
5027 * init.c (environ): Undefine it before use.
5029 1998-03-22 Mumit Khan <khan@xraylith.wisc.edu>
5031 * Update to 980309 snapshot from Colin Peters.
5033 * include/utime.h: remove
5034 * include/stdlib.h (__imp__osver_dll, __imp__winver_dll,
5035 __imp__winmajor_dll, __imp__winminor_dll): Apply Jan-Jaap's
5036 patches to define these.
5037 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
5038 (_daylight, _timezone, _tzname, _tzset): Define.
5040 * include/netdb.h: Add from Colin's windows32api changes.
5041 * include/sys/socket.h: Likewise.
5042 * include/arpa/inet.h: Likewise.
5043 * include/netinet/in.h: Likewise.
5045 1998-02-04 Mumit Khan <khan@xraylith.wisc.edu>
5047 * Update to 980128 snapshot from Colin Peters.
5049 1997-12-06 Mumit Khan <khan@xraylith.wisc.edu>
5051 * configure.in (AC_INIT): Use dllmain.c instead of defunct
5053 * configure: Regenerate.
5055 1997-12-05 Mumit Khan <khan@xraylith.wisc.edu>
5057 * Update to 971205 snapshot from Colin Peters. Lots of changes.
5058 Files renamed and include hierarchy loses directories named
5061 * include/dos.h: from Jan-Jaap.
5063 1997-12-04 Mumit Khan <khan@xraylith.wisc.edu>
5065 Changes to conform to FSF tree.
5067 * crt1.c: Renamed from mcrt0.c.
5068 * dllcrt1.c: Renamed from dllcrt0.c.
5069 * Makefile.in: Update above. Also renamed libmoldnames.a to
5072 1997-12-01 Mumit Khan <khan@xraylith.wisc.edu>
5074 * crtdll.def: Export all functions but the ones with funny names.
5075 * moldnames.def: Add fdopen since fileno is already there.
5076 * include/nonansi/dos.h: New file from Jan-Jaap.
5077 * include/errno.h: Add extern decl + various additions from JJ.
5078 * include/stdio.h: Likewise.
5079 * include/stdlib.h: Likewise.
5080 * include/nonansi/io.h: Likewise.
5081 * include/nonansi/process.h: Likewise.
5082 * include/sys/types.h: Likewise.
5084 1997-11-04 Mumit Khan <khan@xraylith.wisc.edu>
5086 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
5088 * include/stdlib.h (free): Fix prototype to return void, not void*.
5089 * include/nonansi/process.h: Add P_* and WAIT_* defs.
5091 * dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
5092 * mcrt0.c: Likewise.
5094 * Makefile.in (LIBS): Delete moldnames.dll from target libs.
5095 (libmoldnames.a): Add explicit rule to create it.
5097 1997-08-15 Rob Savoye <rob@cygnus.com>
5099 New directory for the minimalist cygwin environment.
5101 * crtglob.c: New file. Turn on file globbing support.
5102 * crt_noglob.c: New file. Turn off file globbing support.
5103 * ctype_old.c: New file. Wrappers for functions that don't
5105 * dirent.c: New file. Directory routines readdir, opendir, closedir.
5106 * dllcrt0.c: New file. Initialization code to use crtdll.dll.
5107 * dllmain.c: New file. A stub DllMain function.
5108 * hugeval.c: New file. A gross hack to define HUGE_VAL.
5109 * init.c: New file. Common code to initialize standard file
5110 handles and command line arguments.
5111 * main.c: New file. A main for programs that only call WinMain.
5112 * mcrt0.c: New file. Default crt0 for mingw32.
5113 * oldnames.c: New File. Wrappers for functions that don't
5115 * string_old.c: New File.
5116 * include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h
5117 math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h
5118 string.h,tchar.h,time.h,wchar.h}: New header files for mingw.
5119 * include/sys/types.h: New header file for mingw.
5120 * include/nonansi/{alloc.h,conio.h,dir.h,direct.h,dirent.h
5121 fcntl.h,io.h,malloc.h,mem.h,memory.h,process.h,share.h,unistd.h
5122 utime.h,values.h,varargs.h}: New header files for mingw.
5123 * include/nonansi/sys/{fcntl.h,locking.h,stat.h,time.h
5124 timeb.h,unistd.h}: New header files for mingw.
5125 * Makefile.in,configure.in: Build and configure support.
5126 * configure: Generated from autoconf 2.12 with Cygnus patches.