1 2014-12-11 Keith Marshall <keithmarshall@users.sourceforge.net>
3 Don't implicitly define _POSIX_C_SOURCE too early.
5 * include/_mingw.h (_POSIX_C_SOURCE): Delay implict definition.
6 (__USE_MINGW_ANSI_STDIO): This must be initialized first, to ensure
7 that it is not accidentally activated by implied _POSIX_C_SOURCE.
9 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
11 Correct complex arcsin computation per issue [#2245].
13 * mingwex/complex/casin_generic.c: New file; it replaces...
14 * mingwex/complex/casin.c: ...this; it is now obsolete; delete it.
15 * mingwex/complex/casinf.c mingwex/complex/casinl: Likewise.
17 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
19 Correct complex square root computation per issue [#2246].
21 * include/math.h (hypotf): Redirect __CRT_INLINE call to...
22 (_hypot): ...this MSVCRT.DLL exported function, so avoiding...
23 (hypot): ...this libmoldname.a indirection.
25 * mingwex/complex/csqrt_generic.c: New file; it replaces...
26 * mingwex/complex/csqrt.c: ...this; it is now obsolete; delete it.
27 * mingwex/complex/csqrtf.c mingwex/complex/csqrtl: Likewise.
29 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
31 Adjust header guards to resolve issue [#2244].
33 * include/_mingw.h (_POSIX_C_SOURCE): Define it implicitly...
34 [_GNU_SOURCE || _BSD_SOURCE || _POSIX_SOURCE || !__STRICT_ANSI__]:
35 ...when any of these prevail, or as appropriate to correspond with...
36 [_XOPEN_SOURCE]: ...this; set conformance level accordingly.
38 * include/math.h [_POSIX_C_SOURCE || defined _USE_MATH_DEFINES]
39 (M_E, M_LOG2E, M_LOG10E, M_LN2, M_LN10, M_PI, M_PI_2, M_PI_4, M_1_PI)
40 (M_2_PI, M_2_SQRTPI, M_SQRT2, M_SQRT1_2): Define them, irrespective...
41 [__STRICT_ANSI__]: ...of this; replace guard accordingly.
43 2014-12-01 Keith Marshall <keithmarshall@users.sourceforge.net>
45 Add implementation of mkstemp() and mkdtemp() functions.
47 * mingwex/cryptnam.c: New file; it implements...
48 (__mingw_crypto_tmpname): ...this helper function; it generates a
49 cryptographically secure sequence of characters, used as the random
50 component in temporary file and directory names.
52 * mingwex/mkstemp.c: New file; it implements...
53 (__mingw_mkstemp): ...this provider of mkstemp() functionality.
55 * mingwex/mkdtemp.c: New file; it implements...
56 (__mingw_mkdtemp): ...this provider of mkdtemp() functionality.
58 * include/stdlib.h (mkstemp): Declare protototye; provide an inline
59 function implementation, with LIBIMPL extern semantics, in terms of...
60 (__mingw_mkstemp): ...this; also declare prototype, and define...
61 (_MKSTEMP_INVOKE, _MKSTEMP_DEFAULT): ...these supporting constants.
62 (_MKSTEMP_SETMODE): New macro; define it, also providing...
63 (MKSTEMP_SETMODE) [!_NO_OLDNAMES]: ...this alias.
64 (mkdtemp): Declare prototype; provide inline implementation, with
65 JMPSTUB extern semantics, in terms of...
66 (__mingw_mkdtemp): ...this; declare prototype.
68 * Makefile.in (libmingwex.a): Add dependency rule, to include...
69 (mkstemp.$OBJEXT, mkdtemp.$OBJEXT, cryptname.$OBJEXT): ...these.
71 2014-11-30 Keith Marshall <keithmarshall@users.sourceforge.net>
73 More JMPSTUB rationalization of inline functions.
75 * include/stdlib.h (_Exit, atoll, lltoa, ulltoa, wtoll, lltow)
76 (ulltow): Add __JMPSTUB__ declarations; each is REMAPPED to its
77 appropriate MSVCRT.DLL equivalent entry point.
79 * mingwex/_Exit.c: File is now redundant; delete it.
80 * mingwex/atoll.c mingwex/lltoa.c mingwex/ulltoa: Likewise.
81 * mingwex/wtoll.c mingwex/lltow.c mingwex/ulltow: Likewise.
83 * Makefile.in (jmpstub_awk_script): Add support for...
84 [__JMPSTUB__((REMAPPED))]: ...this stub function attribute.
85 (libmingwex.a): Remove dependencies on deleted files, namely...
86 (_Exit.$OBJEXT, atoll.$OBJEXT, lltoa.$OBJEXT, ulltoa.$OBJEXT)
87 (wtoll.$OBJEXT, lltow.$OBJEXT, ulltow.$OBJEXT): ...these.
89 2014-11-29 Keith Marshall <keithmarshall@users.sourceforge.net>
91 Correct omission of complex conjugate functions from libmingwex.a
93 * include/complex.h (conj, conjf, conjl): Add LIBIMPL declarations.
94 (creal, crealf, creall): Likewise, for consistency of implementation.
95 (cimag, cimagf, cimagl, carg, cargf, cargl): Likewise.
97 * Makefile.in (libimpl_sed_script): Add processing for __CRT_INLINE
98 declarations; they should be interpreted analogously to __CRT_ALIAS.
99 (libmingwex.a): Remove object file references for functions which are
100 now declared as LIBIMPL, and sort the remainder in ASCII collating
101 order; deleted function references comprise the set consisting of...
102 (carg.$OBJEXT, cargf.$OBJEXT, cargl.$OBJEXT): ...these...
103 (creal.$OBJEXT, crealf.$OBJEXT, creall.$OBJEXT): ...these, and...
104 (cimag.$OBJEXT, cimagf.$OBJEXT, cimagl.$OBJEXT): ...these.
106 * mingwex/complex/carg.c: Replaced by LIBIMPL; delete it.
107 * mingwex/complex/cargf.c mingwex/complex/cargl.c: Likewise.
108 * mingwex/complex/creal.c mingwex/complex/cimag.c: Likewise.
109 * mingwex/complex/crealf.c mingwex/complex/cimagf.c: Likewise.
110 * mingwex/complex/creall.c mingwex/complex/cimagl.c: Likewise.
112 2014-11-24 Keith Marshall <keithmarshall@users.sourceforge.net>
114 Back-port improved asinh() implementation from 4.0-dev branch.
116 * mingwex/math/asinh_generic.c: New file; it replaces...
117 * mingwex/math/asinh.c mingwex/math/asinhf.c mingwex/math/asinhl.c:
118 ...all of these; delete them.
120 2014-11-18 Keith Marshall <keithmarshall@users.sourceforge.net>
122 Enable remake of lost LIBIMPL object files.
124 * Makefile.in (libimpl_remake): New macro; define it, and...
125 (%.libimpl.$OBJEXT) [%.libimpl exists]: ...use it in build rule.
127 2014-11-17 Keith Marshall <keithmarshall@users.sourceforge.net>
129 Implement more robust _get_output_format fallback handling.
131 * mingwex/ofmt.c: New file; it implements...
132 (__mingw_output_format_flag): ...backing store, used by...
133 (__mingw_get_output_format, __mingw_set_output_format): ...these
134 MSVCRT.DLL version agnostic wrappers/emulators for each of these...
135 (_get_output_format, _set_output_format): ...MSVCR80.DLL and later
136 version specific Microsoft APIs, which are also supported by some
137 later versions of MSVCRT.DLL, (excluding WinXP and earlier).
138 (__mingw_get_output_format_fallback): Implement; it is aliased to...
139 (__mingw_set_output_format_fallback): ...this; together they provide
140 the emulation support for the preceding pair of functions, when they
141 are not available within the run-time platform MSVCRT.DLL
142 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
143 Implement them; they wrap, and if necessary emulate...
144 (_get_printf_count_output, _set_printf_count_output): ...these.
145 (__mingw_get_printf_count_output_fallback): Implement; aliased to...
146 (__mingw_set_printf_count_output_fallback): ...this; together they are
147 required to support emulation of the preceding pair of functions, when
148 they are not available within the run-time platform MSVCRT.DLL
150 * include/stdio.h (_TWO_DIGIT_EXPONENT): Define it unconditionally.
151 (_THREE_DIGIT_EXPONENT): New manifest constant; define it orthogonally.
152 (__mingw_get_output_format, __mingw_set_output_format)
153 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
154 Unconditionally declare their prototypes, for subsequent inline use.
155 [_MSVCRT_VERSION__ < 0x800] (_get_output_format): Emulate it inline.
156 [_MSVCRT_VERSION__ < 0x800] (_set_output_format): Likewise.
157 [_MSVCRT_VERSION__ < 0x800] (_get_printf_count_output): Likewise.
158 [_MSVCRT_VERSION__ < 0x800] (_set_printf_count_output): Likewise.
159 (__USE_MINGW_PRINTF): New manifest constant; define it. It is a
160 counterpart to __USE_MINGW_ANSI_STDIO, which is guaranteed to always
161 represent a compilable token.
163 * mingwex/stdio/pformat.c (__pformat_exponent_digits): Do not require
164 _get_output_format; consult __mingw_output_format_flag directly.
166 * ofmt_stub.s: No longer required; delete it.
168 * Makefile.in (ofmt_stub.$OBJEXT): Delete reference.
169 (PFORMAT_CFLAGS) [__MSVCRT_VERSION__ = 0x800]: Remove requirement.
170 (varofmt.$OBJEXT, crtofmt.$OBJEXT, getofmt.$OBJEXT, setofmt.$OBJEXT)
171 (crtnfmt.$OBJEXT, getnfmt.$OBJEXT, setnfmt.$OBJEXT): Add build rule;
172 all are compiled from ofmt.c
174 2014-11-16 Keith Marshall <keithmarshall@users.sourceforge.net>
176 Do some more essential build tree clean up.
178 * Makefile.in (mostly-clean-local): Add *.libimpl; matching files get
179 in the way of a successful rebuild from clean.
181 2014-11-11 Keith Marshall <keithmarshall@users.sourceforge.net>
183 Implement wrappers for emulation of POSIX dlfcn API.
185 * include/dlfcn.h: New file; it declares the API.
186 * mingwex/dlfcn.c: New file; implement it, with access via...
187 (__mingw_dlfcn): ...this publicly addressable vector table.
189 * Makefile.in (dlfcn.$OBJEXT): Add build requisite.
190 (dlopen, dlsym, dlclose, dlerror): Build call stubs, using...
191 (__LIBIMPL__): ...this automatic interface generator; implement it.
192 (libstub_refnames): New macro; it is adapted from and replaces...
193 (jmpstub_refs): ...this; when it is then invoked twice to build...
194 (Makefile.stub): ...this, it handles both JMPSTUB and LIBIMPL.
195 (jmpstub_awk_script): Adapt it to work with 'libstub_refnames'.
196 (libimpl_awk_script): New inline script; it handles automated builds
197 of LIBIMPL interfaces, as 'jmpstub_awk_script' does for JMPSTUB.
198 (libimpl_sed_script): New inline script; it prepares intermediate C
199 source code for LIBIMPL interfaces, as required to satisfy these...
200 (%.libimpl, %.libimpl.$OBJEXT): ...new implicit build objectives.
201 (LIBIMPL_CFLAGS): New macro; define it.
203 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
205 Move libgen functions to __mingw_ pseudo-namespace.
207 * mingwex/dirname.c (dirname): Rename function, as implemented...
208 (__mingwex_dirname): ...to this.
210 * mingwex/basename.c (basename): Rename function, as implemented...
211 (__mingwex_basename): ...to this.
213 * include/libgen.h (__mingw_dirname, __mingw_basename): Declare
214 prototypes, matching and augmenting original declarations for...
215 (dirname, basename): ...these; reimplement as inline aliases, with
216 __JMPSTUB__ references to the renamed implementation entry points.
218 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
220 Implement new command line argument globbing strategy.
222 * include/_mingw.h: Backport feature defines from master...
223 (__CRT_GLOB_USE_MINGW__, __CRT_GLOB_USE_MSVCRT__): New manifest
224 constants; define them. They select the preferred globbing algorithm.
225 [_CRT_glob & __CRT_GLOB_USE_MINGW__] (__CRT_GLOB_USE_SINGLE_QUOTE__)
226 (__CRT_GLOB_BRACKET_GROUPS__, __CRT_GLOB_CASE_SENSITIVE__): New option
227 bit-map constants; define them. When added to __CRT_GLOB_USE_MINGW__,
228 they enable optional additional features supported by this algorithm.
229 (__CRT_GLOB_ESCAPE_CHAR__): New manifest constant; define it.
231 * CRTglob.c (_CRT_glob): Change default to __CRT_GLOB_USE_MINGW__.
233 * Makefile.in (libmingw32.a): Add setargv.$OBJEXT, furnished by...
234 * setargv.c: ...new file; it implements the initialization mechanism
235 for the __CRT_GLOB_USE_MINGW__ globbing algorithm, when invoked by...
236 (_setargv) [_CRT_glob & __CRT_GLOB_USE_MINGW__]: ...this new function;
237 it invokes the algorithm via an API similar to that described by MSDN,
238 while continuing to support our original _CRT_glob interpretation.
239 (_setargv) [! _CRT_glob & __CRT_GLOB_USE_MINGW__]: Invoke Microsoft
240 algorithm, via the MSDN-alike API, by calling back to...
242 * crt1.c (_mingw32_init_mainargs): ...this original function, now
243 relocated to here, as a publicly addressable function; formerly...
244 (__mingw_CRTStartup): ...called directly from here, we now redirect
245 the call through _setargv(), whence it may be called indirectly.
247 * init.c: Redundant file; delete it. It originally provided...
248 (_mingw32_init_mainargs): ...this, now relocated as noted above, with
249 original static attribute removed, to allow global addressing.
251 2014-11-07 Keith Marshall <keithmarshall@users.sourceforge.net>
253 Backport glob implementation from master to legacy.
255 * include/glob.h: New file; copy it from master branch.
256 (__mingw_glob, __mingw_globfree): Add __JMPSTUB__ aliases for...
257 (glob, globfree): ...each of these, respectively.
259 * mingwex/glob.c: New file; copy it from master:src/libcrt/misc.
260 (CRT_GLOB_HARD_ESCAPE) [ifndef __CRT_GLOB_ESCAPE_CHAR__]: Provide a
261 fallback definition; default value is ASCII DEL, a.k.a. RUBOUT, code.
262 (accept_glob_nocheck_match): New static function; it adds support for
263 avoidance of globbing on patterns with no globbing token, so avoiding
264 the case transliteration effect reported as MinGW-Bug #2106.
265 (glob_match): Use it.
267 * Makefile.in: Build glob.$OBJEXT; add it to libmingwex.a
269 2014-11-05 Keith Marshall <keithmarshall@users.sourceforge.net>
271 Implement conventionally named dirent function trampolines.
273 * mingwex/jmpstub.sx: New file; it implements a generic trampoline,
274 which redirects a conventionally named function call to its __mingw_
275 pseudo-namespace implementation.
277 * aclocal.m4 (MINGW_AC_PROG_COMPILE_SX): New macro; define it.
278 * configure.ac (MINGW_AC_PROG_COMPILE_SX): Use it; it identifies the
279 appropriate protocol for compiling *.sx files, (supported natively by
280 GCC >= v4.3, but older versions require `-x assembler-with-cpp').
282 * Makefile.in (COMPILE.sx): New implicit rule; GNU make does not
283 yet provide it, so we define it ourselves; deploy it for *.sx files.
284 (Makefile.stub): New sinclude file; create it dynamically, using...
285 (jmpstub_awk_script): ...this new inline script, which is based on...
286 (jmpstub_refs, jmpstub_prerequisites): ...these new macros, and...
287 (mingwex/jmpstub.sx): ...this new file; add vpath reference.
288 (mostlyclean-local): Remove Makefile.stub; do likewise...
289 (Makefile): ...when remaking this, to ensure that both will be
292 2014-11-03 Keith Marshall <keithmarshall@users.sourceforge.net>
294 Make dirent implementation namespace and time_t clean.
296 * include/_mingw.h (_EXTERN_C, _BEGIN_C_DECLS, _END_C_DECLS): New
297 macros; define them. They facilitate identification of symbols which
298 must be compiled with `extern "C"' binding, when compiling C++ code.
299 (__CRT_ALIAS): New macro; define it. It is intended to replace...
300 (_CRTALIAS): ...this, which is to be considered as deprecated.
301 (__JMPSTUB__, __LIBIMPL__): New macros; define them. They provide
302 __CRT_ALIAS build hints, while remaining transparent to GCC.
303 (UNICODE, _UNICODE) [user defined]: Define consistently.
305 * mingwex/dirent.c: Reimplement; (this is a back-port from the
306 4.0-dev branch, with additional ABI changes to improve stability).
307 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
308 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
309 Add `__mingw_' prefix to all publicly exposed symbol names.
310 (dirent_findfirst, dirent_findnext, dirent_findclose): New locally
311 implemented functions; they replace Microsoft's ambiguously defined
312 _findfirst, _findnext, and _findclose, so avoiding ABI instability
313 resulting from the ambiguous size of Microsoft's time_t.
315 * include/dirent.h (struct dirent, struct _wdirent): Redefine them,
316 removing unnecessary time_t and file size fields; (our replacements
317 for _findfirst, and _findnext do not require them to be present).
318 (DIR, _WDIR): Adjust typedefs; they are now opaque structs.
319 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
320 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
321 Adjust prototypes, making them inline aliases for public symbols which
322 are now qualified by the `__mingw_' prefix; add build hints to support
323 compilation of addressable stubs, with the original symbol names.
324 (DT_REG, DT_DIR, DT_UNKNOWN): New manifest constants; define them.
325 (DT_BLK, DT_CHR, DT_FIFO, DT_LNK, DT_SOCK): Likewise; (these are for
326 BSD compatibility, but are fundamentally unsupported on MS-Windows).
327 (_DIRENT_HAVE_D_TYPE, _DIRENT_HAVE_D_RECLEN, _DIRENT_HAVE_D_NAMLEN):
328 New macros; define them. (These show availability of optional fields
329 within the dirent struct, which client code may wish to access).
331 2014-10-31 Keith Marshall <keithmarshall@users.sourceforge.net>
333 Correct improper naming of assembly language source files.
335 * mingwex/math/*.S: Rename all files with this extension...
336 * mingwex/math/*.s: ...to this; (all are simple assembly language, and
337 not extended `assembler-with-cpp' as implied by the former extension);
338 adjust all internal `.file <name>' references accordingly.
340 * Makefile.in (vpath %.S): Adjust reference to locate files....
341 (vpath %.s): ...now renamed thus.
343 2014-10-29 Keith Marshall <keithmarshall@users.sourceforge.net>
345 Streamline the build system infrastructure.
347 * configure.ac: New file; it replaces...
348 * configure.in: ...this; (name is obsolete); delete it.
350 * aclocal.m4 Makefile.in: Substantially rewritten; avoid recursive
351 make invocations, when processing subdirectories, and add automatic
352 dependency tracking for all generated files.
354 * configure: Delete it; as a generated file, it doesn't belong in SCM.
356 * mingwex/Makefile.in: No longer required; delete it.
357 * profile/Makefile.in: Likewise.
359 * mkinstalldirs: Not required; delete it; (make should use `mkdir -p',
360 or fall back on `install-sh -d', per AC_PROG_MKDIR_P).
362 * jamfile: Delete it; it hasn't been updated in ages, is likely no
363 longer relevant, and I have no desire to maintain it.
365 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
367 * include/_mingw.h: Increment version to 3.20.
369 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
371 * tlsmthread.c: Update to reflect changes in tlssup.c.
372 * tlssup.c: code clean-up.
374 2011-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
376 * include/_mingw.h: Increment version to 3.19.
378 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
380 * include/float.h: Modify guard to accomodate CLang.
382 Thanks to Ruben Van Boxem for the report.
384 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
386 * tlssup.c: Remove mingwm10.dll fallback.
388 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
390 * include/sys/types.h (ssize_t): Defined as int as opposed to long.
392 Thanks to bvassche for the report.
394 2011-05-31 Keith Marshall <keithmarshall@users.sourceforge.net>
396 Correct checking for short option matches in getopt_long_only().
398 * mingwex/getopt.c (getopt_verify): New static inline function.
399 (getopt_parse) [getopt_mode_long_only]: Use it, to validate as a
400 possible short option match after failing to match, or ambiguously
401 matching as a long option.
403 2011-05-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
405 * include/stdlib.h (strtod): Declare as extern to resolve compilation issues.
407 Thanks to cgf for the report.
409 2011-05-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
411 * include/time.h (daylight, timezone, tzname): Rework guards to expose when
412 compiles with __STRICT_ANSI__.
414 Thanks to Felipe Contreras for the report.
416 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
418 * include/stdlib.h (strtod): Remove possible static declaration to resolve
421 Thanks to Tobias Burnus for the report.
423 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
425 * include/stdlib.h (_rotl, _lrotl, _rotr, _lrotr): Resolve conflict with gcc
426 by wrapping the functions in brackets.
428 Thanks to Kai Tietz for the report.
430 2011-05-22 A.B., Khalid <abkhd@users.sourceforge.net>
432 * Makefile.in: Add support for msvcr100.dll.
433 * msvcrt.def.in: Ditto.
435 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
437 * mingwex/mingw-fseek.c: The anonymous union feature for LARGE_INTEGER is
438 not always available, go the long way and use the explicit named union
439 members, which are also declared in winnt.h.
441 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
443 * mingwex/isblank.c: Fix typo in declaration.
445 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
447 * include/_mingw.h: Define GCC system_header only if PCC is not defined.
448 * include/stdlib.h: Fix a long-standing typo which prevented correct use of
449 the MB_CUR_MAX macro/variable when DECLSPEC is not supported and <stdlib.h>
450 is included before <ctype.h>.
452 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
454 * include/wchar.h: Include stdio.h to grab definition of FILENAME_MAX.
456 Thanks to Jim Bell for the report and Greg Chicares for the fix.
458 2011-01-07 Jacky Lai <crazyjacky@users.sourceforge.net>
460 Correct hexadecimal formatting of double and long double values.
462 * mingwex/stdio/pformat.c (__pformat_xdouble): Delete function.
463 (__pformat) [A format]: Cast double values to long double, and use...
464 (__pformat_xldouble): ...this instead, with corrected adjustment of
465 exponent and alignment of mantissa, when formatting subnormals.
467 2010-12-27 Ozkan Sezer <sezero@users.sourceforge.net>
469 * include/dirent.h (dd_handle): Define as intptr_t.
471 2010-11-08 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
473 * tlssup.c (__dyn_tls_init): Use an integer variable to iterate between
476 2010-08-17 Keith Marshall <keithmarshall@users.sourceforge.net>
478 * include/limits.h (PATH_MAX): Make it agree with Microsoft's
479 semantically identical MAX_PATH; correct value is 260.
481 2010-07-25 Keith Marshall <keithmarshall@users.sourceforge.net>
483 Accept that mingwrt headers are not guaranteed to precede GCC's in the
484 system include search path; (issue reported by Mark Brand).
486 * include/float.h: Add multiple inclusion guard around...
487 [! defined _FLOAT_H___]: ...include_next <float.h> for GCC's version,
488 only when this define does not indicate that it has already been seen;
489 update comments to document rationale; move it within the scope of...
490 [! defined _MINGW_FLOAT_H_]: ...this multiple inclusion guard, so that
491 GCC's float.h, after an appropriate complementary modification, need
492 not perform a further include path search when this implementation
493 specific extension has already been processed.
495 2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>
497 * include/io.h (_findfirst, _findnext, _findclose, _findfirst32,
498 _findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32,
499 _findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext,
500 _findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64,
501 _findnexti64): Correct definition.
503 2010-04-27 Danny Smith <dannysmith@users.sourceforge.net>
505 * mingwex/mb_wc_common.h (get_codepage): Revert change of 2006-09-19.
507 2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
509 * include/_mingw.h: Increment version to 3.18.
511 2010-03-02 Daniel Atallah <datallah@users.sourceforge.net>
513 * include/stdio.h: (_vscprintf, _vscwprintf)
514 * include/tchar.h: (_vsctprintf)
516 2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
518 Issue [2134161]: time64 functions and types for msvcrt >= 8.0
519 (initial implementation)
521 * new type: __time32_t
523 * new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
524 __stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
525 __wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t
527 * new functions: _ctime32, _difftime32, _difftime64, _findfirst32
528 _findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
529 _findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
530 _futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
531 _mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
532 _wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
533 _wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
534 _wstat32i64, _wstat64i32,_wutime32
536 * new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
537 ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
538 _fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
539 _stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
540 _wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime
542 2010-01-25 Kai Tietz <kai.tietz@onevision.com>
544 Implement TLS Callback.
546 * tlsmcrt.c: New file.
547 * tlsmthread.c: Ditto.
550 * Makefile.in: Include new files.
551 * crt1.c: Implement TLS Callback.
553 * mthr_stub.c: Remove.
555 2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
557 * include/_mingw.h: Increment version to 3.17.
559 2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
561 * mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa:
562 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
564 2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
566 * include/io.h (_open_osfhandle): Correct definition.
568 Thanks to Alexander Shaduri for the information.
570 2009-11-02 Charles Wilson <mingw@cwilson.fastmail.fm>
572 Final sync of pseudo-reloc.c with mingw64 and cygwin
573 * lib/pseudo-reloc.c (__report_error) [CYGWIN]: Correct size bug
574 regarding error messages.
576 2009-10-29 Charles Wilson <mingw@cwilson.fastmail.fm>
578 Honor DESTDIR for winsup/mingw and winsup/w32api.
579 Detect and report error if installation paths are win32
580 format, but DESTDIR is non-empty.
582 * Makefile.in (DESTDIR): Honor per convention.
583 (need-DESTDIR-compatibility): New macro; define it and a
585 (fail-DESTDIR-compatibility): New dependency goal.
586 (install-dirs): Require need-DESTDIR-compatibility.
587 * mingwex/Makefile.in (DESTDIR): Honor per convention.
588 (need-DESTDIR-compatibility): New macro; define it and a
590 (fail-DESTDIR-compatibility): New dependency goal.
591 (install): Require need-DESTDIR-compatibility.
592 * profile/Makefile.in: Ditto.
594 2009-10-25 Charles Wilson <mingw@cwilson.fastmail.fm>
596 Sync pseudo-reloc.c with mingw64
597 * psuedo-reloc.c: Remove unnecessary includes.
598 Forward declare _pei386_runtime_relocator.
599 Decorate _image_base__ symbol with macro for
600 mingw64 compatibility. Whitespace changes.
601 (__print_reloc_error): Renamed to...
602 (__report_error): This. "Returns" void, and
603 always aborts. Now used on all platforms.
604 (__write_memory): Remove special case error handling
605 for different platforms - always call __report_error.
606 (do_pseudo_reloc): Remove special case error handling
607 for different platforms - always call __report_error.
608 (_pei386_runtime_relocator): Decorate _image_base__
609 symbol with mingw64 compatibility macro.
611 2009-10-23 Charles Wilson <mingw@cwilson.fastmail.fm>
613 Sync pseudo-reloc.c with cygwin/lib/
614 * pseudo-reloc.c [CYGWIN]: Added comments throughout and various
615 whitespace fixes. Exploit cygwin_internal(CW_EXIT_PROCESS,...)
616 for fatal error handling that is consistent with cygwin process
617 life-cycle. Ensure state variable (in _pei386_runtime_relocator)
618 is unique to each address space, across fork().
619 [CYGWIN] (__print_reloc_error): New function for reporting
620 errors in a manner supported by cygwin at this early stage of
621 the process life-cycle.
622 [CYGWIN] (_pei386_runtime_relocator): Ensure relocations
623 performed only once for each address space, but are repeated
624 after fork() in the new address space.
625 [MINGW] (__write_memory): Ensure that b is always initialized
626 by call to VirtualQuery, even if -DNDEBUG.
628 2009-09-29 Keith Marshall <keithmarshall@users.sourceforge.net>
630 Make MinGW printf() "%p" format compatible with MSVCRT scanf().
631 (Based on MinGW-patch 2844514 by Peter Rosin <peda@lysator.liu.se>)
633 * mingwex/stdio/pformat.c (__printf) [%p]: Do not arbitrarily apply...
634 (PFORMAT_HASHED): ...this formatting attribute; honour only user
635 specified format qualifiers, except in special case...
636 [%p && stream.flags == flags && state == PFORMAT_INIT]: Apply...
637 (PFORMAT_ZEROFILL): ...this default formatting attribute...
638 (stream.precision): ...filled to at least 2 * sizeof( uintptr_t )
641 2009-09-01 Keith Marshall <keithmarshall@users.sourceforge.net>
643 Avoid multiple link time definitions of _printf() for C++;
644 (problem reported by Alexander Shaduri, via MinGW-users ML).
646 * include/stdio.h [__USE_MINGW_ANSI_STDIO]:
647 (__mingw_stdio_redirect__) [__cplusplus]: remove `static' keyword.
649 2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
651 * include/_mingw.h: Increment version to 3.16.
653 2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>
655 * include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit,
656 __signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf,
657 __fp_unordered_compare): Add prototypes.
658 * include/stdio.h (vsnwprintf): Add prototype.
659 * include/wchar.h (vsnwprintf): Add prototype.
660 * include/stdlib.h (_Exit): Protect inline definition with !__STRICT_ANSI__.
661 * include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard.
663 2009-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
665 Correct disposition of wchar_t output in printf().
667 * mingwex/stdio/pformat.c (__pformat) [%C]: Create new instance of...
668 (argval): ...this, in inner scope, with singular type `wchar_t'; use
669 it to pass one wchar to __pformat_wputchars(), for output.
671 2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
673 * mingwex/stdio/pformat.c: Implement better fix for type punned warning.
675 2009-07-27 Keith Marshall <keithmarshall@users.sourceforge.net>
677 Convert to monolithic configuration procedure.
679 * configure.in (AC_CHECK_TOOL): All instances; tabulate arguments.
680 (AC_SUBST): Use its 2nd argument to initialise MinGW default settings.
681 (PACKAGE_TARNAME) [target_os ~ cygwin]: Redefine it as appropriate.
682 (W32API_INCLUDE): Redefine; make it relative to `top_srcdir'.
683 (CRT0S): Relocate from `profile'; define it as appropriate.
684 (LIBM_A): Define and AC_SUBST it unconditionally.
685 (AC_CONFIG_SUBDIRS): Remove; none to configure.
686 (AC_OUTPUT_FILES): Add `Makefile' for each of...
687 (mingwex, profile): ...these subdirectories.
689 * configure: Regenerated.
691 * Makefile.in (PACKAGE, host_os): Let AC_SUBST define them.
692 (top_srcdir, top_builddir): New macros; let AC_SUBST define them.
693 (datarootdir): New macro; autoconf > 2.59 wants AC_SUBST to define it.
694 (SUBDIRS): Define explicitly, to run recursive `make' in...
695 (mingwex, profile): ...these; simplify build commands...
696 (rootme, rootsrc): ...without these shell variables.
697 (all, subdirs): Delete redundant build commands.
698 (FIXME): Flag various issues for follow up.
700 * mingwex/Makefile.in (INCLUDES): Redefined macro; refer it to...
701 (top_srcdir): ...this new macro; let AC_SUBST define it.
702 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
703 (Makefile): Make it depend on...
704 (top_builddir/config.status): ...this, itself depending on...
705 (top_srcdir/configure): ...this.
706 (FIXME): Flag various issues for follow up.
708 * mingwex/aclocal.m4: File no longer required; delete it.
709 * mingwex/configure mingwex/configure.in: Likewise.
711 * profile/Makefile.in (INCLUDES): Redefined macro; refer it to...
712 (top_srcdir): ...this new macro; let AC_SUBST define it.
713 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
714 (Makefile): Make it depend on...
715 (top_builddir/config.status): ...this, itself depending on...
716 (top_srcdir/configure): ...this.
717 (FIXME): Flag various issues for follow up.
719 * profile/aclocal.m4: File no longer required; delete it.
720 * profile/configure profile/configure.in: Likewise.
722 2009-07-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
724 * msvcrt.def.in: disable time symbol for libmsvcr90.a and libmsvcr90d.a due
725 to complaints that it causes issues.
727 2009-07-23 Jacky Lai <crazyjacky@users.sourceforge.net>
729 * mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan().
731 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
733 * include/inttypes.h include/math.h include/stdio.h include/stdlib.h
734 include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard
735 to all inline functions.
737 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
739 * CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
742 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
744 * cpu_features.c: replace gcc-specific construct with portable alternative
745 and match the code a few lines above.
746 * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
748 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
750 * include/_mingw.h: Changes required for PCC compiler.
752 2009-07-18 Jeff Lu <jll544@yahoo.com>
754 * mingwex/usleep.c: round up to next ms
756 2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
758 * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
759 mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
760 mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
761 the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
763 2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
765 * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.
767 2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>
769 * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files.
770 * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c
771 mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c
772 mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h
773 mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h
774 mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c
775 mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c
776 mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c
777 mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c
778 mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org
779 sources as of Apr. 20, 2009. Update further to match the sources in
780 the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX
781 code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the
782 double/ulong union from U to dbl_union for better grepping and white-
785 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
787 * include/stdlib.h (_wtof): Define.
789 2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
791 * include/stdint.h (int_fast8_t): Specify as signed char.
792 (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
793 (INT32_C, UINT32_C): Remove 'L' type specifier on constant.
795 2009-03-05 Kai Tietz <kai.tietz@onevision.com>
797 * pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2.
799 2009-02-08 Keith Marshall <keithmarshall@users.sourceforge.net>
801 MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.
802 (Requested by Robert Riebisch)
804 * mingwex/getopt.c (getopt_parse): Track external increments of...
805 (optind): ...this global variable.
807 2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
809 * include/_mingw.h: Increment version to 3.15.2.
811 2009-01-04 Keith Marshall <keithmarshall@users.sourceforge.net>
813 Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
814 Also add tentative support for BSD specific `optreset' feature.
816 * include/getopt.h (optreset) [_BSD_SOURCE]: Define; map it to...
817 (__mingw_optreset): ...this new global variable.
819 * mingwex/getopt.c (__mingw_optreset): Instantiate it...
820 (getopt_parse) [optind < 1]: ...make it true; use it to reset argument
823 2008-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
825 Partial fix for MinGW-Bug [2457778]: (Reported by Sisyphus).
826 Correct mishandling of invalid characters in printf() format specs.
828 * mingwex/stdio/pformat.c (__pformat): Save `fmt' scan position in...
829 (backtrack): ...this new automatic variable, at start of each format
830 conversion specification substring; use it to backtrack, and print the
831 substring literally, if any invalid character is encountered.
833 2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
835 * msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
836 ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
837 ___unguarded_readlc_active_add_func, __crtCompareStringW,
838 __crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
839 __pwctype_func, __iob_func, __uncaught_exception, __wcserror,
840 __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
841 __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
842 __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
843 _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
844 _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
845 _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
846 _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
847 _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
848 _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
850 2008-12-08 Dmitry G. Gorbachev <d.g.gorbachev@gmail.com>
852 * cpu_features.c (__cpu_features_init): Remove erroneous ';'.
854 2008-10-28 Keith Marshall <keithmarshall@users.sourceforge.net>
856 Correct some binary distribution packaging defects.
858 * Makefile.in (bindist): Remove `make' conditionals; segregate into...
859 (bindist-common, bindist-mingwrt, bindist-mingw-runtime): ...these new
860 intermediate goals; they make packages of files, as specified by...
861 (BINDIST_FILES, DEVDIST_FILES, DLLDIST_FILES): ...these new macros.
862 (dist_prefix) [target_alias !~ cygwin]: Leave it undefined.
864 2008-10-18 Keith Marshall <keithmarshall@users.sourceforge.net>
866 Fix MinGW-Bug [2136252]: (Reported by Roumen Petrov).
867 Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5
869 * mingwex/stdio/pformat.c (__pformat_emit_float): Always make output
870 of radix point conditional on precision != 0 or `#' flag specified.
872 2008-10-13 Keith Marshall <keithmarshall@users.sourceforge.net>
874 Fix MinGW-Bug [2160227]
875 Eliminate conflicting declarations and implementations of scalb().
877 * moldname.def.in (scalb): Comment out of EXPORTS list.
878 * include/math.h (scalb): Comment out OLDNAMES prototype; it conflicts
879 with GCC's built-in declaration.
881 2008-10-12 Christopher Faylor <me+cygwin@cgf.cx>
883 * Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
885 * mingwex/Makefile.in: Ditto.
886 * profile/Makefile.in: Ditto.
887 * configure.in: Record mingw front-end for building under Cygwin.
888 * mingwex/configure.in: Ditto.
889 * profile/configure.in: Ditto.
890 * configure: Regenerate.
891 * mingwex/configure: Ditto.
892 * profile/configure: Ditto.
894 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
896 Use de-facto standard Makefile goals to invoke test suite.
898 * Makefile.in: Some minor formatting adjustments.
899 (test_headers): Unconventionally named goal renamed to...
900 (check-headers): ...this; make it a prerequisite of...
901 (check): ...this new conventionally named goal.
903 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
905 Make strtod() inline definition C89 compliant.
906 (Issue reported by Ilya Shestopalov and Ian Puleston)
907 (Correction identified by Danny Smith)
909 * include/stdlib.h (strtod): Declare as `__inline__', not `inline';
910 reformat inline function definition.
912 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
914 * include/_mingw.h: Increment version to 3.15.1 and introduce
915 __MINGW32_PATCHLEVEL variable.
917 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
919 Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
920 (Reported by Christian Franke)
922 * mingwex/getopt.c (optind): Make global variable value conform to
923 behaviour specified by POSIX; do not use it for internal state in...
924 (getopt_parse): ...this static function; use...
925 (optbase): ...this new static local variable instead.
926 (getopt_resolved): Update `optind' as required.
928 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
930 Improve package identification in configure script.
932 * configure.ac (AC_INIT): Redefine parameters...
933 (PACKAGE_NAME): Set to `MinGW Runtime'.
934 (PACKAGE_BUGREPORT): Set to `http://mingw.org/reporting_bugs'
935 (PACKAGE_TARNAME): Set to `mingwrt'.
936 (PACKAGE_VERSION): Set generically to `v3.x'; reassigned by...
937 (MINGW_AC_CONFIG_SRCDIR): ...this macro, which extracts...
938 (__MINGW32_VERSION): ...this, from file `include/_mingw.h'.
940 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): Do not redefine...
941 (PACKAGE_TARNAME): ...this.
943 * configure: Regenerated.
945 2008-09-25 Keith Marshall <keithmarshall@users.sourceforge.net>
947 Fix MinGW-Bug [2125708].
948 (Reported by Alexandr Zamaraev).
950 * include/stdlib.h (intptr_t) [!_INTPTR_T_DEFINED]: Unused typedef;
951 not wanted here; remove it; replace it by...
952 (uintptr_t) [!_UINTPTR_T_DEFINED]: ...this typedef; needed by...
953 (_invalid_parameter_handler): ...this function typedef.
955 2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
957 * Makefile.in: Don't include host_os as part of snapshot filename.
959 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
961 Fix MinGW-Bug [2119504].
962 (Reported by Peiyuan Song).
964 * mingwex/getopt.c (getopt_resolved): Do not overwrite...
965 (*retindex): ...this already correctly assigned return variable...
966 (opt[index].val): ...with this; this should have been assigned to...
967 (*opt[index].flag) [opt[index].flag != NULL]: ...this instead.
969 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
971 Fix MinGW-Bug [2117379].
972 (Reported by Peiyuan Song).
974 * include/stdio.h (__argv): Replace all references in function
975 prototype argument lists and inline function local variables, with ...
976 (__local_argv): ...this, to avoid potential conflict with ...
977 * include/stdlib (__argv): ...this #defined macro.
979 2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
981 * include/_mingw.h: Increment version to 3.15.
983 2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
985 * Makefile.in: Adjust to new naming standard for MinGW while maintaining old
986 naming standard for Cygwin.
988 2008-08-31 Keith Marshall <keithmarshall@users.sourceforge.net>
990 Reimplement getopt.c to add getopt_long_only() function.
992 (N.B. this reimplementation removes support for BSD/Mac-OS-X
993 `optreset' nonsense; user code should set `optind = 0' instead,
994 to reinitialise option scanning).
996 * mingwex/getopt.c: Delete all content; reimplement it.
997 * include/getopt.h: Likewise.
999 * include/unistd.h (__UNISTD_H_SOURCED__): New macro; define it.
1000 (__UNISTD_GETOPT__): This macro is no longer required; remove it.
1002 2008-08-30 Keith Marshall <keithmarshall@users.sourceforge.net>
1004 Implement conditional replacement for printf() family functions.
1006 * include/_mingw.h (__USE_MINGW_ANSI_STDIO): New macro; define it.
1007 (__MINGW_ANSI_STDIO__): New manifest constant; define as bitmapped
1008 flag for use in user specified __MINGW_FEATURES__ attribute.
1009 (__MINGW_LC_MESSAGES__, __MINGW_LC_ENVVARS__): New manifest constants;
1010 currently unused: reserved as components of...
1011 (__MINGW_LC_EXTENSIONS__): ...this new manifest constant; earmarked as
1012 a __MINGW_FEATURES__ enhancement to setlocale().
1014 * include/stdio.h (__mingw_printf, __mingw_vprintf): Prototype them.
1015 (__mingw_fprintf, __mingw_vfprintf): Likewise.
1016 (__mingw_sprintf, __mingw_vsprintf): Likewise.
1017 (__msvcrt_printf, __msvcrt_vprintf): Likewise.
1018 (__msvcrt_fprintf, __msvcrt_vfprintf): Likewise.
1019 (__msvcrt_sprintf, __msvcrt_vsprintf): Likewise.
1020 (printf, vprintf) [!__USE_MINGW_ANSI_STDIO]: Prototype for default
1021 usage; link to DLL import stub, importing from MSVCRT.
1022 (fprintf, vfprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
1023 (sprintf, vsprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
1024 (printf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_printf; use
1025 locally defined static stub implementation.
1026 (fprintf, sprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
1027 __mingw_fprintf and __mingw_sprintf respectively.
1028 (vprintf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_vprintf; use
1029 static inline implementation for C++ and GNU C, or locally defined
1030 static stub otherwise.
1031 (vfprintf, vsprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
1032 __mingw_vfprintf and __mingw_vsprintf respectively.
1034 2008-08-27 Keith Marshall <keithmarshall@users.sourceforge.net>
1036 Avoid access violations, passing NULL to printf( "...%s..." );
1037 (inconsistencency with MSVCRT and glibc, reported by Colin Harrison).
1039 * mingwex/stdio/pformat.c (__pformat_puts): Substitute "(null)"
1040 for argument value, if caller passes a NULL pointer.
1041 (__pformat_wcputs): Likewise, substitute L"(null)".
1043 2008-08-14 Keith Marshall <keithmarshall@users.sourceforge.net>
1045 Add missing dependencies for building libmingwex.a.
1047 * mingwex/Makefile.in (printf.o, fprintf.o, sprintf.o): Make them...
1048 (vprintf.o, vfprintf.o, vsprintf.o): ...and also these, depend on...
1049 (pformat.h): ...this.
1051 2008-08-11 Keith Marshall <keithmarshall@users.sourceforge.net>
1053 Add replacements for remaining members of printf() family.
1055 * mingwex/stdio/printf.c: New file.
1056 * mingwex/stdio/fprintf.c: New file.
1057 * mingwex/stdio/sprintf.c: New file.
1058 * mingwex/stdio/vprintf.c: New file.
1059 * mingwex/stdio/vfprintf.c: New file.
1060 * mingwex/stdio/vsprintf.c: New file.
1062 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
1063 (STDIO_OBJS): Add their corresponding object files.
1065 2008-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
1067 Replace __mingw_snprintf() with new generic family implementation;
1068 likewise, replace __mingw_vsnprintf().
1070 * mingwex/stdio/pformat.c mingwex/stdio/pformat.h: New files.
1071 * mingwex/stdio/snprintf.c mingwex/stdio/vsnprintf.c: New files.
1072 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
1073 (GDTOA_DISTFILES): Remove mingw_snprintf.c
1074 (STDIO_OBJS): Add pformat.o, snprintf.o and vsnprintf.o
1075 (GDTOA_OBJS): Remove mingw_snprintf.o
1076 (PFORMAT_CFLAGS): New macro; define it, as required by...
1077 (pformat.o): ...this new explicit build target.
1078 (snprintf.o, vsnprintf.o): Declare prerequisites.
1080 * mingwex/gdtoa/mingw_snprintf.c: Redundant file; delete it.
1082 2008-07-28 Keith Marshall <keithmarshall@users.sourceforge.net>
1084 Lay foundations for new printf() function family implementation.
1086 * ofmt_stub.s: New file; implement forward compatibility stub for...
1087 (_get_output_format): ...this MSVCR80.DLL and later function.
1089 * Makefile.in (SRCDIST_FILES): Add ofmt_stub.s.
1090 (NM, OBJCOPY): New macros; define them with AC_SUBSTed values.
1091 (sym_prefix, NM_LOOKUP, MINGW_REPL_FUNCS): New macros; define them.
1092 (lib%.a): Include ofmt_stub.o when import library does not already
1093 advertise availability of the _get_output_format() function;
1094 Add alias stubs for MINGW_REPL_FUNCS, such that...
1095 (__msvcrt_printf): ...is an alias for Microsoft's printf().
1096 (__msvcrt_fprintf): ...is an alias for Microsoft's fprintf().
1097 (__msvcrt_sprintf): ...is an alias for Microsoft's sprintf().
1098 (__msvcrt_vprintf): ...is an alias for Microsoft's vprintf().
1099 (__msvcrt_vfprintf): ...is an alias for Microsoft's vfprintf().
1100 (__msvcrt_vsprintf): ...is an alias for Microsoft's vsprintf().
1101 (clean): Add msvcr*.def.
1103 * configure.in (NM, OBJCOPY): Use AC_CHECK_TOOL to specify them.
1104 * configure: Regenerated.
1106 2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
1108 * include/ctype.h (_imp____mb_cur_max): Correct spelling.
1109 (_imp____mb_cur_max_dll): Likewise.
1111 2008-07-04 Danny Smith <dannysmith@users,sourceforge.net>
1113 * include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
1114 * include/wchar.h (swprintf, vswprintf): Likewise.
1116 2008-07-01 Keith Marshall <keithmarshall@users.sourceforge.net>
1118 * msvcrt.def.in [__msvcr80__, __msvcr80d__, __msvcr90__, __msvcr90d__]
1119 (_get_output_format, _set_output_format): Add references.
1121 * include/stdio.h [__MSVCRT_VERSION__ >= 0x800]
1122 (_get_output_format, _set_output_format): Declare prototypes.
1123 (_TWO_DIGIT_EXPONENT): Define.
1124 Some other minor formatting adjustments.
1126 2008-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1128 [mingw-Bugs-1801641]
1129 * include/wchar.h (_wfdopen): Const-ify second arg.
1130 * include/stdio.h (_wfdopen): Likewise.
1131 Thanks to <tdragon at users dot sourceforge net>
1133 2008-06-02 Keith Marshall <keithmarshall@users.sourceforge.net>
1135 Avoid precision errors in round(), lround() and llround() functions.
1137 * mingwex/math/round_generic.c: New file; it replaces...
1138 * mingwex/math/round.c: ...this; delete it.
1139 * mingwex/math/roundf.c: ...and this; ditto.
1140 * mingwex/math/roundl.c: ...and this; ditto.
1142 * mingwex/math/lround_generic.c: New file; it replaces...
1143 * mingwex/math/lround.c: ...this; delete it.
1144 * mingwex/math/lroundf.c: ...and this; ditto.
1145 * mingwex/math/lroundl.c: ...and this; ditto.
1146 * mingwex/math/llround.c: ...and this; ditto.
1147 * mingwex/math/llroundf.c: ...and this; ditto.
1148 * mingwex/math/llroundl.c: ...and this; ditto.
1150 * mingwex/math/round_internal.h: New file; it provides generic common
1151 code, which is shared by `round_generic.c' and `lround_generic.c'; the
1152 implementation is based on techniques suggested by Danny Smith and
1155 * mingwex/Makefile.in (MATH_DISTFILES): Remove `round.c', `roundf.c',
1156 `roundl.c', `lround.c', `lroundf.c', `lroundl.c', `llround.c',
1157 `llroundf.c' and `llroundl.c'; replace by `round_internal.h',
1158 `round_generic.c' and `lround_generic.c'.
1159 (MATH_OBJS): Factor out files listed in...
1160 (MATH_ROUND_OBJS, MATH_LROUND_OBJS, MATH_LLROUND_OBJS): ...these new
1161 macros; define them; specify dependencies and build rules; add to...
1162 (LIB_OBJS): ...this list.
1164 2008-05-22 Danny Smith <dannysmith@users.sourceforge.net>
1166 [ mingw-Bugs-1961893 ]
1167 * mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa
1168 mode to 2 for E format.
1170 2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
1172 * include/stdlib.h: Fix strtod under C++.
1174 2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
1176 * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
1177 * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
1179 2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
1181 * include/sys/types.h (useconds_t): typedef.
1182 * include/unistd.h (usleep): Add prototype.
1183 * mingwex/usleep.c: New file.
1184 * mingwex/makefile.in: Add usleep source and object.
1186 2008-05-02 Ramiro Polla <ramiro@lisha.ufsc.br>
1188 Make strtod() conform to C99.
1190 * include/stdlib.h (strtod): Declare this mingwex function, and...
1191 (_strtod): rename this MSVCRT counterpart.
1193 * mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
1195 2008-04-26 Chuck Wilson <cwilso11@users.sourceforge.net>
1197 * Makefile.in: correct issues with mingw10.dll having multiple relocs.
1199 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1201 * include/process.h: Include stdint.h for intptr_t definition.
1202 (_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
1203 _spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
1204 _spawnvpe): Return intptr_t.
1205 (execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
1206 spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
1208 * include/wchar.h: Guard wide process.h functions with !__STRICT_ANSI__.
1210 [!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
1211 (_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
1212 _wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
1213 _wspawnvp, _wspawnvpe): Return intptr_t.
1215 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1217 * include/wchar.h (fwide): Return success code rather than failure in inline
1219 * mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
1220 code rather than failure.
1222 2008-03-21 Danny Smith
1224 * include/math.h (float_t, double_t): Define.
1226 2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1228 * mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
1229 * mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
1230 (x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
1232 2008-02-28 Joseph Myers <joseph@codesourcery.com>
1234 * include/complex.h: Don't condition contents on C99 or not
1237 2008-02-01 Brian Dessent <brian@dessent.net>
1239 * Makefile.in: Add rules to generate multiple versions of libmoldname.a for
1240 the different runtime versions.
1242 2008-01-19 Danny Smith <dannysmithusers.sourceforge.net
1244 * inclue/wchar.h (fwide): Add prototype and guard inline definition.
1245 (mbsinit): Likewise.
1247 2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1249 * include/_mingw.h: Increment version to 3.14.
1251 2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1253 * Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
1254 * msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
1255 * mingwex/math/log10f.S: Correct issue with comments.
1256 * mingwex/math/log10l.S: Ditto.
1257 * mingwex/math/log1p.S: Ditto.
1258 * mingwex/math/log1pf.S: Ditto.
1259 * mingwex/math/log1pl.S: Ditto.
1260 * mingwex/math/log2.S: Ditto.
1261 * mingwex/math/log2f.S: Ditto.
1262 * mingwex/math/log2l.S: Ditto.
1263 * mingwex/math/logf.S: Ditto.
1264 * mingwex/math/logl.S: Ditto.
1266 2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
1268 * mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
1270 2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
1272 * include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
1273 from '_fsize_t' to '__int64' to be consistent with the other ...64
1274 structures and the value set there is 8 bytes not 4. Add guard for both
1275 as the are only used by functions available from 6.1 on.
1277 * include/malloc.h (_HEAP_MAXREQ): Define.
1278 (_aligned_offset_recalloc): Define.
1279 (_aligned_recalloc()): Define.
1281 * include/math.h: fixed a typo in a comment.
1282 (atanhf): Fixed declaration.
1284 * include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
1285 to '__int64' to be consistent with the other ...64 structures and the value
1286 set there is 8 bytes not 4. Added guard as this function is only used by
1287 functions available from 6.1 on.
1289 * include/sys/stat.h: some members of 'stat' were declared with types with
1290 a prefixed underscore, while the ones without the underscore should have
1291 been used. Added guard to '__stat64' as it is only used by functions
1292 available from 6.1 on. Added the wide character versions of the
1293 exec()/spawn() family for completion
1294 (_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
1297 * include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
1298 from 'long' to 'time_t'
1299 (__timeb64): moved declaration of structure directly before the declaration
1300 of the function '_ftime64()', so it is guarded as well
1302 * include/sys/utime.h (__utimbuf64): moved declaration of structure directly
1303 before the declaration of the functions using it, so it is guarded as well
1305 2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
1307 * mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
1308 case. Add missing break in 's'/LEN_S case.
1310 2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1312 Make snprintf() and vsnprintf() conform to C99.
1314 * include/stdio.h: Add note about incompatibility between...
1315 (snprintf, vsnprintf): These two mingwex functions, and...
1316 (_snprintf, _vsnprintf): these MSVCRT counterparts.
1318 * mingwex/Makefile.in (STDIO_OBJS): Remove snprintf.o and vsnprintf.o
1319 (STDIO_DISTFILES): Remove snprintf.c and vsnprintf.c
1321 * mingwex/stdio/snprintf.c: Delete.
1322 * mingwex/stdio/vsnprintf.c: Delete.
1324 * mingwex/gdtoa/mingw_snprintf.c (snprintf): Alias to __mingw_snprintf
1325 (vsnprintf): Alias to __mingw_vsnprintf.
1327 2007-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1329 * include/_mingw.h: Increment version to 3.13.
1330 * Makefile.in: Reset CYGRELEASE to 1
1332 2007-07-23 Keith Marshall <keithmarshall@users.sourceforge.net>
1334 * Makefile.in (SUBDIRS): Delete stray line continuation artifact,
1335 resulting from incomplete removal of enclosing `for ...; do ...; done'
1336 loop from compound command; (reported by Greg Chicares).
1338 2007-07-19 Danny Smith <dannysmith@users.sourceforge.net>
1340 * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
1343 2007-07-12 Danny Smith <dannysmith@users.sourceforge.net>
1345 [mingw-Bugs-1734142]
1346 * include/wchar.h (_wsystem) Declare.
1348 (_wgetenv): Declare.
1349 (_wsearchenv): Declare.
1350 (_wmakepath): Declare.
1351 (_wsplitpath): Declare.
1352 (_wfullpath): Declare.
1353 * include/stdlib.h (_wsystem) Declare.
1354 (_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath,
1355 _wfullpath): Move into _WSTDLIB_DEFINED guard.
1356 * include/tchar.h (_tsystem): New UNICODE mapping define.
1358 2007-06-29 Danny Smith <dannysmith@users.sourceforge.net>
1360 * mingwex/gdtoa/mingw_snprintf.c: New file.
1361 * mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
1362 (GDTOA_OBJS): Add mingw_snprintf.o.
1364 2007-06-28 Danny Smith <dannysmith@users.sourceforge.net>
1366 * msvcrt.def.in: Update comment.
1367 Exclude _ctype stub if using msvcr71.dll or newer.
1368 * include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
1369 * include/wctype.h: Likewise.
1371 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1373 *include/wctype.h: Qualify all functions with __MINGW_NOTHROW.
1374 *include/dirent.h: Likewise.
1376 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1378 * include/assert.h: Qualify all functions with __MINGW_NOTHROW.
1379 * include/conio.h: Likewise.
1380 * include/ctype.h: Likewise.
1381 * include/direct.h: Likewise.
1382 * include/dos.h: Likewise.
1383 * include/errno.h: Likewise.
1384 * include/fenv.h: Likewise.
1385 * include/float.h: Likewise.
1386 * include/inttypes.h: Likewise.
1387 * include/io.h: Likewise.
1388 * include/libgen.h: Likewise.
1389 * include/locale.h: Likewise.
1390 * include/malloc.h: Likewise.
1391 * include/mbctype.h: Likewise.
1392 * include/mbstring.h: Likewise.
1393 * include/process.h: Likewise.
1394 * include/search.h: Likewise.
1395 * include/setjmp.h: Likewise.
1396 * include/signal.h: Likewise.
1397 * include/stdio.h: Likewise.
1398 * include/stdlib.h: Likewise.
1399 * include/string.h: Likewise.
1400 * include/time.h: Likewise.
1401 * include/wchar.h: Likewise.
1402 * include/sys/stat.h: Likewise.
1403 * include/sys/time.h: Likewise.
1404 * include/sys/timeb.h: Likewise.
1405 * include/sys/utime.h: Likewise.
1407 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1409 * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
1411 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1413 Add POSIX binary tree search API.
1415 * mingwex/tfind.c: New file.
1416 * mingwex/tdelete.c: New file.
1417 * mingwex/tsearch.c: New file.
1418 * mingwex/twalk.c: New file.
1419 * mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
1420 * mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
1421 * include/search.h (tfind): Declare.
1428 (node_t): Define, on condition of _SEARCH_PRIVATE.
1430 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1432 * include/_mingw.h (__MINGW_NOTHROW): Define.
1434 2007-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1436 * include/stdio.h (vsnprintf): Remove inline definition.
1439 2007-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1441 * CRTfmode.c: Nit-pick comment fix.
1443 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1445 * CRTfmode.c: Fix nested comment.
1447 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1449 * include/string.h (strcasecmp): Fix typo in declaration prototype.
1451 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1453 * include/io.h (lseek64) : Add prototype.
1455 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1457 * include/string.h (strcasecmp): Add prototype.
1458 (strncasecmp): Add prototype.
1460 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1462 * Makefile.in (CRT0S): Revert last change.
1463 * CRTfmode.c. Correct comment.
1465 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1467 * Makefile.in (CRT0S): Add back CRTfmode.o.
1469 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1471 * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
1472 * include/io.h: Likewise.
1474 2007-06-11 Danny Smith <dannysmith@users.sourceforge.net>
1476 * crt1.c (__mingw_CRTStartup): Add explicit call to gcc's __main.
1478 2007-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1480 * include/stdint.h (intptr_t): Fix typo.
1481 Thanks to Charles Wilson for report.
1483 2007-05-07 Danny Smith <dannysmith@users.sourceforge.net>
1485 * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
1486 Condition on _WIN64.
1487 (uintptr_t): Protect with _UINTPTR_T_DEFINED. Condition on _WIN64.
1488 (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64.
1489 (PTRDIFF_MIN): Define as INTPTR_MIN.
1490 (PTRDIFF_MAX): Define as INTPTR_MAX.
1491 (SIG_ATOMIC_MIN): Define as INTPTR_MIN.
1492 (SIG_ATOMIC_MAX): Define as INTPTR_MAX.
1494 2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1496 * Makefile.in: Removed mansuffix variable. Changed mansection to support
1497 Cygwin man page location.
1499 2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1501 * Makefile.in: Added mansection and mansuffix variables. Changed mandir to
1502 support Cygwin man page location.
1504 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1506 * Include/_mingw.h: Increment version to 3.12.
1508 2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
1510 * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__.
1512 2007-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1514 * Makefile.in: Tweak srcdist to fix build issue.
1516 2007-03-20 Keith Marshall <keithmarshall@users.sourceforge.net>
1518 Add --enable-mingw-manpage-transform configure option.
1520 * aclocal.m4 (MINGW_AC_MANPAGE_TRANSFORM): New macro.
1521 * configure.in, Makefile.in: Use it.
1522 * configure: Regenerated.
1524 2007-03-18 Danny Smith <dannysmith@users.sourceforge.net>
1526 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ for gcc 4.2.x too.
1528 2007-03-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1530 Add manpages for dirname and basename functions.
1532 * man: New directory.
1533 * man/dirname.man: New file; it sources both manpages.
1534 * Makefile.in: Add provisional rules to distribute them.
1536 2007-03-08 Keith Marshall <keithmarshall@users.sourceforge.net>
1538 * mingwex/basename.c: Make it work with path names containing
1539 multibyte character strings.
1540 * mingwex/dirname.c: Likewise.
1542 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1544 * include/io.h (__mingw_access): New static inline wrapper to restore
1545 pre-Vista 'access (fname, X_OK)' behaviour.
1546 (__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
1548 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1550 * mingwex/fesetround.c (fesetround): Use unsigned int as operand
1552 Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
1554 2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
1556 * include/stdio.h (_unlink, unlink): Add prototypes.
1558 2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
1560 * include/excpt.h: Replace "_try1" in comments with "__try1".
1562 2007-02-15 Danny Smith <dannysmith@users.sourceforge.net>
1564 * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1565 (ALL_CXXFLAGS): Likewise.
1566 * mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1567 (ALL_CXXFLAGS): Likewise.
1568 * profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1569 (ALL_CXXFLAGS): Likewise.
1571 2007-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1573 * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
1575 2007-01-27 Danny Smith <dannysmith@users.sourceforge.net>
1577 Expose some more msvcr80.dll functions.
1578 * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
1579 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
1580 * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
1581 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
1583 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1585 Expose some msvcr80.dll functions.
1586 * include/stdlib.h (_set_abort_behavior): Add prototype.
1587 (_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
1588 _set_abort_behavior mask argument.
1589 (_invalid_parameter_handler): Add typedef.
1590 (_set_invalid_parameter_handler): Add prototype.
1591 * include/stdio.h (_get_printf_count_output): Add prototype.
1592 (_set_printf_count_output): Add prototype.
1593 * msvcrt.def.in (_get_printf_count_output,_set_printf_count_output,
1594 _set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
1596 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1598 * include/_mingw.h (CRT_INLINE): Correct typo.
1600 2007-01-24 Danny Smith <dannysmith@users.sourceforge.net>
1602 * include/io.h (X_OK): Define to F_OK.
1604 2007-01-19 Danny Smith <dannysmith@users.sourceforge.net>
1606 * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1607 unconditionally. Change comment.
1608 * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1610 * include/io.h (rename): Declare.
1613 2006-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
1615 * include/libgen.h: New file; required by...
1616 * mingwex/basename.c, mingwex/dirname.c: New files.
1617 * mingwex/Makefile.in (DISTFILES): Add them...
1618 (POSIX_OBJS): ...with corresponding basename.o, dirname.o
1619 (Dependencies): Typo; s/Dependancies/Dependencies/
1621 2006-11-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1623 * Makefile.in (VERSION): Let configure define it.
1625 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): New macro.
1626 * configure.in: Use it.
1627 Correct quoting of autoconf macro arguments throughout.
1628 (AC_INIT, AC_OUTPUT): Update to autoconf 2.5x preferred syntax.
1629 (AR, AS, RANLIB, LD, DLLTOOL, DLLWRAP): Don't need AC_SUBST.
1630 (AC_ALLOCA): Invalid after GCC_NO_EXECUTABLES; removed.
1631 (AC_CONFIG_FILES): Add, to generate Makefile.
1633 * configure: Regenerated.
1635 2006-11-21 Danny Smith <dannysmith@users.sourceforge.net>
1637 * Makefile.in: Add aclocal.m4 to source release.
1638 * mingwex/Makefile.in: Ditto.
1639 * profile/Makefile.in: Ditto.
1641 2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1643 * Include/_mingw.h: Increment version to 3.11.
1644 * Makefile.in: Ditto.
1646 2006-11-09 Danny Smith <dannysmith@users.sourceforge.net>
1648 [ mingw-Bugs-1590623 ]
1649 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
1652 2006-10-04 Corinna Vinschen <corinna@vinschen.de>
1654 * Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
1655 correctly parenthesized.
1657 2006-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1659 * mingwex/mb_wc_common.h (get_codepage): Get it
1662 2006-09-18 Danny Smith <dannysmith@users.sourceforge.net>
1664 * mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity.
1666 * mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to
1668 * mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with
1671 2006-09-16 Danny Smith <dannysmith@users.sourceforge.net>
1673 * mingwex/gdtoa/strtopx.c (strtopx): Fix long double representation
1676 2006-09-11 Christopher Faylor <cgf@timesys.com>
1678 * Makefile.in: Semi-revert 2006-08-30 change.
1680 2006-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1682 * include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
1683 (__MINGW_IMPORT): Ansify.
1684 * include/stdlib.h (_sleep, _beep, _seterrormode): Add
1685 __MINGW_ATTRIB_DEPRECATED.
1687 2006-09-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1689 * aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
1690 Redundant macros; deleted.
1692 * configure.in (LIB_AC_PROG_CC): Replaced by...
1693 (AC_PROG_CC): ...this.
1695 * configure: Regenerated.
1697 2006-09-06 Danny Smith <dannysmith@users.sourceforge.net>
1699 * mingwex/gdtoa/misc.c (pow5mult): Restore original code.
1700 * mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
1701 * mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
1703 2006-09-01 Danny Smith <dannysmith@users.sourceforge.net>
1705 * mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
1706 g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
1707 gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
1708 README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
1710 * mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
1711 * mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
1712 * mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
1713 * mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
1714 * mingwex/wcstold.c: Avoid using strtold internals.
1715 * mingwex/wcstof.c: Rewrite.
1716 * mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
1717 (GDTOA_OBJS): Add to library.
1718 (DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
1719 (STDLIB_OBJS): Remove.
1720 (STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
1721 (Q8_OBJS): Add wcstof.o wcstold.o.
1722 * include/stdlib.h (strtof): Remove inline definition.
1724 * include/wchar.h (wcstof): Remove inline definition.
1726 2006-08-30 Corinna Vinschen <corinna@vinschen.de>
1728 * Makefile.in: Add with_cross_host to allow more granular checks.
1729 Set installation directories accordingly. Override CC setting only
1730 if building a Cygwin target.
1731 * aclocal.m4: Regenerate.
1732 * configure.in: Move AC_CANONICAL_SYSTEM check up. Add
1733 GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files.
1734 Test AC_ALLOCA only if building on a native system.
1735 * configure: Regenerate.
1737 2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1739 * include/ctype.h: Fix typo.
1741 2006-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1743 * include/ctype.h: Expose iswblank if __cplusplus.
1744 * include/wctype.h: Expose iswblank if __cplusplus.
1746 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1748 * include/ctype.h: Remove stray ')';
1750 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1752 * include/ctype.h (_BLANK): Expand comment.
1753 (isblank): Add prototype and inline definition.
1754 (iswblank): Add prototype and inline definition.
1755 * include/wctype.h (iswblank): Add prototype and inline definition.
1756 * mingwex/isblank.c: New file.
1757 * mingwex/iswblank.c: New file.
1758 * mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
1760 2006-07-06 Danny Smith <dannysmith@users.sourceforge.net>
1762 * include/math.h (__INFF,__INFL): Remove '#'.
1764 2006-07-04 Danny Smith <dannysmith@users.sourceforge.net>
1766 * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
1768 2006-07-03 Danny Smith <dannysmith@users.sourceforge.net>
1770 Support SSE float environment in fenv.h functions.
1771 * cpu_features.c: New file.
1772 * cpu_features.h: New file.
1773 * crt1.c: Include "cpu_features.h".
1774 (__mingw_CRTStartup): Call cpu_features_init().
1775 * Makefile.in (MING_OBJS): Add cpu_features.c.
1776 (SRCDIST_FILES): Add cpu_features.c, cpu_features.h.
1777 * include/fenv,h ( fenv_t;): Append __mxcsr field.
1778 (__MXCSR_EXCEPT_FLAG_SHIFT): New define.
1779 (__MXCSR_EXCEPT_MASK_SHIFT): New define.
1780 (__MXCSR_ROUND_FLAG_SHIFT): New define.
1781 * mingwex/feclearexcept.c: Include "cpu_features.h".
1782 Handle SSE environment.
1783 * mingwex/fegetenv.c: Likewise.
1784 * mingwex/feholdexcept.c: Likewise.
1785 * mingwex/fesetenv.c: Likewise.
1786 * mingwex/fesetexceptflag.c: Likewise.
1787 * mingwex/fesetround.c: Likewise.
1788 * mingwex/fetestexcept.c: Likewise.
1789 * mingwex/feupdateenv.c: Likewise.
1790 * mingwex/fegetround.c: Add comment.
1792 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1794 * Include/_mingw.h: Increment version to 3.10.
1795 * Makefile.in: Ditto.
1797 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1799 * mingwex/math/tgamma.c (SQTPI): Add braces.
1801 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1803 * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
1804 * mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
1806 * mingwex/math/sf_erf.c (erff): Initialize z.
1808 * mingwex/math/tgamma.c (SQTPI): Avoid type punning.
1810 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1812 * Include/_mingw.h: Increment version to 3.10.
1813 * Makefile.in: Ditto.
1815 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1817 * include/sys/time.h (struct timezone): Define.
1818 * include/time.h: Correct comment about timezone.
1820 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1822 * configure.in (AC_CONFIG_AUX_DIR): Remove.
1823 * configure: Regenerate.
1825 2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
1827 * configure: add srcdir as a possible location for install-sh.
1829 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1831 * mingwex/dirent.c (_tGetFileAttributes): New helper function.
1832 (_topendir): Use it.
1834 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1836 * include/sys/time.h: Add header guard. Add extern "C" bracketing
1838 (gettimeofday): Add prototype.
1839 * mingwex/gettimeofday.c: New file.
1840 * mingwex/makefile.in: Add gettimeofday source and object.
1842 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1844 * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
1845 else global library variable.
1846 (HUGEVALF): Likewise.
1847 (HUGEVALL): Likewise.
1848 (INFINITY): Likewise.
1851 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1853 * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
1855 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1857 * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
1859 2006-05-24 Christopher Faylor <cgf@timesys.com>
1861 * configure.in: Update to newer autoconf.
1862 (thanks to Steve Ellcey)
1863 * mingwex/configure.in: Ditto.
1864 * profile/configure.in: Ditto.
1865 * configure: Regenerate.
1866 * mingwex/configure: Ditto.
1867 * profile/configure: Ditto.
1868 * aclocal.m4: New file.
1869 * mingwex/aclocal.m4: Ditto.
1870 * profile/aclocal.m4: Ditto.
1872 2006-05-17 Danny Smith <dannysmith@users.sourceforge.net>
1874 * mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.
1875 Use supplied codepage as arg to WideCharToMultiByte.
1877 2006-02-13 Earnie Boyd <earnie@users.sf.net>
1879 * Makefile.in (libmsvcr80.a): Add import lib.
1880 (libmsvcr80d.a): Ditto.
1882 2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1884 * Makefile.in: Bump cygwin build number.
1886 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1888 * Include/_mingw.h: Increment version to 3.9.
1889 * Makefile.in: Ditto.
1891 2005-10-14 Danny Smith <dannysmith@users.sourceforge.net>
1893 * include/limits.h (SSIZE_MAX): Define.
1894 (LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.
1896 2005-10-13 Wu Yongwei <adah@users.sourceforge.net>
1898 * include/tchar.h: Include <wchar.h> when _UNICODE is defined.
1899 (_TEOF): New macro definition for _UNICODE and non_UNICODE cases.
1901 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1903 * include/stddef.h: Remove.
1904 * include/stdarg.h: Remove.
1906 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1908 * mingwex/complex/csqrt.c (csqrt): The sign of real part
1909 of result is positive when real part of arg == 0;
1910 * mingwex/complex/csqrtf.c (csqrtf): Ditto.
1911 * mingwex/complex/csqrtl.c (csqrtl): Ditto.
1913 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1915 * include/time.h (_time64): Correct prototype.
1917 2005-10-08 Danny Smith <dannysmith@users.sourceforge.net>
1919 * mingwex/fegetenv.c (fegetenv): Restore exception masks.
1920 * mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
1921 to non-stop. Use "fnclex" to clear exception flags.
1923 2005-09-24 Danny Smith <dannysmith@users.sourceforge.net>
1925 * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
1926 Avoid raising FP exceptions.
1928 2005-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1930 * include/stdlib.h (strtof): Add prototype. Uglify
1931 parameter names in inline definition.
1933 (_Exit): Uglify parameter names in inline definition.
1934 (llabs): Add prototype.
1935 (_set_error_mode): Add prototype and input defines.
1937 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1939 * mingwex/fe*.c: Revert previous changes.
1940 * include/fenv.h: Revert previous changes.
1942 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1944 * mingwex/feclearexcept.c (feclearexcept): Change declaration.
1945 Do not return a value.
1946 * mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
1947 * mingwex/feraiseexcept.c (feraiseexcept): Likewise.
1948 * mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
1949 * mingwex/fegetenv.c (fegetenv): Likewise.
1950 * mingwex/fesetenv.c (fesetenv): Likewise.
1951 * mingwex/feupdateenv.c (feupdateenv): Likewise.
1952 * include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
1953 fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
1956 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1958 * mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
1959 getting filelength for SEEK_END.
1961 2005-08-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1963 * Include/_mingw.h: Increment version to 3.8.
1964 * Makefile.in: Ditto.
1966 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1968 * include/wctype.h (towupper, towlower): Change arg and return value
1970 * include/ctype.h (towupper, towlower): Likewise.
1972 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1974 * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
1975 a diagnostic, guarded by #ifdef DEBUG.
1976 (__mingwthr_remove_key_dtor): Likewise.
1978 2005-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1980 * moldname.def.in (sleep, beep, seterrormode): Remove.
1982 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1984 * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
1985 (_MCOUNT_DECL): Use it.
1986 (MCOUNT): Save and restore eax, ecx, edx registers.
1987 * profile/mcount.c (_mcount): ANSI-fy.
1989 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1991 * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
1992 guard __MINGW_ATTRIB macro definitions.
1993 * include/math.h (logb[fl]): Don't define inlines for
1994 GCC-4.0+ && __FAST_MATH__.
1995 (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up
1996 line-continuation backslashes.
1998 2005-06-06 Danny Smith <dannysmith@users.sourceforge.net>
2000 * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
2001 in GNUC version guard.
2003 2005-05-20 Danny Smith <dannysmith@users.sourceforge.net>
2005 * crt1.c (_gnu_exception_handler): Handle illegal instruction
2006 OS exception as a signal if user has defined a SIGILL handler.
2008 2005-05-10 Danny Smith <dannysmith@users.sourceforge.net>
2010 * mingwex/math/nexttoward.c: New file.
2011 * mingwex/math/nexttowardf.c: New file.
2012 * mingwex/math/nextafterl.c: Add nexttowardl alias.
2013 * mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
2015 (MATH_OBJS): Add nexttoward.o, nexttowardf.o,
2016 * include/math.h (nexttoward, nextowardf, nexttowardl): Add
2019 2005-05-09 Danny Smith <dannysmith@users.sourceforge.net>
2021 * mingwex/math/nextafterf.c (nextafterf): Correct
2023 * mingwex/math/nextafterl.c: New file.
2024 * mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
2025 (MATH_OBJS): Add nextafterl.o.
2026 * include/math.h (nextafterl): Uncomment prototype.
2028 2005-05-08 Danny Smith <dannysmith@users.sourceforge.net>
2030 * mingwex/math/erfl.c: New file.
2031 * mingwex/Makefile.in (MATH_DISTFILES): Add erfl.c.
2032 (MATH_OBJS): Add erfl.o.
2033 * include/math.h (erfl, erfcl): Uncomment prototypes.
2035 2005-05-04 Danny Smith <dannysmith@users.sourceforge.net>
2037 * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
2038 #if (WCHAR_MAX <= WCHAR_MIN) is false.
2039 * include/stdint.h (WCHAR_MAX): Likwise.
2040 (WINT_MAX): Likewise.
2042 2005-05-03 Danny Smith <dannysmith@users.sourceforge.net>
2044 * mingwex/math/signbit.c (__signbit): Make return value
2045 consistent with GCC's __builtin_signbit.
2046 * mingwex/math/signbitf.c (__signbitf): Likewise.
2047 * mingwex/math/signbitf.c (__signbitl): Likewise.
2048 * include/math.h (__signbit, __signbitf, __signbitl): Likewise
2051 2005-05-02 Danny Smith <dannysmith@users.sourceforge.net>
2053 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
2055 * mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
2056 Remove unused MBTOWC_FLAGS define.
2058 2005-04-23 Danny Smith <dannysmith@users.sourceforge.net>
2060 * mingwex/mbrtowc.c: New file.
2061 * mingwex/wcrtomb.c: New file.
2062 * mingwex/btowc.c: New file.
2063 * mingwex/wctob.c: New file.
2064 * mingwex/mb_wc_common.h: New file.
2065 * mingwex/Makefile.in (DISTFILES): Add new files.
2066 (Q8_OBJS): Add new objects.
2067 * include/wchar.h: Adjust comment about mbrtowc() and related
2068 funcions. Add __restrict__ to pointer params in prototypes.
2069 (wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
2070 arg names from protototypes.
2072 2005-04-23 Wu Yongwei <adah@sh163.net>
2074 * mingwex/dirent.c: Formatting changes.
2075 * mingwex/dirent.c (_topendir): Make the end-of-path slash check
2078 2005-03-31 Danny Smith <dannysmith@users.sourceforge.net>
2080 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
2082 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
2084 * include/stdio.h (__mingw_fwrite): Change return value to
2086 * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
2088 2005-03-15 Hans Leidekker <hans@it.vu.nl>
2090 * include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
2092 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2094 * include/wctype.h (wctrans): Remove _CRTIMP.
2095 (towctrans): Likewise.
2098 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2100 * include/wctype.h: Add comment on wctrans, towctrans, wctype.
2102 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2104 * mingwex/wctype.c: New file.
2105 * mingwex/wctrans.c: New file.
2106 * mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c.
2107 * mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.
2109 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2111 * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.
2113 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2115 * include/assert.h: Remove header guard. #undef assert macro.
2116 (_assert): Use __MINGW_ATTRIB_NORETURN define.
2118 2005-02-11 Gregory W. Chicares <chicares@cox.net>
2119 Danny Smith <dannysmith@users.sourceforge.net>
2121 * include/math.h (expm1, expm1f, expmll): Add prototypes.
2122 * mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
2124 (MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
2125 * mingwex/math/expm1.c: New file.
2126 * mingwex/math/expm1f.c: New file.
2127 * mingwex/math/expm1l.c: New file.
2129 2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
2131 * include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
2132 * include/wchar.h (struct stat): Likwwise.
2133 Bug reported to Debian by Anand Kumria <wildfire@progsoc.org>
2135 * include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
2137 2005-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2139 * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
2140 string is not valid.
2142 2005-01-26 Oliver Stoeneberg <oliverst@online.de>
2144 * include/malloc.h: Add missing return code defines for
2147 2005-01-17 Danny Smith <dannysmith@users.sourceforge.net>
2149 * include/sys/stat.h (struct __stat64): Change st_size type to
2151 * include/wchar.h (struct __stat64): Change st_size type to __int64.
2153 2005-01-13 Earnie Boyd <earnie@users.sf.net>
2155 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2157 * include/errno.h (ELOOP): Ditto.
2158 * include/_mingw.h: Increment version to 3.7.
2159 * Makefile.in: Ditto.
2161 2005-01-11 Danny Smith <dannysmith@users.sourceforge.net>
2163 * include/tchar.h (_tfreopen): Add UNICODE mappings.
2165 2005-01-11 Earnie Boyd <earnie@users.sf.net>
2167 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2168 lstat): Conditionalize defines for __STRICT_ANSI__.
2170 2005-01-10 Earnie Boyd <earnie@users.sf.net>
2172 * include/errno.h (ELOOP): Add definition.
2174 2005-01-10 Danny Smith <dannysmith@users.sourceforge.net>
2176 * mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
2177 casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
2178 clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
2179 ctanl.c ctanhl.c): New files.
2180 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2181 (COMPLEX_OBJS): Adjust.
2182 * include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
2183 casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
2184 cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
2187 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2189 * include/_mingw.h (__int16): Define as short.
2190 Thanks to: Leo Yuriev <leoyuriev at users dot sf dot net>
2192 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2194 * include/stdio.h (P_tmpdir): Add define.
2196 2005-01-03 Earnie Boyd <earnie@users.sf.net>
2198 * Makefile.in (inst_docdir): For Cygwin target set to share/doc/.
2200 2005-01-02 Earnie Boyd <earnie@users.sf.net>
2202 * include/_mingw.h: Increment version to 3.6
2203 * Makefile.in: Ditto
2205 2004-12-26 Danny Smith <dannysmith@users.sourceforge.net>
2207 * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
2208 casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
2209 clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
2210 ctanf.c ctanhf.c): New files.
2211 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2212 (COMPLEX_OBJS): Adjust.
2213 * include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
2214 casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
2215 cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
2218 2004-12-20 Danny Smith <dannysmith@users.sourceforge.net>
2220 * include/wchar.h (wcsdup): Correct prototype.
2221 * include/string.h (wcsdup): Correct prototype.
2223 2004-10-14 Danny Smith <dannysmith@users.sourceforge.net>
2225 * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
2227 2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
2229 * mingwex/math/fastmath.h: New file.
2230 * mingwex/math/asinh.c: New file.
2231 * mingwex/math/asinhf.c: New file.
2232 * mingwex/math/asinhl.c: New file.
2233 * mingwex/math/acosh.c: New file.
2234 * mingwex/math/acoshf.c: New file.
2235 * mingwex/math/acoshl.c: New file.
2236 * mingwex/math/atanh.c: New file.
2237 * mingwex/math/atanhf.c: New file.
2238 * include/math.h (asinh, asinhf, asinhl, acosh, acoshf, acoshl,
2239 atanh, atanhf, atanhl): Add prototypes.
2240 * mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
2241 (MATH_DISTFILES): Add sources for above and fastmath.h to list.
2242 Specify dependency on fastmath.h for new objects.
2244 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2246 * include/sys/stat.h (_S_IFLNK): Add definition.
2253 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2255 * include/sys/stat.h (_S_ISLNK): Add definition.
2258 2004-09-05 Earnie Boyd <earnie@users.sf.net>
2260 * include/_mingw.h: Increment minor version for 3.5 release.
2261 * Makefile.in: Ditto.
2262 * mingwex/Makefile.in: Correct typo in list of DISTFILES.
2264 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2266 * include/malloc.h (__mingw_aligned_offset_malloc,
2267 __mingw_aligned_offset_realloc, __mingw_aligned_malloc,
2268 __mingw_aligned_realloc, __mingw_aligned_free): Add
2270 * mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
2271 tst-aligned-malloc.c.
2272 (REPLACE_OBJS): Add mingw-aligned-malloc.o.
2274 2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
2276 * mingwex/mingw-aligned-malloc.c: New file.
2277 * mingwex/tst-aligned-malloc.c: New file.
2279 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2281 * crt1.c: (__mingw_CRTStartup): Change return to void. Add
2282 noreturn attribute. Align stack to 16 bytes before passing args
2284 (mainCRTStartup): Change return to void.
2285 (WinMainCRTStartup): Likewise.
2287 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2289 * profile/COPYING: New file.
2290 * profile/CYGWIN_LICENSE: New file.
2291 * profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
2293 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2295 * mingwex/fopen64.c: Move.
2296 * mingwex/fseeko64.c: Move.
2297 * mingwex/ftello64.c: Move.
2298 * mingwex/lseek64.c: Move.
2299 * mingwex/stdio/fopen64.c: To here.
2300 * mingwex/stdio/fseeko64.c: To here.
2301 * mingwex/stdio/ftello64.c: To here.
2302 * mingwex/stdio/lseek64.c: To here.
2304 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2306 * profile/gmon.c [__MINGW32__]: Include string.h for
2309 2004-08-08 Christopher Faylor <cgf@timesys.com>
2311 * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
2313 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2315 * include/complex.h: Remove __attribute__ ((const)) from
2316 transcendantal and trig functions. Replace __attribute__ ((const))
2317 with __MINGW_ATTRIB_CONST on other declarations.
2319 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2321 * include/wchar.h: Reorganize, avoid including other headers.
2323 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2325 * include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
2326 (strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
2329 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2331 * include/dirent.h (struct _wdirent): Remove obsolete comment.
2333 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2335 * include/string.h: Revert 2004-07-26 additions of
2338 2004-07-28 Danny Smith <dannysmith@users.sourceforge.net>
2340 * mingwex/math/powl.c (powl): Revert change of 2004-02-01.
2341 (__convert_inf_to_maxnum): New.static inline.
2342 (reducl): Use it to protect against Inf - Inf.
2343 (__fast_ldexpl): New function. Use in lieu of ldexpl.
2345 2004-07-27 Danny Smith <dannysmith@users.sourceforge.net>
2347 * mingwex/math/expl.c (expl): Move body of code to new static
2348 function __expl, removing tests for +/-Inf. Extern function
2349 expl calls __expl after testing for max, min log thresholds.
2351 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2353 * mingwex/stdio/vsscanf.c: Add "edi" to registers-modified field
2354 * mingwex/stdio/vfscanf.c: Likewise.
2355 * mingwex/stdio/vswscanf.c: Likewise.
2356 * mingwex/stdio/vfwscanf.c: Likewise.
2358 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2360 * include/_mingw.h: Use only two underscores to uglify
2361 __MINGW_ATTRIB_* macros.
2362 * include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
2363 * include/setjmp.h: Likewise.
2365 * include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
2367 (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
2369 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2371 * include/string.h: Group wide string functions together,
2372 and protect with _WSTRING_DEFINED.
2374 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2376 * include/_mingw.h (__MINGW_ATTR_*): Replace with
2378 * include/stdlib.h (_ATTRIB_NORETURN): Replace with
2379 __MINGW_ATTRIB_NORETURN, throughout.
2380 (malloc): Declare with __MINGW_ATTRIB_MALLOC.
2382 (abs): Declare with __MINGW_ATTRIB_CONST.
2391 * include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
2393 2004-07-21 Danny Smith <dannysmith@users.sourceforge.net>
2395 * include/_mingw.h: Undefine __attribute__.
2396 (__MINGW_ATTR_NORETURN): New define.
2397 (__MINGW_ATTR_CONST): New define.
2398 (__MINGW_ATTR_MALLOC): New define.
2399 (__MINGW_ATTR_PURE): New define.
2400 (_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
2403 2004-07-19 Danny Smith <dannysmith@users.sourceforge.net>
2405 * include/time.h (__time64_t): Add missing ';'.
2407 2004-07-17 Danny Smith <dannysmith@users.sourceforge.net>
2409 * include/time.h (wcsftime): Move out of !__STRICT_ANSI
2411 (struct tm): Protect with _TM_DEFINED.
2413 2004-07-17 Christopher Faylor <cgf@timesys.com>
2415 * Makefile.in (CC): Strip inappropriate include file settings from any
2418 2004-07-15 "dgun" <dgun@umpire.com>
2420 * include/complex.h (conj): Correct typo in prototype.
2422 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2424 * include/math.h: Add pragma GCC system_header.
2426 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2428 * mingwex/complex/carg.c: New file.
2429 * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
2431 2004-07-15 Corinna Vinschen <corinna@vinschen.de>
2433 * Makefile.in (INCLUDES): Temporarily revert previous change.
2434 * mingwex/Makefile,in (INCLUDES): Ditto.
2435 * profile/Makefile,in (INCLUDES): Ditto.
2436 * mingwex/Makefile,in: Drop carg.o dependency.
2438 2004-07-14 Christopher Faylor <cgf@timesys.com>
2440 * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
2442 2004-07-14 Danny Smith <dannysmith@users.sourceforge.net>
2444 * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
2446 * mingwex/Makefile,in (INCLUDES): Ditto.
2447 * profile/Makefile,in (INCLUDES): Ditto.
2449 * mingwex/Makefile,in: Add carg.o to libmingwex.a.
2451 2004-07-13 Earnie Boyd <earnie@users.sourcefourge.net>
2453 * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
2455 * mingwex/Makefile.in: Ditto.
2456 * profile/Makefile.in: Ditto.
2457 * include/limits.h: Change to new file header preamble.
2458 * include/_mingw.h: Increment minor version for 3.4 release.
2459 * Makefile.in: Ditto.
2461 2004-07-12 Danny Smith <dannysmith@users.sourceforge.net>
2463 * mingwex/math/cephes_emath.h (__etens): Remove declaration.
2465 2004-07-11 Danny Smith <dannysmith@users.sourceforge.net>
2467 * include/unistd.h (ftruncate): Add inline definition.
2468 * mingwex/ftruncate.c: New file.
2469 * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
2471 2004-07-10 Danny Smith <dannysmith@users.sourceforge.net>
2473 * include/time.h: Do not include sys/types.h.
2475 2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
2477 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
2478 (MATH_OBJS): Remove pow,o.
2479 * include/math.h (pow): Declare with _CRTIMP.
2480 Add comment on how to avoid excess precision problems.
2482 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
2484 * include/stdio.h (__mingw_fseeko64): Add prototype.
2485 * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
2486 (__mingw_fwrite): Handle huge files.
2488 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
2489 Danny Smith <dannysmith@users.sourceforge.net>
2491 * include/stdio.h (fopen64): Add inline function.
2492 (fseeko64): Add prototype.
2493 (ftello64): Add inline function.
2494 * include/io.h (lseek64): Add inline function.
2495 * include/sys/types (off64_t): Add typedef.
2496 (fpos64_t): Add typedef.
2497 * mingwex/fopen64.c: New file.
2498 * mingwex/fseeko64.c: New file.
2499 * mingwex/ftello64.c: New file.
2500 * mingwex/lseek64.c: New file.
2501 * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
2502 fseeko.64.c, ftello64.c, lseek64.c.
2503 (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
2505 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
2507 * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
2509 2004-04-22 Earnie Boyd <earnie@users.sf.net>
2511 * DISCLAIMER: Add words about "free to use".
2512 * README: Modify "Win32 runtime" to "Microsoft C Runtime".
2513 * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
2514 (inst_docdir): New variable.
2516 (FLAGS_TO_PASS): Include inst_docdir.
2517 (install-dirs): Add inst_docdir.
2518 (install): Add loop for INSTDOCS.
2519 * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
2520 section to CONTRIBUTORS file. Remove RCS tags.
2522 2004-04-22 Danny Smith <dannysmith@users.sourceforge.net>
2524 * mingwex/math/lround.c: Rewrite.
2525 * mingwex/math/lroundf.c: Rewrite.
2526 * mingwex/math/lroundl.c: Rewrite.
2527 * mingwex/math/llround.c: Rewrite.
2528 * mingwex/math/llroundf.c: Rewrite.
2529 * mingwex/math/llroundl.c: Rewrite.
2531 2004-04-20 Earnie Boyd <earnie@users.sf.net>
2533 * CONTRIBUTORS: New file.
2534 * DISCLAIMER: Ditto.
2535 * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
2536 section to CONTRIBUTORS file. Remove RCS tags.
2537 * CRTFmode.c: Ditto.
2541 * crtdll.dev: Ditto.
2551 * msvcrt.def.in: Ditto.
2552 * strcasecmp.c: Ditto.
2555 * include/assert.h: Ditto.
2556 * include/conio.h: Ditto.
2557 * include/ctype.h: Ditto.
2558 * include/direct.h: Ditto.
2559 * include/dirent.h: Ditto.
2560 * include/dos.h: Ditto.
2561 * include/errno.h: Ditto.
2562 * include/excpt.h: Ditto.
2563 * include/fcntl.h: Ditto.
2564 * include/float.h: Ditto.
2565 * include/io.h: Ditto.
2566 * include/locale.h: Ditto.
2567 * include/malloc.h: Ditto.
2568 * include/math.h: Ditto.
2569 * include/process.h: Ditto.
2570 * include/setjmp.h: Ditto.
2571 * include/share.h: Ditto.
2572 * include/signal.h: Ditto.
2573 * include/stdio.h: Ditto.
2574 * include/stdlib.h: Ditto.
2575 * include/string.h: Ditto.
2576 * include/tchar.h: Ditto.
2577 * include/time.h: Ditto.
2578 * include/wchar.h: Ditto.
2579 * include/sys/locking.h: Ditto.
2580 * include/sys/param.h: Ditto.
2581 * include/sys/stat.h: Ditto.
2582 * include/sys/timeb.h: Ditto.
2583 * include/sys/types.h: Ditto.
2584 * include/sys/utime.h: Ditto.
2585 * mingwex/dirent.c: Ditto.
2587 2004-04-19 Earnie Boyd <earnie@users.sf.net>
2589 * include/_mingw.h: Revert to primary release 3 and increment minor
2591 * Makefile.in (VERSION): Ditto.
2593 2004-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2595 * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
2596 _fmode if not __MSVCRT__.
2598 2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
2600 * include/io.h: (_findfirst): Correct prototype.
2602 2004-03-30 Hans Leidekker <hans@it.vu.nl>
2604 * include/io.h: (_findnext, _findclose): Correct prototype.
2606 2004-03-28 Hans Leidekker <hans@it.vu.nl>
2608 * include/math.h (FP_*): Add defines.
2610 2004-03-29 Danny Smith <dannysmith@users.sourceforge.net>
2612 * mingwex/math/round.c: Rewrite.
2613 * mingwex/math/roundf.c: Rewrite.
2614 * mingwex/math/roundl.c: Rewrite.
2616 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2618 * include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.
2619 * include/time.h (__time64_t): Add typedef.
2620 (_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2621 (_ctime64): Likewise.
2622 (_wctime64): Likewise.
2623 (_gmtime64): Likewise.
2624 (_localtime64): Likewise.
2625 (wcsftime): Move into _WTIME_DEFINED block.
2626 Regroup non-ANSI prototypes.
2627 * include/io.h: Include <stdint.h>.
2628 (__finddata64_t): Add struct definition.
2629 (__wfinddata64_t): Likewise.
2630 (_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2631 (_findnext64): Likewise.
2632 (_wfindfirst64): Likewise.
2633 (_wfindnext64): Likewise.
2634 * include/sys/timeb.h (__timeb64): Add struct definition.
2635 (_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2636 * include/sys/utime.h (__utimbuf64): Add struct definition.
2637 (_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2638 (_futime64): Likewise.
2639 (_wutime64): Likewise.
2640 * include/sys/stat.h (__stat64): Add struct definition.
2641 (_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2642 (_stat64): Likewise.
2643 (_wstat64): Likwise.
2644 * include/sys/types.h (__time64_t): Add typedef.
2645 * include/wchar.h (__wfinddata64_t): Add structure definition.
2646 (__stat64): Likewise.
2647 (_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2648 (_wfindfirst64): Likewise.
2649 (_wfindnext64): Likewise.
2650 (_wutime64): Likewise.
2651 (_wstat64): Likwise.
2652 * include/malloc.h (_aligned_free): Add prototype for
2653 __MSVCRT_VERSION__ >= 0x0700.
2654 (_aligned_malloc): Likewise.
2655 (_aligned_offset_malloc): Likewise.
2656 (_aligned_offset_realloc): Likewise.
2657 (_aligned_realloc): Likewise.
2658 * include/string.h (_wcserror): Add prototype for
2659 __MSVCRT_VERSION__ >= 0x0700.
2660 (__wcserror): Likewise.
2661 * include/math.h (_set_SSE2_enable): Add prototype for
2662 __MSVCRT_VERSION__ >= 0x0701.
2664 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2666 * include/stdio.h (_fsopen): Add prototype.
2667 * include/tchar.h (_tfsopen): Add defines.
2668 Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
2670 2004-03-19 Danny Smith <dannysmith@users.sourceforge.net>
2672 * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
2673 msvcr70.dll, and msvcr71.dll.
2674 * Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant
2675 using basename of output def file.
2677 2004-03-13 Danny Smith <dannysmith@users.sourceforge.net>
2679 * include/malloc.h: Remove __STRICT_ANSI__ guard.
2681 2004-03-11 Brian Keener <bkeener@thesoftwaresource.com>
2683 * include/process.h: Remove the #endif associated with removal of
2684 __STRICT_ANSI__ guard from non-ANSI header.
2686 2004-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2688 * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
2689 * include/direct.h: Ditto.
2690 * include/dirent.h: Ditto.
2691 * include/dos.h: Ditto.
2692 * include/excpt.h: Ditto.
2694 * include/io.h: Ditto.
2695 * inlude/mem.h: Ditto.
2696 * include/memory.h: Ditto.
2697 * include/process.h: Ditto.
2698 * inlude/search.h: Ditto.
2699 * include/share.h: Ditto.
2700 * include/unistd.h: Ditto.
2701 * include/sys/fcntl.h: Ditto.
2702 * include/file.h: Ditto.
2703 * include/sys/locking.h: Ditto.
2704 * include/sys/param.h: Ditto.
2705 * include/sys/stat,h
2706 * include/sys/time.h: Ditto.
2707 * include/sys/timeb.h: Ditto.
2708 * include/sys/types.h: Ditto.
2709 * include/sys/unistd.h: Ditto.
2710 * include/sys/utime.h: Ditto.
2712 2004-02-21 Danny Smith <dannysmith@users.sourceforge.net>
2714 * include/_mingw.h (__UNUSED_PARAM): Define macro.
2715 * include/wchar.h (fwide): Use it.
2718 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2720 * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
2721 NetBSD getopt_long.c.
2723 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2725 * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
2726 codes and handling of special chars.
2728 2004-02-02 Danny Smith <dannysmith@users.sourceforge.net>
2730 * include/stdio.h (feof): Add inlined definition.
2733 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2735 * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
2736 directly, rather than via scabnl.
2738 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2740 * mingwex/math/powl.c (powl): Return infinity if
2741 extended precision multiplication of x by log2(y)
2744 2004-01-31 Danny Smith <dannysmith@users.sourceforge.net>
2746 * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
2747 (__enan_NI16): Fix another one.
2748 (__enan_NBITS): Tidy.
2750 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
2752 * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
2753 types. (Thanks to John Maddock for report.)
2755 2004-01-14 Greg Chicares <chicares@users.sourceforge.net>
2757 * include/tchar.h (_puttchar): Define.
2759 2003-12-13 Danny Smith <dannysmith@users.sourceforge.net>
2761 * include/stdio.h:(_fileno): Define macro version after both
2762 fileno and _fileno functions declared.
2764 * include/stdio.h (_rmtmp, rmtmp): Add prototypes.
2765 * moldnames.def.in (rmtmp) Add stub.
2767 2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
2769 * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
2771 2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
2773 * include/math.h: Guard ISO C99 additions with __cplusplus
2776 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2778 * include/_mingw.h: Define __attribute__((x)) to nothing
2781 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2783 * include/complex.h: New file.
2784 * mingwex/complex: New directory.
2785 * mingwex/complex/cabs.c: New file.
2786 * mingwex/complex/cacos.c: New file.
2787 * mingwex/complex/cacosh.c: New file.
2788 * mingwex/complex/casin.c: New file.
2789 * mingwex/complex/casinh.c: New file.
2790 * mingwex/complex/catan.c: New file.
2791 * mingwex/complex/catanh.c: New file.
2792 * mingwex/complex/ccos.c: New file.
2793 * mingwex/complex/ccosh.c: New file.
2794 * mingwex/complex/cexp.c: New file.
2795 * mingwex/complex/cimag.c: New file.
2796 * mingwex/complex/clog.c: New file.
2797 * mingwex/complex/cpow.c: New file.
2798 * mingwex/complex/cproj.c: New file.
2799 * mingwex/complex/creal.c: New file.
2800 * mingwex/complex/csin.c: New file.
2801 * mingwex/complex/csinh.c: New file.
2802 * mingwex/complex/csqrt.c: New file.
2803 * mingwex/complex/ctan.c: New file.
2804 * mingwex/complex/ctanh.c: New file.
2805 * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
2808 (COMPLEX_OBJS): New list of objects.
2809 (LIB_OBJS): Include it in the library.
2811 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2813 * include/math.h (cabs): Remove non-ISO prototype.
2815 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2817 * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
2818 Use GCC __builtin's if available.
2819 (INFINITY, INFINITYF, INFINITYL): Likewise.
2821 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2823 * mingwex/math/s_erf.c (erf): Set errno to ERANGE if
2824 beyond approximation limit.
2825 * mingwex/math/sf_erf.c (erff): Likewise.
2827 2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
2829 * include/stdio.h (getc): Cast result to unsigned char before
2832 (getchar): Likewise.
2833 (putchar): Likewise.
2834 Thanks to M.Fujii <boochang@m4.kcn.ne.jp>
2836 2003-10-10 Earnie Boyd <earnie@users.sf.net>
2838 * include/_mingw.h: Increment version to 3.2.
2839 * Makefile.in: Ditto.
2841 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2843 * include/sys/types.h: Revert last change.
2845 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2847 * include/sys/types.h (ssize_t): Correct the definition.
2849 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2851 * include/stdio.h (_filbuf): Add prototype.
2852 (_flsbuf): Add prototype.
2853 (getc): Add inline version.
2855 (getchar): Likewise.
2856 (putchar): Likewise.
2858 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2860 * mingwex/dirent.c (_treaddir): Reset errno to 0 if end
2863 2003-09-29 Danny Smith <dannysmith@users.sourceforge.net>
2865 * include/stdlib.h: Guard non-ISO functions with
2866 !__STRICT_ANSI__, throughout.
2868 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2870 * include/io.h (_fileno): Remove prototype.
2872 (FILENAME_MAX): Define, if needed.
2873 Don't include <stdio.h>.
2874 * include/stdio.h (FILENAME_MAX): Protect against
2876 (_fileno): Define macro implementation.
2879 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2881 * include/inttypes.h: Include _mingw.h.
2883 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2885 * include/_mingw.h (__CRT_INLINE): Define.
2886 * include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
2888 * include/inttypes.h: Likewise.
2889 * include/math.h: Likewise.
2890 * include/stdio.h: Likewise.
2891 * include/stdlib.h: Likewise.
2892 * include/string.h: Likewise.
2893 * include/wchar.h: Likewise.
2894 * include/wctype.h: Likewise.
2896 2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
2898 * mingwex/dirent.c (_topendir): Allocate enough memory for
2899 DIR struct in UNICODE case too.
2901 2003-09-15 Earnie Boyd <earnie@users.sf.net>
2903 * include/_mingw.h: Increment version to 3.2.
2904 * Makefile.in: Ditto.
2906 2003-07-03 Earnie Boyd <earnie@users.sf.net>
2908 * config.guess, config.sub: Update with versions from ftp.gnu.org.
2910 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2912 * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
2913 * mingwex/math/truncf.c (truncf): Likewise.
2914 * mingwex/math/truncl.c (truncl): Likewise.
2915 * mingwex/math/modff.c (modff): Likewise.
2916 * mingwex/math/modfl.c (modfl): Likewise.
2918 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2920 * include/search.h: New file.
2921 * include/stdlib.h: Add comment about qsort, bsearch in
2923 * test_headers.c: Include search.h.
2924 * moldname.def.in (lfind, lsearch): Add.
2926 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2928 * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
2929 _execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
2930 execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
2932 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2934 * include/_mingw.h (small, hyper): Change to __small and __hyper to
2935 avoid user space name conflicts.
2937 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2939 * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
2940 Note: Also added to w32api/include/basetyps.h.
2941 * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
2942 Rename to Small (case difference).
2944 2003-06-18 Earnie Boyd <earnie@users.sf.net>
2946 * include/dirent.h (dirent): Make d_name and array instead of a pointer.
2947 * mingwex/dirent.c: Modifications througout to fill d_name array.
2948 * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
2949 libmsvcr71, including debug versions.
2950 (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
2952 2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
2954 * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
2955 __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
2957 Thanks to: Aaron W LaFramboise <AWLaFramboise@aol.com>
2959 2003-05-30 Sascha Sommer <saschasommer@freenet.de>
2961 * include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
2963 2003-05-15 Danny Smith <dannysmith@users.sourceforge.net>
2965 * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
2966 but still protect inline definition with __STRICT_ANSI__.
2968 2003-05-14 Danny Smith <dannysmith@users.sourceforge.net>
2970 * string_old.c: Remove, splitting into...
2971 * strcasecmp.c: New file.
2972 * strncasecmp.c: New file.
2973 * wscmpi.c : New file.
2974 * ctype_old.c: Remove, splitting into...
2975 * isascii.c: New file.
2976 * iscsym.c: New file.
2977 * iscsymf.c: New file.
2978 * toascii.c: New file.
2979 * Makefile.in (MOLD_OBJS): Adjust.
2980 (SRCDIST_FILES): Adjust.
2982 2003-05-13 Danny Smith <dannysmith@users.sourceforge.net>
2984 * include/math.h (fabs) : Remove inline definition.
2988 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2990 * include/_mingw.h: Change version to 3.0
2991 * Makefile.in: Ditto.
2993 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2995 * configure.in (W32API_INCLUDE): Need the -I switch in the value.
2996 * mingwex/configure.in (W32API_INCLUDE): Ditto.
2997 * profile/configure.in (W32API_INCLUDE): Ditto.
2999 2003-05-06 Earnie Boyd <earnie@users.sf.net>
3001 * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
3002 of multiply defined symbols if the symbols is defined locally. E.G.:
3003 A local definition of malloc causes this problem.
3004 * configure: Regenerate.
3005 * profile/Makefile.in (W32API_INCLUDE): New variable.
3006 (ALL_CFLAGS): Use W32API_INCLUDE value.
3007 (ALL_CXXFLAGS): Ditto.
3008 (gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
3009 Thanks to Jeff Bonggren <jbon@users.sf.net>.
3010 * profile/configure.in (W32API_INCLUDE): Set default value.
3011 * profile/configure: Regenerate.
3012 * mingwex/Makefile.in (W32API_INCLUDE): New variable.
3013 (ALL_CFLAGS): Use W32API-INCLUDE value.
3014 (ALL_CXXFLAGS): Ditto.
3015 * mingwex/configure.in (W32API_INCLUDE): Set default value.
3016 * mingwex/configure: Regenerate.
3018 2003-05-05 Earnie Boyd <earnie@users.sf.net>
3020 * Makefile.in (W32API_INCLUDE): New variable.
3021 (ALL_CFLAGS): Use W32API_INCLUDE value.
3022 (ALL_CXXFLAGS): Ditto.
3023 * configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
3024 (W32API_INCLUDE): Set default value.
3025 * configure: Regenerate.
3027 2003-04-11 Earnie Boyd <earnie@users.sf.net>
3029 * configure.in (LIBM_A): Define for cygwin target.
3030 * configure (LIBM_A): Ditto.
3032 2003-04-07 Danny Smith <dannysmith@users.sourceforge.net>
3034 * include/time.h (strftime): Remove duplicate declaration.
3036 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
3038 * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
3040 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3042 * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
3043 * mingwex/strtoimax.c (strtoimax): Likewise.
3044 * mingwex/wcstoimax.c (wcstoimax): Likewise.
3045 * mingwex/wtoll.c (wtoll): Remove unnecessary ';'
3046 * mingwex/fesentenv.c: Include float.h.
3047 * mingwex/math/powl.c: Eliminate type punning/strict aliasing
3049 * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
3051 * mingwex/math/tgammal.c: Likewise.
3053 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3055 * include/utime.h: New file, forwarding to sys/utime.h.
3057 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3059 * include/sys/param.h (MAXPATHLEN): Define.
3061 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3063 * include/tchar.h: Ansi-fy a comment.
3065 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3067 * profile/profile.h (mcount): Use __builtin_return_address
3068 rather than inline __asm statements.
3069 * profile/Makefile.in: Remove special rule for mcount.o
3070 Specify dependencies for mcount.o profil.o gmon.o.
3072 2003-03-10 Danny Smith <dannysmith@users.sourceforge.net>
3074 * include/stdlib.h (qsort): Remove const from first parm.
3075 Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
3077 2003-03-03 Christopher Faylor <cgf@redhat.com>
3079 * mingwex/getopt.c: Refresh from NetBSD sources.
3081 2003-03-03 Danny Smith <dannysmith@users.sourceforge.net>
3083 * mingwex/getopt.c: New file, copied from cygwin srcs.
3084 * include/getopt.h: New file, copied from cygwin srcs.
3085 * include/unistd.h: Include getopt.h.
3086 * mingwex/Makefile.in (DISTFILES): Add getopt.c.
3087 (POSIX_OBJS): Add getopt.o.
3089 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
3091 * include/stdio.h (vscanf): Add prototype.
3097 * include/wchar.h (vwscanf): Add prototype.
3100 * mingwex/snprintf.c: Move to mingwex/stdio.
3101 * mingwex/vsnprintf.c: Ditto.
3102 * mingwex/snwprintf.c: Ditto.
3103 * mingwex/vsnwprintf.c: Ditto.
3104 * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
3105 (STDIO_DISTFILES): Add.
3106 (DISTFILES): Adjust.
3107 (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
3111 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com>
3113 * mingwex/stdio: New directory
3114 * mingwex/stdio/vfscanf.c: New file.
3115 * mingwex/stdio/vfwscanf.c: New file.
3116 * mingwex/stdio/vscanf.c: New file.
3117 * mingwex/stdio/vsscanf.c: New file.
3118 * mingwex/stdio/vswscanf.c: New file.
3119 * mingwex/stdio/vwscanf.c: New file.
3121 2003-02-25 Earnie Boyd <earnie@users.sf.net>
3123 * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
3124 (libmsvcrt40.a): Ditto.
3126 2003-02-21 Earnie Boyd <earnie@users.sf.net>
3128 Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
3130 * Makefile.in (libmsvcrtd.a): Add target library.
3131 (libmoldnamed.a): Ditto.
3132 (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
3134 ($(srcdir)): Remove explicit reference for depencies of object targets.
3135 * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
3136 msvcrt20.def, msvcrt40.def: Remove.
3137 * msvcrt.def.in: New file (Copy of previous msvcrt.def).
3139 2003-02-20 Corinna Vinschen <corinna@vinschen.de>
3141 * Makefile.in: Make sure libmingwex.a from current build tree is used.
3143 2003-02-14 Christopher Faylor <cgf@redhat.com>
3145 * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
3146 ensure -mno-cygwin where appropriate. Filter out -O2.
3148 2003-02-13 Danny Smith <dannysmith@users.sourceforge.net>
3150 * profile/Makefile.in (mcount.o): Use -O1 optimization
3153 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3155 * include/math.h: Remove _CRTIMP from pow() prototype,
3156 unless __NO_ISOCEXT.
3158 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3160 * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
3162 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3164 * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
3165 __declspec(dllimport) supported.
3166 (__cdecl): Define if not already defined.
3167 (__stdcall): Likewise.
3168 * include/dirent.h: Qualify fuctions with __cdecl.
3169 * include/fenv.h: Likewise.
3170 * include/inttypes.h: Likewise.
3171 * include/assert.h: Qualify fuctions with __cdecl. Qualify
3172 CRT dll imports with _CRTIMP.
3173 * include/conio.h: Likewise.
3174 * include/ctype.h: Likewise.
3175 * include/direct.h: Likewise.
3176 * include/dos.h: Likewise.
3177 * include/errno.h: Likewise.
3178 * include/float.h: Likewise.
3179 * include/io.h: Likewise.
3180 * include/locale.h: Likewise.
3181 * include/malloc.h: Likewise.
3182 * include/math.h: Likewise.
3183 * include/mbctype.h: Likewise.
3184 * include/mbstring.h: Likewise.
3185 * include/process.h: Likewise.
3186 * include/setjmp.h: Likewise.
3187 * include/signal.h: Likewise.
3188 * include/stdio.h: Likewise.
3189 * include/stdlib.h: Likewise.
3190 * include/string.h: Likewise.
3191 * include/time.h: Likewise.
3192 * include/wchar.h: Likewise.
3193 * include/wctype.h: Likewise.
3194 * include/sys/stat.h: Likewise.
3195 * include/sys/timeb.h: Likewise.
3196 * include/sys/utime.h: Likewise.
3198 * include/ctype.h: Guard ctype inlines with __NO_INLINE__.
3199 * include/wctype.h: Guard wctype inlines with __NO_INLINE__.
3201 * include/stdio.h (__VALIST): Guard against prior definition.
3203 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3205 * include/_mingw.h: Change version to 3.0
3206 * Makefile.in: Ditto.
3208 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3210 * include/stdlib.h: Make words after #endif a comment.
3212 2003-02-07 Danny Smith <dannysmith@users.sourceforge.net>
3214 * include/locale.h: Include stddef.h for definition of NULL.
3216 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3218 * include/math.h (tgamma): Correct typo in comment.
3220 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3222 * mingwex/mingw-fseek.c (INLINE): Remove define.
3223 (__mingw_is_win9x): Remove static inline function.
3224 (_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
3226 2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
3228 * mingwex/math/llround.c: Correct function name and
3229 change return value to long long.
3231 2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
3233 * include/ctype.h (__isascii): Don't cast arg to unsigned.
3234 (iswascii): Likewise. Correct mask.
3235 * include/wctype.h (iswascii): Don't cast arg to unsigned.
3238 2003-01-03 Danny Smith <dannysmith@users.sourceforge.net>
3240 * include/stdlib.h (_osver, _winver, _winmajor,
3241 _winminor): Declare as direct imports from dll if
3242 __DECLSPEC_SUPPORTED.
3244 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
3246 * pseudo-reloc.c (do_pseudo_reloc): Make static.
3247 * pseudo-reloc-list.c: New file.
3248 * crt1.c (_pei386_runtime_relocator): Declare.
3249 (__mingw_CRTStartup): Call it.
3250 * dllcrt1.c (_pei386_runtime_relocator): Declare.
3251 (DllMainCRTStartup): Call it.
3252 * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to
3255 2003-01-01 Egor Duda <deo@logos-m.ru>
3257 * pseudo-reloc.c: New file.
3259 2002-12-20 Earnie Boyd <earnie@users.sf.net>
3261 * include/_mingw.h: Increment version to 2.4.
3264 2002-12-12 Earnie Boyd <earnie@users.sf.net>
3266 * include/malloc.h (_alloca): Add definition.
3269 2002-12-08 Danny Smith <dannysmith@users.sourceforge.net>
3271 * mingwex/math/s_erf.c: New file.
3272 * mingwex/math/sf_erf.c: New file.
3273 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3274 (MATH_OBJS): Add new objects.
3275 * include/math.h (erf[f]): Add prototypes.
3276 (erfc[f]): Add prototypes.
3278 2002-12-07 Danny Smith <dannysmith@users.sourceforge.net>
3280 * include/math.h: Add traditional/XOPEN math constants.
3282 2002-11-27 Danny Smith <dannysmith@users.sourceforge.net>
3284 * mingwex/math/lgamma.c: New file.
3285 * mingwex/math/lgammaf.c: New file.
3286 * mingwex/math/lgammal.c: New file.
3287 * mingwex/math/tgamma.c: New file.
3288 * mingwex/math/tgammaf.c: New file.
3289 * mingwex/math/tgammal.c: New file.
3290 * mingwex/math/cephes_mconf (polevlf): Add float version.
3292 Define _CEPHES_USE_ERRNO.
3293 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3294 (MATH_OBJS): Add new objects.
3295 * include/math.h (lgamma[fl]): Add prototypes.
3296 (tgamma[fl]): Add prototypes.
3298 2002-11-26 Danny Smith <dannysmith@users.sourceforge.net>
3300 * mingwex/strtold.c: New file.
3301 * mingwex/wcstold.c: New file.
3302 * mingwex/ldtoa.c: New file.
3303 * mingwex/math/cephes_emath.h: New file.
3304 * mingwex/math/cephes_emath.c: New file.
3305 * mingwex/Makefile.in (DISTFILES): Add new files.
3306 (MATH_DISTFILES): Ditto.
3307 (STDLIB_OBJS): New. Define as strtold.c wcstold.c.
3308 (MATH_OBJS): Add cephes_emath.o.
3309 (LIB_OBJS): Add $(STDLIB_OBJS).
3310 * include/stdlib.h (strtold, wcstold): Add prototypes.
3311 * include/wchar.h (wcstold): Add prototype.
3313 2002-11-09 Danny Smith <dannysmith@users.sourceforge.net>
3315 * include/math.h (sqrt): Remove inline definition.
3316 (sqrtf): Replace inline definition with prototype.
3318 * mingwex/math/sqrtf.c (sqrtf): Set domain error if
3319 argument less than zero.
3320 * mingwex/math/sqrtf.c (sqrtl): Likewise.
3322 2002-10-30 Guido Serassio <serassio@libero.it>
3324 * include/stdio.h (_getmaxstdio): Add prototype.
3325 (_setmaxstdio): Likewise.
3327 2002-10-19 Kang Li <rubylith@users.sourceforge.net>
3329 * include/fcntl.h (O_SEQUENTIAL): Correct typo.
3331 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3333 * crt1.c: Define new macro __IN_MINGW_RUNTIME before including
3335 Define WIN32_MEAN_AND_LEAN before including windows.h
3336 * include/stdlib.h (_fmode): Protect declaration as dllimported
3337 variable with __IN_MINGW_RUNTIME.
3339 2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu>
3341 * crt1.c: Include stdlib.h.
3343 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3345 * Makefile.in (CRT0S): Add txtmode.o binmode.o.
3346 (MINGW_OBJS): Add txtmode.o.
3347 (SRCDIST_FILES): Add txtmode.c binmode.c.
3348 crt1.c: Don't include fcntrl.h, stdlib.h.
3349 (_fmode): Declare, without dllimport attribute.
3350 (__p__fmode): Declare access function for dll's _fmode.
3351 (_mingw32_init_fmode): Sync dll _fmode with staticly linked
3353 * txtmode.c: New file.
3354 * binmode.c: New file.
3355 * samples/fmode/test2.c: New file.
3356 * samples/fmode/jamfile: Add test2.exe target.
3358 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3360 * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
3361 macros work with C89.
3362 (INTMAX_C, UINTMAX_C): Likewise.
3364 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3366 * include/string.h (strcasecmp): Make extern __inline__.
3367 (strncasecmp): Likewise.
3368 (wcscmpi): Likewise.
3370 2002-10-08 Heiko Gerdau <hg@technosis.de>
3372 * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
3373 _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
3376 2002-10-07 Danny Smith <dannysmith@users.sourceforge.net>
3378 * mingwex/math/powil.c: Rename powil to __powil.
3379 * mingwex/math/powl.c: Adjust declaration and call
3380 to __powil. Remove comment on powil.
3381 * mingwex/math/powi.c: New file.
3382 * mingwex/math/powif.c: New file.
3383 * mingwex/math/pow.c: New file.
3384 * mingwex/math/cephes_mconf.h. Add double and float
3385 versions of constants.
3386 (polevl): Add double precision function.
3388 * mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
3390 (MATH_OBJS): Add pow.o, powi.o, powif.o.
3392 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3394 * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
3395 (_imp____mbcur_max_dll): Likewise.
3397 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3399 * include/fcntl.h (_fmode): Remove declarations and
3400 compatibility defines.
3401 (_setmode, setmode): Remove prototypes.
3402 * include/stdlib (_fmode): Add declarations and
3403 compatibility defines. Change type to int.
3404 * include/io.h (_setmode, setmode): Add prototypes.
3405 * samples/fmode/all.c: Adjust includes.
3406 * samples/fmode/test.c: Likewise.
3407 * crt1.c (_CRT_fmode): Declare as int.
3408 * CRTfmode.c (_CRT_fmode): Likewise.
3410 * include/stdlib: Remove comment about MB_CUR_MAX.
3412 2002-10-02 Danny Smith <dannysmith@users.sourceforge.net>
3414 * include/stdlib.h (_imp____mbcur_max): Add missing ';'.
3415 (_imp____mbcur_max_dll): Likewise.
3417 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3419 * mingwex/math/files.txt: Remove inadvertantly added file.
3421 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3423 * include/string.h (_strerror): Move into #ifndef
3424 __STRICT_ANSI__ block.
3426 2002-09-17 Danny Smith <dannysmith@users.sourceforge.net>
3428 * include/time.h (__need_NULL): Define before including
3429 stddef.h. Thanks to: Rüdiger Dehmel <de@lmnet.de>.
3431 2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
3433 * include/stdio.h: Correct comment about directory separator.
3435 2002-09-12 Danny Smith <dannysmith@users.sourceforge.net>
3437 * include/sys/time.h (timeval): Add struct definition and
3438 associated macros (copied from w32api/include/winsock.h).
3440 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3442 * include/_mingw.h: Increment version to 2.3.
3445 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3447 * mingwex/fegetenv.c: Change to \n line endings.
3448 * mingwex/vsnprintf.c: Ditto.
3449 * mingwex/vsnwprintf.c: Ditto.
3451 2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
3453 * mingwex/math/hypotl.c: Replace with version based on cephes
3456 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3458 * include/sys/param.h: Add ENDIAN defines.
3459 * test_headers.c: Include sys/param.h.
3461 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3463 * test_headers.c: Don't include varargs.h.
3464 * Makefile.in (test_headers): Don't use -std=xx
3467 2002-08-21 Earnie Boyd <earnie@users.sf.net>
3469 * include/sys/param.h: New File.
3471 2002-08-21 Danny Smith <dannysmith@users.sourceforge.net>
3473 * include/math.h (asm): Change to __asm__ throughout.
3474 Expose ISO C99 functions if __GLIPCPP__.
3475 (hypotf): Use hypot, not _hypot in stub.
3477 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3479 * include/tchar.h: Ansi-fy another comment.
3481 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3483 * include/tchar.h: Ansi-fy comment.
3485 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3487 * test_headers.c : New file.
3488 * Makefile.in (test_headers): New target, using it,
3489 (SRCDIST_FILES): Distribute it.
3491 2002-08-20 Earnie Boyd <earnie@users.sf.net>
3493 * include/_mingw.h: Increment version to 2.2.
3496 2002-08-14 Earnie Boyd <earnie@users.sf.net>
3498 * include/unistd.h: Add include of process.h.
3500 2002-08-03 Danny Smith <dannysmith@users.sourceforge.net>
3502 * include/stdio.h (_fcloseall): Add prototype.
3504 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3506 * include/tchar.h (_tfdopen): Correct typo.
3508 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3510 * moldname.def.in (chgsign,scalb,finite,fpclass,logb,
3511 nextafter): Add non-underscored stubs.
3512 * moldname-msvcrt.def: Regenerate.
3513 * moldname-crtdll.def: Regenerate.
3514 * mingwex/math: New directory.
3515 * mingwex/rint.c: Move to mingwex/math.
3516 * mingwex/rintf.c: Ditto.
3517 * mingwex/rintl.c: Ditto.
3518 * mingwex/round.c: Ditto.
3519 * mingwex/roundf.c: Ditto.
3520 * mingwex/roundl.c: Ditto.
3521 * mingwex/rint.c: Ditto.
3522 * mingwex/rintf.c: Ditto.
3523 * mingwex/rintl.c: Ditto.
3524 * mingwex/trunc.c: Ditto.
3525 * mingwex/truncf.c: Ditto.
3526 * mingwex/truncl.c: Ditto.
3527 * mingwex/signbit.c: Ditto.
3528 * mingwex/signbitf.c: Ditto.
3529 * mingwex/signbitl.c: Ditto.
3530 * mingwex/copysignl.S: Ditto.
3531 * mingwex/fdim.c: Ditto.
3532 * mingwex/fdimf.c: Ditto.
3533 * mingwex/fdiml.c: Ditto.
3534 * mingwex/fmin.c: Ditto.
3535 * mingwex/fminf.c: Ditto.
3536 * mingwex/fminl.c: Ditto.
3537 * mingwex/fmax.c: Ditto.
3538 * mingwex/fmaxf.c: Ditto.
3539 * mingwex/fmaxl.c: Ditto.
3540 * mingwex/fma.c: Ditto.
3541 * mingwex/fmaf.c: Ditto.
3542 * mingwex/fmal.c: Ditto.
3543 * mingwex/fpclassify.c: Ditto.
3544 * mingwex/fpclassifyl.c: Ditto.
3545 * mingwex/fpclassifyl.c: Ditto.
3546 * mingwex/isnan.c: Ditto.
3547 * mingwex/isnanf.c: Ditto.
3548 * mingwex/isnanl.c: Ditto.
3549 * mingwex/fucom.c: Ditto.
3550 * mingwex/fp_consts.c: Ditto. Split out float and long double
3552 * mingwex/math_stubs.c: Remove.
3553 * mingwex/log2.c: Remove. Replaced by math/log2.S
3554 * mingwex/log2f.c: Remove. Replaced by math/log2f.S
3555 * mingwex/log2l.c: Remove. Replaced by math/log2l.S
3556 * mingwex/math/acosf.c : New file.
3557 * mingwex/math/acosl.c: New file.
3558 * mingwex/math/asinf.c: New file.
3559 * mingwex/math/asinl.c: New file.
3560 * mingwex/math/atan2f.c: New file.
3561 * mingwex/math/atan2l.c: New file.
3562 * mingwex/math/atanf.c: New file.
3563 * mingwex/math/atanl.c: New file.
3564 * mingwex/math/cbrt.c: New file.
3565 * mingwex/math/cbrtf.c: New file.
3566 * mingwex/math/cbrtl.c: New file.
3567 * mingwex/math/ceilf.S: New file.
3568 * mingwex/math/ceill.S: New file.
3569 * mingwex/math/cephes_ld.h: New file.
3570 * mingwex/math/copysign.S: New file.
3571 * mingwex/math/copysignf.S: New file.
3572 * mingwex/math/cosf.S: New file.
3573 * mingwex/math/coshf.c: New file.
3574 * mingwex/math/coshl.c: New file.
3575 * mingwex/math/cosl.S: New file.
3576 * mingwex/math/exp2.S: New file.
3577 * mingwex/math/exp2f.S: New file.
3578 * mingwex/math/exp2l.S: New file.
3579 * mingwex/math/expf.c: New file.
3580 * mingwex/math/expl.c: New file.
3581 * mingwex/math/fabs.c: New file.
3582 * mingwex/math/fabsf.c: New file.
3583 * mingwex/math/fabsl.c: New file.
3584 * mingwex/math/floorf.S: New file.
3585 * mingwex/math/floorl.S: New file.
3586 * mingwex/math/fmodf.c: New file.
3587 * mingwex/math/fmodl.c: New file.
3588 * mingwex/math/fp_consts.h: Ditto.
3589 * mingwex/math/fp_constsf.c: Ditto.
3590 * mingwex/math/fp_constsl.c: Ditto.
3591 * mingwex/math/frexpf.c: New file.
3592 * mingwex/math/frexpl.S: New file.
3593 * mingwex/math/hypotf.c: New file.
3594 * mingwex/math/hypotl.c: New file.
3595 * mingwex/math/ilogb.S: New file.
3596 * mingwex/math/ilogbf.S: New file.
3597 * mingwex/math/ilogbl.S: New file.
3598 * mingwex/math/ldexpf.c: New file.
3599 * mingwex/math/ldexpl.c: New file.
3600 * mingwex/math/llrint.c: New file.
3601 * mingwex/math/llrintf.c: New file.
3602 * mingwex/math/llrintl.c: New file.
3603 * mingwex/math/llround.c: New file.
3604 * mingwex/math/llroundf.c: New file.
3605 * mingwex/math/llroundl.c: New file.
3606 * mingwex/math/log10f.S: New file.
3607 * mingwex/math/log10l.S: New file.
3608 * mingwex/math/log1p.S: New file.
3609 * mingwex/math/log1pf.S: New file.
3610 * mingwex/math/log1pl.S: New file.
3611 * mingwex/math/log2.S: New file.
3612 * mingwex/math/log2f.S: New file.
3613 * mingwex/math/log2l.S: New file.
3614 * mingwex/math/logb.c: New file.
3615 * mingwex/math/logbf.c: New file.
3616 * mingwex/math/logbl.c: New file.
3617 * mingwex/math/logf.S: New file.
3618 * mingwex/math/logl.S: New file.
3619 * mingwex/math/lrint.c: New file.
3620 * mingwex/math/lrintf.c: New file.
3621 * mingwex/math/lrintl.c: New file.
3622 * mingwex/math/lround.c: New file.
3623 * mingwex/math/lroundf.c: New file.
3624 * mingwex/math/lroundl.c: New file.
3625 * mingwex/math/modff.c: New file.
3626 * mingwex/math/modfl.c: New file.
3627 * mingwex/math/nearbyint.S: New file.
3628 * mingwex/math/nearbyintf.S: New file.
3629 * mingwex/math/nearbyintl.S: New file.
3630 * mingwex/math/nextafterf.c: New file.
3631 * mingwex/math/powf.c: New file.
3632 * mingwex/math/powl.c: New file.
3633 * mingwex/math/powil.c: New file.
3634 * mingwex/math/remainder.S: New file.
3635 * mingwex/math/remainderf.S: New file.
3636 * mingwex/math/remainderl.S: New file.
3637 * mingwex/math/remquo.S: New file.
3638 * mingwex/math/remquof.S: New file.
3639 * mingwex/math/remquol.S: New file.
3640 * mingwex/math/scalbn.S: New file.
3641 * mingwex/math/scalbnf.S: New file.
3642 * mingwex/math/scalbnl.S: New file.
3643 * mingwex/math/sinf.S: New file.
3644 * mingwex/math/sinhf.c: New file.
3645 * mingwex/math/sinhl.c: New file.
3646 * mingwex/math/sinl.S: New file.
3647 * mingwex/math/sqrt.c: New file.
3648 * mingwex/math/sqrtf.c: New file.
3649 * mingwex/math/sqrtl.c: New file.
3650 * mingwex/math/tanf.S: New file.
3651 * mingwex/math/tanhf.c: New file.
3652 * mingwex/math/tanhl.c: New file.
3653 * mingwex/math/tanl.S: New file.
3654 * mingwex/Makefile.in: Adjust VPATH for source files in
3657 Add MATH_DISTFILES and use it to build source distro.
3658 * include/ math.h: Add protypes for new functions and
3659 reorganise to reflect ANSI,C99 status.
3661 2002-06-19 Danny Smith <dannysmith@users.sourceforge.net>
3663 * include/tchar.h (_getts): Define as _getws for _UNICODE.
3664 (_putts): Define as _putws for _UNICODE.
3665 Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report.
3667 2002-06-18 Danny Smith <dannysmith@users.sourceforge.net>
3669 * include/float.h: #include_next<float.h> before header guard.
3671 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
3673 * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
3675 * include/excpt.h (): Include windef.h not windows.h.
3676 * include/fcntl.h (_O_SHORT_LIVED): Add define.
3677 (_chmod): Add prototype.
3678 (_creat): Correct prototype.
3679 (SH_DENY*): Rename defines to _SH_DENY*.
3680 (SH_DENY*): Add Non-ANSI names for _SH_DENY*.
3681 include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
3682 _IOAPPEND): Add defines.
3683 (_wfindfirst): Correct prototype.
3684 (_wfdopen): Add prototype.
3685 * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
3687 * include/string.h (_mbschr, _mbstok, _mbsncat): Remove
3689 (_wcsdup): Correct prototype.
3690 * include/mbstring.h: Remove comments about _mbschr, _mbstok,
3691 _mbsncat being in string.h.
3692 * include/wchar.h (_wfindfirst): Correct prototype.
3693 * include/tchar.h (_tfdopen): Add _UNICODE mappings.
3695 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3697 * include/_mingw.h: Increment to version 2.1.
3698 * Makefile.in: Ditto.
3700 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3702 * Makefile.in (conf_prefix): New variable.
3703 (dist_prefix): Ditto. Conditionally set to $(conf_prefix).
3704 (bindist): Use dist_prefix.
3706 2002-06-13 Danny Smith <dannysmith@users.sourceforge.net>
3708 * include/_mingw.h: Increment version to 2.0.
3709 * Makefile.in: Ditto.
3711 Merge in mingwex branch.
3713 2002-06-11 Danny Smith <dannysmith@users.sourceforge.net>
3714 * include/math.h (fdim, fdimf, fdiml): Add prototypes.
3715 * mingwex/fdim.c: New file.
3716 * mingwex/fdimf.c: New file.
3717 * mingwex/fdiml.c: New file.
3718 * mingwex/Makefile.in (DISTFILES): Add fdim.c, fdimf.c,
3720 (MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
3722 2002-05-23 Danny Smith <dannysmith@users.sourceforge.net>
3723 * mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c.
3725 2002-05-22 Danny Smith <dannysmith@users.sourceforge.net>
3726 * mingwex/isnanl.c: New file.
3728 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3729 * include/stdint.h: Include stddef.h to get
3731 (WINT_MAX): Define to ((wint_t)-1).
3733 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3734 * include/wctype.h: Replace 'inline' with '__inline__'.
3735 * include/inttypes.h: Likewise.
3737 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3738 * include/_mingw.h (__MINGW_IMPORT): Put extern at start
3739 to avoid warnings. Thanks to: Oscar Fuentes <ofv@wanadoo.es>.
3741 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3742 * mingwex/snprintf.c: Split out vsnprintf to....
3743 * mingwex/vsnprintf.c: New file.
3744 * mingwex/snwprintf.c: Split out vsnwprintf to...
3745 * mingwex/vsnwprintf.c: New file.
3746 * mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
3748 2002-05-15 Pascal Obry <obry@gnat.com>
3749 * include/dirent.h (DIR): Change dd_stat type to int.
3752 2002-05-07 Danny Smith <dannysmith@users.sourceforge.net>
3753 * include/stdio.h (vsnprintf): Change inline to __inline__;
3754 (vsnwprintf): Likewise.
3755 * include/wchar.h (vsnwprintf): Likewise.
3758 (mbsinit): Likewise.
3760 2002-04-29 Danny Smith <dannysmith@users.sourceforge.net>
3761 Change FP default precison from 53 to 64-bit mantissa.
3762 * Makefile.in (CRT0S): Add CRT_fp8.o.
3763 (MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o.
3764 * include/float.h: Replace standard float.h defines with
3765 #include_next<float.h> to use GCC's defines. Adjust comments
3768 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3769 * include/dos.h: Change prefix "__imp_" to "_imp__" for
3770 __GNUC__ without __DECLSPEC_SUPPORTED.
3771 * include/fnctl.h: Likewise.
3772 * include/math.h: Likewise.
3773 * include/stdio.h: Likewise.
3774 * include/stdlib.h: Likewise.
3775 * include/time.h: Likewise.
3776 * include/wctype.h: Likewise.
3777 * include/ctype.h: Likewise.
3779 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3780 Add atexit support for dlls.
3781 * crt1.c (atexit): Force thunk to _imp__atexit.
3782 (_onexit): Force thunk to _imp___onexit.
3783 * dllcrt1.c (DllMainCRTStartup): Initialise private atexit
3784 table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
3785 (__dll_exit): New function to run atexit-registered functions
3786 and flush output buffers on DLL_PROCESS_DETACH or failed
3788 (atexit): Force use of private atexit table via _dllonexit,
3789 (_onexit): New function. Force use of private atexit table via
3791 * msvcrt.def (atexit, _onexit): Add DATA keyword so that only
3792 _imp_<_symbol> is visible in import lib.
3793 * msvcrt20.def: Likewise.
3794 * msvcrt40.def: Likewise.
3795 * crtdll.def: Likewise.
3797 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3798 * include/fenv.h: Change header guard macro to _FENV_H_.
3799 (fenv_t, fexcept_t): Move into block protected by
3801 Cleanup some whitespace.
3802 * include/inttypes.h: Change header guard macro to
3805 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3806 * include/math.h (copysignl): Declare.
3807 * mingwex/Makefile.in (DISTFILES): Add copysignl.S.
3808 (MATHOBJS):Add copysignl.o.
3810 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3811 * include/math.h (__signbitl, __isnanl): Declare.
3813 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3814 * include/math.h (nanl, __fpcassifyl, fminl, fmaxl, rintl,
3815 roundl, truncl, fmal, log2l): Declare.
3816 Protect C99 declarations with _STDC_VERSION__ >= 199901L)
3817 || !defined __STRICT_ANSI__.
3818 * mingwex/fmax.c (fmax): Call __isnan, not _isnan.
3819 * mingwex/fmin.c (fmin): Likewise.
3820 * mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan.
3821 * mingwex/fminf.c (fminf): Likewise.
3822 * mingwex/fmaxl.c: New file.
3823 * mingwex/fminl.c: New file.
3824 * mingwex/fpclassify.c (__fpclassifyf): Split out to ...
3825 * mingwex/fpclassifyf.c: New file.
3826 * mingwex/fpclassifyl.c: New file.
3827 * mingwex/rint.c (rintf): Split out to...
3828 * mingwex/rintf.c: New file.
3829 * mingwex/rintl.c: New file.
3830 * mingwex/round.c (roundf): Split out to...
3831 * mingwex/roundf.c: New file.
3832 * mingwex/roundl.c: New file.
3833 * mingwex/trunc.c (truncf): Split out to...
3834 * mingwex/truncf.c: New file.
3835 * mingwex/truncl.c: New file.
3836 * mingwex/signbit.c (signbitf): Split out to...
3837 * mingwex/signbitf.c: New file.
3838 * mingwex/signbitl.c: New file.
3839 * mingwex/fmal.c: New file.
3840 * mingwex/copysignl.S: New file.
3841 * mingwex/log2l.c: New file.
3842 * mingwex/fp_consts.c: Add nanl definition.
3843 Comment out unused constants.
3844 * mingwex/Makefile.in (DISTFILES): Add fmaxl.c, fminl.c,
3845 fpclassifyf.c, fpclassifyl.c, rintf.c, rintl.c, roundf.c,
3846 roundl.c, truncf.c truncl.c, signbitf.c signbitl.c,
3848 (MATHOBJS): Add fmaxl.o, fminl.o, fpclassifyf.o,
3849 fpclassifyl.o, rintf.o, rintl.o, roundf.o, roundl.o,
3850 truncf.o truncl.o, signbitf.o signbitl.o, fmal.o,
3852 * mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo.
3854 2002-04-23 Danny Smith <dannysmith@users.sourceforge.net>
3855 Make wide char versions of opendir and friends.
3856 * include/dirent.h (_wdirent, _WDIR): Define wide versions of
3858 (_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
3859 _wseekdir): Add prototypes for wide versions of corresponding
3861 * include/tchar.h; Add _UNICODE mappings for dirent.h
3862 structures and functions.
3863 * mingwex/dirent.c: Make _UNICODE neutral.
3864 * mingwex/wdirent.c: New file to define _UNICODE before
3866 * mingwex/Makefile.in (DISTFILES): Add wdirent.c.
3867 (POSIX_OBJS): Add wdirent.o.
3868 (wdirent.o): Specify dependency on dirent.c as well as
3870 * samples/dirent/wtest.c: New file, wide version of test.c.
3872 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3873 * Makefile.in (INCLUDES): Add "-iwithprefixbefore include" to
3874 ensure gcc include dir is searched despite -nostdinc.
3875 * profile/Makefile.in (INCLUDES): Likewise.
3876 * mingwex/Makefile.in (INCLUDES): Likewise.
3877 * include/stdarg.h: Replace with stub that just guards the
3878 real gcc system header with #ifndef RC_INVOKED
3879 * include/varargs.h: Likewise.
3880 * include/stddef.h: Likewise.
3881 * include/stdio.h: Include stdarg.h after defining
3883 (__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
3884 Replace va_list with __VALIST throughout.
3886 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3887 * crt1.c: Revert changes of 2002-04-16. Use _fpreset again.
3888 * msvcrt.def (_fpreset): Mark as DATA so that only
3889 _imp___fpreset is exported.
3890 * msvcrt20.def (_fpreset): Likewise.
3891 * msvcrt40.def (_fpreset): Likewise.
3892 * crtdll.def (_fpreset): Likewise.
3893 * CRT_fp10.c (_fpreset): Overide library _fpreset with one
3895 (fpreset): Add alias.
3896 (__CRT_PC): Delete definition. _fpreset does it now.
3897 * CRT_fp8.c (_fpreset): Force use of library _imp___fpreset.
3898 (fpreset): Add alias.
3899 (__CRT_PC): Delete definition.
3900 * moldname.def.in: Comment out fpreset.
3901 * moldname-msvcrt.def: Regenerate.
3902 * moldname-crtdll.def: Regenerate.
3903 * include/fenv.h (FE_DFL_ENV): Define as (fenv_t*)0.
3904 * mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment
3905 with the _fpreset determined by startup CRT_fp object.
3907 2002-04-16 Danny Smith <dannysmith@users.sourceforge.net>
3908 * CRT_fp8.c: New file.
3909 * CRT_fp10.c: New file.
3910 * crt1.c (__CRT_PC) Declare.
3911 (__CRT_fesetenv): New static function, using _CRT_PC.
3912 (__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset.
3913 (_gnu_exception_handler): Likewise.
3914 * Makefile.in (CRT0S): Add CRT_fp10.o.
3915 (MINGW_OBJS): Add CRT_fp8.o.
3916 (SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c.
3917 Add CRT_fp8.o, CRT_fp10.o dependancies.
3918 * include/float.h (_fpreset): Expand comment.
3919 * include/fenv.h (FE_PC64_ENV): New define for Intel x87
3920 (extended precison) environmemt.
3921 (FE_PC53_ENV): New define for MSVCRT default environmemt.
3922 (FE_DFL_ENV): Define as FE_PC53_ENV.
3923 * mingwex/fesetenv.c: Use FE_PC53_ENV, FE_PC64_ENV to determine
3924 precision control for default environment.
3926 * include/math.h: Fix long comment line.
3927 * profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
3929 * profile/configure: Regenerate.
3931 2002-04-12 Danny Smith <dannysmith@users.sourceforge.net>
3932 * mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c.
3934 2002-04-10 Danny Smith <dannysmith@users.sourceforge.net>
3935 * mingwex/mingw-fseek.c: New file, based on Mumit Khan
3936 mingw-local patch to binutils.
3937 Sun Nov 7 04:27:07 1999 Mumit Khan <khan@xraylith.wisc.edu>
3938 (__mingw_fseek): New function to work around Win9x f/lseek bug.
3939 (__mingw_fwrite): Likewise.
3940 (__mingw_is_win9x): New helper function.
3941 * include/stdio.h (__USE_MINGW_FSEEK): New define,guarding...
3942 (__mingw_fseek): New prototype and define to replace fseek.
3943 (__mingw_fwrite): New prototype and define to replace fwrite.
3944 * mingwex/Makefile.in: Add mingw-fseek.o to libmingwex.a.
3945 * moldname-crtdll.def: Remove CR from end of line.
3946 * moldname-msvcrt.def: Ditto.
3948 2002-04-09 Danny Smith <dannysmith@users.sourceforge.net>
3949 * profile/configure.in (CRT0S): Configure name of gcrt?.o
3950 based on target, building gcrt0.o for cygwin -mno-cygwin.
3951 * profile/configure: Regenerate.
3952 * profile/Makefile.in (CRT0S): Use name from configure.
3953 (gcrt0.o): New rule.
3954 (ALL_CRT0S): New define, used to cleanup all gcrt?.o's.
3956 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3957 * include/math.h (_controlfp, _control87, _clearfp, _statusfp, _fpreset,
3958 _fpecode): Remove prototypes copied from float.h.
3959 (nan, nanf): Move into block protected against RC_INVOKED
3961 * include/stdlib.h (_Exit): Change from static inline to
3963 * mingwex/_Exit.c : New file.
3964 * mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
3966 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3967 Add libgmon.a and libmingwex.a for cygwin -mno-cygwin.
3968 * configure.in (SUBDIRS): Add profile and mingwex to cygwin target.
3969 (configdirs): Likewise.
3970 (LIBGMON_A): Define for cygwin target as well.
3971 * configure: Regenerate.
3972 * profile/configure.in (THREAD_DLL): Remove define.
3973 (LIBM_A): Remove define.
3974 (LIBGMON_A): Define for cygwin target as well.
3975 * profile/configure: Regenerate.
3976 * profile/makefile.in (install): Install to inst_libdir and
3978 * mingwex/makefile.in (CFLAGS): Move -fomit-frame-pointer to...
3979 (OPTFLAGS): New define.
3980 (ALL_CFLAGS): Add $(OPTFLAGS).
3981 (ALL_CXXFLAGS): Same.
3982 (.c.o:): Remove ALL_CXXFLAGS.
3984 2002-03-29 Danny Smith <dannysmith@users.sourceforge.net>
3985 * include/stdint.h: Add missing newline at eof.
3986 * include/stdio.h (snprintf): Add prototype.
3987 (vsnprintf): Add prototype and inline definition.
3988 (snwprintf): Add prototype.
3989 (vsnwprintf): Add prototype and inline definition.
3990 * include/wchar.h (snwprintf): Add prototype.
3991 (vsnwprintf): Add prototype and inline definition.
3992 * mingwex/Makefile.in: Add snprintf.o, snwprintf.o
3994 * mingwex/snprintf.c: New file.
3995 * mingwex/snwprintf.c: New file.
3997 2002-03-22 Danny Smith <dannysmith@users.sourceforge.net>
3998 * configure.in: Add mingwex as SUBDIRS and configdirs.
3999 * configure: Regenerate.
4000 * Makefile.in (MINGW_OBJS): Remove dirent.o.
4001 (SRC_DIST_FILES): Remove dirent.c.
4003 * include/stdlib.h (_Exit): Add static inline
4005 (struct lldiv_t): Define.
4006 (lldiv): Add prototype.
4007 (llabs): Add extern inline function.
4008 (strtoll,strtoull): Add prototypes.
4009 (wcstol, wcstoul, wcstod): Group together.
4010 (strtof, wcstof): Add extern inline definitions.
4011 (atoll,lltoa,ulltoa, wtoll, lltow ulltow): Add prototypes
4012 and extern inline definitions.
4013 * include/wchar.h (fwide, wcstoll,wcstoull, wmemchr
4014 wmemcmp, wmemcpy, wmemmove, wmemset. mbsinit): Add
4016 (wcstol, wcstoul,wcstod): Copy prototypes from stdlib.h.
4017 (wcstof): Add extern inline definition.
4018 * include/math.h (nan, nanf): Add prototypes.
4019 (NAN, INFINITE): Define constants.
4020 (fpclassify, isnan ,signbit): Add macros and supporting float
4021 and double functions.
4022 (isfinite, isinf, isnormal): Add macros.
4023 (isgreater, isless, isgreaterequal, islessequal,islessgreater):
4025 (rint, rintf, round, roundf, trunc. truncf, fmax, fmaxf,
4026 fmin, fminf, fma, fmaf, log2, log2f): Add prototypes.
4027 (copysign, logb, nextafter, scalb): Add prototypes and
4028 inline stubs for underscored versions in msvcrt.dll.
4029 * include/inttypes.h: New file.
4030 * include/fenv.h: New file
4032 Add new mingwex subdir and files.
4033 * mingwex: New directory.
4034 * mingwex/Makefile.in: New file.
4035 * mingwex/configure.in: New file.
4036 * mingwex/configure: Generate.
4037 * mingwex/dirent.c: Moved here from parent dir.
4038 * mingwex/atoll.c: New file.
4039 * mingwex/feclearexcept.c: New file.
4040 * mingwex/fegetenv.c: New file.
4041 * mingwex/fegetexceptflag.c: New file.
4042 * mingwex/fegetround.c: New file.
4043 * mingwex/feholdexcept.c: New file.
4044 * mingwex/feraiseexcept.c: New file.
4045 * mingwex/fesetenv.c: New file.
4046 * mingwex/fesetexceptflag.c: New file.
4047 * mingwex/fesetround.o: New file.
4048 * mingwex/fetestexcept.c: New file.
4049 * mingwex/feupdateenv.c: New file.
4050 * mingwex/fma.S: New file.
4051 * mingwex/fmaf.S: New file.
4052 * mingwex/fmax.c: New file.
4053 * mingwex/fmaxf.c: New file.
4054 * mingwex/fmin.c: New file.
4055 * mingwex/fminf.c: New file.
4056 * mingwex/fp_consts.c: New file.
4057 * mingwex/fpclassify.c: New file.
4058 * mingwex/fucom.c: New file.
4059 * mingwex/fwide.c: New file.
4060 * mingwex/imaxabs.c: New file.
4061 * mingwex/imaxdiv.c: New file.
4062 * mingwex/isnan.c: New file.
4063 * mingwex/isnanf.c: New file.
4064 * mingwex/lltoa.c: New file.
4065 * mingwex/lltow.c: New file.
4066 * mingwex/log2.c: New file.
4067 * mingwex/log2f.c: New file.
4068 * mingwex/math_stubs.c: New file.
4069 * mingwex/mbsinit.c: New file.
4070 * mingwex/rint.c: New file.
4071 * mingwex/round.c: New file.
4072 * mingwex/signbit.c: New file.
4073 * mingwex/sitest.c: New file.
4074 * mingwex/strtof.c: New file.
4075 * mingwex/strtoimax.c: New file.
4076 * mingwex/strtoumax.c: New file.
4077 * mingwex/testwmem.c: New file.
4078 * mingwex/trunc.c: New file.
4079 * mingwex/ulltoa.c: New file.
4080 * mingwex/ulltow.c: New file.
4081 * mingwex/wcstof.c: New file.
4082 * mingwex/wcstoimax.c: New file.
4083 * mingwex/wcstoumax.c: New file.
4084 * mingwex/wmemchr.c: New file.
4085 * mingwex/wmemcmp.c: New file.
4086 * mingwex/wmemcpy.c: New file.
4087 * mingwex/wmemmove.c: New file.
4088 * mingwex/wmemset.c: New file.
4089 * mingwex/wtoll.c: New file.
4091 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4093 * include/mbstring.h: New file.
4094 * include/mbctype.h: New file.
4096 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4098 * include/tchar.h (__TEXT): Make same as define in
4099 w32api/include/winnt.h.
4101 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4103 * include/tchar.h (_tputenv): Add UNICODE mappings.
4104 (_tsearchenv): Likewise.
4105 (_tmakepath): Likewise.
4106 (_tsplitpath): Likewise.
4107 (_tfullpath): Likewise.
4109 2002-04-18 Pascal Obry <obry@gnat.com>
4111 * dirent.c (opendir): Convert given pathname to
4114 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4116 * include/_mingw.h: Increment version.
4117 * Makefile.in: Ditto.
4119 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4121 * moldname-crtdll.def: Remove CR from end of line.
4122 * moldname-msvcrt.def: Ditto.
4123 * Makefile.in: Use bzip2 compression for Cygwin target.
4125 2002-04-04 Danny Smith <dannysmith@sourceforge.users.net>
4127 * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
4128 TLOSS, PLOSS): Move oldname defines back, following
4129 the underscored names.
4131 2002-03-29 Danny Smith <dannysmith@sourceforge.users.net>
4133 * include/stdio.h (_snwprintf): Correct spelling.
4134 (_vsnwprintf): Likewise.
4135 * include/wchar.h (_snwprintf): Correct spelling.
4136 (_vsnwprintf): Likewise.
4138 2002-03-26 Danny Smith <dannysmith@users.sourceforge.net>
4140 * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__).
4141 (wpopen): Add if !(__CRTDLL__).
4142 * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
4144 (moldname-crtdll.def rule): Likewise.
4145 * moldname-msvcrt.def: Regenerate.
4146 * moldname-crtdll.def: Regenerate.
4147 * include/stdio.h (wpopen):Use prototype, not a define.
4148 (_swnprintf): Add prototype.
4149 (_vswnprintf): Likewise.
4151 * include/wchar.h (_swnprintf): Add prototype.
4152 (_vswnprintf): Likewise.
4155 2002-01-28 Danny Smith <dannysmith@users.sourceforge.net>
4157 * include/malloc.h (_heapinfo): Correct structure definition.
4158 (_USEDENTRY,_FREEENTRY): Add defines.
4159 Add comment on platform support for _heap* functions.
4160 (_get_sbh_threshold): Add prototype.
4161 (_set_sbh_threshold): Likewise.
4162 (_expand): Likewise.
4164 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4166 * profile/profil.c: Update copyright info.
4167 * profile/profil.h: Likewise.
4168 * profile/gcrt0.c: Likewise.
4170 2002-01-25 Pascal Obry <obry@gnat.com>
4172 * profile/profil.h (PROFADDR): Cast idx to unsigned long long to
4174 * profile/gmon.c: Define bzero as memset if mingw32.
4175 (monstartup): Use it.
4177 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4179 * include/tchar.h (_TCHAR): Add missing ;.
4181 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4183 * include/tchar.h (_TCHAR): Add typedefs.
4185 2002-01-16 Danny Smith <dannysmith@users.sourceforge.net>
4187 * include/stdlib.h (_onexit_t): Add typedef.
4188 (_onexit): Add prototype.
4190 2002-01-12 Danny Smith <dannysmith@users.sourceforge.net>
4192 * msvcrt.def: Revert accidental change.
4193 * include/stdlib.h: Ditto.
4195 2001-12-07 Earnie Boyd <earnie@users.sf.net>
4197 * Makefile.in: Increment VERSION.
4198 * include/_mingw.h: Ditto.
4200 2001-12-05 Earnie Boyd <earnie@users.sf.net>
4202 * include/strings.h: New File.
4204 2001-12-02 Danny Smith <dannysmith@users.sourceforge.net>
4207 2001-06-21 Mumit Khan <khan@nanotech.wisc.edu>
4209 * include/math.h (_FPCLASS* ): Add defines from float.h.
4210 (IEEE recommended functions): Add declarations from float.h.
4211 * include/float.h (_FPCLASS* ): Protect against redefinition.
4213 2001-11-29 Wu Yongwei <adah@netstd.com>
4215 * include/_mingw.h,assert.h,conio.h,ctype.h,dir.h,direct.h
4216 dirent.h,dos.h,errno.h,excpt.h,fcntl.h,float.h,io.h,
4217 limits.h,locale.h,malloc.h,math.h,process.h,setjmp.h,
4218 share.h,signal.h,stdarg.h,stddef.h,stdint.h,stdio.h,
4219 stdlib.h,string.h,tchar.h,time.h,varargs.h,wchar.h,
4220 wctype.h,sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h:
4221 Correct spelling of "disclaimed" in comments.
4222 * include/excpt.h: Another spelling correction.
4224 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
4226 * include/errno.h: Fix "errno is not a prototype" warning.
4228 2001-11-07 Danny Smith <dannysmith@users.sourceforge.net>
4230 * include/ctype.h (tolower, toupper,_tolower,_toupper): Comment
4231 differences between ANSI and non-ANSI versions.
4232 (_ctype[],_pctype): Declare vars.
4233 (__ISCTYPE): New helper macro using _pctype.
4234 (is* ctype functions): Use __ISCTYPE to define inline versions.
4235 (_toupper, _tolower, __isascii, __toascii, __iscsym, __iscsymf):
4237 (isw* ctype functions): Inline definitions.
4238 * include/wctype.h (_ctype[],_pctype): Declare vars.
4239 (isw* ctype functions): Inline definitions.
4242 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4244 * include/float.h (_clearfp, _statusfp, _fpreset, fpreset,
4245 __fpecode): Use __STDC__ prototypes.
4248 2001-11-06 Thomas Pfaff <tpfaff@gmx.net>
4250 * mthr_stub.c (__mingwthr_remove_key_dtor) New.
4251 * mthr_init.c (DllMain) Run dtors if a process terminates.
4252 * mthr.c (__mingwthr_add_key_dtor) Removed.
4253 (___mingwthr_add_key_dtor) New.
4254 (___mingwthr_remove_key_dtor) New.
4255 (__mingwthr_run_key_dtors) Complete rewrite.
4256 (__mingwthr_remove_key_dtor) New.
4258 2001-11-05 Egor Duda <deo@logos-m.ru>
4260 * Makefile.in: Delete unused executable after creating base-files.
4262 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4264 * include/errno.h (_errno): Use __STDC__ prototype.
4265 Thanks to: Jim Barton.
4267 2001-11-04 "stefan" <stefan@lkcc.org>
4269 * include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names.
4271 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4273 * include/io.h (_commit): Add declaration.
4274 Thanks to: "stefan" <stefan@lkcc.org>
4276 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4278 * include/sys/stat.h: Make S_IS* macros safer.
4280 2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
4282 * include/stdlib.h (EXIT_FAILURE): Change value to 1.
4284 2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
4286 * include/stdlib.h (__p__environ, __p__wenviron): Use
4287 __STDC__ prototypes.
4289 2001-09-19 Earnie Boyd <earnie@SF.net>
4291 * Makefile.in: Remove the /usr from the install target.
4292 (VERSION): Increment.
4293 include/_mingw.h: Ditto.
4295 2001-09-17 Earnie Boyd <earnie@SF.net>
4297 * Makefile.in: Increment version.
4298 * include/_mingw.h: Ditto.
4300 2001-09-10 Earnie Boyd <earnie@SF.net>
4302 * dossh: Remove inadvertantly imported file.
4304 2001-09-10 Danny Smith <dannysmith@users.sourceforge.net>
4306 * dirent.c (opendir): Use GetFileAttributes rather than stat
4307 to determine if input arg is dir.
4309 2001-08-29 Danny Smith <dannysmith@users.sourceforge.net>
4311 * include/stdarg.h (va_list): Typedef as __builtin_va_list if
4313 * include/varargs.h (va_list): Ditto.
4314 * include/stdio.h (va_list): Ditto.
4316 2001-08-01 Danny Smith <dannysmith@users.sourceforge.net>
4318 * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
4319 * include/stdio.h (_IORW): Change constant to 0x0080.
4320 (TMP_MAX): Add new define.
4322 (_wP_tmpdir): Ditto.
4323 (L_tmpnam): Change constant to 16.
4325 2001-06-28 Danny Smith <dannysmith@users.sourceforge.net>
4327 * include/malloc.h: Fix non-ANSI comment after #endif.
4329 2001-06-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4331 * profile/configure.in: Make msvcrt.dll version default.
4332 * profile/makefile.in: Build both gcrt1.o and gcrt2.o.
4333 * provile/configure: Regenerate.
4335 2001-06-11 Mattia Barbon <mbarbon@dsi.unive.it>
4337 * include/stdio.h (swscanf): Make first arugument const.
4338 * include/wchar.h (swscanf): Ditto.
4339 * include/tchar.h (_tfopen): New _UNICODE define.
4341 (_tsetlocale): Ditto.
4343 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4345 * profile/Makefile.in (mkinstalldirs): Correct relative path.
4347 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4349 * include/_mingw.h: Change version to 1.0.
4352 2000-02-21 Earnie Boyd <earnie@users.sourceforge.net>
4354 * include/tchar.h: (__TEXT): Remove undef.
4358 Fri Feb 2 10:34:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
4360 * include/tchar.h: (__TEXT): Add private macro.
4361 (_TEXT): Modify definition to use __TEXT.
4363 This change allows the passing of a MACRO as an argument and have that
4364 MACRO resolved first.
4365 Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
4367 Wed Jan 31 17:12:51 2001 Earnie Boyd <earnie@users.sourceforge.net>
4369 * Makefile.in: Increment version to 0.5
4370 * include/_mingw.h: Increment minor version
4372 Tue Jan 30 13:01:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
4374 * include/assert.h: (assert): Remove ; from end of definition
4375 Thanks to: AJ Reins <tbisp@qwest.net>
4377 Tue Jan 30 07:31:22 2001 Earnie Boyd <earnie@users.sourceforge.net>
4379 * include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
4380 Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
4382 Mon Jan 29 14:03:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
4384 * time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
4386 Sun Jan 28 13:01:08 2001 Earnie Boyd <earnie@users.sourceforge.net>
4388 * include/wchar.h: The 2001.01.18 Change was incorrect. The functions
4389 are actually C functions. These functions are resolved via the
4390 -lmsvcp60 library and comments were placed in the header.
4392 2001-01-28 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4394 * include/stdlib.h (__p__pgmptr): add prototype.
4395 (__p__wpgmptr): likewise.
4396 (_pgmptr_dll): move declaration from dos.h.
4397 (_wpgmptr_dll): likewise.
4398 (_pgmptr): conditional define (MSVCT/CRTDLL).
4399 (_wpgmptr): likewise.
4400 * include/dos.h (_base*_dll variables): declare only for CRTDLL.
4401 (_os*_dll variables): likewise.
4402 (_pgmptr_dll): remove declaration and associated defines to stdlib.h.
4403 (_wpgmptr_dll): likewise.
4405 2001-01-22 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4407 * include/stdint.h: New file.
4409 Thu Jan 18 10:33:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
4411 * include/wchar.h: Protect prototypes only declared in the C++ STL
4412 from being declared unless __cplusplus is defined.
4414 Tue Jan 16 11:37:31 2001 Earnie Boyd <earnie@users.sourceforge.net>
4416 * include/stdlib.h: Apply Danny Smith patch 102730
4417 2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4418 (_wgetenv) Correction to return type.
4420 Tue Jan 16 09:41:41 2001 Earnie Boyd <earnie@users.sourceforge.net>
4422 * include/locale.h: Apply Danny Smith patch 101834
4423 2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4424 (LC_MIN) Add definition.
4426 (_wsetlocale) Add prototype.
4428 2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
4430 * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
4431 Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
4432 Create a libcoldname.a for the oldname library for CRTDLL.
4433 Restrict libmoldname.a for the oldname library for MSVCRT.
4434 * configure.in: eliminate setting RUNTIME and CRT_ID variables.
4435 Restructure the $target_os case logic.
4436 Always name the MinGW thread dll helper mingwm.
4437 Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
4438 * configure: regenerate.
4440 2000-11-22 Earnie Boyd <earnie_boyd@yahoo.com>
4442 * Makefile.in: Fix bindist target to distribute the correct files.
4443 Remove the use of SNAPSHOT variable and test SNAPDATE instead.
4444 Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
4446 2000-11-21 Earnie Boyd <earnie_boyd@yahoo.com>
4448 * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
4449 Add variables and targets to control binary and source distributions.
4450 Add variables and targets to control snapshot distribution.
4451 * profile/gmon.h: Add missing #endif for #ifndef.
4452 * profile/ChangeLog: Merge entries here and remove.
4453 * profile/Makefile.in: Add variables and targets to control
4457 * config.guess: ditto.
4458 * config.sub: ditto.
4459 * mkinstalldirs: ditto.
4460 * install-sh: ditto.
4461 * configure: regenerate.
4462 * profile/configure: ditto.
4464 2000-11-20 Earnie Boyd <earnie_boyd@yahoo.com>
4466 * Merge in changes from
4467 2000-10-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4468 * include/direct.h: add guard around MSVCRT-only prototytpes
4469 * include/io.h: add __int64 struct definitions and function prototypes;
4470 add guard for MSVCRT-only prototypes
4471 * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
4472 * include/stdio.h: add wchar function prototypes (__MSVCRT__);
4473 put wchar functions together to make sync with wchar.h easier
4474 * include/stdlib.h: add wide char functions (__MSVCRT__)
4475 * include/string.h: add string collation functions ( __MSVCRT__)
4476 * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
4477 * include/tchar.h: add macros and macro function definitions
4478 * include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
4479 enclose more functions in __MSVCRT__ guard;
4480 some oldname wide char function prototypes #if (0)'d
4481 * profile/gmon.h: add guard around BSD-ish typedefs
4483 Mon Nov 20 18:58:12 2000 Christopher Faylor <cgf@cygnus.com>
4485 * Makefile.in: Use a different variable name for subdirectory since the
4486 previous one was used by the top level make.
4488 Sun Nov 19 20:50:51 2000 Christopher Faylor <cgf@cygnus.com>
4490 * Makefile.in: Install mingw stuff in a subdirectory if building under
4493 Sat Jun 17 21:48:23 2000 Christopher Faylor <cgf@cygnus.com>
4495 * Makefile.in (subdirs): Eliminate for loop.
4497 Sat Jun 17 18:27:59 2000 Christopher Faylor <cgf@cygnus.com>
4499 * Makefile.in (subdirs): Previous change did not fix problem in
4502 Sat Jun 17 13:49:12 2000 Christopher Faylor <cgf@cygnus.com>
4504 * Makefile.in: Avoid installing dll if we're cross building and the
4505 cross-host system isn't a Windows system.
4506 * configure.in: Detect cross-hosting situation and set appropriate
4507 variables in Makefile.in.
4508 * configure: Regenerate.
4510 Wed Apr 19 13:10:54 2000 Christopher Faylor <cgf@cygnus.com>
4512 * configure.in: Change HEADER_SUBDIR to mingw32.
4513 * configure: Regenerate.
4515 Mon Apr 10 17:24:28 2000 Christopher Faylor <cgf@cygnus.com>
4517 * include/string.h: Use proper prototype for _strerror.
4519 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
4521 * Makefile.in (subdirs): Workaround for broken shells.
4523 2000-02-03 Mumit Khan <khan@xraylith.wisc.edu>
4525 * Snapshot 2000-02-03.
4527 * include/{assert.h, conio.h, ctype.h, direct.h, dirent.h, fcntl.h,
4528 float.h, io.h, locale.h, malloc.h, math.h, process.h, signal.h,
4529 stdio.h, stdlib.h, string.h, time.h, wctype.h, sys/stat.h,
4530 sys/timeb.h, sys/utime.h}: Remove parameter names to avoid namespace
4533 * Makefile.in (all): Build CRT0S first.
4534 (libmingwthrd.a): Remove thread support DLL from dependency.
4536 2000-01-21 Mumit Khan <khan@xraylith.wisc.edu>
4538 * Snapshot 2000-01-21.
4540 2000-01-20 Mumit Khan <khan@xraylith.wisc.edu>
4542 Merge in changes from Cygwin:
4543 * configure.in (HEADER_SUBDIRS): New variable. Substitute.
4544 (SUBDIRS): Likewise.
4545 * Makefile.in (HEADER_SUBDIRS): New variable.
4546 (install): Use to install Mingw headers to a subdirectory if building
4548 (DLL_CC_STUFF): Add DLL entry point.
4549 * configure: Regenerate.
4551 2000-01-19 Mumit Khan <khan@xraylith.wisc.edu>
4553 * include/stdio.h (fsetpos): Fix prototype.
4554 (fpos_t): Fix for MSVCRT.
4555 * include/float.h (fpreset): Add prototype.
4556 * include/limits.h: Define UINT_MAX, USHRT_MAX and ULONG_MAX with
4558 * include/time.h: Don't define tzname as a macro for CRTDLL, and
4559 export using libmoldname.a.
4560 * crtdll.def: Add DATA tags.
4561 * msvcrt.def: Likewise.
4562 * moldname.def.in: Likewise. Add fpreset. Export tzname for
4563 both MSVCRT and CRTDLL.
4564 * moldname-crtdll.def: Regenerate.
4565 * moldname-msvcrt.def: Regenerate.
4567 Tue Dec 21 02:22:14 1999 Mumit Khan <khan@xraylith.wisc.edu>
4569 * Snapshot 1999-12-21.
4571 * include/wctype.h: New file.
4572 * include/ctype.h (MB_CUR_MAX): Define.
4574 * include/stdlib.h (MB_CUR_MAX): Define.
4575 * include/wchar.h: Define stat, _stat structures here as well.
4576 * include/float.h: Add invalid subconditions (_SW) and floating
4577 point error (_FPE) macros.
4578 * include/time.h (_CLOCK_T): Rename macro to _CLOCK_T_DEFINED.
4579 (_TIME_T): Rename macro to _TIME_T_DEFINED.
4580 * include/sys/types.h: Likewise.
4582 Thu Nov 18 00:22:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4584 * profile/profil.c (profile_on): Set the profiler thread priority to
4585 be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
4586 * Snapshot 1999-11-18.
4588 Sun Nov 7 02:50:09 1999 Mumit Khan <khan@xraylith.wisc.edu>
4590 Released 1999-11-07.
4592 * Makefile.in (CRT0S): Add crtst.o.
4593 (install): Install in subdirs as well.
4594 * dirent.h (struct _stat): Rename from struct stat.
4595 * include/tchar.h: Add some new macros. Thanks to
4596 Eric Kohl <ekohl@abo.rhein-zeitung.de>.
4597 * profile/Makefile.in (install): Fix target.
4599 Thu Nov 4 14:32:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
4601 * Makefile.in: Add support for profile directory.
4602 * configure.in: Likewise.
4603 * configure: Regenerate.
4605 * profile: Imported profiling sources from winsup-19991026 snapshot.
4606 * profile/Makefile.in: New file.
4607 * profile/configure.in: New file.
4608 * profile/configure: Generate.
4609 * profile/gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
4610 * profile/gmon.h (u_char, u_short, u_int, u_long): Likewise.
4611 * profile/gmon.c (unistd.h): Include conditionally.
4612 (sys/param.h): Likewise.
4613 * profile/mcount.c (sys/param.h): Likewise.
4614 * profile/profil.c (profile_on): thread id is DWORD, not int.
4617 Wed Nov 3 16:26:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
4619 * include/stdlib.h: Add wide character version of argv/environ.
4621 * include/wchar.h: More wide character prototypes.
4622 * include/sys/stat.h: Likewise. Add struct stat as well as _stat.
4624 * dllcrt1.c (init.c): Don't include.
4625 (DllMainCRTStartup): Don't call _mingw32_init_mainargs().
4626 * Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists.
4628 Sat Oct 30 03:06:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4630 * moldname.def: Remove file.
4631 * moldname.def.in: And add this.
4632 * moldname-msvcrt.def: Generate from moldname.def.in.
4633 * moldname-crtdll.def: Likewise.
4635 * mthr.c: New file for -mthread (thread-safe C++ EH) support.
4636 * mthr_init.c: New file for -mthread (thread-safe C++ EH) support.
4637 * mthr_stub.c: New file for -mthread (thread-safe C++ EH) support.
4639 * Makefile.in: Update.
4640 * configure.in: Likewise. Also add *cygwin* target for building
4641 under Cygwin winsup.
4642 * configure: Regenerate.
4644 Fri Oct 1 11:10:30 1999 Mumit Khan <khan@xraylith.wisc.edu>
4646 * include/_mingw.h: Add version macros.
4647 * include/direct.h (_diskfree_t, getdiskfree, getdrives): Add.
4648 Also add wide character versions shared with wchar.h.
4649 * include/dos.h (_diskfree_t, getdiskfree, getdrives): Add.
4650 * include/io.h (sopen, _sopen): Fix prototype.
4651 Add wide character prototypes.
4652 * include/wchar.h: Likewise.
4653 * include/stdlib.h (beep, seterrormode, sleep): Remove non-
4654 underscored versions. Potential incompatibility.
4655 * include/time.h (daylight, timezone, tzname): Fix MSVCRT cases.
4656 Add wide character prototypes.
4657 * include/sys/timeb.h (struct _timeb): Don't use macro, but real
4660 Wed Aug 18 18:38:39 1999 Mumit Khan <khan@xraylith.wisc.edu>
4662 * configure.in (RUNTIME, CRT_ID): Add to differentiate between
4663 crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
4665 * configure: Rengerate.
4666 * Makefile.in (RUNTIME, CRT_ID): Use to generate the correct
4667 dll name and crt's. CRTDLL and MSVCRT are meant to created
4668 separately, so remove all the *-msvcrt* targets.
4669 (libmingwthr.a): New target. Dummy thread support archive.
4670 (LIBS): Add libmingwthr.a.
4671 (CRT0S): Use CRT_ID. Add crtmt.o.
4672 (MINGW_OBJS): Add crtst.o.
4673 * main.c (WinMain): Fix prototype.
4674 * crtmt.c: New file.
4675 * crtst.c: New file.
4677 * include/process.h (_beginthreadex): Fix prototype.
4678 * include/_mingw.h (__int64): Define for __GNUC__.
4679 * include/tchar.h (_ttol): Add macro.
4680 * include/stdlib.h (_wtoi, _wtol, _i64toa, _ui64toa, _atoi64,
4681 _i64tow, _ui64tow, _wtoi64): Add prototypes.
4683 Reported by Emanuele Aliberti <ea@iol.it>:
4684 * include/tchar.h (_ttoi): Add macro.
4686 Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
4687 * include/stdio.h (_snprintf): Add prototype.
4688 (_vsnprintf): Likewise.
4690 Sat Aug 7 18:00:00 1999 Mumit Khan <khan@xraylith.wisc.edu>
4692 Reported by Tor Lillqvist <tml@iki.fi>:
4693 * include/stdlib.h (__p___argv): Fix return type.
4695 Fri Jul 30 22:07:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
4698 * include/errno.h (errno): It's linked in from startup, not imported.
4699 * include/stdlib.h (errno): Likewise.
4700 * include/io.h: Guard against conflicting macros and prototypes in
4702 * include/stdlib.h: Likewise.
4703 * include/string.h: Likewise.
4704 * include/time.h: Likewise.
4706 Fri Jul 30 13:47:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
4708 * include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans.
4709 * include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT.
4710 * Makefile.in (INCLUDES): Remove old windows32 include directory.
4712 * crt1.c (_gnu_exception_handler): Fix prototype.
4713 (__mingw_CRTStartup): New function based on mainCRTStartup.
4714 (mainCRTStartup): Set the app type for MSVCRT and call
4716 (WinMainCRTStartup): Likewise.
4717 * init.c (_startupinfo): Define.
4718 (_getmainargs): Add 5th parameter.
4719 (_mingw32_init_mainargs): Use.
4721 * ALL *.c files: Reformat according to GNU coding style.
4723 Fri Jul 16 00:46:04 1999 Mumit Khan <khan@xraylith.wisc.edu>
4725 * Makefile.in (INCLUDES): Add w32api include directory.
4727 * include/_mingw.h: New file.
4728 * include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h,
4729 errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h,
4730 math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h,
4731 stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h,
4732 sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and
4733 use the macros __DECLSPEC_SUPPORTED and __MINGW_IMPORT.
4735 * include/stdlib.h (atexit): Fix prototype.
4737 Mon Jun 14 18:38:49 1999 Mumit Khan <khan@xraylith.wisc.edu>
4739 * include/stdio.h (_tempnam): Fix prototype.
4740 (tempnam): Likewise.
4741 * include/stdlib.h: Replace with GCC's version, and guard
4744 From Anders Norlander <anorland@hem2.passagen.se>:
4745 * include/stdlib.h (__argc): Declare.
4748 Mon Apr 5 13:49:17 1999 Mumit Khan <khan@xraylith.wisc.edu>
4750 * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
4752 * Makefile.in (_libm_dummy.o): New target.
4755 Tue Mar 16 18:15:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4757 * Released 1999-03-16 along with egcs-1.1.2.
4759 Wed Feb 17 17:15:56 1999 Mumit Khan <khan@xraylith.wisc.edu>
4761 * Makefile.in (LIBS): Add libm.a.
4762 (libm.a): Dummy libm.a.
4764 * Makefile.in: Update from winsup 1999-02-08 snapshot.
4765 Preserve local changes.
4766 (mkinstalldirs): In ../, not ../../.
4767 (INCLUDES): Point to local windows32api headers and use -nostdinc.
4769 (LIBS): Add libmoldname-msvc.a.
4770 (libmoldname-msvc.a): Add target.
4771 (distclean): Add target.
4773 Tue Feb 9 00:26:05 1999 Mumit Khan <khan@xraylith.wisc.edu>
4775 * include/dir.h: Reintroduce as an obsolescent header.
4776 * crt1.c (signal.h): Include.
4777 (_gnu_exception_handler): New function to properly handle win32
4778 asynchronous signals.
4779 (mainCRTStartup): Use.
4781 Sun Jan 3 23:52:25 1999 Mumit Khan <khan@xraylith.wisc.edu>
4783 * include/direct.h: Include io.h instead of dir.h
4784 * include/dirent.h: Likewise.
4785 * include/dos.h: Likewise.
4786 * include/stdio.h: Replace reference to dir.h with io.h.
4788 Thu Dec 31 16:04:55 1998 Mumit Khan <khan@xraylith.wisc.edu>
4790 * 1999-01-01 release bundled with egcs-1.1.1.
4792 * include/io.h: Incorporate dir.h.
4793 * include/dir.h: Remove.
4794 * include/signal.h: Move RC_INVOKED up a bit.
4796 Tue Dec 29 15:04:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
4798 * include/signal.h (sig_atomic_t): Define.
4800 * include/malloc.h: Import defs from deprecated alloc.h.
4801 * include/alloc.h: Remove.
4803 From "Daniel J. Rodriksson" <djr@dit.upm.es>:
4804 * include/sys/types.h (_dev_t): Should be unsigned int for MSVCRT.
4805 * include/sys/stat.h (struct stat): st_uid is of type short. Use
4806 _off_t instead of long for st_size.
4808 Thu Sep 10 22:28:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4810 * include/errno.h (sys_errlist, sys_nerr): Move from here ...
4811 * include/stdlib.h: Here.
4813 * include/netdb.h: Remove.
4814 * include/arpa/inet.h: Remove.
4815 * include/netinet/in.h: Remove.
4816 * include/sys/socket.h: Remove.
4818 Fri Sep 4 15:09:11 1998 Mumit Khan <khan@xraylith.wisc.edu>
4822 * include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h,
4823 sys/utime.h}: Protect stddef.h in RC_INVOKED macro.
4825 Thu Sep 3 10:43:29 1998 Mumit Khan <khan@xraylith.wisc.edu>
4827 * setjmp.h (_JBTYPE, _JBLEN): Define correctly.
4828 (jmpbuf): typedef using above.
4829 (setjmp, longjmp): Prototype using jmpbuf.
4831 Merge with Colin Peters' 980701 snapshot. I've ignored changes to
4832 obsolescent imported names, ie., from __imp__ to _imp___.
4834 Also ignored empty include/sys/param.h and incorrect
4835 include/sys/times.h.
4837 * CRTinit.c: New file.
4838 * include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef
4840 * include/io.h (umask): Fix prototype.
4841 * include/stdlib.h (OS constants): Replace with Colin's.
4842 * include/time.h (tzset, daylight, timezone): Replace with Colin's.
4843 * include/sys/state.h: Merge.
4845 Thu Sep 3 09:49:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
4847 * include/assert.h (assert): Lose the trailing semicolon.
4849 Thu Jul 30 21:18:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4851 * include/math.h (matherr): Declare.
4852 * include/stdio.h (fileno, _fileno): Declare.
4853 * include/stdlib.h (environ, _environ): Fix to use runtime DLL.
4856 * include/stdio.h (fdopen, _fdopen): Add const.
4857 (getw, putw): Declare.
4858 * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix.
4860 Sat Jun 13 18:19:41 1998 Mumit Khan <khan@xraylith.wisc.edu>
4862 * include/time.h (_timezone): Undefine.
4863 * include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
4865 * include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
4867 * include/stdlib.h (environ): Use DLL version.
4868 * init.c (environ): Undefine it before use.
4870 Sun Mar 22 19:59:30 1998 Mumit Khan <khan@xraylith.wisc.edu>
4872 * Update to 980309 snapshot from Colin Peters.
4874 * include/utime.h: remove
4875 * include/stdlib.h (__imp__osver_dll, __imp__winver_dll,
4876 __imp__winmajor_dll, __imp__winminor_dll): Apply Jan-Jaap's
4877 patches to define these.
4878 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4879 (_daylight, _timezone, _tzname, _tzset): Define.
4881 * include/netdb.h: Add from Colin's windows32api changes.
4882 * include/sys/socket.h: Likewise.
4883 * include/arpa/inet.h: Likewise.
4884 * include/netinet/in.h: Likewise.
4886 Wed Feb 4 14:16:44 1998 Mumit Khan <khan@xraylith.wisc.edu>
4888 * Update to 980128 snapshot from Colin Peters.
4890 Sat Dec 6 21:30:35 1997 Mumit Khan <khan@xraylith.wisc.edu>
4892 * configure.in (AC_INIT): Use dllmain.c instead of defunct
4894 * configure: Regenerate.
4896 Fri Dec 5 15:57:36 1997 Mumit Khan <khan@xraylith.wisc.edu>
4898 * Update to 971205 snapshot from Colin Peters. Lots of changes.
4899 Files renamed and include hierarchy loses directories named
4902 * include/dos.h: from Jan-Jaap.
4904 Thu Dec 4 21:48:13 1997 Mumit Khan <khan@xraylith.wisc.edu>
4906 Changes to conform to FSF tree.
4908 * crt1.c: Renamed from mcrt0.c.
4909 * dllcrt1.c: Renamed from dllcrt0.c.
4910 * Makefile.in: Update above. Also renamed libmoldnames.a to
4913 Mon Dec 1 16:51:30 1997 Mumit Khan <khan@xraylith.wisc.edu>
4915 * crtdll.def: Export all functions but the ones with funny names.
4916 * moldnames.def: Add fdopen since fileno is already there.
4917 * include/nonansi/dos.h: New file from Jan-Jaap.
4918 * include/errno.h: Add extern decl + various additions from JJ.
4919 * include/stdio.h: Likewise.
4920 * include/stdlib.h: Likewise.
4921 * include/nonansi/io.h: Likewise.
4922 * include/nonansi/process.h: Likewise.
4923 * include/sys/types.h: Likewise.
4925 Tue Nov 4 14:51:01 1997 Mumit Khan <khan@xraylith.wisc.edu>
4927 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4929 * include/stdlib.h (free): Fix prototype to return void, not void*.
4930 * include/nonansi/process.h: Add P_* and WAIT_* defs.
4932 * dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
4933 * mcrt0.c: Likewise.
4935 * Makefile.in (LIBS): Delete moldnames.dll from target libs.
4936 (libmoldnames.a): Add explicit rule to create it.
4938 Fri Aug 15 18:23:43 1997 Rob Savoye <rob@cygnus.com>
4940 New directory for the minimalist cygwin environment.
4942 * crtglob.c: New file. Turn on file globbing support.
4943 * crt_noglob.c: New file. Turn off file globbing support.
4944 * ctype_old.c: New file. Wrappers for functions that don't
4946 * dirent.c: New file. Directory routines readdir, opendir, closedir.
4947 * dllcrt0.c: New file. Initialization code to use crtdll.dll.
4948 * dllmain.c: New file. A stub DllMain function.
4949 * hugeval.c: New file. A gross hack to define HUGE_VAL.
4950 * init.c: New file. Common code to initialize standard file
4951 handles and command line arguments.
4952 * main.c: New file. A main for programs that only call WinMain.
4953 * mcrt0.c: New file. Default crt0 for mingw32.
4954 * oldnames.c: New File. Wrappers for functions that don't
4956 * string_old.c: New File.
4957 * include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h
4958 math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h
4959 string.h,tchar.h,time.h,wchar.h}: New header files for mingw.
4960 * include/sys/types.h: New header file for mingw.
4961 * include/nonansi/{alloc.h,conio.h,dir.h,direct.h,dirent.h
4962 fcntl.h,io.h,malloc.h,mem.h,memory.h,process.h,share.h,unistd.h
4963 utime.h,values.h,varargs.h}: New header files for mingw.
4964 * include/nonansi/sys/{fcntl.h,locking.h,stat.h,time.h
4965 timeb.h,unistd.h}: New header files for mingw.
4966 * Makefile.in,configure.in: Build and configure support.
4967 * configure: Generated from autoconf 2.12 with Cygnus patches.