1 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
3 Correct complex arcsin computation per issue [#2245].
5 * mingwex/complex/casin_generic.c: New file; it replaces...
6 * mingwex/complex/casin.c: ...this; it is now obsolete; delete it.
7 * mingwex/complex/casinf.c mingwex/complex/casinl: Likewise.
9 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
11 Correct complex square root computation per issue [#2246].
13 * include/math.h (hypotf): Redirect __CRT_INLINE call to...
14 (_hypot): ...this MSVCRT.DLL exported function, so avoiding...
15 (hypot): ...this libmoldname.a indirection.
17 * mingwex/complex/csqrt_generic.c: New file; it replaces...
18 * mingwex/complex/csqrt.c: ...this; it is now obsolete; delete it.
19 * mingwex/complex/csqrtf.c mingwex/complex/csqrtl: Likewise.
21 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
23 Adjust header guards to resolve issue [#2244].
25 * include/_mingw.h (_POSIX_C_SOURCE): Define it implicitly...
26 [_GNU_SOURCE || _BSD_SOURCE || _POSIX_SOURCE || !__STRICT_ANSI__]:
27 ...when any of these prevail, or as appropriate to correspond with...
28 [_XOPEN_SOURCE]: ...this; set conformance level accordingly.
30 * include/math.h [_POSIX_C_SOURCE || defined _USE_MATH_DEFINES]
31 (M_E, M_LOG2E, M_LOG10E, M_LN2, M_LN10, M_PI, M_PI_2, M_PI_4, M_1_PI)
32 (M_2_PI, M_2_SQRTPI, M_SQRT2, M_SQRT1_2): Define them, irrespective...
33 [__STRICT_ANSI__]: ...of this; replace guard accordingly.
35 2014-12-01 Keith Marshall <keithmarshall@users.sourceforge.net>
37 Add implementation of mkstemp() and mkdtemp() functions.
39 * mingwex/cryptnam.c: New file; it implements...
40 (__mingw_crypto_tmpname): ...this helper function; it generates a
41 cryptographically secure sequence of characters, used as the random
42 component in temporary file and directory names.
44 * mingwex/mkstemp.c: New file; it implements...
45 (__mingw_mkstemp): ...this provider of mkstemp() functionality.
47 * mingwex/mkdtemp.c: New file; it implements...
48 (__mingw_mkdtemp): ...this provider of mkdtemp() functionality.
50 * include/stdlib.h (mkstemp): Declare protototye; provide an inline
51 function implementation, with LIBIMPL extern semantics, in terms of...
52 (__mingw_mkstemp): ...this; also declare prototype, and define...
53 (_MKSTEMP_INVOKE, _MKSTEMP_DEFAULT): ...these supporting constants.
54 (_MKSTEMP_SETMODE): New macro; define it, also providing...
55 (MKSTEMP_SETMODE) [!_NO_OLDNAMES]: ...this alias.
56 (mkdtemp): Declare prototype; provide inline implementation, with
57 JMPSTUB extern semantics, in terms of...
58 (__mingw_mkdtemp): ...this; declare prototype.
60 * Makefile.in (libmingwex.a): Add dependency rule, to include...
61 (mkstemp.$OBJEXT, mkdtemp.$OBJEXT, cryptname.$OBJEXT): ...these.
63 2014-11-30 Keith Marshall <keithmarshall@users.sourceforge.net>
65 More JMPSTUB rationalization of inline functions.
67 * include/stdlib.h (_Exit, atoll, lltoa, ulltoa, wtoll, lltow)
68 (ulltow): Add __JMPSTUB__ declarations; each is REMAPPED to its
69 appropriate MSVCRT.DLL equivalent entry point.
71 * mingwex/_Exit.c: File is now redundant; delete it.
72 * mingwex/atoll.c mingwex/lltoa.c mingwex/ulltoa: Likewise.
73 * mingwex/wtoll.c mingwex/lltow.c mingwex/ulltow: Likewise.
75 * Makefile.in (jmpstub_awk_script): Add support for...
76 [__JMPSTUB__((REMAPPED))]: ...this stub function attribute.
77 (libmingwex.a): Remove dependencies on deleted files, namely...
78 (_Exit.$OBJEXT, atoll.$OBJEXT, lltoa.$OBJEXT, ulltoa.$OBJEXT)
79 (wtoll.$OBJEXT, lltow.$OBJEXT, ulltow.$OBJEXT): ...these.
81 2014-11-29 Keith Marshall <keithmarshall@users.sourceforge.net>
83 Correct omission of complex conjugate functions from libmingwex.a
85 * include/complex.h (conj, conjf, conjl): Add LIBIMPL declarations.
86 (creal, crealf, creall): Likewise, for consistency of implementation.
87 (cimag, cimagf, cimagl, carg, cargf, cargl): Likewise.
89 * Makefile.in (libimpl_sed_script): Add processing for __CRT_INLINE
90 declarations; they should be interpreted analogously to __CRT_ALIAS.
91 (libmingwex.a): Remove object file references for functions which are
92 now declared as LIBIMPL, and sort the remainder in ASCII collating
93 order; deleted function references comprise the set consisting of...
94 (carg.$OBJEXT, cargf.$OBJEXT, cargl.$OBJEXT): ...these...
95 (creal.$OBJEXT, crealf.$OBJEXT, creall.$OBJEXT): ...these, and...
96 (cimag.$OBJEXT, cimagf.$OBJEXT, cimagl.$OBJEXT): ...these.
98 * mingwex/complex/carg.c: Replaced by LIBIMPL; delete it.
99 * mingwex/complex/cargf.c mingwex/complex/cargl.c: Likewise.
100 * mingwex/complex/creal.c mingwex/complex/cimag.c: Likewise.
101 * mingwex/complex/crealf.c mingwex/complex/cimagf.c: Likewise.
102 * mingwex/complex/creall.c mingwex/complex/cimagl.c: Likewise.
104 2014-11-24 Keith Marshall <keithmarshall@users.sourceforge.net>
106 Back-port improved asinh() implementation from 4.0-dev branch.
108 * mingwex/math/asinh_generic.c: New file; it replaces...
109 * mingwex/math/asinh.c mingwex/math/asinhf.c mingwex/math/asinhl.c:
110 ...all of these; delete them.
112 2014-11-18 Keith Marshall <keithmarshall@users.sourceforge.net>
114 Enable remake of lost LIBIMPL object files.
116 * Makefile.in (libimpl_remake): New macro; define it, and...
117 (%.libimpl.$OBJEXT) [%.libimpl exists]: ...use it in build rule.
119 2014-11-17 Keith Marshall <keithmarshall@users.sourceforge.net>
121 Implement more robust _get_output_format fallback handling.
123 * mingwex/ofmt.c: New file; it implements...
124 (__mingw_output_format_flag): ...backing store, used by...
125 (__mingw_get_output_format, __mingw_set_output_format): ...these
126 MSVCRT.DLL version agnostic wrappers/emulators for each of these...
127 (_get_output_format, _set_output_format): ...MSVCR80.DLL and later
128 version specific Microsoft APIs, which are also supported by some
129 later versions of MSVCRT.DLL, (excluding WinXP and earlier).
130 (__mingw_get_output_format_fallback): Implement; it is aliased to...
131 (__mingw_set_output_format_fallback): ...this; together they provide
132 the emulation support for the preceding pair of functions, when they
133 are not available within the run-time platform MSVCRT.DLL
134 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
135 Implement them; they wrap, and if necessary emulate...
136 (_get_printf_count_output, _set_printf_count_output): ...these.
137 (__mingw_get_printf_count_output_fallback): Implement; aliased to...
138 (__mingw_set_printf_count_output_fallback): ...this; together they are
139 required to support emulation of the preceding pair of functions, when
140 they are not available within the run-time platform MSVCRT.DLL
142 * include/stdio.h (_TWO_DIGIT_EXPONENT): Define it unconditionally.
143 (_THREE_DIGIT_EXPONENT): New manifest constant; define it orthogonally.
144 (__mingw_get_output_format, __mingw_set_output_format)
145 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
146 Unconditionally declare their prototypes, for subsequent inline use.
147 [_MSVCRT_VERSION__ < 0x800] (_get_output_format): Emulate it inline.
148 [_MSVCRT_VERSION__ < 0x800] (_set_output_format): Likewise.
149 [_MSVCRT_VERSION__ < 0x800] (_get_printf_count_output): Likewise.
150 [_MSVCRT_VERSION__ < 0x800] (_set_printf_count_output): Likewise.
151 (__USE_MINGW_PRINTF): New manifest constant; define it. It is a
152 counterpart to __USE_MINGW_ANSI_STDIO, which is guaranteed to always
153 represent a compilable token.
155 * mingwex/stdio/pformat.c (__pformat_exponent_digits): Do not require
156 _get_output_format; consult __mingw_output_format_flag directly.
158 * ofmt_stub.s: No longer required; delete it.
160 * Makefile.in (ofmt_stub.$OBJEXT): Delete reference.
161 (PFORMAT_CFLAGS) [__MSVCRT_VERSION__ = 0x800]: Remove requirement.
162 (varofmt.$OBJEXT, crtofmt.$OBJEXT, getofmt.$OBJEXT, setofmt.$OBJEXT)
163 (crtnfmt.$OBJEXT, getnfmt.$OBJEXT, setnfmt.$OBJEXT): Add build rule;
164 all are compiled from ofmt.c
166 2014-11-16 Keith Marshall <keithmarshall@users.sourceforge.net>
168 Do some more essential build tree clean up.
170 * Makefile.in (mostly-clean-local): Add *.libimpl; matching files get
171 in the way of a successful rebuild from clean.
173 2014-11-11 Keith Marshall <keithmarshall@users.sourceforge.net>
175 Implement wrappers for emulation of POSIX dlfcn API.
177 * include/dlfcn.h: New file; it declares the API.
178 * mingwex/dlfcn.c: New file; implement it, with access via...
179 (__mingw_dlfcn): ...this publicly addressable vector table.
181 * Makefile.in (dlfcn.$OBJEXT): Add build requisite.
182 (dlopen, dlsym, dlclose, dlerror): Build call stubs, using...
183 (__LIBIMPL__): ...this automatic interface generator; implement it.
184 (libstub_refnames): New macro; it is adapted from and replaces...
185 (jmpstub_refs): ...this; when it is then invoked twice to build...
186 (Makefile.stub): ...this, it handles both JMPSTUB and LIBIMPL.
187 (jmpstub_awk_script): Adapt it to work with 'libstub_refnames'.
188 (libimpl_awk_script): New inline script; it handles automated builds
189 of LIBIMPL interfaces, as 'jmpstub_awk_script' does for JMPSTUB.
190 (libimpl_sed_script): New inline script; it prepares intermediate C
191 source code for LIBIMPL interfaces, as required to satisfy these...
192 (%.libimpl, %.libimpl.$OBJEXT): ...new implicit build objectives.
193 (LIBIMPL_CFLAGS): New macro; define it.
195 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
197 Move libgen functions to __mingw_ pseudo-namespace.
199 * mingwex/dirname.c (dirname): Rename function, as implemented...
200 (__mingwex_dirname): ...to this.
202 * mingwex/basename.c (basename): Rename function, as implemented...
203 (__mingwex_basename): ...to this.
205 * include/libgen.h (__mingw_dirname, __mingw_basename): Declare
206 prototypes, matching and augmenting original declarations for...
207 (dirname, basename): ...these; reimplement as inline aliases, with
208 __JMPSTUB__ references to the renamed implementation entry points.
210 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
212 Implement new command line argument globbing strategy.
214 * include/_mingw.h: Backport feature defines from master...
215 (__CRT_GLOB_USE_MINGW__, __CRT_GLOB_USE_MSVCRT__): New manifest
216 constants; define them. They select the preferred globbing algorithm.
217 [_CRT_glob & __CRT_GLOB_USE_MINGW__] (__CRT_GLOB_USE_SINGLE_QUOTE__)
218 (__CRT_GLOB_BRACKET_GROUPS__, __CRT_GLOB_CASE_SENSITIVE__): New option
219 bit-map constants; define them. When added to __CRT_GLOB_USE_MINGW__,
220 they enable optional additional features supported by this algorithm.
221 (__CRT_GLOB_ESCAPE_CHAR__): New manifest constant; define it.
223 * CRTglob.c (_CRT_glob): Change default to __CRT_GLOB_USE_MINGW__.
225 * Makefile.in (libmingw32.a): Add setargv.$OBJEXT, furnished by...
226 * setargv.c: ...new file; it implements the initialization mechanism
227 for the __CRT_GLOB_USE_MINGW__ globbing algorithm, when invoked by...
228 (_setargv) [_CRT_glob & __CRT_GLOB_USE_MINGW__]: ...this new function;
229 it invokes the algorithm via an API similar to that described by MSDN,
230 while continuing to support our original _CRT_glob interpretation.
231 (_setargv) [! _CRT_glob & __CRT_GLOB_USE_MINGW__]: Invoke Microsoft
232 algorithm, via the MSDN-alike API, by calling back to...
234 * crt1.c (_mingw32_init_mainargs): ...this original function, now
235 relocated to here, as a publicly addressable function; formerly...
236 (__mingw_CRTStartup): ...called directly from here, we now redirect
237 the call through _setargv(), whence it may be called indirectly.
239 * init.c: Redundant file; delete it. It originally provided...
240 (_mingw32_init_mainargs): ...this, now relocated as noted above, with
241 original static attribute removed, to allow global addressing.
243 2014-11-07 Keith Marshall <keithmarshall@users.sourceforge.net>
245 Backport glob implementation from master to legacy.
247 * include/glob.h: New file; copy it from master branch.
248 (__mingw_glob, __mingw_globfree): Add __JMPSTUB__ aliases for...
249 (glob, globfree): ...each of these, respectively.
251 * mingwex/glob.c: New file; copy it from master:src/libcrt/misc.
252 (CRT_GLOB_HARD_ESCAPE) [ifndef __CRT_GLOB_ESCAPE_CHAR__]: Provide a
253 fallback definition; default value is ASCII DEL, a.k.a. RUBOUT, code.
254 (accept_glob_nocheck_match): New static function; it adds support for
255 avoidance of globbing on patterns with no globbing token, so avoiding
256 the case transliteration effect reported as MinGW-Bug #2106.
257 (glob_match): Use it.
259 * Makefile.in: Build glob.$OBJEXT; add it to libmingwex.a
261 2014-11-05 Keith Marshall <keithmarshall@users.sourceforge.net>
263 Implement conventionally named dirent function trampolines.
265 * mingwex/jmpstub.sx: New file; it implements a generic trampoline,
266 which redirects a conventionally named function call to its __mingw_
267 pseudo-namespace implementation.
269 * aclocal.m4 (MINGW_AC_PROG_COMPILE_SX): New macro; define it.
270 * configure.ac (MINGW_AC_PROG_COMPILE_SX): Use it; it identifies the
271 appropriate protocol for compiling *.sx files, (supported natively by
272 GCC >= v4.3, but older versions require `-x assembler-with-cpp').
274 * Makefile.in (COMPILE.sx): New implicit rule; GNU make does not
275 yet provide it, so we define it ourselves; deploy it for *.sx files.
276 (Makefile.stub): New sinclude file; create it dynamically, using...
277 (jmpstub_awk_script): ...this new inline script, which is based on...
278 (jmpstub_refs, jmpstub_prerequisites): ...these new macros, and...
279 (mingwex/jmpstub.sx): ...this new file; add vpath reference.
280 (mostlyclean-local): Remove Makefile.stub; do likewise...
281 (Makefile): ...when remaking this, to ensure that both will be
284 2014-11-03 Keith Marshall <keithmarshall@users.sourceforge.net>
286 Make dirent implementation namespace and time_t clean.
288 * include/_mingw.h (_EXTERN_C, _BEGIN_C_DECLS, _END_C_DECLS): New
289 macros; define them. They facilitate identification of symbols which
290 must be compiled with `extern "C"' binding, when compiling C++ code.
291 (__CRT_ALIAS): New macro; define it. It is intended to replace...
292 (_CRTALIAS): ...this, which is to be considered as deprecated.
293 (__JMPSTUB__, __LIBIMPL__): New macros; define them. They provide
294 __CRT_ALIAS build hints, while remaining transparent to GCC.
295 (UNICODE, _UNICODE) [user defined]: Define consistently.
297 * mingwex/dirent.c: Reimplement; (this is a back-port from the
298 4.0-dev branch, with additional ABI changes to improve stability).
299 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
300 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
301 Add `__mingw_' prefix to all publicly exposed symbol names.
302 (dirent_findfirst, dirent_findnext, dirent_findclose): New locally
303 implemented functions; they replace Microsoft's ambiguously defined
304 _findfirst, _findnext, and _findclose, so avoiding ABI instability
305 resulting from the ambiguous size of Microsoft's time_t.
307 * include/dirent.h (struct dirent, struct _wdirent): Redefine them,
308 removing unnecessary time_t and file size fields; (our replacements
309 for _findfirst, and _findnext do not require them to be present).
310 (DIR, _WDIR): Adjust typedefs; they are now opaque structs.
311 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
312 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
313 Adjust prototypes, making them inline aliases for public symbols which
314 are now qualified by the `__mingw_' prefix; add build hints to support
315 compilation of addressable stubs, with the original symbol names.
316 (DT_REG, DT_DIR, DT_UNKNOWN): New manifest constants; define them.
317 (DT_BLK, DT_CHR, DT_FIFO, DT_LNK, DT_SOCK): Likewise; (these are for
318 BSD compatibility, but are fundamentally unsupported on MS-Windows).
319 (_DIRENT_HAVE_D_TYPE, _DIRENT_HAVE_D_RECLEN, _DIRENT_HAVE_D_NAMLEN):
320 New macros; define them. (These show availability of optional fields
321 within the dirent struct, which client code may wish to access).
323 2014-10-31 Keith Marshall <keithmarshall@users.sourceforge.net>
325 Correct improper naming of assembly language source files.
327 * mingwex/math/*.S: Rename all files with this extension...
328 * mingwex/math/*.s: ...to this; (all are simple assembly language, and
329 not extended `assembler-with-cpp' as implied by the former extension);
330 adjust all internal `.file <name>' references accordingly.
332 * Makefile.in (vpath %.S): Adjust reference to locate files....
333 (vpath %.s): ...now renamed thus.
335 2014-10-29 Keith Marshall <keithmarshall@users.sourceforge.net>
337 Streamline the build system infrastructure.
339 * configure.ac: New file; it replaces...
340 * configure.in: ...this; (name is obsolete); delete it.
342 * aclocal.m4 Makefile.in: Substantially rewritten; avoid recursive
343 make invocations, when processing subdirectories, and add automatic
344 dependency tracking for all generated files.
346 * configure: Delete it; as a generated file, it doesn't belong in SCM.
348 * mingwex/Makefile.in: No longer required; delete it.
349 * profile/Makefile.in: Likewise.
351 * mkinstalldirs: Not required; delete it; (make should use `mkdir -p',
352 or fall back on `install-sh -d', per AC_PROG_MKDIR_P).
354 * jamfile: Delete it; it hasn't been updated in ages, is likely no
355 longer relevant, and I have no desire to maintain it.
357 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
359 * include/_mingw.h: Increment version to 3.20.
361 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
363 * tlsmthread.c: Update to reflect changes in tlssup.c.
364 * tlssup.c: code clean-up.
366 2011-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
368 * include/_mingw.h: Increment version to 3.19.
370 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
372 * include/float.h: Modify guard to accomodate CLang.
374 Thanks to Ruben Van Boxem for the report.
376 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
378 * tlssup.c: Remove mingwm10.dll fallback.
380 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
382 * include/sys/types.h (ssize_t): Defined as int as opposed to long.
384 Thanks to bvassche for the report.
386 2011-05-31 Keith Marshall <keithmarshall@users.sourceforge.net>
388 Correct checking for short option matches in getopt_long_only().
390 * mingwex/getopt.c (getopt_verify): New static inline function.
391 (getopt_parse) [getopt_mode_long_only]: Use it, to validate as a
392 possible short option match after failing to match, or ambiguously
393 matching as a long option.
395 2011-05-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
397 * include/stdlib.h (strtod): Declare as extern to resolve compilation issues.
399 Thanks to cgf for the report.
401 2011-05-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
403 * include/time.h (daylight, timezone, tzname): Rework guards to expose when
404 compiles with __STRICT_ANSI__.
406 Thanks to Felipe Contreras for the report.
408 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
410 * include/stdlib.h (strtod): Remove possible static declaration to resolve
413 Thanks to Tobias Burnus for the report.
415 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
417 * include/stdlib.h (_rotl, _lrotl, _rotr, _lrotr): Resolve conflict with gcc
418 by wrapping the functions in brackets.
420 Thanks to Kai Tietz for the report.
422 2011-05-22 A.B., Khalid <abkhd@users.sourceforge.net>
424 * Makefile.in: Add support for msvcr100.dll.
425 * msvcrt.def.in: Ditto.
427 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
429 * mingwex/mingw-fseek.c: The anonymous union feature for LARGE_INTEGER is
430 not always available, go the long way and use the explicit named union
431 members, which are also declared in winnt.h.
433 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
435 * mingwex/isblank.c: Fix typo in declaration.
437 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
439 * include/_mingw.h: Define GCC system_header only if PCC is not defined.
440 * include/stdlib.h: Fix a long-standing typo which prevented correct use of
441 the MB_CUR_MAX macro/variable when DECLSPEC is not supported and <stdlib.h>
442 is included before <ctype.h>.
444 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
446 * include/wchar.h: Include stdio.h to grab definition of FILENAME_MAX.
448 Thanks to Jim Bell for the report and Greg Chicares for the fix.
450 2011-01-07 Jacky Lai <crazyjacky@users.sourceforge.net>
452 Correct hexadecimal formatting of double and long double values.
454 * mingwex/stdio/pformat.c (__pformat_xdouble): Delete function.
455 (__pformat) [A format]: Cast double values to long double, and use...
456 (__pformat_xldouble): ...this instead, with corrected adjustment of
457 exponent and alignment of mantissa, when formatting subnormals.
459 2010-12-27 Ozkan Sezer <sezero@users.sourceforge.net>
461 * include/dirent.h (dd_handle): Define as intptr_t.
463 2010-11-08 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
465 * tlssup.c (__dyn_tls_init): Use an integer variable to iterate between
468 2010-08-17 Keith Marshall <keithmarshall@users.sourceforge.net>
470 * include/limits.h (PATH_MAX): Make it agree with Microsoft's
471 semantically identical MAX_PATH; correct value is 260.
473 2010-07-25 Keith Marshall <keithmarshall@users.sourceforge.net>
475 Accept that mingwrt headers are not guaranteed to precede GCC's in the
476 system include search path; (issue reported by Mark Brand).
478 * include/float.h: Add multiple inclusion guard around...
479 [! defined _FLOAT_H___]: ...include_next <float.h> for GCC's version,
480 only when this define does not indicate that it has already been seen;
481 update comments to document rationale; move it within the scope of...
482 [! defined _MINGW_FLOAT_H_]: ...this multiple inclusion guard, so that
483 GCC's float.h, after an appropriate complementary modification, need
484 not perform a further include path search when this implementation
485 specific extension has already been processed.
487 2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>
489 * include/io.h (_findfirst, _findnext, _findclose, _findfirst32,
490 _findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32,
491 _findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext,
492 _findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64,
493 _findnexti64): Correct definition.
495 2010-04-27 Danny Smith <dannysmith@users.sourceforge.net>
497 * mingwex/mb_wc_common.h (get_codepage): Revert change of 2006-09-19.
499 2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
501 * include/_mingw.h: Increment version to 3.18.
503 2010-03-02 Daniel Atallah <datallah@users.sourceforge.net>
505 * include/stdio.h: (_vscprintf, _vscwprintf)
506 * include/tchar.h: (_vsctprintf)
508 2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
510 Issue [2134161]: time64 functions and types for msvcrt >= 8.0
511 (initial implementation)
513 * new type: __time32_t
515 * new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
516 __stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
517 __wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t
519 * new functions: _ctime32, _difftime32, _difftime64, _findfirst32
520 _findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
521 _findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
522 _futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
523 _mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
524 _wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
525 _wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
526 _wstat32i64, _wstat64i32,_wutime32
528 * new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
529 ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
530 _fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
531 _stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
532 _wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime
534 2010-01-25 Kai Tietz <kai.tietz@onevision.com>
536 Implement TLS Callback.
538 * tlsmcrt.c: New file.
539 * tlsmthread.c: Ditto.
542 * Makefile.in: Include new files.
543 * crt1.c: Implement TLS Callback.
545 * mthr_stub.c: Remove.
547 2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
549 * include/_mingw.h: Increment version to 3.17.
551 2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
553 * mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa:
554 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
556 2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
558 * include/io.h (_open_osfhandle): Correct definition.
560 Thanks to Alexander Shaduri for the information.
562 2009-11-02 Charles Wilson <mingw@cwilson.fastmail.fm>
564 Final sync of pseudo-reloc.c with mingw64 and cygwin
565 * lib/pseudo-reloc.c (__report_error) [CYGWIN]: Correct size bug
566 regarding error messages.
568 2009-10-29 Charles Wilson <mingw@cwilson.fastmail.fm>
570 Honor DESTDIR for winsup/mingw and winsup/w32api.
571 Detect and report error if installation paths are win32
572 format, but DESTDIR is non-empty.
574 * Makefile.in (DESTDIR): Honor per convention.
575 (need-DESTDIR-compatibility): New macro; define it and a
577 (fail-DESTDIR-compatibility): New dependency goal.
578 (install-dirs): Require need-DESTDIR-compatibility.
579 * mingwex/Makefile.in (DESTDIR): Honor per convention.
580 (need-DESTDIR-compatibility): New macro; define it and a
582 (fail-DESTDIR-compatibility): New dependency goal.
583 (install): Require need-DESTDIR-compatibility.
584 * profile/Makefile.in: Ditto.
586 2009-10-25 Charles Wilson <mingw@cwilson.fastmail.fm>
588 Sync pseudo-reloc.c with mingw64
589 * psuedo-reloc.c: Remove unnecessary includes.
590 Forward declare _pei386_runtime_relocator.
591 Decorate _image_base__ symbol with macro for
592 mingw64 compatibility. Whitespace changes.
593 (__print_reloc_error): Renamed to...
594 (__report_error): This. "Returns" void, and
595 always aborts. Now used on all platforms.
596 (__write_memory): Remove special case error handling
597 for different platforms - always call __report_error.
598 (do_pseudo_reloc): Remove special case error handling
599 for different platforms - always call __report_error.
600 (_pei386_runtime_relocator): Decorate _image_base__
601 symbol with mingw64 compatibility macro.
603 2009-10-23 Charles Wilson <mingw@cwilson.fastmail.fm>
605 Sync pseudo-reloc.c with cygwin/lib/
606 * pseudo-reloc.c [CYGWIN]: Added comments throughout and various
607 whitespace fixes. Exploit cygwin_internal(CW_EXIT_PROCESS,...)
608 for fatal error handling that is consistent with cygwin process
609 life-cycle. Ensure state variable (in _pei386_runtime_relocator)
610 is unique to each address space, across fork().
611 [CYGWIN] (__print_reloc_error): New function for reporting
612 errors in a manner supported by cygwin at this early stage of
613 the process life-cycle.
614 [CYGWIN] (_pei386_runtime_relocator): Ensure relocations
615 performed only once for each address space, but are repeated
616 after fork() in the new address space.
617 [MINGW] (__write_memory): Ensure that b is always initialized
618 by call to VirtualQuery, even if -DNDEBUG.
620 2009-09-29 Keith Marshall <keithmarshall@users.sourceforge.net>
622 Make MinGW printf() "%p" format compatible with MSVCRT scanf().
623 (Based on MinGW-patch 2844514 by Peter Rosin <peda@lysator.liu.se>)
625 * mingwex/stdio/pformat.c (__printf) [%p]: Do not arbitrarily apply...
626 (PFORMAT_HASHED): ...this formatting attribute; honour only user
627 specified format qualifiers, except in special case...
628 [%p && stream.flags == flags && state == PFORMAT_INIT]: Apply...
629 (PFORMAT_ZEROFILL): ...this default formatting attribute...
630 (stream.precision): ...filled to at least 2 * sizeof( uintptr_t )
633 2009-09-01 Keith Marshall <keithmarshall@users.sourceforge.net>
635 Avoid multiple link time definitions of _printf() for C++;
636 (problem reported by Alexander Shaduri, via MinGW-users ML).
638 * include/stdio.h [__USE_MINGW_ANSI_STDIO]:
639 (__mingw_stdio_redirect__) [__cplusplus]: remove `static' keyword.
641 2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
643 * include/_mingw.h: Increment version to 3.16.
645 2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>
647 * include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit,
648 __signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf,
649 __fp_unordered_compare): Add prototypes.
650 * include/stdio.h (vsnwprintf): Add prototype.
651 * include/wchar.h (vsnwprintf): Add prototype.
652 * include/stdlib.h (_Exit): Protect inline definition with !__STRICT_ANSI__.
653 * include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard.
655 2009-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
657 Correct disposition of wchar_t output in printf().
659 * mingwex/stdio/pformat.c (__pformat) [%C]: Create new instance of...
660 (argval): ...this, in inner scope, with singular type `wchar_t'; use
661 it to pass one wchar to __pformat_wputchars(), for output.
663 2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
665 * mingwex/stdio/pformat.c: Implement better fix for type punned warning.
667 2009-07-27 Keith Marshall <keithmarshall@users.sourceforge.net>
669 Convert to monolithic configuration procedure.
671 * configure.in (AC_CHECK_TOOL): All instances; tabulate arguments.
672 (AC_SUBST): Use its 2nd argument to initialise MinGW default settings.
673 (PACKAGE_TARNAME) [target_os ~ cygwin]: Redefine it as appropriate.
674 (W32API_INCLUDE): Redefine; make it relative to `top_srcdir'.
675 (CRT0S): Relocate from `profile'; define it as appropriate.
676 (LIBM_A): Define and AC_SUBST it unconditionally.
677 (AC_CONFIG_SUBDIRS): Remove; none to configure.
678 (AC_OUTPUT_FILES): Add `Makefile' for each of...
679 (mingwex, profile): ...these subdirectories.
681 * configure: Regenerated.
683 * Makefile.in (PACKAGE, host_os): Let AC_SUBST define them.
684 (top_srcdir, top_builddir): New macros; let AC_SUBST define them.
685 (datarootdir): New macro; autoconf > 2.59 wants AC_SUBST to define it.
686 (SUBDIRS): Define explicitly, to run recursive `make' in...
687 (mingwex, profile): ...these; simplify build commands...
688 (rootme, rootsrc): ...without these shell variables.
689 (all, subdirs): Delete redundant build commands.
690 (FIXME): Flag various issues for follow up.
692 * mingwex/Makefile.in (INCLUDES): Redefined macro; refer it to...
693 (top_srcdir): ...this new macro; let AC_SUBST define it.
694 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
695 (Makefile): Make it depend on...
696 (top_builddir/config.status): ...this, itself depending on...
697 (top_srcdir/configure): ...this.
698 (FIXME): Flag various issues for follow up.
700 * mingwex/aclocal.m4: File no longer required; delete it.
701 * mingwex/configure mingwex/configure.in: Likewise.
703 * profile/Makefile.in (INCLUDES): Redefined macro; refer it to...
704 (top_srcdir): ...this new macro; let AC_SUBST define it.
705 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
706 (Makefile): Make it depend on...
707 (top_builddir/config.status): ...this, itself depending on...
708 (top_srcdir/configure): ...this.
709 (FIXME): Flag various issues for follow up.
711 * profile/aclocal.m4: File no longer required; delete it.
712 * profile/configure profile/configure.in: Likewise.
714 2009-07-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
716 * msvcrt.def.in: disable time symbol for libmsvcr90.a and libmsvcr90d.a due
717 to complaints that it causes issues.
719 2009-07-23 Jacky Lai <crazyjacky@users.sourceforge.net>
721 * mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan().
723 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
725 * include/inttypes.h include/math.h include/stdio.h include/stdlib.h
726 include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard
727 to all inline functions.
729 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
731 * CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
734 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
736 * cpu_features.c: replace gcc-specific construct with portable alternative
737 and match the code a few lines above.
738 * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
740 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
742 * include/_mingw.h: Changes required for PCC compiler.
744 2009-07-18 Jeff Lu <jll544@yahoo.com>
746 * mingwex/usleep.c: round up to next ms
748 2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
750 * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
751 mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
752 mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
753 the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
755 2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
757 * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.
759 2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>
761 * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files.
762 * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c
763 mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c
764 mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h
765 mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h
766 mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c
767 mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c
768 mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c
769 mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c
770 mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org
771 sources as of Apr. 20, 2009. Update further to match the sources in
772 the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX
773 code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the
774 double/ulong union from U to dbl_union for better grepping and white-
777 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
779 * include/stdlib.h (_wtof): Define.
781 2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
783 * include/stdint.h (int_fast8_t): Specify as signed char.
784 (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
785 (INT32_C, UINT32_C): Remove 'L' type specifier on constant.
787 2009-03-05 Kai Tietz <kai.tietz@onevision.com>
789 * pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2.
791 2009-02-08 Keith Marshall <keithmarshall@users.sourceforge.net>
793 MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.
794 (Requested by Robert Riebisch)
796 * mingwex/getopt.c (getopt_parse): Track external increments of...
797 (optind): ...this global variable.
799 2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
801 * include/_mingw.h: Increment version to 3.15.2.
803 2009-01-04 Keith Marshall <keithmarshall@users.sourceforge.net>
805 Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
806 Also add tentative support for BSD specific `optreset' feature.
808 * include/getopt.h (optreset) [_BSD_SOURCE]: Define; map it to...
809 (__mingw_optreset): ...this new global variable.
811 * mingwex/getopt.c (__mingw_optreset): Instantiate it...
812 (getopt_parse) [optind < 1]: ...make it true; use it to reset argument
815 2008-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
817 Partial fix for MinGW-Bug [2457778]: (Reported by Sisyphus).
818 Correct mishandling of invalid characters in printf() format specs.
820 * mingwex/stdio/pformat.c (__pformat): Save `fmt' scan position in...
821 (backtrack): ...this new automatic variable, at start of each format
822 conversion specification substring; use it to backtrack, and print the
823 substring literally, if any invalid character is encountered.
825 2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
827 * msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
828 ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
829 ___unguarded_readlc_active_add_func, __crtCompareStringW,
830 __crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
831 __pwctype_func, __iob_func, __uncaught_exception, __wcserror,
832 __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
833 __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
834 __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
835 _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
836 _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
837 _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
838 _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
839 _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
840 _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
842 2008-12-08 Dmitry G. Gorbachev <d.g.gorbachev@gmail.com>
844 * cpu_features.c (__cpu_features_init): Remove erroneous ';'.
846 2008-10-28 Keith Marshall <keithmarshall@users.sourceforge.net>
848 Correct some binary distribution packaging defects.
850 * Makefile.in (bindist): Remove `make' conditionals; segregate into...
851 (bindist-common, bindist-mingwrt, bindist-mingw-runtime): ...these new
852 intermediate goals; they make packages of files, as specified by...
853 (BINDIST_FILES, DEVDIST_FILES, DLLDIST_FILES): ...these new macros.
854 (dist_prefix) [target_alias !~ cygwin]: Leave it undefined.
856 2008-10-18 Keith Marshall <keithmarshall@users.sourceforge.net>
858 Fix MinGW-Bug [2136252]: (Reported by Roumen Petrov).
859 Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5
861 * mingwex/stdio/pformat.c (__pformat_emit_float): Always make output
862 of radix point conditional on precision != 0 or `#' flag specified.
864 2008-10-13 Keith Marshall <keithmarshall@users.sourceforge.net>
866 Fix MinGW-Bug [2160227]
867 Eliminate conflicting declarations and implementations of scalb().
869 * moldname.def.in (scalb): Comment out of EXPORTS list.
870 * include/math.h (scalb): Comment out OLDNAMES prototype; it conflicts
871 with GCC's built-in declaration.
873 2008-10-12 Christopher Faylor <me+cygwin@cgf.cx>
875 * Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
877 * mingwex/Makefile.in: Ditto.
878 * profile/Makefile.in: Ditto.
879 * configure.in: Record mingw front-end for building under Cygwin.
880 * mingwex/configure.in: Ditto.
881 * profile/configure.in: Ditto.
882 * configure: Regenerate.
883 * mingwex/configure: Ditto.
884 * profile/configure: Ditto.
886 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
888 Use de-facto standard Makefile goals to invoke test suite.
890 * Makefile.in: Some minor formatting adjustments.
891 (test_headers): Unconventionally named goal renamed to...
892 (check-headers): ...this; make it a prerequisite of...
893 (check): ...this new conventionally named goal.
895 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
897 Make strtod() inline definition C89 compliant.
898 (Issue reported by Ilya Shestopalov and Ian Puleston)
899 (Correction identified by Danny Smith)
901 * include/stdlib.h (strtod): Declare as `__inline__', not `inline';
902 reformat inline function definition.
904 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
906 * include/_mingw.h: Increment version to 3.15.1 and introduce
907 __MINGW32_PATCHLEVEL variable.
909 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
911 Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
912 (Reported by Christian Franke)
914 * mingwex/getopt.c (optind): Make global variable value conform to
915 behaviour specified by POSIX; do not use it for internal state in...
916 (getopt_parse): ...this static function; use...
917 (optbase): ...this new static local variable instead.
918 (getopt_resolved): Update `optind' as required.
920 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
922 Improve package identification in configure script.
924 * configure.ac (AC_INIT): Redefine parameters...
925 (PACKAGE_NAME): Set to `MinGW Runtime'.
926 (PACKAGE_BUGREPORT): Set to `http://mingw.org/reporting_bugs'
927 (PACKAGE_TARNAME): Set to `mingwrt'.
928 (PACKAGE_VERSION): Set generically to `v3.x'; reassigned by...
929 (MINGW_AC_CONFIG_SRCDIR): ...this macro, which extracts...
930 (__MINGW32_VERSION): ...this, from file `include/_mingw.h'.
932 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): Do not redefine...
933 (PACKAGE_TARNAME): ...this.
935 * configure: Regenerated.
937 2008-09-25 Keith Marshall <keithmarshall@users.sourceforge.net>
939 Fix MinGW-Bug [2125708].
940 (Reported by Alexandr Zamaraev).
942 * include/stdlib.h (intptr_t) [!_INTPTR_T_DEFINED]: Unused typedef;
943 not wanted here; remove it; replace it by...
944 (uintptr_t) [!_UINTPTR_T_DEFINED]: ...this typedef; needed by...
945 (_invalid_parameter_handler): ...this function typedef.
947 2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
949 * Makefile.in: Don't include host_os as part of snapshot filename.
951 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
953 Fix MinGW-Bug [2119504].
954 (Reported by Peiyuan Song).
956 * mingwex/getopt.c (getopt_resolved): Do not overwrite...
957 (*retindex): ...this already correctly assigned return variable...
958 (opt[index].val): ...with this; this should have been assigned to...
959 (*opt[index].flag) [opt[index].flag != NULL]: ...this instead.
961 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
963 Fix MinGW-Bug [2117379].
964 (Reported by Peiyuan Song).
966 * include/stdio.h (__argv): Replace all references in function
967 prototype argument lists and inline function local variables, with ...
968 (__local_argv): ...this, to avoid potential conflict with ...
969 * include/stdlib (__argv): ...this #defined macro.
971 2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
973 * include/_mingw.h: Increment version to 3.15.
975 2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
977 * Makefile.in: Adjust to new naming standard for MinGW while maintaining old
978 naming standard for Cygwin.
980 2008-08-31 Keith Marshall <keithmarshall@users.sourceforge.net>
982 Reimplement getopt.c to add getopt_long_only() function.
984 (N.B. this reimplementation removes support for BSD/Mac-OS-X
985 `optreset' nonsense; user code should set `optind = 0' instead,
986 to reinitialise option scanning).
988 * mingwex/getopt.c: Delete all content; reimplement it.
989 * include/getopt.h: Likewise.
991 * include/unistd.h (__UNISTD_H_SOURCED__): New macro; define it.
992 (__UNISTD_GETOPT__): This macro is no longer required; remove it.
994 2008-08-30 Keith Marshall <keithmarshall@users.sourceforge.net>
996 Implement conditional replacement for printf() family functions.
998 * include/_mingw.h (__USE_MINGW_ANSI_STDIO): New macro; define it.
999 (__MINGW_ANSI_STDIO__): New manifest constant; define as bitmapped
1000 flag for use in user specified __MINGW_FEATURES__ attribute.
1001 (__MINGW_LC_MESSAGES__, __MINGW_LC_ENVVARS__): New manifest constants;
1002 currently unused: reserved as components of...
1003 (__MINGW_LC_EXTENSIONS__): ...this new manifest constant; earmarked as
1004 a __MINGW_FEATURES__ enhancement to setlocale().
1006 * include/stdio.h (__mingw_printf, __mingw_vprintf): Prototype them.
1007 (__mingw_fprintf, __mingw_vfprintf): Likewise.
1008 (__mingw_sprintf, __mingw_vsprintf): Likewise.
1009 (__msvcrt_printf, __msvcrt_vprintf): Likewise.
1010 (__msvcrt_fprintf, __msvcrt_vfprintf): Likewise.
1011 (__msvcrt_sprintf, __msvcrt_vsprintf): Likewise.
1012 (printf, vprintf) [!__USE_MINGW_ANSI_STDIO]: Prototype for default
1013 usage; link to DLL import stub, importing from MSVCRT.
1014 (fprintf, vfprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
1015 (sprintf, vsprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
1016 (printf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_printf; use
1017 locally defined static stub implementation.
1018 (fprintf, sprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
1019 __mingw_fprintf and __mingw_sprintf respectively.
1020 (vprintf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_vprintf; use
1021 static inline implementation for C++ and GNU C, or locally defined
1022 static stub otherwise.
1023 (vfprintf, vsprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
1024 __mingw_vfprintf and __mingw_vsprintf respectively.
1026 2008-08-27 Keith Marshall <keithmarshall@users.sourceforge.net>
1028 Avoid access violations, passing NULL to printf( "...%s..." );
1029 (inconsistencency with MSVCRT and glibc, reported by Colin Harrison).
1031 * mingwex/stdio/pformat.c (__pformat_puts): Substitute "(null)"
1032 for argument value, if caller passes a NULL pointer.
1033 (__pformat_wcputs): Likewise, substitute L"(null)".
1035 2008-08-14 Keith Marshall <keithmarshall@users.sourceforge.net>
1037 Add missing dependencies for building libmingwex.a.
1039 * mingwex/Makefile.in (printf.o, fprintf.o, sprintf.o): Make them...
1040 (vprintf.o, vfprintf.o, vsprintf.o): ...and also these, depend on...
1041 (pformat.h): ...this.
1043 2008-08-11 Keith Marshall <keithmarshall@users.sourceforge.net>
1045 Add replacements for remaining members of printf() family.
1047 * mingwex/stdio/printf.c: New file.
1048 * mingwex/stdio/fprintf.c: New file.
1049 * mingwex/stdio/sprintf.c: New file.
1050 * mingwex/stdio/vprintf.c: New file.
1051 * mingwex/stdio/vfprintf.c: New file.
1052 * mingwex/stdio/vsprintf.c: New file.
1054 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
1055 (STDIO_OBJS): Add their corresponding object files.
1057 2008-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
1059 Replace __mingw_snprintf() with new generic family implementation;
1060 likewise, replace __mingw_vsnprintf().
1062 * mingwex/stdio/pformat.c mingwex/stdio/pformat.h: New files.
1063 * mingwex/stdio/snprintf.c mingwex/stdio/vsnprintf.c: New files.
1064 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
1065 (GDTOA_DISTFILES): Remove mingw_snprintf.c
1066 (STDIO_OBJS): Add pformat.o, snprintf.o and vsnprintf.o
1067 (GDTOA_OBJS): Remove mingw_snprintf.o
1068 (PFORMAT_CFLAGS): New macro; define it, as required by...
1069 (pformat.o): ...this new explicit build target.
1070 (snprintf.o, vsnprintf.o): Declare prerequisites.
1072 * mingwex/gdtoa/mingw_snprintf.c: Redundant file; delete it.
1074 2008-07-28 Keith Marshall <keithmarshall@users.sourceforge.net>
1076 Lay foundations for new printf() function family implementation.
1078 * ofmt_stub.s: New file; implement forward compatibility stub for...
1079 (_get_output_format): ...this MSVCR80.DLL and later function.
1081 * Makefile.in (SRCDIST_FILES): Add ofmt_stub.s.
1082 (NM, OBJCOPY): New macros; define them with AC_SUBSTed values.
1083 (sym_prefix, NM_LOOKUP, MINGW_REPL_FUNCS): New macros; define them.
1084 (lib%.a): Include ofmt_stub.o when import library does not already
1085 advertise availability of the _get_output_format() function;
1086 Add alias stubs for MINGW_REPL_FUNCS, such that...
1087 (__msvcrt_printf): ...is an alias for Microsoft's printf().
1088 (__msvcrt_fprintf): ...is an alias for Microsoft's fprintf().
1089 (__msvcrt_sprintf): ...is an alias for Microsoft's sprintf().
1090 (__msvcrt_vprintf): ...is an alias for Microsoft's vprintf().
1091 (__msvcrt_vfprintf): ...is an alias for Microsoft's vfprintf().
1092 (__msvcrt_vsprintf): ...is an alias for Microsoft's vsprintf().
1093 (clean): Add msvcr*.def.
1095 * configure.in (NM, OBJCOPY): Use AC_CHECK_TOOL to specify them.
1096 * configure: Regenerated.
1098 2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
1100 * include/ctype.h (_imp____mb_cur_max): Correct spelling.
1101 (_imp____mb_cur_max_dll): Likewise.
1103 2008-07-04 Danny Smith <dannysmith@users,sourceforge.net>
1105 * include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
1106 * include/wchar.h (swprintf, vswprintf): Likewise.
1108 2008-07-01 Keith Marshall <keithmarshall@users.sourceforge.net>
1110 * msvcrt.def.in [__msvcr80__, __msvcr80d__, __msvcr90__, __msvcr90d__]
1111 (_get_output_format, _set_output_format): Add references.
1113 * include/stdio.h [__MSVCRT_VERSION__ >= 0x800]
1114 (_get_output_format, _set_output_format): Declare prototypes.
1115 (_TWO_DIGIT_EXPONENT): Define.
1116 Some other minor formatting adjustments.
1118 2008-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1120 [mingw-Bugs-1801641]
1121 * include/wchar.h (_wfdopen): Const-ify second arg.
1122 * include/stdio.h (_wfdopen): Likewise.
1123 Thanks to <tdragon at users dot sourceforge net>
1125 2008-06-02 Keith Marshall <keithmarshall@users.sourceforge.net>
1127 Avoid precision errors in round(), lround() and llround() functions.
1129 * mingwex/math/round_generic.c: New file; it replaces...
1130 * mingwex/math/round.c: ...this; delete it.
1131 * mingwex/math/roundf.c: ...and this; ditto.
1132 * mingwex/math/roundl.c: ...and this; ditto.
1134 * mingwex/math/lround_generic.c: New file; it replaces...
1135 * mingwex/math/lround.c: ...this; delete it.
1136 * mingwex/math/lroundf.c: ...and this; ditto.
1137 * mingwex/math/lroundl.c: ...and this; ditto.
1138 * mingwex/math/llround.c: ...and this; ditto.
1139 * mingwex/math/llroundf.c: ...and this; ditto.
1140 * mingwex/math/llroundl.c: ...and this; ditto.
1142 * mingwex/math/round_internal.h: New file; it provides generic common
1143 code, which is shared by `round_generic.c' and `lround_generic.c'; the
1144 implementation is based on techniques suggested by Danny Smith and
1147 * mingwex/Makefile.in (MATH_DISTFILES): Remove `round.c', `roundf.c',
1148 `roundl.c', `lround.c', `lroundf.c', `lroundl.c', `llround.c',
1149 `llroundf.c' and `llroundl.c'; replace by `round_internal.h',
1150 `round_generic.c' and `lround_generic.c'.
1151 (MATH_OBJS): Factor out files listed in...
1152 (MATH_ROUND_OBJS, MATH_LROUND_OBJS, MATH_LLROUND_OBJS): ...these new
1153 macros; define them; specify dependencies and build rules; add to...
1154 (LIB_OBJS): ...this list.
1156 2008-05-22 Danny Smith <dannysmith@users.sourceforge.net>
1158 [ mingw-Bugs-1961893 ]
1159 * mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa
1160 mode to 2 for E format.
1162 2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
1164 * include/stdlib.h: Fix strtod under C++.
1166 2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
1168 * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
1169 * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
1171 2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
1173 * include/sys/types.h (useconds_t): typedef.
1174 * include/unistd.h (usleep): Add prototype.
1175 * mingwex/usleep.c: New file.
1176 * mingwex/makefile.in: Add usleep source and object.
1178 2008-05-02 Ramiro Polla <ramiro@lisha.ufsc.br>
1180 Make strtod() conform to C99.
1182 * include/stdlib.h (strtod): Declare this mingwex function, and...
1183 (_strtod): rename this MSVCRT counterpart.
1185 * mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
1187 2008-04-26 Chuck Wilson <cwilso11@users.sourceforge.net>
1189 * Makefile.in: correct issues with mingw10.dll having multiple relocs.
1191 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1193 * include/process.h: Include stdint.h for intptr_t definition.
1194 (_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
1195 _spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
1196 _spawnvpe): Return intptr_t.
1197 (execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
1198 spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
1200 * include/wchar.h: Guard wide process.h functions with !__STRICT_ANSI__.
1202 [!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
1203 (_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
1204 _wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
1205 _wspawnvp, _wspawnvpe): Return intptr_t.
1207 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1209 * include/wchar.h (fwide): Return success code rather than failure in inline
1211 * mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
1212 code rather than failure.
1214 2008-03-21 Danny Smith
1216 * include/math.h (float_t, double_t): Define.
1218 2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1220 * mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
1221 * mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
1222 (x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
1224 2008-02-28 Joseph Myers <joseph@codesourcery.com>
1226 * include/complex.h: Don't condition contents on C99 or not
1229 2008-02-01 Brian Dessent <brian@dessent.net>
1231 * Makefile.in: Add rules to generate multiple versions of libmoldname.a for
1232 the different runtime versions.
1234 2008-01-19 Danny Smith <dannysmithusers.sourceforge.net
1236 * inclue/wchar.h (fwide): Add prototype and guard inline definition.
1237 (mbsinit): Likewise.
1239 2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1241 * include/_mingw.h: Increment version to 3.14.
1243 2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1245 * Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
1246 * msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
1247 * mingwex/math/log10f.S: Correct issue with comments.
1248 * mingwex/math/log10l.S: Ditto.
1249 * mingwex/math/log1p.S: Ditto.
1250 * mingwex/math/log1pf.S: Ditto.
1251 * mingwex/math/log1pl.S: Ditto.
1252 * mingwex/math/log2.S: Ditto.
1253 * mingwex/math/log2f.S: Ditto.
1254 * mingwex/math/log2l.S: Ditto.
1255 * mingwex/math/logf.S: Ditto.
1256 * mingwex/math/logl.S: Ditto.
1258 2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
1260 * mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
1262 2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
1264 * include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
1265 from '_fsize_t' to '__int64' to be consistent with the other ...64
1266 structures and the value set there is 8 bytes not 4. Add guard for both
1267 as the are only used by functions available from 6.1 on.
1269 * include/malloc.h (_HEAP_MAXREQ): Define.
1270 (_aligned_offset_recalloc): Define.
1271 (_aligned_recalloc()): Define.
1273 * include/math.h: fixed a typo in a comment.
1274 (atanhf): Fixed declaration.
1276 * include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
1277 to '__int64' to be consistent with the other ...64 structures and the value
1278 set there is 8 bytes not 4. Added guard as this function is only used by
1279 functions available from 6.1 on.
1281 * include/sys/stat.h: some members of 'stat' were declared with types with
1282 a prefixed underscore, while the ones without the underscore should have
1283 been used. Added guard to '__stat64' as it is only used by functions
1284 available from 6.1 on. Added the wide character versions of the
1285 exec()/spawn() family for completion
1286 (_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
1289 * include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
1290 from 'long' to 'time_t'
1291 (__timeb64): moved declaration of structure directly before the declaration
1292 of the function '_ftime64()', so it is guarded as well
1294 * include/sys/utime.h (__utimbuf64): moved declaration of structure directly
1295 before the declaration of the functions using it, so it is guarded as well
1297 2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
1299 * mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
1300 case. Add missing break in 's'/LEN_S case.
1302 2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1304 Make snprintf() and vsnprintf() conform to C99.
1306 * include/stdio.h: Add note about incompatibility between...
1307 (snprintf, vsnprintf): These two mingwex functions, and...
1308 (_snprintf, _vsnprintf): these MSVCRT counterparts.
1310 * mingwex/Makefile.in (STDIO_OBJS): Remove snprintf.o and vsnprintf.o
1311 (STDIO_DISTFILES): Remove snprintf.c and vsnprintf.c
1313 * mingwex/stdio/snprintf.c: Delete.
1314 * mingwex/stdio/vsnprintf.c: Delete.
1316 * mingwex/gdtoa/mingw_snprintf.c (snprintf): Alias to __mingw_snprintf
1317 (vsnprintf): Alias to __mingw_vsnprintf.
1319 2007-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1321 * include/_mingw.h: Increment version to 3.13.
1322 * Makefile.in: Reset CYGRELEASE to 1
1324 2007-07-23 Keith Marshall <keithmarshall@users.sourceforge.net>
1326 * Makefile.in (SUBDIRS): Delete stray line continuation artifact,
1327 resulting from incomplete removal of enclosing `for ...; do ...; done'
1328 loop from compound command; (reported by Greg Chicares).
1330 2007-07-19 Danny Smith <dannysmith@users.sourceforge.net>
1332 * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
1335 2007-07-12 Danny Smith <dannysmith@users.sourceforge.net>
1337 [mingw-Bugs-1734142]
1338 * include/wchar.h (_wsystem) Declare.
1340 (_wgetenv): Declare.
1341 (_wsearchenv): Declare.
1342 (_wmakepath): Declare.
1343 (_wsplitpath): Declare.
1344 (_wfullpath): Declare.
1345 * include/stdlib.h (_wsystem) Declare.
1346 (_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath,
1347 _wfullpath): Move into _WSTDLIB_DEFINED guard.
1348 * include/tchar.h (_tsystem): New UNICODE mapping define.
1350 2007-06-29 Danny Smith <dannysmith@users.sourceforge.net>
1352 * mingwex/gdtoa/mingw_snprintf.c: New file.
1353 * mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
1354 (GDTOA_OBJS): Add mingw_snprintf.o.
1356 2007-06-28 Danny Smith <dannysmith@users.sourceforge.net>
1358 * msvcrt.def.in: Update comment.
1359 Exclude _ctype stub if using msvcr71.dll or newer.
1360 * include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
1361 * include/wctype.h: Likewise.
1363 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1365 *include/wctype.h: Qualify all functions with __MINGW_NOTHROW.
1366 *include/dirent.h: Likewise.
1368 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1370 * include/assert.h: Qualify all functions with __MINGW_NOTHROW.
1371 * include/conio.h: Likewise.
1372 * include/ctype.h: Likewise.
1373 * include/direct.h: Likewise.
1374 * include/dos.h: Likewise.
1375 * include/errno.h: Likewise.
1376 * include/fenv.h: Likewise.
1377 * include/float.h: Likewise.
1378 * include/inttypes.h: Likewise.
1379 * include/io.h: Likewise.
1380 * include/libgen.h: Likewise.
1381 * include/locale.h: Likewise.
1382 * include/malloc.h: Likewise.
1383 * include/mbctype.h: Likewise.
1384 * include/mbstring.h: Likewise.
1385 * include/process.h: Likewise.
1386 * include/search.h: Likewise.
1387 * include/setjmp.h: Likewise.
1388 * include/signal.h: Likewise.
1389 * include/stdio.h: Likewise.
1390 * include/stdlib.h: Likewise.
1391 * include/string.h: Likewise.
1392 * include/time.h: Likewise.
1393 * include/wchar.h: Likewise.
1394 * include/sys/stat.h: Likewise.
1395 * include/sys/time.h: Likewise.
1396 * include/sys/timeb.h: Likewise.
1397 * include/sys/utime.h: Likewise.
1399 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1401 * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
1403 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1405 Add POSIX binary tree search API.
1407 * mingwex/tfind.c: New file.
1408 * mingwex/tdelete.c: New file.
1409 * mingwex/tsearch.c: New file.
1410 * mingwex/twalk.c: New file.
1411 * mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
1412 * mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
1413 * include/search.h (tfind): Declare.
1420 (node_t): Define, on condition of _SEARCH_PRIVATE.
1422 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1424 * include/_mingw.h (__MINGW_NOTHROW): Define.
1426 2007-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1428 * include/stdio.h (vsnprintf): Remove inline definition.
1431 2007-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1433 * CRTfmode.c: Nit-pick comment fix.
1435 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1437 * CRTfmode.c: Fix nested comment.
1439 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1441 * include/string.h (strcasecmp): Fix typo in declaration prototype.
1443 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1445 * include/io.h (lseek64) : Add prototype.
1447 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1449 * include/string.h (strcasecmp): Add prototype.
1450 (strncasecmp): Add prototype.
1452 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1454 * Makefile.in (CRT0S): Revert last change.
1455 * CRTfmode.c. Correct comment.
1457 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1459 * Makefile.in (CRT0S): Add back CRTfmode.o.
1461 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1463 * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
1464 * include/io.h: Likewise.
1466 2007-06-11 Danny Smith <dannysmith@users.sourceforge.net>
1468 * crt1.c (__mingw_CRTStartup): Add explicit call to gcc's __main.
1470 2007-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1472 * include/stdint.h (intptr_t): Fix typo.
1473 Thanks to Charles Wilson for report.
1475 2007-05-07 Danny Smith <dannysmith@users.sourceforge.net>
1477 * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
1478 Condition on _WIN64.
1479 (uintptr_t): Protect with _UINTPTR_T_DEFINED. Condition on _WIN64.
1480 (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64.
1481 (PTRDIFF_MIN): Define as INTPTR_MIN.
1482 (PTRDIFF_MAX): Define as INTPTR_MAX.
1483 (SIG_ATOMIC_MIN): Define as INTPTR_MIN.
1484 (SIG_ATOMIC_MAX): Define as INTPTR_MAX.
1486 2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1488 * Makefile.in: Removed mansuffix variable. Changed mansection to support
1489 Cygwin man page location.
1491 2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1493 * Makefile.in: Added mansection and mansuffix variables. Changed mandir to
1494 support Cygwin man page location.
1496 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1498 * Include/_mingw.h: Increment version to 3.12.
1500 2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
1502 * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__.
1504 2007-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1506 * Makefile.in: Tweak srcdist to fix build issue.
1508 2007-03-20 Keith Marshall <keithmarshall@users.sourceforge.net>
1510 Add --enable-mingw-manpage-transform configure option.
1512 * aclocal.m4 (MINGW_AC_MANPAGE_TRANSFORM): New macro.
1513 * configure.in, Makefile.in: Use it.
1514 * configure: Regenerated.
1516 2007-03-18 Danny Smith <dannysmith@users.sourceforge.net>
1518 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ for gcc 4.2.x too.
1520 2007-03-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1522 Add manpages for dirname and basename functions.
1524 * man: New directory.
1525 * man/dirname.man: New file; it sources both manpages.
1526 * Makefile.in: Add provisional rules to distribute them.
1528 2007-03-08 Keith Marshall <keithmarshall@users.sourceforge.net>
1530 * mingwex/basename.c: Make it work with path names containing
1531 multibyte character strings.
1532 * mingwex/dirname.c: Likewise.
1534 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1536 * include/io.h (__mingw_access): New static inline wrapper to restore
1537 pre-Vista 'access (fname, X_OK)' behaviour.
1538 (__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
1540 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1542 * mingwex/fesetround.c (fesetround): Use unsigned int as operand
1544 Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
1546 2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
1548 * include/stdio.h (_unlink, unlink): Add prototypes.
1550 2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
1552 * include/excpt.h: Replace "_try1" in comments with "__try1".
1554 2007-02-15 Danny Smith <dannysmith@users.sourceforge.net>
1556 * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1557 (ALL_CXXFLAGS): Likewise.
1558 * mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1559 (ALL_CXXFLAGS): Likewise.
1560 * profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1561 (ALL_CXXFLAGS): Likewise.
1563 2007-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1565 * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
1567 2007-01-27 Danny Smith <dannysmith@users.sourceforge.net>
1569 Expose some more msvcr80.dll functions.
1570 * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
1571 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
1572 * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
1573 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
1575 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1577 Expose some msvcr80.dll functions.
1578 * include/stdlib.h (_set_abort_behavior): Add prototype.
1579 (_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
1580 _set_abort_behavior mask argument.
1581 (_invalid_parameter_handler): Add typedef.
1582 (_set_invalid_parameter_handler): Add prototype.
1583 * include/stdio.h (_get_printf_count_output): Add prototype.
1584 (_set_printf_count_output): Add prototype.
1585 * msvcrt.def.in (_get_printf_count_output,_set_printf_count_output,
1586 _set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
1588 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1590 * include/_mingw.h (CRT_INLINE): Correct typo.
1592 2007-01-24 Danny Smith <dannysmith@users.sourceforge.net>
1594 * include/io.h (X_OK): Define to F_OK.
1596 2007-01-19 Danny Smith <dannysmith@users.sourceforge.net>
1598 * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1599 unconditionally. Change comment.
1600 * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1602 * include/io.h (rename): Declare.
1605 2006-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
1607 * include/libgen.h: New file; required by...
1608 * mingwex/basename.c, mingwex/dirname.c: New files.
1609 * mingwex/Makefile.in (DISTFILES): Add them...
1610 (POSIX_OBJS): ...with corresponding basename.o, dirname.o
1611 (Dependencies): Typo; s/Dependancies/Dependencies/
1613 2006-11-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1615 * Makefile.in (VERSION): Let configure define it.
1617 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): New macro.
1618 * configure.in: Use it.
1619 Correct quoting of autoconf macro arguments throughout.
1620 (AC_INIT, AC_OUTPUT): Update to autoconf 2.5x preferred syntax.
1621 (AR, AS, RANLIB, LD, DLLTOOL, DLLWRAP): Don't need AC_SUBST.
1622 (AC_ALLOCA): Invalid after GCC_NO_EXECUTABLES; removed.
1623 (AC_CONFIG_FILES): Add, to generate Makefile.
1625 * configure: Regenerated.
1627 2006-11-21 Danny Smith <dannysmith@users.sourceforge.net>
1629 * Makefile.in: Add aclocal.m4 to source release.
1630 * mingwex/Makefile.in: Ditto.
1631 * profile/Makefile.in: Ditto.
1633 2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1635 * Include/_mingw.h: Increment version to 3.11.
1636 * Makefile.in: Ditto.
1638 2006-11-09 Danny Smith <dannysmith@users.sourceforge.net>
1640 [ mingw-Bugs-1590623 ]
1641 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
1644 2006-10-04 Corinna Vinschen <corinna@vinschen.de>
1646 * Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
1647 correctly parenthesized.
1649 2006-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1651 * mingwex/mb_wc_common.h (get_codepage): Get it
1654 2006-09-18 Danny Smith <dannysmith@users.sourceforge.net>
1656 * mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity.
1658 * mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to
1660 * mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with
1663 2006-09-16 Danny Smith <dannysmith@users.sourceforge.net>
1665 * mingwex/gdtoa/strtopx.c (strtopx): Fix long double representation
1668 2006-09-11 Christopher Faylor <cgf@timesys.com>
1670 * Makefile.in: Semi-revert 2006-08-30 change.
1672 2006-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1674 * include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
1675 (__MINGW_IMPORT): Ansify.
1676 * include/stdlib.h (_sleep, _beep, _seterrormode): Add
1677 __MINGW_ATTRIB_DEPRECATED.
1679 2006-09-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1681 * aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
1682 Redundant macros; deleted.
1684 * configure.in (LIB_AC_PROG_CC): Replaced by...
1685 (AC_PROG_CC): ...this.
1687 * configure: Regenerated.
1689 2006-09-06 Danny Smith <dannysmith@users.sourceforge.net>
1691 * mingwex/gdtoa/misc.c (pow5mult): Restore original code.
1692 * mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
1693 * mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
1695 2006-09-01 Danny Smith <dannysmith@users.sourceforge.net>
1697 * mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
1698 g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
1699 gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
1700 README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
1702 * mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
1703 * mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
1704 * mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
1705 * mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
1706 * mingwex/wcstold.c: Avoid using strtold internals.
1707 * mingwex/wcstof.c: Rewrite.
1708 * mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
1709 (GDTOA_OBJS): Add to library.
1710 (DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
1711 (STDLIB_OBJS): Remove.
1712 (STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
1713 (Q8_OBJS): Add wcstof.o wcstold.o.
1714 * include/stdlib.h (strtof): Remove inline definition.
1716 * include/wchar.h (wcstof): Remove inline definition.
1718 2006-08-30 Corinna Vinschen <corinna@vinschen.de>
1720 * Makefile.in: Add with_cross_host to allow more granular checks.
1721 Set installation directories accordingly. Override CC setting only
1722 if building a Cygwin target.
1723 * aclocal.m4: Regenerate.
1724 * configure.in: Move AC_CANONICAL_SYSTEM check up. Add
1725 GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files.
1726 Test AC_ALLOCA only if building on a native system.
1727 * configure: Regenerate.
1729 2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1731 * include/ctype.h: Fix typo.
1733 2006-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1735 * include/ctype.h: Expose iswblank if __cplusplus.
1736 * include/wctype.h: Expose iswblank if __cplusplus.
1738 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1740 * include/ctype.h: Remove stray ')';
1742 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1744 * include/ctype.h (_BLANK): Expand comment.
1745 (isblank): Add prototype and inline definition.
1746 (iswblank): Add prototype and inline definition.
1747 * include/wctype.h (iswblank): Add prototype and inline definition.
1748 * mingwex/isblank.c: New file.
1749 * mingwex/iswblank.c: New file.
1750 * mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
1752 2006-07-06 Danny Smith <dannysmith@users.sourceforge.net>
1754 * include/math.h (__INFF,__INFL): Remove '#'.
1756 2006-07-04 Danny Smith <dannysmith@users.sourceforge.net>
1758 * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
1760 2006-07-03 Danny Smith <dannysmith@users.sourceforge.net>
1762 Support SSE float environment in fenv.h functions.
1763 * cpu_features.c: New file.
1764 * cpu_features.h: New file.
1765 * crt1.c: Include "cpu_features.h".
1766 (__mingw_CRTStartup): Call cpu_features_init().
1767 * Makefile.in (MING_OBJS): Add cpu_features.c.
1768 (SRCDIST_FILES): Add cpu_features.c, cpu_features.h.
1769 * include/fenv,h ( fenv_t;): Append __mxcsr field.
1770 (__MXCSR_EXCEPT_FLAG_SHIFT): New define.
1771 (__MXCSR_EXCEPT_MASK_SHIFT): New define.
1772 (__MXCSR_ROUND_FLAG_SHIFT): New define.
1773 * mingwex/feclearexcept.c: Include "cpu_features.h".
1774 Handle SSE environment.
1775 * mingwex/fegetenv.c: Likewise.
1776 * mingwex/feholdexcept.c: Likewise.
1777 * mingwex/fesetenv.c: Likewise.
1778 * mingwex/fesetexceptflag.c: Likewise.
1779 * mingwex/fesetround.c: Likewise.
1780 * mingwex/fetestexcept.c: Likewise.
1781 * mingwex/feupdateenv.c: Likewise.
1782 * mingwex/fegetround.c: Add comment.
1784 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1786 * Include/_mingw.h: Increment version to 3.10.
1787 * Makefile.in: Ditto.
1789 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1791 * mingwex/math/tgamma.c (SQTPI): Add braces.
1793 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1795 * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
1796 * mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
1798 * mingwex/math/sf_erf.c (erff): Initialize z.
1800 * mingwex/math/tgamma.c (SQTPI): Avoid type punning.
1802 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1804 * Include/_mingw.h: Increment version to 3.10.
1805 * Makefile.in: Ditto.
1807 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1809 * include/sys/time.h (struct timezone): Define.
1810 * include/time.h: Correct comment about timezone.
1812 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1814 * configure.in (AC_CONFIG_AUX_DIR): Remove.
1815 * configure: Regenerate.
1817 2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
1819 * configure: add srcdir as a possible location for install-sh.
1821 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1823 * mingwex/dirent.c (_tGetFileAttributes): New helper function.
1824 (_topendir): Use it.
1826 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1828 * include/sys/time.h: Add header guard. Add extern "C" bracketing
1830 (gettimeofday): Add prototype.
1831 * mingwex/gettimeofday.c: New file.
1832 * mingwex/makefile.in: Add gettimeofday source and object.
1834 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1836 * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
1837 else global library variable.
1838 (HUGEVALF): Likewise.
1839 (HUGEVALL): Likewise.
1840 (INFINITY): Likewise.
1843 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1845 * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
1847 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1849 * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
1851 2006-05-24 Christopher Faylor <cgf@timesys.com>
1853 * configure.in: Update to newer autoconf.
1854 (thanks to Steve Ellcey)
1855 * mingwex/configure.in: Ditto.
1856 * profile/configure.in: Ditto.
1857 * configure: Regenerate.
1858 * mingwex/configure: Ditto.
1859 * profile/configure: Ditto.
1860 * aclocal.m4: New file.
1861 * mingwex/aclocal.m4: Ditto.
1862 * profile/aclocal.m4: Ditto.
1864 2006-05-17 Danny Smith <dannysmith@users.sourceforge.net>
1866 * mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.
1867 Use supplied codepage as arg to WideCharToMultiByte.
1869 2006-02-13 Earnie Boyd <earnie@users.sf.net>
1871 * Makefile.in (libmsvcr80.a): Add import lib.
1872 (libmsvcr80d.a): Ditto.
1874 2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1876 * Makefile.in: Bump cygwin build number.
1878 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1880 * Include/_mingw.h: Increment version to 3.9.
1881 * Makefile.in: Ditto.
1883 2005-10-14 Danny Smith <dannysmith@users.sourceforge.net>
1885 * include/limits.h (SSIZE_MAX): Define.
1886 (LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.
1888 2005-10-13 Wu Yongwei <adah@users.sourceforge.net>
1890 * include/tchar.h: Include <wchar.h> when _UNICODE is defined.
1891 (_TEOF): New macro definition for _UNICODE and non_UNICODE cases.
1893 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1895 * include/stddef.h: Remove.
1896 * include/stdarg.h: Remove.
1898 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1900 * mingwex/complex/csqrt.c (csqrt): The sign of real part
1901 of result is positive when real part of arg == 0;
1902 * mingwex/complex/csqrtf.c (csqrtf): Ditto.
1903 * mingwex/complex/csqrtl.c (csqrtl): Ditto.
1905 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1907 * include/time.h (_time64): Correct prototype.
1909 2005-10-08 Danny Smith <dannysmith@users.sourceforge.net>
1911 * mingwex/fegetenv.c (fegetenv): Restore exception masks.
1912 * mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
1913 to non-stop. Use "fnclex" to clear exception flags.
1915 2005-09-24 Danny Smith <dannysmith@users.sourceforge.net>
1917 * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
1918 Avoid raising FP exceptions.
1920 2005-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1922 * include/stdlib.h (strtof): Add prototype. Uglify
1923 parameter names in inline definition.
1925 (_Exit): Uglify parameter names in inline definition.
1926 (llabs): Add prototype.
1927 (_set_error_mode): Add prototype and input defines.
1929 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1931 * mingwex/fe*.c: Revert previous changes.
1932 * include/fenv.h: Revert previous changes.
1934 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1936 * mingwex/feclearexcept.c (feclearexcept): Change declaration.
1937 Do not return a value.
1938 * mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
1939 * mingwex/feraiseexcept.c (feraiseexcept): Likewise.
1940 * mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
1941 * mingwex/fegetenv.c (fegetenv): Likewise.
1942 * mingwex/fesetenv.c (fesetenv): Likewise.
1943 * mingwex/feupdateenv.c (feupdateenv): Likewise.
1944 * include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
1945 fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
1948 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1950 * mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
1951 getting filelength for SEEK_END.
1953 2005-08-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1955 * Include/_mingw.h: Increment version to 3.8.
1956 * Makefile.in: Ditto.
1958 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1960 * include/wctype.h (towupper, towlower): Change arg and return value
1962 * include/ctype.h (towupper, towlower): Likewise.
1964 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1966 * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
1967 a diagnostic, guarded by #ifdef DEBUG.
1968 (__mingwthr_remove_key_dtor): Likewise.
1970 2005-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1972 * moldname.def.in (sleep, beep, seterrormode): Remove.
1974 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1976 * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
1977 (_MCOUNT_DECL): Use it.
1978 (MCOUNT): Save and restore eax, ecx, edx registers.
1979 * profile/mcount.c (_mcount): ANSI-fy.
1981 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1983 * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
1984 guard __MINGW_ATTRIB macro definitions.
1985 * include/math.h (logb[fl]): Don't define inlines for
1986 GCC-4.0+ && __FAST_MATH__.
1987 (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up
1988 line-continuation backslashes.
1990 2005-06-06 Danny Smith <dannysmith@users.sourceforge.net>
1992 * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
1993 in GNUC version guard.
1995 2005-05-20 Danny Smith <dannysmith@users.sourceforge.net>
1997 * crt1.c (_gnu_exception_handler): Handle illegal instruction
1998 OS exception as a signal if user has defined a SIGILL handler.
2000 2005-05-10 Danny Smith <dannysmith@users.sourceforge.net>
2002 * mingwex/math/nexttoward.c: New file.
2003 * mingwex/math/nexttowardf.c: New file.
2004 * mingwex/math/nextafterl.c: Add nexttowardl alias.
2005 * mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
2007 (MATH_OBJS): Add nexttoward.o, nexttowardf.o,
2008 * include/math.h (nexttoward, nextowardf, nexttowardl): Add
2011 2005-05-09 Danny Smith <dannysmith@users.sourceforge.net>
2013 * mingwex/math/nextafterf.c (nextafterf): Correct
2015 * mingwex/math/nextafterl.c: New file.
2016 * mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
2017 (MATH_OBJS): Add nextafterl.o.
2018 * include/math.h (nextafterl): Uncomment prototype.
2020 2005-05-08 Danny Smith <dannysmith@users.sourceforge.net>
2022 * mingwex/math/erfl.c: New file.
2023 * mingwex/Makefile.in (MATH_DISTFILES): Add erfl.c.
2024 (MATH_OBJS): Add erfl.o.
2025 * include/math.h (erfl, erfcl): Uncomment prototypes.
2027 2005-05-04 Danny Smith <dannysmith@users.sourceforge.net>
2029 * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
2030 #if (WCHAR_MAX <= WCHAR_MIN) is false.
2031 * include/stdint.h (WCHAR_MAX): Likwise.
2032 (WINT_MAX): Likewise.
2034 2005-05-03 Danny Smith <dannysmith@users.sourceforge.net>
2036 * mingwex/math/signbit.c (__signbit): Make return value
2037 consistent with GCC's __builtin_signbit.
2038 * mingwex/math/signbitf.c (__signbitf): Likewise.
2039 * mingwex/math/signbitf.c (__signbitl): Likewise.
2040 * include/math.h (__signbit, __signbitf, __signbitl): Likewise
2043 2005-05-02 Danny Smith <dannysmith@users.sourceforge.net>
2045 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
2047 * mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
2048 Remove unused MBTOWC_FLAGS define.
2050 2005-04-23 Danny Smith <dannysmith@users.sourceforge.net>
2052 * mingwex/mbrtowc.c: New file.
2053 * mingwex/wcrtomb.c: New file.
2054 * mingwex/btowc.c: New file.
2055 * mingwex/wctob.c: New file.
2056 * mingwex/mb_wc_common.h: New file.
2057 * mingwex/Makefile.in (DISTFILES): Add new files.
2058 (Q8_OBJS): Add new objects.
2059 * include/wchar.h: Adjust comment about mbrtowc() and related
2060 funcions. Add __restrict__ to pointer params in prototypes.
2061 (wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
2062 arg names from protototypes.
2064 2005-04-23 Wu Yongwei <adah@sh163.net>
2066 * mingwex/dirent.c: Formatting changes.
2067 * mingwex/dirent.c (_topendir): Make the end-of-path slash check
2070 2005-03-31 Danny Smith <dannysmith@users.sourceforge.net>
2072 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
2074 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
2076 * include/stdio.h (__mingw_fwrite): Change return value to
2078 * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
2080 2005-03-15 Hans Leidekker <hans@it.vu.nl>
2082 * include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
2084 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2086 * include/wctype.h (wctrans): Remove _CRTIMP.
2087 (towctrans): Likewise.
2090 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2092 * include/wctype.h: Add comment on wctrans, towctrans, wctype.
2094 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2096 * mingwex/wctype.c: New file.
2097 * mingwex/wctrans.c: New file.
2098 * mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c.
2099 * mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.
2101 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2103 * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.
2105 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2107 * include/assert.h: Remove header guard. #undef assert macro.
2108 (_assert): Use __MINGW_ATTRIB_NORETURN define.
2110 2005-02-11 Gregory W. Chicares <chicares@cox.net>
2111 Danny Smith <dannysmith@users.sourceforge.net>
2113 * include/math.h (expm1, expm1f, expmll): Add prototypes.
2114 * mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
2116 (MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
2117 * mingwex/math/expm1.c: New file.
2118 * mingwex/math/expm1f.c: New file.
2119 * mingwex/math/expm1l.c: New file.
2121 2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
2123 * include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
2124 * include/wchar.h (struct stat): Likwwise.
2125 Bug reported to Debian by Anand Kumria <wildfire@progsoc.org>
2127 * include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
2129 2005-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2131 * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
2132 string is not valid.
2134 2005-01-26 Oliver Stoeneberg <oliverst@online.de>
2136 * include/malloc.h: Add missing return code defines for
2139 2005-01-17 Danny Smith <dannysmith@users.sourceforge.net>
2141 * include/sys/stat.h (struct __stat64): Change st_size type to
2143 * include/wchar.h (struct __stat64): Change st_size type to __int64.
2145 2005-01-13 Earnie Boyd <earnie@users.sf.net>
2147 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2149 * include/errno.h (ELOOP): Ditto.
2150 * include/_mingw.h: Increment version to 3.7.
2151 * Makefile.in: Ditto.
2153 2005-01-11 Danny Smith <dannysmith@users.sourceforge.net>
2155 * include/tchar.h (_tfreopen): Add UNICODE mappings.
2157 2005-01-11 Earnie Boyd <earnie@users.sf.net>
2159 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2160 lstat): Conditionalize defines for __STRICT_ANSI__.
2162 2005-01-10 Earnie Boyd <earnie@users.sf.net>
2164 * include/errno.h (ELOOP): Add definition.
2166 2005-01-10 Danny Smith <dannysmith@users.sourceforge.net>
2168 * mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
2169 casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
2170 clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
2171 ctanl.c ctanhl.c): New files.
2172 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2173 (COMPLEX_OBJS): Adjust.
2174 * include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
2175 casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
2176 cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
2179 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2181 * include/_mingw.h (__int16): Define as short.
2182 Thanks to: Leo Yuriev <leoyuriev at users dot sf dot net>
2184 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2186 * include/stdio.h (P_tmpdir): Add define.
2188 2005-01-03 Earnie Boyd <earnie@users.sf.net>
2190 * Makefile.in (inst_docdir): For Cygwin target set to share/doc/.
2192 2005-01-02 Earnie Boyd <earnie@users.sf.net>
2194 * include/_mingw.h: Increment version to 3.6
2195 * Makefile.in: Ditto
2197 2004-12-26 Danny Smith <dannysmith@users.sourceforge.net>
2199 * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
2200 casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
2201 clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
2202 ctanf.c ctanhf.c): New files.
2203 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2204 (COMPLEX_OBJS): Adjust.
2205 * include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
2206 casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
2207 cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
2210 2004-12-20 Danny Smith <dannysmith@users.sourceforge.net>
2212 * include/wchar.h (wcsdup): Correct prototype.
2213 * include/string.h (wcsdup): Correct prototype.
2215 2004-10-14 Danny Smith <dannysmith@users.sourceforge.net>
2217 * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
2219 2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
2221 * mingwex/math/fastmath.h: New file.
2222 * mingwex/math/asinh.c: New file.
2223 * mingwex/math/asinhf.c: New file.
2224 * mingwex/math/asinhl.c: New file.
2225 * mingwex/math/acosh.c: New file.
2226 * mingwex/math/acoshf.c: New file.
2227 * mingwex/math/acoshl.c: New file.
2228 * mingwex/math/atanh.c: New file.
2229 * mingwex/math/atanhf.c: New file.
2230 * include/math.h (asinh, asinhf, asinhl, acosh, acoshf, acoshl,
2231 atanh, atanhf, atanhl): Add prototypes.
2232 * mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
2233 (MATH_DISTFILES): Add sources for above and fastmath.h to list.
2234 Specify dependency on fastmath.h for new objects.
2236 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2238 * include/sys/stat.h (_S_IFLNK): Add definition.
2245 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2247 * include/sys/stat.h (_S_ISLNK): Add definition.
2250 2004-09-05 Earnie Boyd <earnie@users.sf.net>
2252 * include/_mingw.h: Increment minor version for 3.5 release.
2253 * Makefile.in: Ditto.
2254 * mingwex/Makefile.in: Correct typo in list of DISTFILES.
2256 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2258 * include/malloc.h (__mingw_aligned_offset_malloc,
2259 __mingw_aligned_offset_realloc, __mingw_aligned_malloc,
2260 __mingw_aligned_realloc, __mingw_aligned_free): Add
2262 * mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
2263 tst-aligned-malloc.c.
2264 (REPLACE_OBJS): Add mingw-aligned-malloc.o.
2266 2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
2268 * mingwex/mingw-aligned-malloc.c: New file.
2269 * mingwex/tst-aligned-malloc.c: New file.
2271 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2273 * crt1.c: (__mingw_CRTStartup): Change return to void. Add
2274 noreturn attribute. Align stack to 16 bytes before passing args
2276 (mainCRTStartup): Change return to void.
2277 (WinMainCRTStartup): Likewise.
2279 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2281 * profile/COPYING: New file.
2282 * profile/CYGWIN_LICENSE: New file.
2283 * profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
2285 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2287 * mingwex/fopen64.c: Move.
2288 * mingwex/fseeko64.c: Move.
2289 * mingwex/ftello64.c: Move.
2290 * mingwex/lseek64.c: Move.
2291 * mingwex/stdio/fopen64.c: To here.
2292 * mingwex/stdio/fseeko64.c: To here.
2293 * mingwex/stdio/ftello64.c: To here.
2294 * mingwex/stdio/lseek64.c: To here.
2296 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2298 * profile/gmon.c [__MINGW32__]: Include string.h for
2301 2004-08-08 Christopher Faylor <cgf@timesys.com>
2303 * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
2305 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2307 * include/complex.h: Remove __attribute__ ((const)) from
2308 transcendantal and trig functions. Replace __attribute__ ((const))
2309 with __MINGW_ATTRIB_CONST on other declarations.
2311 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2313 * include/wchar.h: Reorganize, avoid including other headers.
2315 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2317 * include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
2318 (strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
2321 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2323 * include/dirent.h (struct _wdirent): Remove obsolete comment.
2325 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2327 * include/string.h: Revert 2004-07-26 additions of
2330 2004-07-28 Danny Smith <dannysmith@users.sourceforge.net>
2332 * mingwex/math/powl.c (powl): Revert change of 2004-02-01.
2333 (__convert_inf_to_maxnum): New.static inline.
2334 (reducl): Use it to protect against Inf - Inf.
2335 (__fast_ldexpl): New function. Use in lieu of ldexpl.
2337 2004-07-27 Danny Smith <dannysmith@users.sourceforge.net>
2339 * mingwex/math/expl.c (expl): Move body of code to new static
2340 function __expl, removing tests for +/-Inf. Extern function
2341 expl calls __expl after testing for max, min log thresholds.
2343 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2345 * mingwex/stdio/vsscanf.c: Add "edi" to registers-modified field
2346 * mingwex/stdio/vfscanf.c: Likewise.
2347 * mingwex/stdio/vswscanf.c: Likewise.
2348 * mingwex/stdio/vfwscanf.c: Likewise.
2350 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2352 * include/_mingw.h: Use only two underscores to uglify
2353 __MINGW_ATTRIB_* macros.
2354 * include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
2355 * include/setjmp.h: Likewise.
2357 * include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
2359 (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
2361 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2363 * include/string.h: Group wide string functions together,
2364 and protect with _WSTRING_DEFINED.
2366 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2368 * include/_mingw.h (__MINGW_ATTR_*): Replace with
2370 * include/stdlib.h (_ATTRIB_NORETURN): Replace with
2371 __MINGW_ATTRIB_NORETURN, throughout.
2372 (malloc): Declare with __MINGW_ATTRIB_MALLOC.
2374 (abs): Declare with __MINGW_ATTRIB_CONST.
2383 * include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
2385 2004-07-21 Danny Smith <dannysmith@users.sourceforge.net>
2387 * include/_mingw.h: Undefine __attribute__.
2388 (__MINGW_ATTR_NORETURN): New define.
2389 (__MINGW_ATTR_CONST): New define.
2390 (__MINGW_ATTR_MALLOC): New define.
2391 (__MINGW_ATTR_PURE): New define.
2392 (_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
2395 2004-07-19 Danny Smith <dannysmith@users.sourceforge.net>
2397 * include/time.h (__time64_t): Add missing ';'.
2399 2004-07-17 Danny Smith <dannysmith@users.sourceforge.net>
2401 * include/time.h (wcsftime): Move out of !__STRICT_ANSI
2403 (struct tm): Protect with _TM_DEFINED.
2405 2004-07-17 Christopher Faylor <cgf@timesys.com>
2407 * Makefile.in (CC): Strip inappropriate include file settings from any
2410 2004-07-15 "dgun" <dgun@umpire.com>
2412 * include/complex.h (conj): Correct typo in prototype.
2414 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2416 * include/math.h: Add pragma GCC system_header.
2418 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2420 * mingwex/complex/carg.c: New file.
2421 * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
2423 2004-07-15 Corinna Vinschen <corinna@vinschen.de>
2425 * Makefile.in (INCLUDES): Temporarily revert previous change.
2426 * mingwex/Makefile,in (INCLUDES): Ditto.
2427 * profile/Makefile,in (INCLUDES): Ditto.
2428 * mingwex/Makefile,in: Drop carg.o dependency.
2430 2004-07-14 Christopher Faylor <cgf@timesys.com>
2432 * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
2434 2004-07-14 Danny Smith <dannysmith@users.sourceforge.net>
2436 * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
2438 * mingwex/Makefile,in (INCLUDES): Ditto.
2439 * profile/Makefile,in (INCLUDES): Ditto.
2441 * mingwex/Makefile,in: Add carg.o to libmingwex.a.
2443 2004-07-13 Earnie Boyd <earnie@users.sourcefourge.net>
2445 * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
2447 * mingwex/Makefile.in: Ditto.
2448 * profile/Makefile.in: Ditto.
2449 * include/limits.h: Change to new file header preamble.
2450 * include/_mingw.h: Increment minor version for 3.4 release.
2451 * Makefile.in: Ditto.
2453 2004-07-12 Danny Smith <dannysmith@users.sourceforge.net>
2455 * mingwex/math/cephes_emath.h (__etens): Remove declaration.
2457 2004-07-11 Danny Smith <dannysmith@users.sourceforge.net>
2459 * include/unistd.h (ftruncate): Add inline definition.
2460 * mingwex/ftruncate.c: New file.
2461 * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
2463 2004-07-10 Danny Smith <dannysmith@users.sourceforge.net>
2465 * include/time.h: Do not include sys/types.h.
2467 2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
2469 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
2470 (MATH_OBJS): Remove pow,o.
2471 * include/math.h (pow): Declare with _CRTIMP.
2472 Add comment on how to avoid excess precision problems.
2474 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
2476 * include/stdio.h (__mingw_fseeko64): Add prototype.
2477 * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
2478 (__mingw_fwrite): Handle huge files.
2480 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
2481 Danny Smith <dannysmith@users.sourceforge.net>
2483 * include/stdio.h (fopen64): Add inline function.
2484 (fseeko64): Add prototype.
2485 (ftello64): Add inline function.
2486 * include/io.h (lseek64): Add inline function.
2487 * include/sys/types (off64_t): Add typedef.
2488 (fpos64_t): Add typedef.
2489 * mingwex/fopen64.c: New file.
2490 * mingwex/fseeko64.c: New file.
2491 * mingwex/ftello64.c: New file.
2492 * mingwex/lseek64.c: New file.
2493 * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
2494 fseeko.64.c, ftello64.c, lseek64.c.
2495 (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
2497 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
2499 * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
2501 2004-04-22 Earnie Boyd <earnie@users.sf.net>
2503 * DISCLAIMER: Add words about "free to use".
2504 * README: Modify "Win32 runtime" to "Microsoft C Runtime".
2505 * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
2506 (inst_docdir): New variable.
2508 (FLAGS_TO_PASS): Include inst_docdir.
2509 (install-dirs): Add inst_docdir.
2510 (install): Add loop for INSTDOCS.
2511 * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
2512 section to CONTRIBUTORS file. Remove RCS tags.
2514 2004-04-22 Danny Smith <dannysmith@users.sourceforge.net>
2516 * mingwex/math/lround.c: Rewrite.
2517 * mingwex/math/lroundf.c: Rewrite.
2518 * mingwex/math/lroundl.c: Rewrite.
2519 * mingwex/math/llround.c: Rewrite.
2520 * mingwex/math/llroundf.c: Rewrite.
2521 * mingwex/math/llroundl.c: Rewrite.
2523 2004-04-20 Earnie Boyd <earnie@users.sf.net>
2525 * CONTRIBUTORS: New file.
2526 * DISCLAIMER: Ditto.
2527 * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
2528 section to CONTRIBUTORS file. Remove RCS tags.
2529 * CRTFmode.c: Ditto.
2533 * crtdll.dev: Ditto.
2543 * msvcrt.def.in: Ditto.
2544 * strcasecmp.c: Ditto.
2547 * include/assert.h: Ditto.
2548 * include/conio.h: Ditto.
2549 * include/ctype.h: Ditto.
2550 * include/direct.h: Ditto.
2551 * include/dirent.h: Ditto.
2552 * include/dos.h: Ditto.
2553 * include/errno.h: Ditto.
2554 * include/excpt.h: Ditto.
2555 * include/fcntl.h: Ditto.
2556 * include/float.h: Ditto.
2557 * include/io.h: Ditto.
2558 * include/locale.h: Ditto.
2559 * include/malloc.h: Ditto.
2560 * include/math.h: Ditto.
2561 * include/process.h: Ditto.
2562 * include/setjmp.h: Ditto.
2563 * include/share.h: Ditto.
2564 * include/signal.h: Ditto.
2565 * include/stdio.h: Ditto.
2566 * include/stdlib.h: Ditto.
2567 * include/string.h: Ditto.
2568 * include/tchar.h: Ditto.
2569 * include/time.h: Ditto.
2570 * include/wchar.h: Ditto.
2571 * include/sys/locking.h: Ditto.
2572 * include/sys/param.h: Ditto.
2573 * include/sys/stat.h: Ditto.
2574 * include/sys/timeb.h: Ditto.
2575 * include/sys/types.h: Ditto.
2576 * include/sys/utime.h: Ditto.
2577 * mingwex/dirent.c: Ditto.
2579 2004-04-19 Earnie Boyd <earnie@users.sf.net>
2581 * include/_mingw.h: Revert to primary release 3 and increment minor
2583 * Makefile.in (VERSION): Ditto.
2585 2004-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2587 * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
2588 _fmode if not __MSVCRT__.
2590 2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
2592 * include/io.h: (_findfirst): Correct prototype.
2594 2004-03-30 Hans Leidekker <hans@it.vu.nl>
2596 * include/io.h: (_findnext, _findclose): Correct prototype.
2598 2004-03-28 Hans Leidekker <hans@it.vu.nl>
2600 * include/math.h (FP_*): Add defines.
2602 2004-03-29 Danny Smith <dannysmith@users.sourceforge.net>
2604 * mingwex/math/round.c: Rewrite.
2605 * mingwex/math/roundf.c: Rewrite.
2606 * mingwex/math/roundl.c: Rewrite.
2608 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2610 * include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.
2611 * include/time.h (__time64_t): Add typedef.
2612 (_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2613 (_ctime64): Likewise.
2614 (_wctime64): Likewise.
2615 (_gmtime64): Likewise.
2616 (_localtime64): Likewise.
2617 (wcsftime): Move into _WTIME_DEFINED block.
2618 Regroup non-ANSI prototypes.
2619 * include/io.h: Include <stdint.h>.
2620 (__finddata64_t): Add struct definition.
2621 (__wfinddata64_t): Likewise.
2622 (_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2623 (_findnext64): Likewise.
2624 (_wfindfirst64): Likewise.
2625 (_wfindnext64): Likewise.
2626 * include/sys/timeb.h (__timeb64): Add struct definition.
2627 (_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2628 * include/sys/utime.h (__utimbuf64): Add struct definition.
2629 (_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2630 (_futime64): Likewise.
2631 (_wutime64): Likewise.
2632 * include/sys/stat.h (__stat64): Add struct definition.
2633 (_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2634 (_stat64): Likewise.
2635 (_wstat64): Likwise.
2636 * include/sys/types.h (__time64_t): Add typedef.
2637 * include/wchar.h (__wfinddata64_t): Add structure definition.
2638 (__stat64): Likewise.
2639 (_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2640 (_wfindfirst64): Likewise.
2641 (_wfindnext64): Likewise.
2642 (_wutime64): Likewise.
2643 (_wstat64): Likwise.
2644 * include/malloc.h (_aligned_free): Add prototype for
2645 __MSVCRT_VERSION__ >= 0x0700.
2646 (_aligned_malloc): Likewise.
2647 (_aligned_offset_malloc): Likewise.
2648 (_aligned_offset_realloc): Likewise.
2649 (_aligned_realloc): Likewise.
2650 * include/string.h (_wcserror): Add prototype for
2651 __MSVCRT_VERSION__ >= 0x0700.
2652 (__wcserror): Likewise.
2653 * include/math.h (_set_SSE2_enable): Add prototype for
2654 __MSVCRT_VERSION__ >= 0x0701.
2656 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2658 * include/stdio.h (_fsopen): Add prototype.
2659 * include/tchar.h (_tfsopen): Add defines.
2660 Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
2662 2004-03-19 Danny Smith <dannysmith@users.sourceforge.net>
2664 * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
2665 msvcr70.dll, and msvcr71.dll.
2666 * Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant
2667 using basename of output def file.
2669 2004-03-13 Danny Smith <dannysmith@users.sourceforge.net>
2671 * include/malloc.h: Remove __STRICT_ANSI__ guard.
2673 2004-03-11 Brian Keener <bkeener@thesoftwaresource.com>
2675 * include/process.h: Remove the #endif associated with removal of
2676 __STRICT_ANSI__ guard from non-ANSI header.
2678 2004-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2680 * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
2681 * include/direct.h: Ditto.
2682 * include/dirent.h: Ditto.
2683 * include/dos.h: Ditto.
2684 * include/excpt.h: Ditto.
2686 * include/io.h: Ditto.
2687 * inlude/mem.h: Ditto.
2688 * include/memory.h: Ditto.
2689 * include/process.h: Ditto.
2690 * inlude/search.h: Ditto.
2691 * include/share.h: Ditto.
2692 * include/unistd.h: Ditto.
2693 * include/sys/fcntl.h: Ditto.
2694 * include/file.h: Ditto.
2695 * include/sys/locking.h: Ditto.
2696 * include/sys/param.h: Ditto.
2697 * include/sys/stat,h
2698 * include/sys/time.h: Ditto.
2699 * include/sys/timeb.h: Ditto.
2700 * include/sys/types.h: Ditto.
2701 * include/sys/unistd.h: Ditto.
2702 * include/sys/utime.h: Ditto.
2704 2004-02-21 Danny Smith <dannysmith@users.sourceforge.net>
2706 * include/_mingw.h (__UNUSED_PARAM): Define macro.
2707 * include/wchar.h (fwide): Use it.
2710 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2712 * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
2713 NetBSD getopt_long.c.
2715 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2717 * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
2718 codes and handling of special chars.
2720 2004-02-02 Danny Smith <dannysmith@users.sourceforge.net>
2722 * include/stdio.h (feof): Add inlined definition.
2725 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2727 * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
2728 directly, rather than via scabnl.
2730 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2732 * mingwex/math/powl.c (powl): Return infinity if
2733 extended precision multiplication of x by log2(y)
2736 2004-01-31 Danny Smith <dannysmith@users.sourceforge.net>
2738 * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
2739 (__enan_NI16): Fix another one.
2740 (__enan_NBITS): Tidy.
2742 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
2744 * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
2745 types. (Thanks to John Maddock for report.)
2747 2004-01-14 Greg Chicares <chicares@users.sourceforge.net>
2749 * include/tchar.h (_puttchar): Define.
2751 2003-12-13 Danny Smith <dannysmith@users.sourceforge.net>
2753 * include/stdio.h:(_fileno): Define macro version after both
2754 fileno and _fileno functions declared.
2756 * include/stdio.h (_rmtmp, rmtmp): Add prototypes.
2757 * moldnames.def.in (rmtmp) Add stub.
2759 2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
2761 * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
2763 2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
2765 * include/math.h: Guard ISO C99 additions with __cplusplus
2768 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2770 * include/_mingw.h: Define __attribute__((x)) to nothing
2773 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2775 * include/complex.h: New file.
2776 * mingwex/complex: New directory.
2777 * mingwex/complex/cabs.c: New file.
2778 * mingwex/complex/cacos.c: New file.
2779 * mingwex/complex/cacosh.c: New file.
2780 * mingwex/complex/casin.c: New file.
2781 * mingwex/complex/casinh.c: New file.
2782 * mingwex/complex/catan.c: New file.
2783 * mingwex/complex/catanh.c: New file.
2784 * mingwex/complex/ccos.c: New file.
2785 * mingwex/complex/ccosh.c: New file.
2786 * mingwex/complex/cexp.c: New file.
2787 * mingwex/complex/cimag.c: New file.
2788 * mingwex/complex/clog.c: New file.
2789 * mingwex/complex/cpow.c: New file.
2790 * mingwex/complex/cproj.c: New file.
2791 * mingwex/complex/creal.c: New file.
2792 * mingwex/complex/csin.c: New file.
2793 * mingwex/complex/csinh.c: New file.
2794 * mingwex/complex/csqrt.c: New file.
2795 * mingwex/complex/ctan.c: New file.
2796 * mingwex/complex/ctanh.c: New file.
2797 * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
2800 (COMPLEX_OBJS): New list of objects.
2801 (LIB_OBJS): Include it in the library.
2803 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2805 * include/math.h (cabs): Remove non-ISO prototype.
2807 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2809 * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
2810 Use GCC __builtin's if available.
2811 (INFINITY, INFINITYF, INFINITYL): Likewise.
2813 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2815 * mingwex/math/s_erf.c (erf): Set errno to ERANGE if
2816 beyond approximation limit.
2817 * mingwex/math/sf_erf.c (erff): Likewise.
2819 2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
2821 * include/stdio.h (getc): Cast result to unsigned char before
2824 (getchar): Likewise.
2825 (putchar): Likewise.
2826 Thanks to M.Fujii <boochang@m4.kcn.ne.jp>
2828 2003-10-10 Earnie Boyd <earnie@users.sf.net>
2830 * include/_mingw.h: Increment version to 3.2.
2831 * Makefile.in: Ditto.
2833 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2835 * include/sys/types.h: Revert last change.
2837 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2839 * include/sys/types.h (ssize_t): Correct the definition.
2841 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2843 * include/stdio.h (_filbuf): Add prototype.
2844 (_flsbuf): Add prototype.
2845 (getc): Add inline version.
2847 (getchar): Likewise.
2848 (putchar): Likewise.
2850 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2852 * mingwex/dirent.c (_treaddir): Reset errno to 0 if end
2855 2003-09-29 Danny Smith <dannysmith@users.sourceforge.net>
2857 * include/stdlib.h: Guard non-ISO functions with
2858 !__STRICT_ANSI__, throughout.
2860 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2862 * include/io.h (_fileno): Remove prototype.
2864 (FILENAME_MAX): Define, if needed.
2865 Don't include <stdio.h>.
2866 * include/stdio.h (FILENAME_MAX): Protect against
2868 (_fileno): Define macro implementation.
2871 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2873 * include/inttypes.h: Include _mingw.h.
2875 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2877 * include/_mingw.h (__CRT_INLINE): Define.
2878 * include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
2880 * include/inttypes.h: Likewise.
2881 * include/math.h: Likewise.
2882 * include/stdio.h: Likewise.
2883 * include/stdlib.h: Likewise.
2884 * include/string.h: Likewise.
2885 * include/wchar.h: Likewise.
2886 * include/wctype.h: Likewise.
2888 2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
2890 * mingwex/dirent.c (_topendir): Allocate enough memory for
2891 DIR struct in UNICODE case too.
2893 2003-09-15 Earnie Boyd <earnie@users.sf.net>
2895 * include/_mingw.h: Increment version to 3.2.
2896 * Makefile.in: Ditto.
2898 2003-07-03 Earnie Boyd <earnie@users.sf.net>
2900 * config.guess, config.sub: Update with versions from ftp.gnu.org.
2902 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2904 * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
2905 * mingwex/math/truncf.c (truncf): Likewise.
2906 * mingwex/math/truncl.c (truncl): Likewise.
2907 * mingwex/math/modff.c (modff): Likewise.
2908 * mingwex/math/modfl.c (modfl): Likewise.
2910 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2912 * include/search.h: New file.
2913 * include/stdlib.h: Add comment about qsort, bsearch in
2915 * test_headers.c: Include search.h.
2916 * moldname.def.in (lfind, lsearch): Add.
2918 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2920 * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
2921 _execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
2922 execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
2924 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2926 * include/_mingw.h (small, hyper): Change to __small and __hyper to
2927 avoid user space name conflicts.
2929 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2931 * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
2932 Note: Also added to w32api/include/basetyps.h.
2933 * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
2934 Rename to Small (case difference).
2936 2003-06-18 Earnie Boyd <earnie@users.sf.net>
2938 * include/dirent.h (dirent): Make d_name and array instead of a pointer.
2939 * mingwex/dirent.c: Modifications througout to fill d_name array.
2940 * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
2941 libmsvcr71, including debug versions.
2942 (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
2944 2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
2946 * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
2947 __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
2949 Thanks to: Aaron W LaFramboise <AWLaFramboise@aol.com>
2951 2003-05-30 Sascha Sommer <saschasommer@freenet.de>
2953 * include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
2955 2003-05-15 Danny Smith <dannysmith@users.sourceforge.net>
2957 * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
2958 but still protect inline definition with __STRICT_ANSI__.
2960 2003-05-14 Danny Smith <dannysmith@users.sourceforge.net>
2962 * string_old.c: Remove, splitting into...
2963 * strcasecmp.c: New file.
2964 * strncasecmp.c: New file.
2965 * wscmpi.c : New file.
2966 * ctype_old.c: Remove, splitting into...
2967 * isascii.c: New file.
2968 * iscsym.c: New file.
2969 * iscsymf.c: New file.
2970 * toascii.c: New file.
2971 * Makefile.in (MOLD_OBJS): Adjust.
2972 (SRCDIST_FILES): Adjust.
2974 2003-05-13 Danny Smith <dannysmith@users.sourceforge.net>
2976 * include/math.h (fabs) : Remove inline definition.
2980 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2982 * include/_mingw.h: Change version to 3.0
2983 * Makefile.in: Ditto.
2985 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2987 * configure.in (W32API_INCLUDE): Need the -I switch in the value.
2988 * mingwex/configure.in (W32API_INCLUDE): Ditto.
2989 * profile/configure.in (W32API_INCLUDE): Ditto.
2991 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2993 * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
2994 of multiply defined symbols if the symbols is defined locally. E.G.:
2995 A local definition of malloc causes this problem.
2996 * configure: Regenerate.
2997 * profile/Makefile.in (W32API_INCLUDE): New variable.
2998 (ALL_CFLAGS): Use W32API_INCLUDE value.
2999 (ALL_CXXFLAGS): Ditto.
3000 (gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
3001 Thanks to Jeff Bonggren <jbon@users.sf.net>.
3002 * profile/configure.in (W32API_INCLUDE): Set default value.
3003 * profile/configure: Regenerate.
3004 * mingwex/Makefile.in (W32API_INCLUDE): New variable.
3005 (ALL_CFLAGS): Use W32API-INCLUDE value.
3006 (ALL_CXXFLAGS): Ditto.
3007 * mingwex/configure.in (W32API_INCLUDE): Set default value.
3008 * mingwex/configure: Regenerate.
3010 2003-05-05 Earnie Boyd <earnie@users.sf.net>
3012 * Makefile.in (W32API_INCLUDE): New variable.
3013 (ALL_CFLAGS): Use W32API_INCLUDE value.
3014 (ALL_CXXFLAGS): Ditto.
3015 * configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
3016 (W32API_INCLUDE): Set default value.
3017 * configure: Regenerate.
3019 2003-04-11 Earnie Boyd <earnie@users.sf.net>
3021 * configure.in (LIBM_A): Define for cygwin target.
3022 * configure (LIBM_A): Ditto.
3024 2003-04-07 Danny Smith <dannysmith@users.sourceforge.net>
3026 * include/time.h (strftime): Remove duplicate declaration.
3028 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
3030 * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
3032 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3034 * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
3035 * mingwex/strtoimax.c (strtoimax): Likewise.
3036 * mingwex/wcstoimax.c (wcstoimax): Likewise.
3037 * mingwex/wtoll.c (wtoll): Remove unnecessary ';'
3038 * mingwex/fesentenv.c: Include float.h.
3039 * mingwex/math/powl.c: Eliminate type punning/strict aliasing
3041 * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
3043 * mingwex/math/tgammal.c: Likewise.
3045 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3047 * include/utime.h: New file, forwarding to sys/utime.h.
3049 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3051 * include/sys/param.h (MAXPATHLEN): Define.
3053 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3055 * include/tchar.h: Ansi-fy a comment.
3057 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3059 * profile/profile.h (mcount): Use __builtin_return_address
3060 rather than inline __asm statements.
3061 * profile/Makefile.in: Remove special rule for mcount.o
3062 Specify dependencies for mcount.o profil.o gmon.o.
3064 2003-03-10 Danny Smith <dannysmith@users.sourceforge.net>
3066 * include/stdlib.h (qsort): Remove const from first parm.
3067 Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
3069 2003-03-03 Christopher Faylor <cgf@redhat.com>
3071 * mingwex/getopt.c: Refresh from NetBSD sources.
3073 2003-03-03 Danny Smith <dannysmith@users.sourceforge.net>
3075 * mingwex/getopt.c: New file, copied from cygwin srcs.
3076 * include/getopt.h: New file, copied from cygwin srcs.
3077 * include/unistd.h: Include getopt.h.
3078 * mingwex/Makefile.in (DISTFILES): Add getopt.c.
3079 (POSIX_OBJS): Add getopt.o.
3081 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
3083 * include/stdio.h (vscanf): Add prototype.
3089 * include/wchar.h (vwscanf): Add prototype.
3092 * mingwex/snprintf.c: Move to mingwex/stdio.
3093 * mingwex/vsnprintf.c: Ditto.
3094 * mingwex/snwprintf.c: Ditto.
3095 * mingwex/vsnwprintf.c: Ditto.
3096 * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
3097 (STDIO_DISTFILES): Add.
3098 (DISTFILES): Adjust.
3099 (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
3103 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com>
3105 * mingwex/stdio: New directory
3106 * mingwex/stdio/vfscanf.c: New file.
3107 * mingwex/stdio/vfwscanf.c: New file.
3108 * mingwex/stdio/vscanf.c: New file.
3109 * mingwex/stdio/vsscanf.c: New file.
3110 * mingwex/stdio/vswscanf.c: New file.
3111 * mingwex/stdio/vwscanf.c: New file.
3113 2003-02-25 Earnie Boyd <earnie@users.sf.net>
3115 * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
3116 (libmsvcrt40.a): Ditto.
3118 2003-02-21 Earnie Boyd <earnie@users.sf.net>
3120 Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
3122 * Makefile.in (libmsvcrtd.a): Add target library.
3123 (libmoldnamed.a): Ditto.
3124 (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
3126 ($(srcdir)): Remove explicit reference for depencies of object targets.
3127 * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
3128 msvcrt20.def, msvcrt40.def: Remove.
3129 * msvcrt.def.in: New file (Copy of previous msvcrt.def).
3131 2003-02-20 Corinna Vinschen <corinna@vinschen.de>
3133 * Makefile.in: Make sure libmingwex.a from current build tree is used.
3135 2003-02-14 Christopher Faylor <cgf@redhat.com>
3137 * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
3138 ensure -mno-cygwin where appropriate. Filter out -O2.
3140 2003-02-13 Danny Smith <dannysmith@users.sourceforge.net>
3142 * profile/Makefile.in (mcount.o): Use -O1 optimization
3145 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3147 * include/math.h: Remove _CRTIMP from pow() prototype,
3148 unless __NO_ISOCEXT.
3150 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3152 * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
3154 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3156 * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
3157 __declspec(dllimport) supported.
3158 (__cdecl): Define if not already defined.
3159 (__stdcall): Likewise.
3160 * include/dirent.h: Qualify fuctions with __cdecl.
3161 * include/fenv.h: Likewise.
3162 * include/inttypes.h: Likewise.
3163 * include/assert.h: Qualify fuctions with __cdecl. Qualify
3164 CRT dll imports with _CRTIMP.
3165 * include/conio.h: Likewise.
3166 * include/ctype.h: Likewise.
3167 * include/direct.h: Likewise.
3168 * include/dos.h: Likewise.
3169 * include/errno.h: Likewise.
3170 * include/float.h: Likewise.
3171 * include/io.h: Likewise.
3172 * include/locale.h: Likewise.
3173 * include/malloc.h: Likewise.
3174 * include/math.h: Likewise.
3175 * include/mbctype.h: Likewise.
3176 * include/mbstring.h: Likewise.
3177 * include/process.h: Likewise.
3178 * include/setjmp.h: Likewise.
3179 * include/signal.h: Likewise.
3180 * include/stdio.h: Likewise.
3181 * include/stdlib.h: Likewise.
3182 * include/string.h: Likewise.
3183 * include/time.h: Likewise.
3184 * include/wchar.h: Likewise.
3185 * include/wctype.h: Likewise.
3186 * include/sys/stat.h: Likewise.
3187 * include/sys/timeb.h: Likewise.
3188 * include/sys/utime.h: Likewise.
3190 * include/ctype.h: Guard ctype inlines with __NO_INLINE__.
3191 * include/wctype.h: Guard wctype inlines with __NO_INLINE__.
3193 * include/stdio.h (__VALIST): Guard against prior definition.
3195 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3197 * include/_mingw.h: Change version to 3.0
3198 * Makefile.in: Ditto.
3200 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3202 * include/stdlib.h: Make words after #endif a comment.
3204 2003-02-07 Danny Smith <dannysmith@users.sourceforge.net>
3206 * include/locale.h: Include stddef.h for definition of NULL.
3208 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3210 * include/math.h (tgamma): Correct typo in comment.
3212 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3214 * mingwex/mingw-fseek.c (INLINE): Remove define.
3215 (__mingw_is_win9x): Remove static inline function.
3216 (_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
3218 2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
3220 * mingwex/math/llround.c: Correct function name and
3221 change return value to long long.
3223 2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
3225 * include/ctype.h (__isascii): Don't cast arg to unsigned.
3226 (iswascii): Likewise. Correct mask.
3227 * include/wctype.h (iswascii): Don't cast arg to unsigned.
3230 2003-01-03 Danny Smith <dannysmith@users.sourceforge.net>
3232 * include/stdlib.h (_osver, _winver, _winmajor,
3233 _winminor): Declare as direct imports from dll if
3234 __DECLSPEC_SUPPORTED.
3236 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
3238 * pseudo-reloc.c (do_pseudo_reloc): Make static.
3239 * pseudo-reloc-list.c: New file.
3240 * crt1.c (_pei386_runtime_relocator): Declare.
3241 (__mingw_CRTStartup): Call it.
3242 * dllcrt1.c (_pei386_runtime_relocator): Declare.
3243 (DllMainCRTStartup): Call it.
3244 * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to
3247 2003-01-01 Egor Duda <deo@logos-m.ru>
3249 * pseudo-reloc.c: New file.
3251 2002-12-20 Earnie Boyd <earnie@users.sf.net>
3253 * include/_mingw.h: Increment version to 2.4.
3256 2002-12-12 Earnie Boyd <earnie@users.sf.net>
3258 * include/malloc.h (_alloca): Add definition.
3261 2002-12-08 Danny Smith <dannysmith@users.sourceforge.net>
3263 * mingwex/math/s_erf.c: New file.
3264 * mingwex/math/sf_erf.c: New file.
3265 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3266 (MATH_OBJS): Add new objects.
3267 * include/math.h (erf[f]): Add prototypes.
3268 (erfc[f]): Add prototypes.
3270 2002-12-07 Danny Smith <dannysmith@users.sourceforge.net>
3272 * include/math.h: Add traditional/XOPEN math constants.
3274 2002-11-27 Danny Smith <dannysmith@users.sourceforge.net>
3276 * mingwex/math/lgamma.c: New file.
3277 * mingwex/math/lgammaf.c: New file.
3278 * mingwex/math/lgammal.c: New file.
3279 * mingwex/math/tgamma.c: New file.
3280 * mingwex/math/tgammaf.c: New file.
3281 * mingwex/math/tgammal.c: New file.
3282 * mingwex/math/cephes_mconf (polevlf): Add float version.
3284 Define _CEPHES_USE_ERRNO.
3285 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3286 (MATH_OBJS): Add new objects.
3287 * include/math.h (lgamma[fl]): Add prototypes.
3288 (tgamma[fl]): Add prototypes.
3290 2002-11-26 Danny Smith <dannysmith@users.sourceforge.net>
3292 * mingwex/strtold.c: New file.
3293 * mingwex/wcstold.c: New file.
3294 * mingwex/ldtoa.c: New file.
3295 * mingwex/math/cephes_emath.h: New file.
3296 * mingwex/math/cephes_emath.c: New file.
3297 * mingwex/Makefile.in (DISTFILES): Add new files.
3298 (MATH_DISTFILES): Ditto.
3299 (STDLIB_OBJS): New. Define as strtold.c wcstold.c.
3300 (MATH_OBJS): Add cephes_emath.o.
3301 (LIB_OBJS): Add $(STDLIB_OBJS).
3302 * include/stdlib.h (strtold, wcstold): Add prototypes.
3303 * include/wchar.h (wcstold): Add prototype.
3305 2002-11-09 Danny Smith <dannysmith@users.sourceforge.net>
3307 * include/math.h (sqrt): Remove inline definition.
3308 (sqrtf): Replace inline definition with prototype.
3310 * mingwex/math/sqrtf.c (sqrtf): Set domain error if
3311 argument less than zero.
3312 * mingwex/math/sqrtf.c (sqrtl): Likewise.
3314 2002-10-30 Guido Serassio <serassio@libero.it>
3316 * include/stdio.h (_getmaxstdio): Add prototype.
3317 (_setmaxstdio): Likewise.
3319 2002-10-19 Kang Li <rubylith@users.sourceforge.net>
3321 * include/fcntl.h (O_SEQUENTIAL): Correct typo.
3323 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3325 * crt1.c: Define new macro __IN_MINGW_RUNTIME before including
3327 Define WIN32_MEAN_AND_LEAN before including windows.h
3328 * include/stdlib.h (_fmode): Protect declaration as dllimported
3329 variable with __IN_MINGW_RUNTIME.
3331 2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu>
3333 * crt1.c: Include stdlib.h.
3335 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3337 * Makefile.in (CRT0S): Add txtmode.o binmode.o.
3338 (MINGW_OBJS): Add txtmode.o.
3339 (SRCDIST_FILES): Add txtmode.c binmode.c.
3340 crt1.c: Don't include fcntrl.h, stdlib.h.
3341 (_fmode): Declare, without dllimport attribute.
3342 (__p__fmode): Declare access function for dll's _fmode.
3343 (_mingw32_init_fmode): Sync dll _fmode with staticly linked
3345 * txtmode.c: New file.
3346 * binmode.c: New file.
3347 * samples/fmode/test2.c: New file.
3348 * samples/fmode/jamfile: Add test2.exe target.
3350 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3352 * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
3353 macros work with C89.
3354 (INTMAX_C, UINTMAX_C): Likewise.
3356 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3358 * include/string.h (strcasecmp): Make extern __inline__.
3359 (strncasecmp): Likewise.
3360 (wcscmpi): Likewise.
3362 2002-10-08 Heiko Gerdau <hg@technosis.de>
3364 * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
3365 _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
3368 2002-10-07 Danny Smith <dannysmith@users.sourceforge.net>
3370 * mingwex/math/powil.c: Rename powil to __powil.
3371 * mingwex/math/powl.c: Adjust declaration and call
3372 to __powil. Remove comment on powil.
3373 * mingwex/math/powi.c: New file.
3374 * mingwex/math/powif.c: New file.
3375 * mingwex/math/pow.c: New file.
3376 * mingwex/math/cephes_mconf.h. Add double and float
3377 versions of constants.
3378 (polevl): Add double precision function.
3380 * mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
3382 (MATH_OBJS): Add pow.o, powi.o, powif.o.
3384 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3386 * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
3387 (_imp____mbcur_max_dll): Likewise.
3389 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3391 * include/fcntl.h (_fmode): Remove declarations and
3392 compatibility defines.
3393 (_setmode, setmode): Remove prototypes.
3394 * include/stdlib (_fmode): Add declarations and
3395 compatibility defines. Change type to int.
3396 * include/io.h (_setmode, setmode): Add prototypes.
3397 * samples/fmode/all.c: Adjust includes.
3398 * samples/fmode/test.c: Likewise.
3399 * crt1.c (_CRT_fmode): Declare as int.
3400 * CRTfmode.c (_CRT_fmode): Likewise.
3402 * include/stdlib: Remove comment about MB_CUR_MAX.
3404 2002-10-02 Danny Smith <dannysmith@users.sourceforge.net>
3406 * include/stdlib.h (_imp____mbcur_max): Add missing ';'.
3407 (_imp____mbcur_max_dll): Likewise.
3409 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3411 * mingwex/math/files.txt: Remove inadvertantly added file.
3413 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3415 * include/string.h (_strerror): Move into #ifndef
3416 __STRICT_ANSI__ block.
3418 2002-09-17 Danny Smith <dannysmith@users.sourceforge.net>
3420 * include/time.h (__need_NULL): Define before including
3421 stddef.h. Thanks to: Rüdiger Dehmel <de@lmnet.de>.
3423 2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
3425 * include/stdio.h: Correct comment about directory separator.
3427 2002-09-12 Danny Smith <dannysmith@users.sourceforge.net>
3429 * include/sys/time.h (timeval): Add struct definition and
3430 associated macros (copied from w32api/include/winsock.h).
3432 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3434 * include/_mingw.h: Increment version to 2.3.
3437 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3439 * mingwex/fegetenv.c: Change to \n line endings.
3440 * mingwex/vsnprintf.c: Ditto.
3441 * mingwex/vsnwprintf.c: Ditto.
3443 2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
3445 * mingwex/math/hypotl.c: Replace with version based on cephes
3448 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3450 * include/sys/param.h: Add ENDIAN defines.
3451 * test_headers.c: Include sys/param.h.
3453 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3455 * test_headers.c: Don't include varargs.h.
3456 * Makefile.in (test_headers): Don't use -std=xx
3459 2002-08-21 Earnie Boyd <earnie@users.sf.net>
3461 * include/sys/param.h: New File.
3463 2002-08-21 Danny Smith <dannysmith@users.sourceforge.net>
3465 * include/math.h (asm): Change to __asm__ throughout.
3466 Expose ISO C99 functions if __GLIPCPP__.
3467 (hypotf): Use hypot, not _hypot in stub.
3469 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3471 * include/tchar.h: Ansi-fy another comment.
3473 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3475 * include/tchar.h: Ansi-fy comment.
3477 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3479 * test_headers.c : New file.
3480 * Makefile.in (test_headers): New target, using it,
3481 (SRCDIST_FILES): Distribute it.
3483 2002-08-20 Earnie Boyd <earnie@users.sf.net>
3485 * include/_mingw.h: Increment version to 2.2.
3488 2002-08-14 Earnie Boyd <earnie@users.sf.net>
3490 * include/unistd.h: Add include of process.h.
3492 2002-08-03 Danny Smith <dannysmith@users.sourceforge.net>
3494 * include/stdio.h (_fcloseall): Add prototype.
3496 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3498 * include/tchar.h (_tfdopen): Correct typo.
3500 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3502 * moldname.def.in (chgsign,scalb,finite,fpclass,logb,
3503 nextafter): Add non-underscored stubs.
3504 * moldname-msvcrt.def: Regenerate.
3505 * moldname-crtdll.def: Regenerate.
3506 * mingwex/math: New directory.
3507 * mingwex/rint.c: Move to mingwex/math.
3508 * mingwex/rintf.c: Ditto.
3509 * mingwex/rintl.c: Ditto.
3510 * mingwex/round.c: Ditto.
3511 * mingwex/roundf.c: Ditto.
3512 * mingwex/roundl.c: Ditto.
3513 * mingwex/rint.c: Ditto.
3514 * mingwex/rintf.c: Ditto.
3515 * mingwex/rintl.c: Ditto.
3516 * mingwex/trunc.c: Ditto.
3517 * mingwex/truncf.c: Ditto.
3518 * mingwex/truncl.c: Ditto.
3519 * mingwex/signbit.c: Ditto.
3520 * mingwex/signbitf.c: Ditto.
3521 * mingwex/signbitl.c: Ditto.
3522 * mingwex/copysignl.S: Ditto.
3523 * mingwex/fdim.c: Ditto.
3524 * mingwex/fdimf.c: Ditto.
3525 * mingwex/fdiml.c: Ditto.
3526 * mingwex/fmin.c: Ditto.
3527 * mingwex/fminf.c: Ditto.
3528 * mingwex/fminl.c: Ditto.
3529 * mingwex/fmax.c: Ditto.
3530 * mingwex/fmaxf.c: Ditto.
3531 * mingwex/fmaxl.c: Ditto.
3532 * mingwex/fma.c: Ditto.
3533 * mingwex/fmaf.c: Ditto.
3534 * mingwex/fmal.c: Ditto.
3535 * mingwex/fpclassify.c: Ditto.
3536 * mingwex/fpclassifyl.c: Ditto.
3537 * mingwex/fpclassifyl.c: Ditto.
3538 * mingwex/isnan.c: Ditto.
3539 * mingwex/isnanf.c: Ditto.
3540 * mingwex/isnanl.c: Ditto.
3541 * mingwex/fucom.c: Ditto.
3542 * mingwex/fp_consts.c: Ditto. Split out float and long double
3544 * mingwex/math_stubs.c: Remove.
3545 * mingwex/log2.c: Remove. Replaced by math/log2.S
3546 * mingwex/log2f.c: Remove. Replaced by math/log2f.S
3547 * mingwex/log2l.c: Remove. Replaced by math/log2l.S
3548 * mingwex/math/acosf.c : New file.
3549 * mingwex/math/acosl.c: New file.
3550 * mingwex/math/asinf.c: New file.
3551 * mingwex/math/asinl.c: New file.
3552 * mingwex/math/atan2f.c: New file.
3553 * mingwex/math/atan2l.c: New file.
3554 * mingwex/math/atanf.c: New file.
3555 * mingwex/math/atanl.c: New file.
3556 * mingwex/math/cbrt.c: New file.
3557 * mingwex/math/cbrtf.c: New file.
3558 * mingwex/math/cbrtl.c: New file.
3559 * mingwex/math/ceilf.S: New file.
3560 * mingwex/math/ceill.S: New file.
3561 * mingwex/math/cephes_ld.h: New file.
3562 * mingwex/math/copysign.S: New file.
3563 * mingwex/math/copysignf.S: New file.
3564 * mingwex/math/cosf.S: New file.
3565 * mingwex/math/coshf.c: New file.
3566 * mingwex/math/coshl.c: New file.
3567 * mingwex/math/cosl.S: New file.
3568 * mingwex/math/exp2.S: New file.
3569 * mingwex/math/exp2f.S: New file.
3570 * mingwex/math/exp2l.S: New file.
3571 * mingwex/math/expf.c: New file.
3572 * mingwex/math/expl.c: New file.
3573 * mingwex/math/fabs.c: New file.
3574 * mingwex/math/fabsf.c: New file.
3575 * mingwex/math/fabsl.c: New file.
3576 * mingwex/math/floorf.S: New file.
3577 * mingwex/math/floorl.S: New file.
3578 * mingwex/math/fmodf.c: New file.
3579 * mingwex/math/fmodl.c: New file.
3580 * mingwex/math/fp_consts.h: Ditto.
3581 * mingwex/math/fp_constsf.c: Ditto.
3582 * mingwex/math/fp_constsl.c: Ditto.
3583 * mingwex/math/frexpf.c: New file.
3584 * mingwex/math/frexpl.S: New file.
3585 * mingwex/math/hypotf.c: New file.
3586 * mingwex/math/hypotl.c: New file.
3587 * mingwex/math/ilogb.S: New file.
3588 * mingwex/math/ilogbf.S: New file.
3589 * mingwex/math/ilogbl.S: New file.
3590 * mingwex/math/ldexpf.c: New file.
3591 * mingwex/math/ldexpl.c: New file.
3592 * mingwex/math/llrint.c: New file.
3593 * mingwex/math/llrintf.c: New file.
3594 * mingwex/math/llrintl.c: New file.
3595 * mingwex/math/llround.c: New file.
3596 * mingwex/math/llroundf.c: New file.
3597 * mingwex/math/llroundl.c: New file.
3598 * mingwex/math/log10f.S: New file.
3599 * mingwex/math/log10l.S: New file.
3600 * mingwex/math/log1p.S: New file.
3601 * mingwex/math/log1pf.S: New file.
3602 * mingwex/math/log1pl.S: New file.
3603 * mingwex/math/log2.S: New file.
3604 * mingwex/math/log2f.S: New file.
3605 * mingwex/math/log2l.S: New file.
3606 * mingwex/math/logb.c: New file.
3607 * mingwex/math/logbf.c: New file.
3608 * mingwex/math/logbl.c: New file.
3609 * mingwex/math/logf.S: New file.
3610 * mingwex/math/logl.S: New file.
3611 * mingwex/math/lrint.c: New file.
3612 * mingwex/math/lrintf.c: New file.
3613 * mingwex/math/lrintl.c: New file.
3614 * mingwex/math/lround.c: New file.
3615 * mingwex/math/lroundf.c: New file.
3616 * mingwex/math/lroundl.c: New file.
3617 * mingwex/math/modff.c: New file.
3618 * mingwex/math/modfl.c: New file.
3619 * mingwex/math/nearbyint.S: New file.
3620 * mingwex/math/nearbyintf.S: New file.
3621 * mingwex/math/nearbyintl.S: New file.
3622 * mingwex/math/nextafterf.c: New file.
3623 * mingwex/math/powf.c: New file.
3624 * mingwex/math/powl.c: New file.
3625 * mingwex/math/powil.c: New file.
3626 * mingwex/math/remainder.S: New file.
3627 * mingwex/math/remainderf.S: New file.
3628 * mingwex/math/remainderl.S: New file.
3629 * mingwex/math/remquo.S: New file.
3630 * mingwex/math/remquof.S: New file.
3631 * mingwex/math/remquol.S: New file.
3632 * mingwex/math/scalbn.S: New file.
3633 * mingwex/math/scalbnf.S: New file.
3634 * mingwex/math/scalbnl.S: New file.
3635 * mingwex/math/sinf.S: New file.
3636 * mingwex/math/sinhf.c: New file.
3637 * mingwex/math/sinhl.c: New file.
3638 * mingwex/math/sinl.S: New file.
3639 * mingwex/math/sqrt.c: New file.
3640 * mingwex/math/sqrtf.c: New file.
3641 * mingwex/math/sqrtl.c: New file.
3642 * mingwex/math/tanf.S: New file.
3643 * mingwex/math/tanhf.c: New file.
3644 * mingwex/math/tanhl.c: New file.
3645 * mingwex/math/tanl.S: New file.
3646 * mingwex/Makefile.in: Adjust VPATH for source files in
3649 Add MATH_DISTFILES and use it to build source distro.
3650 * include/ math.h: Add protypes for new functions and
3651 reorganise to reflect ANSI,C99 status.
3653 2002-06-19 Danny Smith <dannysmith@users.sourceforge.net>
3655 * include/tchar.h (_getts): Define as _getws for _UNICODE.
3656 (_putts): Define as _putws for _UNICODE.
3657 Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report.
3659 2002-06-18 Danny Smith <dannysmith@users.sourceforge.net>
3661 * include/float.h: #include_next<float.h> before header guard.
3663 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
3665 * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
3667 * include/excpt.h (): Include windef.h not windows.h.
3668 * include/fcntl.h (_O_SHORT_LIVED): Add define.
3669 (_chmod): Add prototype.
3670 (_creat): Correct prototype.
3671 (SH_DENY*): Rename defines to _SH_DENY*.
3672 (SH_DENY*): Add Non-ANSI names for _SH_DENY*.
3673 include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
3674 _IOAPPEND): Add defines.
3675 (_wfindfirst): Correct prototype.
3676 (_wfdopen): Add prototype.
3677 * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
3679 * include/string.h (_mbschr, _mbstok, _mbsncat): Remove
3681 (_wcsdup): Correct prototype.
3682 * include/mbstring.h: Remove comments about _mbschr, _mbstok,
3683 _mbsncat being in string.h.
3684 * include/wchar.h (_wfindfirst): Correct prototype.
3685 * include/tchar.h (_tfdopen): Add _UNICODE mappings.
3687 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3689 * include/_mingw.h: Increment to version 2.1.
3690 * Makefile.in: Ditto.
3692 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3694 * Makefile.in (conf_prefix): New variable.
3695 (dist_prefix): Ditto. Conditionally set to $(conf_prefix).
3696 (bindist): Use dist_prefix.
3698 2002-06-13 Danny Smith <dannysmith@users.sourceforge.net>
3700 * include/_mingw.h: Increment version to 2.0.
3701 * Makefile.in: Ditto.
3703 Merge in mingwex branch.
3705 2002-06-11 Danny Smith <dannysmith@users.sourceforge.net>
3706 * include/math.h (fdim, fdimf, fdiml): Add prototypes.
3707 * mingwex/fdim.c: New file.
3708 * mingwex/fdimf.c: New file.
3709 * mingwex/fdiml.c: New file.
3710 * mingwex/Makefile.in (DISTFILES): Add fdim.c, fdimf.c,
3712 (MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
3714 2002-05-23 Danny Smith <dannysmith@users.sourceforge.net>
3715 * mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c.
3717 2002-05-22 Danny Smith <dannysmith@users.sourceforge.net>
3718 * mingwex/isnanl.c: New file.
3720 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3721 * include/stdint.h: Include stddef.h to get
3723 (WINT_MAX): Define to ((wint_t)-1).
3725 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3726 * include/wctype.h: Replace 'inline' with '__inline__'.
3727 * include/inttypes.h: Likewise.
3729 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3730 * include/_mingw.h (__MINGW_IMPORT): Put extern at start
3731 to avoid warnings. Thanks to: Oscar Fuentes <ofv@wanadoo.es>.
3733 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3734 * mingwex/snprintf.c: Split out vsnprintf to....
3735 * mingwex/vsnprintf.c: New file.
3736 * mingwex/snwprintf.c: Split out vsnwprintf to...
3737 * mingwex/vsnwprintf.c: New file.
3738 * mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
3740 2002-05-15 Pascal Obry <obry@gnat.com>
3741 * include/dirent.h (DIR): Change dd_stat type to int.
3744 2002-05-07 Danny Smith <dannysmith@users.sourceforge.net>
3745 * include/stdio.h (vsnprintf): Change inline to __inline__;
3746 (vsnwprintf): Likewise.
3747 * include/wchar.h (vsnwprintf): Likewise.
3750 (mbsinit): Likewise.
3752 2002-04-29 Danny Smith <dannysmith@users.sourceforge.net>
3753 Change FP default precison from 53 to 64-bit mantissa.
3754 * Makefile.in (CRT0S): Add CRT_fp8.o.
3755 (MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o.
3756 * include/float.h: Replace standard float.h defines with
3757 #include_next<float.h> to use GCC's defines. Adjust comments
3760 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3761 * include/dos.h: Change prefix "__imp_" to "_imp__" for
3762 __GNUC__ without __DECLSPEC_SUPPORTED.
3763 * include/fnctl.h: Likewise.
3764 * include/math.h: Likewise.
3765 * include/stdio.h: Likewise.
3766 * include/stdlib.h: Likewise.
3767 * include/time.h: Likewise.
3768 * include/wctype.h: Likewise.
3769 * include/ctype.h: Likewise.
3771 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3772 Add atexit support for dlls.
3773 * crt1.c (atexit): Force thunk to _imp__atexit.
3774 (_onexit): Force thunk to _imp___onexit.
3775 * dllcrt1.c (DllMainCRTStartup): Initialise private atexit
3776 table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
3777 (__dll_exit): New function to run atexit-registered functions
3778 and flush output buffers on DLL_PROCESS_DETACH or failed
3780 (atexit): Force use of private atexit table via _dllonexit,
3781 (_onexit): New function. Force use of private atexit table via
3783 * msvcrt.def (atexit, _onexit): Add DATA keyword so that only
3784 _imp_<_symbol> is visible in import lib.
3785 * msvcrt20.def: Likewise.
3786 * msvcrt40.def: Likewise.
3787 * crtdll.def: Likewise.
3789 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3790 * include/fenv.h: Change header guard macro to _FENV_H_.
3791 (fenv_t, fexcept_t): Move into block protected by
3793 Cleanup some whitespace.
3794 * include/inttypes.h: Change header guard macro to
3797 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3798 * include/math.h (copysignl): Declare.
3799 * mingwex/Makefile.in (DISTFILES): Add copysignl.S.
3800 (MATHOBJS):Add copysignl.o.
3802 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3803 * include/math.h (__signbitl, __isnanl): Declare.
3805 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3806 * include/math.h (nanl, __fpcassifyl, fminl, fmaxl, rintl,
3807 roundl, truncl, fmal, log2l): Declare.
3808 Protect C99 declarations with _STDC_VERSION__ >= 199901L)
3809 || !defined __STRICT_ANSI__.
3810 * mingwex/fmax.c (fmax): Call __isnan, not _isnan.
3811 * mingwex/fmin.c (fmin): Likewise.
3812 * mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan.
3813 * mingwex/fminf.c (fminf): Likewise.
3814 * mingwex/fmaxl.c: New file.
3815 * mingwex/fminl.c: New file.
3816 * mingwex/fpclassify.c (__fpclassifyf): Split out to ...
3817 * mingwex/fpclassifyf.c: New file.
3818 * mingwex/fpclassifyl.c: New file.
3819 * mingwex/rint.c (rintf): Split out to...
3820 * mingwex/rintf.c: New file.
3821 * mingwex/rintl.c: New file.
3822 * mingwex/round.c (roundf): Split out to...
3823 * mingwex/roundf.c: New file.
3824 * mingwex/roundl.c: New file.
3825 * mingwex/trunc.c (truncf): Split out to...
3826 * mingwex/truncf.c: New file.
3827 * mingwex/truncl.c: New file.
3828 * mingwex/signbit.c (signbitf): Split out to...
3829 * mingwex/signbitf.c: New file.
3830 * mingwex/signbitl.c: New file.
3831 * mingwex/fmal.c: New file.
3832 * mingwex/copysignl.S: New file.
3833 * mingwex/log2l.c: New file.
3834 * mingwex/fp_consts.c: Add nanl definition.
3835 Comment out unused constants.
3836 * mingwex/Makefile.in (DISTFILES): Add fmaxl.c, fminl.c,
3837 fpclassifyf.c, fpclassifyl.c, rintf.c, rintl.c, roundf.c,
3838 roundl.c, truncf.c truncl.c, signbitf.c signbitl.c,
3840 (MATHOBJS): Add fmaxl.o, fminl.o, fpclassifyf.o,
3841 fpclassifyl.o, rintf.o, rintl.o, roundf.o, roundl.o,
3842 truncf.o truncl.o, signbitf.o signbitl.o, fmal.o,
3844 * mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo.
3846 2002-04-23 Danny Smith <dannysmith@users.sourceforge.net>
3847 Make wide char versions of opendir and friends.
3848 * include/dirent.h (_wdirent, _WDIR): Define wide versions of
3850 (_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
3851 _wseekdir): Add prototypes for wide versions of corresponding
3853 * include/tchar.h; Add _UNICODE mappings for dirent.h
3854 structures and functions.
3855 * mingwex/dirent.c: Make _UNICODE neutral.
3856 * mingwex/wdirent.c: New file to define _UNICODE before
3858 * mingwex/Makefile.in (DISTFILES): Add wdirent.c.
3859 (POSIX_OBJS): Add wdirent.o.
3860 (wdirent.o): Specify dependency on dirent.c as well as
3862 * samples/dirent/wtest.c: New file, wide version of test.c.
3864 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3865 * Makefile.in (INCLUDES): Add "-iwithprefixbefore include" to
3866 ensure gcc include dir is searched despite -nostdinc.
3867 * profile/Makefile.in (INCLUDES): Likewise.
3868 * mingwex/Makefile.in (INCLUDES): Likewise.
3869 * include/stdarg.h: Replace with stub that just guards the
3870 real gcc system header with #ifndef RC_INVOKED
3871 * include/varargs.h: Likewise.
3872 * include/stddef.h: Likewise.
3873 * include/stdio.h: Include stdarg.h after defining
3875 (__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
3876 Replace va_list with __VALIST throughout.
3878 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3879 * crt1.c: Revert changes of 2002-04-16. Use _fpreset again.
3880 * msvcrt.def (_fpreset): Mark as DATA so that only
3881 _imp___fpreset is exported.
3882 * msvcrt20.def (_fpreset): Likewise.
3883 * msvcrt40.def (_fpreset): Likewise.
3884 * crtdll.def (_fpreset): Likewise.
3885 * CRT_fp10.c (_fpreset): Overide library _fpreset with one
3887 (fpreset): Add alias.
3888 (__CRT_PC): Delete definition. _fpreset does it now.
3889 * CRT_fp8.c (_fpreset): Force use of library _imp___fpreset.
3890 (fpreset): Add alias.
3891 (__CRT_PC): Delete definition.
3892 * moldname.def.in: Comment out fpreset.
3893 * moldname-msvcrt.def: Regenerate.
3894 * moldname-crtdll.def: Regenerate.
3895 * include/fenv.h (FE_DFL_ENV): Define as (fenv_t*)0.
3896 * mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment
3897 with the _fpreset determined by startup CRT_fp object.
3899 2002-04-16 Danny Smith <dannysmith@users.sourceforge.net>
3900 * CRT_fp8.c: New file.
3901 * CRT_fp10.c: New file.
3902 * crt1.c (__CRT_PC) Declare.
3903 (__CRT_fesetenv): New static function, using _CRT_PC.
3904 (__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset.
3905 (_gnu_exception_handler): Likewise.
3906 * Makefile.in (CRT0S): Add CRT_fp10.o.
3907 (MINGW_OBJS): Add CRT_fp8.o.
3908 (SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c.
3909 Add CRT_fp8.o, CRT_fp10.o dependancies.
3910 * include/float.h (_fpreset): Expand comment.
3911 * include/fenv.h (FE_PC64_ENV): New define for Intel x87
3912 (extended precison) environmemt.
3913 (FE_PC53_ENV): New define for MSVCRT default environmemt.
3914 (FE_DFL_ENV): Define as FE_PC53_ENV.
3915 * mingwex/fesetenv.c: Use FE_PC53_ENV, FE_PC64_ENV to determine
3916 precision control for default environment.
3918 * include/math.h: Fix long comment line.
3919 * profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
3921 * profile/configure: Regenerate.
3923 2002-04-12 Danny Smith <dannysmith@users.sourceforge.net>
3924 * mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c.
3926 2002-04-10 Danny Smith <dannysmith@users.sourceforge.net>
3927 * mingwex/mingw-fseek.c: New file, based on Mumit Khan
3928 mingw-local patch to binutils.
3929 Sun Nov 7 04:27:07 1999 Mumit Khan <khan@xraylith.wisc.edu>
3930 (__mingw_fseek): New function to work around Win9x f/lseek bug.
3931 (__mingw_fwrite): Likewise.
3932 (__mingw_is_win9x): New helper function.
3933 * include/stdio.h (__USE_MINGW_FSEEK): New define,guarding...
3934 (__mingw_fseek): New prototype and define to replace fseek.
3935 (__mingw_fwrite): New prototype and define to replace fwrite.
3936 * mingwex/Makefile.in: Add mingw-fseek.o to libmingwex.a.
3937 * moldname-crtdll.def: Remove CR from end of line.
3938 * moldname-msvcrt.def: Ditto.
3940 2002-04-09 Danny Smith <dannysmith@users.sourceforge.net>
3941 * profile/configure.in (CRT0S): Configure name of gcrt?.o
3942 based on target, building gcrt0.o for cygwin -mno-cygwin.
3943 * profile/configure: Regenerate.
3944 * profile/Makefile.in (CRT0S): Use name from configure.
3945 (gcrt0.o): New rule.
3946 (ALL_CRT0S): New define, used to cleanup all gcrt?.o's.
3948 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3949 * include/math.h (_controlfp, _control87, _clearfp, _statusfp, _fpreset,
3950 _fpecode): Remove prototypes copied from float.h.
3951 (nan, nanf): Move into block protected against RC_INVOKED
3953 * include/stdlib.h (_Exit): Change from static inline to
3955 * mingwex/_Exit.c : New file.
3956 * mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
3958 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3959 Add libgmon.a and libmingwex.a for cygwin -mno-cygwin.
3960 * configure.in (SUBDIRS): Add profile and mingwex to cygwin target.
3961 (configdirs): Likewise.
3962 (LIBGMON_A): Define for cygwin target as well.
3963 * configure: Regenerate.
3964 * profile/configure.in (THREAD_DLL): Remove define.
3965 (LIBM_A): Remove define.
3966 (LIBGMON_A): Define for cygwin target as well.
3967 * profile/configure: Regenerate.
3968 * profile/makefile.in (install): Install to inst_libdir and
3970 * mingwex/makefile.in (CFLAGS): Move -fomit-frame-pointer to...
3971 (OPTFLAGS): New define.
3972 (ALL_CFLAGS): Add $(OPTFLAGS).
3973 (ALL_CXXFLAGS): Same.
3974 (.c.o:): Remove ALL_CXXFLAGS.
3976 2002-03-29 Danny Smith <dannysmith@users.sourceforge.net>
3977 * include/stdint.h: Add missing newline at eof.
3978 * include/stdio.h (snprintf): Add prototype.
3979 (vsnprintf): Add prototype and inline definition.
3980 (snwprintf): Add prototype.
3981 (vsnwprintf): Add prototype and inline definition.
3982 * include/wchar.h (snwprintf): Add prototype.
3983 (vsnwprintf): Add prototype and inline definition.
3984 * mingwex/Makefile.in: Add snprintf.o, snwprintf.o
3986 * mingwex/snprintf.c: New file.
3987 * mingwex/snwprintf.c: New file.
3989 2002-03-22 Danny Smith <dannysmith@users.sourceforge.net>
3990 * configure.in: Add mingwex as SUBDIRS and configdirs.
3991 * configure: Regenerate.
3992 * Makefile.in (MINGW_OBJS): Remove dirent.o.
3993 (SRC_DIST_FILES): Remove dirent.c.
3995 * include/stdlib.h (_Exit): Add static inline
3997 (struct lldiv_t): Define.
3998 (lldiv): Add prototype.
3999 (llabs): Add extern inline function.
4000 (strtoll,strtoull): Add prototypes.
4001 (wcstol, wcstoul, wcstod): Group together.
4002 (strtof, wcstof): Add extern inline definitions.
4003 (atoll,lltoa,ulltoa, wtoll, lltow ulltow): Add prototypes
4004 and extern inline definitions.
4005 * include/wchar.h (fwide, wcstoll,wcstoull, wmemchr
4006 wmemcmp, wmemcpy, wmemmove, wmemset. mbsinit): Add
4008 (wcstol, wcstoul,wcstod): Copy prototypes from stdlib.h.
4009 (wcstof): Add extern inline definition.
4010 * include/math.h (nan, nanf): Add prototypes.
4011 (NAN, INFINITE): Define constants.
4012 (fpclassify, isnan ,signbit): Add macros and supporting float
4013 and double functions.
4014 (isfinite, isinf, isnormal): Add macros.
4015 (isgreater, isless, isgreaterequal, islessequal,islessgreater):
4017 (rint, rintf, round, roundf, trunc. truncf, fmax, fmaxf,
4018 fmin, fminf, fma, fmaf, log2, log2f): Add prototypes.
4019 (copysign, logb, nextafter, scalb): Add prototypes and
4020 inline stubs for underscored versions in msvcrt.dll.
4021 * include/inttypes.h: New file.
4022 * include/fenv.h: New file
4024 Add new mingwex subdir and files.
4025 * mingwex: New directory.
4026 * mingwex/Makefile.in: New file.
4027 * mingwex/configure.in: New file.
4028 * mingwex/configure: Generate.
4029 * mingwex/dirent.c: Moved here from parent dir.
4030 * mingwex/atoll.c: New file.
4031 * mingwex/feclearexcept.c: New file.
4032 * mingwex/fegetenv.c: New file.
4033 * mingwex/fegetexceptflag.c: New file.
4034 * mingwex/fegetround.c: New file.
4035 * mingwex/feholdexcept.c: New file.
4036 * mingwex/feraiseexcept.c: New file.
4037 * mingwex/fesetenv.c: New file.
4038 * mingwex/fesetexceptflag.c: New file.
4039 * mingwex/fesetround.o: New file.
4040 * mingwex/fetestexcept.c: New file.
4041 * mingwex/feupdateenv.c: New file.
4042 * mingwex/fma.S: New file.
4043 * mingwex/fmaf.S: New file.
4044 * mingwex/fmax.c: New file.
4045 * mingwex/fmaxf.c: New file.
4046 * mingwex/fmin.c: New file.
4047 * mingwex/fminf.c: New file.
4048 * mingwex/fp_consts.c: New file.
4049 * mingwex/fpclassify.c: New file.
4050 * mingwex/fucom.c: New file.
4051 * mingwex/fwide.c: New file.
4052 * mingwex/imaxabs.c: New file.
4053 * mingwex/imaxdiv.c: New file.
4054 * mingwex/isnan.c: New file.
4055 * mingwex/isnanf.c: New file.
4056 * mingwex/lltoa.c: New file.
4057 * mingwex/lltow.c: New file.
4058 * mingwex/log2.c: New file.
4059 * mingwex/log2f.c: New file.
4060 * mingwex/math_stubs.c: New file.
4061 * mingwex/mbsinit.c: New file.
4062 * mingwex/rint.c: New file.
4063 * mingwex/round.c: New file.
4064 * mingwex/signbit.c: New file.
4065 * mingwex/sitest.c: New file.
4066 * mingwex/strtof.c: New file.
4067 * mingwex/strtoimax.c: New file.
4068 * mingwex/strtoumax.c: New file.
4069 * mingwex/testwmem.c: New file.
4070 * mingwex/trunc.c: New file.
4071 * mingwex/ulltoa.c: New file.
4072 * mingwex/ulltow.c: New file.
4073 * mingwex/wcstof.c: New file.
4074 * mingwex/wcstoimax.c: New file.
4075 * mingwex/wcstoumax.c: New file.
4076 * mingwex/wmemchr.c: New file.
4077 * mingwex/wmemcmp.c: New file.
4078 * mingwex/wmemcpy.c: New file.
4079 * mingwex/wmemmove.c: New file.
4080 * mingwex/wmemset.c: New file.
4081 * mingwex/wtoll.c: New file.
4083 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4085 * include/mbstring.h: New file.
4086 * include/mbctype.h: New file.
4088 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4090 * include/tchar.h (__TEXT): Make same as define in
4091 w32api/include/winnt.h.
4093 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4095 * include/tchar.h (_tputenv): Add UNICODE mappings.
4096 (_tsearchenv): Likewise.
4097 (_tmakepath): Likewise.
4098 (_tsplitpath): Likewise.
4099 (_tfullpath): Likewise.
4101 2002-04-18 Pascal Obry <obry@gnat.com>
4103 * dirent.c (opendir): Convert given pathname to
4106 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4108 * include/_mingw.h: Increment version.
4109 * Makefile.in: Ditto.
4111 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4113 * moldname-crtdll.def: Remove CR from end of line.
4114 * moldname-msvcrt.def: Ditto.
4115 * Makefile.in: Use bzip2 compression for Cygwin target.
4117 2002-04-04 Danny Smith <dannysmith@sourceforge.users.net>
4119 * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
4120 TLOSS, PLOSS): Move oldname defines back, following
4121 the underscored names.
4123 2002-03-29 Danny Smith <dannysmith@sourceforge.users.net>
4125 * include/stdio.h (_snwprintf): Correct spelling.
4126 (_vsnwprintf): Likewise.
4127 * include/wchar.h (_snwprintf): Correct spelling.
4128 (_vsnwprintf): Likewise.
4130 2002-03-26 Danny Smith <dannysmith@users.sourceforge.net>
4132 * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__).
4133 (wpopen): Add if !(__CRTDLL__).
4134 * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
4136 (moldname-crtdll.def rule): Likewise.
4137 * moldname-msvcrt.def: Regenerate.
4138 * moldname-crtdll.def: Regenerate.
4139 * include/stdio.h (wpopen):Use prototype, not a define.
4140 (_swnprintf): Add prototype.
4141 (_vswnprintf): Likewise.
4143 * include/wchar.h (_swnprintf): Add prototype.
4144 (_vswnprintf): Likewise.
4147 2002-01-28 Danny Smith <dannysmith@users.sourceforge.net>
4149 * include/malloc.h (_heapinfo): Correct structure definition.
4150 (_USEDENTRY,_FREEENTRY): Add defines.
4151 Add comment on platform support for _heap* functions.
4152 (_get_sbh_threshold): Add prototype.
4153 (_set_sbh_threshold): Likewise.
4154 (_expand): Likewise.
4156 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4158 * profile/profil.c: Update copyright info.
4159 * profile/profil.h: Likewise.
4160 * profile/gcrt0.c: Likewise.
4162 2002-01-25 Pascal Obry <obry@gnat.com>
4164 * profile/profil.h (PROFADDR): Cast idx to unsigned long long to
4166 * profile/gmon.c: Define bzero as memset if mingw32.
4167 (monstartup): Use it.
4169 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4171 * include/tchar.h (_TCHAR): Add missing ;.
4173 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4175 * include/tchar.h (_TCHAR): Add typedefs.
4177 2002-01-16 Danny Smith <dannysmith@users.sourceforge.net>
4179 * include/stdlib.h (_onexit_t): Add typedef.
4180 (_onexit): Add prototype.
4182 2002-01-12 Danny Smith <dannysmith@users.sourceforge.net>
4184 * msvcrt.def: Revert accidental change.
4185 * include/stdlib.h: Ditto.
4187 2001-12-07 Earnie Boyd <earnie@users.sf.net>
4189 * Makefile.in: Increment VERSION.
4190 * include/_mingw.h: Ditto.
4192 2001-12-05 Earnie Boyd <earnie@users.sf.net>
4194 * include/strings.h: New File.
4196 2001-12-02 Danny Smith <dannysmith@users.sourceforge.net>
4199 2001-06-21 Mumit Khan <khan@nanotech.wisc.edu>
4201 * include/math.h (_FPCLASS* ): Add defines from float.h.
4202 (IEEE recommended functions): Add declarations from float.h.
4203 * include/float.h (_FPCLASS* ): Protect against redefinition.
4205 2001-11-29 Wu Yongwei <adah@netstd.com>
4207 * include/_mingw.h,assert.h,conio.h,ctype.h,dir.h,direct.h
4208 dirent.h,dos.h,errno.h,excpt.h,fcntl.h,float.h,io.h,
4209 limits.h,locale.h,malloc.h,math.h,process.h,setjmp.h,
4210 share.h,signal.h,stdarg.h,stddef.h,stdint.h,stdio.h,
4211 stdlib.h,string.h,tchar.h,time.h,varargs.h,wchar.h,
4212 wctype.h,sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h:
4213 Correct spelling of "disclaimed" in comments.
4214 * include/excpt.h: Another spelling correction.
4216 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
4218 * include/errno.h: Fix "errno is not a prototype" warning.
4220 2001-11-07 Danny Smith <dannysmith@users.sourceforge.net>
4222 * include/ctype.h (tolower, toupper,_tolower,_toupper): Comment
4223 differences between ANSI and non-ANSI versions.
4224 (_ctype[],_pctype): Declare vars.
4225 (__ISCTYPE): New helper macro using _pctype.
4226 (is* ctype functions): Use __ISCTYPE to define inline versions.
4227 (_toupper, _tolower, __isascii, __toascii, __iscsym, __iscsymf):
4229 (isw* ctype functions): Inline definitions.
4230 * include/wctype.h (_ctype[],_pctype): Declare vars.
4231 (isw* ctype functions): Inline definitions.
4234 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4236 * include/float.h (_clearfp, _statusfp, _fpreset, fpreset,
4237 __fpecode): Use __STDC__ prototypes.
4240 2001-11-06 Thomas Pfaff <tpfaff@gmx.net>
4242 * mthr_stub.c (__mingwthr_remove_key_dtor) New.
4243 * mthr_init.c (DllMain) Run dtors if a process terminates.
4244 * mthr.c (__mingwthr_add_key_dtor) Removed.
4245 (___mingwthr_add_key_dtor) New.
4246 (___mingwthr_remove_key_dtor) New.
4247 (__mingwthr_run_key_dtors) Complete rewrite.
4248 (__mingwthr_remove_key_dtor) New.
4250 2001-11-05 Egor Duda <deo@logos-m.ru>
4252 * Makefile.in: Delete unused executable after creating base-files.
4254 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4256 * include/errno.h (_errno): Use __STDC__ prototype.
4257 Thanks to: Jim Barton.
4259 2001-11-04 "stefan" <stefan@lkcc.org>
4261 * include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names.
4263 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4265 * include/io.h (_commit): Add declaration.
4266 Thanks to: "stefan" <stefan@lkcc.org>
4268 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4270 * include/sys/stat.h: Make S_IS* macros safer.
4272 2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
4274 * include/stdlib.h (EXIT_FAILURE): Change value to 1.
4276 2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
4278 * include/stdlib.h (__p__environ, __p__wenviron): Use
4279 __STDC__ prototypes.
4281 2001-09-19 Earnie Boyd <earnie@SF.net>
4283 * Makefile.in: Remove the /usr from the install target.
4284 (VERSION): Increment.
4285 include/_mingw.h: Ditto.
4287 2001-09-17 Earnie Boyd <earnie@SF.net>
4289 * Makefile.in: Increment version.
4290 * include/_mingw.h: Ditto.
4292 2001-09-10 Earnie Boyd <earnie@SF.net>
4294 * dossh: Remove inadvertantly imported file.
4296 2001-09-10 Danny Smith <dannysmith@users.sourceforge.net>
4298 * dirent.c (opendir): Use GetFileAttributes rather than stat
4299 to determine if input arg is dir.
4301 2001-08-29 Danny Smith <dannysmith@users.sourceforge.net>
4303 * include/stdarg.h (va_list): Typedef as __builtin_va_list if
4305 * include/varargs.h (va_list): Ditto.
4306 * include/stdio.h (va_list): Ditto.
4308 2001-08-01 Danny Smith <dannysmith@users.sourceforge.net>
4310 * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
4311 * include/stdio.h (_IORW): Change constant to 0x0080.
4312 (TMP_MAX): Add new define.
4314 (_wP_tmpdir): Ditto.
4315 (L_tmpnam): Change constant to 16.
4317 2001-06-28 Danny Smith <dannysmith@users.sourceforge.net>
4319 * include/malloc.h: Fix non-ANSI comment after #endif.
4321 2001-06-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4323 * profile/configure.in: Make msvcrt.dll version default.
4324 * profile/makefile.in: Build both gcrt1.o and gcrt2.o.
4325 * provile/configure: Regenerate.
4327 2001-06-11 Mattia Barbon <mbarbon@dsi.unive.it>
4329 * include/stdio.h (swscanf): Make first arugument const.
4330 * include/wchar.h (swscanf): Ditto.
4331 * include/tchar.h (_tfopen): New _UNICODE define.
4333 (_tsetlocale): Ditto.
4335 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4337 * profile/Makefile.in (mkinstalldirs): Correct relative path.
4339 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4341 * include/_mingw.h: Change version to 1.0.
4344 2000-02-21 Earnie Boyd <earnie@users.sourceforge.net>
4346 * include/tchar.h: (__TEXT): Remove undef.
4350 Fri Feb 2 10:34:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
4352 * include/tchar.h: (__TEXT): Add private macro.
4353 (_TEXT): Modify definition to use __TEXT.
4355 This change allows the passing of a MACRO as an argument and have that
4356 MACRO resolved first.
4357 Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
4359 Wed Jan 31 17:12:51 2001 Earnie Boyd <earnie@users.sourceforge.net>
4361 * Makefile.in: Increment version to 0.5
4362 * include/_mingw.h: Increment minor version
4364 Tue Jan 30 13:01:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
4366 * include/assert.h: (assert): Remove ; from end of definition
4367 Thanks to: AJ Reins <tbisp@qwest.net>
4369 Tue Jan 30 07:31:22 2001 Earnie Boyd <earnie@users.sourceforge.net>
4371 * include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
4372 Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
4374 Mon Jan 29 14:03:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
4376 * time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
4378 Sun Jan 28 13:01:08 2001 Earnie Boyd <earnie@users.sourceforge.net>
4380 * include/wchar.h: The 2001.01.18 Change was incorrect. The functions
4381 are actually C functions. These functions are resolved via the
4382 -lmsvcp60 library and comments were placed in the header.
4384 2001-01-28 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4386 * include/stdlib.h (__p__pgmptr): add prototype.
4387 (__p__wpgmptr): likewise.
4388 (_pgmptr_dll): move declaration from dos.h.
4389 (_wpgmptr_dll): likewise.
4390 (_pgmptr): conditional define (MSVCT/CRTDLL).
4391 (_wpgmptr): likewise.
4392 * include/dos.h (_base*_dll variables): declare only for CRTDLL.
4393 (_os*_dll variables): likewise.
4394 (_pgmptr_dll): remove declaration and associated defines to stdlib.h.
4395 (_wpgmptr_dll): likewise.
4397 2001-01-22 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4399 * include/stdint.h: New file.
4401 Thu Jan 18 10:33:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
4403 * include/wchar.h: Protect prototypes only declared in the C++ STL
4404 from being declared unless __cplusplus is defined.
4406 Tue Jan 16 11:37:31 2001 Earnie Boyd <earnie@users.sourceforge.net>
4408 * include/stdlib.h: Apply Danny Smith patch 102730
4409 2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4410 (_wgetenv) Correction to return type.
4412 Tue Jan 16 09:41:41 2001 Earnie Boyd <earnie@users.sourceforge.net>
4414 * include/locale.h: Apply Danny Smith patch 101834
4415 2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4416 (LC_MIN) Add definition.
4418 (_wsetlocale) Add prototype.
4420 2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
4422 * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
4423 Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
4424 Create a libcoldname.a for the oldname library for CRTDLL.
4425 Restrict libmoldname.a for the oldname library for MSVCRT.
4426 * configure.in: eliminate setting RUNTIME and CRT_ID variables.
4427 Restructure the $target_os case logic.
4428 Always name the MinGW thread dll helper mingwm.
4429 Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
4430 * configure: regenerate.
4432 2000-11-22 Earnie Boyd <earnie_boyd@yahoo.com>
4434 * Makefile.in: Fix bindist target to distribute the correct files.
4435 Remove the use of SNAPSHOT variable and test SNAPDATE instead.
4436 Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
4438 2000-11-21 Earnie Boyd <earnie_boyd@yahoo.com>
4440 * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
4441 Add variables and targets to control binary and source distributions.
4442 Add variables and targets to control snapshot distribution.
4443 * profile/gmon.h: Add missing #endif for #ifndef.
4444 * profile/ChangeLog: Merge entries here and remove.
4445 * profile/Makefile.in: Add variables and targets to control
4449 * config.guess: ditto.
4450 * config.sub: ditto.
4451 * mkinstalldirs: ditto.
4452 * install-sh: ditto.
4453 * configure: regenerate.
4454 * profile/configure: ditto.
4456 2000-11-20 Earnie Boyd <earnie_boyd@yahoo.com>
4458 * Merge in changes from
4459 2000-10-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4460 * include/direct.h: add guard around MSVCRT-only prototytpes
4461 * include/io.h: add __int64 struct definitions and function prototypes;
4462 add guard for MSVCRT-only prototypes
4463 * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
4464 * include/stdio.h: add wchar function prototypes (__MSVCRT__);
4465 put wchar functions together to make sync with wchar.h easier
4466 * include/stdlib.h: add wide char functions (__MSVCRT__)
4467 * include/string.h: add string collation functions ( __MSVCRT__)
4468 * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
4469 * include/tchar.h: add macros and macro function definitions
4470 * include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
4471 enclose more functions in __MSVCRT__ guard;
4472 some oldname wide char function prototypes #if (0)'d
4473 * profile/gmon.h: add guard around BSD-ish typedefs
4475 Mon Nov 20 18:58:12 2000 Christopher Faylor <cgf@cygnus.com>
4477 * Makefile.in: Use a different variable name for subdirectory since the
4478 previous one was used by the top level make.
4480 Sun Nov 19 20:50:51 2000 Christopher Faylor <cgf@cygnus.com>
4482 * Makefile.in: Install mingw stuff in a subdirectory if building under
4485 Sat Jun 17 21:48:23 2000 Christopher Faylor <cgf@cygnus.com>
4487 * Makefile.in (subdirs): Eliminate for loop.
4489 Sat Jun 17 18:27:59 2000 Christopher Faylor <cgf@cygnus.com>
4491 * Makefile.in (subdirs): Previous change did not fix problem in
4494 Sat Jun 17 13:49:12 2000 Christopher Faylor <cgf@cygnus.com>
4496 * Makefile.in: Avoid installing dll if we're cross building and the
4497 cross-host system isn't a Windows system.
4498 * configure.in: Detect cross-hosting situation and set appropriate
4499 variables in Makefile.in.
4500 * configure: Regenerate.
4502 Wed Apr 19 13:10:54 2000 Christopher Faylor <cgf@cygnus.com>
4504 * configure.in: Change HEADER_SUBDIR to mingw32.
4505 * configure: Regenerate.
4507 Mon Apr 10 17:24:28 2000 Christopher Faylor <cgf@cygnus.com>
4509 * include/string.h: Use proper prototype for _strerror.
4511 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
4513 * Makefile.in (subdirs): Workaround for broken shells.
4515 2000-02-03 Mumit Khan <khan@xraylith.wisc.edu>
4517 * Snapshot 2000-02-03.
4519 * include/{assert.h, conio.h, ctype.h, direct.h, dirent.h, fcntl.h,
4520 float.h, io.h, locale.h, malloc.h, math.h, process.h, signal.h,
4521 stdio.h, stdlib.h, string.h, time.h, wctype.h, sys/stat.h,
4522 sys/timeb.h, sys/utime.h}: Remove parameter names to avoid namespace
4525 * Makefile.in (all): Build CRT0S first.
4526 (libmingwthrd.a): Remove thread support DLL from dependency.
4528 2000-01-21 Mumit Khan <khan@xraylith.wisc.edu>
4530 * Snapshot 2000-01-21.
4532 2000-01-20 Mumit Khan <khan@xraylith.wisc.edu>
4534 Merge in changes from Cygwin:
4535 * configure.in (HEADER_SUBDIRS): New variable. Substitute.
4536 (SUBDIRS): Likewise.
4537 * Makefile.in (HEADER_SUBDIRS): New variable.
4538 (install): Use to install Mingw headers to a subdirectory if building
4540 (DLL_CC_STUFF): Add DLL entry point.
4541 * configure: Regenerate.
4543 2000-01-19 Mumit Khan <khan@xraylith.wisc.edu>
4545 * include/stdio.h (fsetpos): Fix prototype.
4546 (fpos_t): Fix for MSVCRT.
4547 * include/float.h (fpreset): Add prototype.
4548 * include/limits.h: Define UINT_MAX, USHRT_MAX and ULONG_MAX with
4550 * include/time.h: Don't define tzname as a macro for CRTDLL, and
4551 export using libmoldname.a.
4552 * crtdll.def: Add DATA tags.
4553 * msvcrt.def: Likewise.
4554 * moldname.def.in: Likewise. Add fpreset. Export tzname for
4555 both MSVCRT and CRTDLL.
4556 * moldname-crtdll.def: Regenerate.
4557 * moldname-msvcrt.def: Regenerate.
4559 Tue Dec 21 02:22:14 1999 Mumit Khan <khan@xraylith.wisc.edu>
4561 * Snapshot 1999-12-21.
4563 * include/wctype.h: New file.
4564 * include/ctype.h (MB_CUR_MAX): Define.
4566 * include/stdlib.h (MB_CUR_MAX): Define.
4567 * include/wchar.h: Define stat, _stat structures here as well.
4568 * include/float.h: Add invalid subconditions (_SW) and floating
4569 point error (_FPE) macros.
4570 * include/time.h (_CLOCK_T): Rename macro to _CLOCK_T_DEFINED.
4571 (_TIME_T): Rename macro to _TIME_T_DEFINED.
4572 * include/sys/types.h: Likewise.
4574 Thu Nov 18 00:22:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4576 * profile/profil.c (profile_on): Set the profiler thread priority to
4577 be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
4578 * Snapshot 1999-11-18.
4580 Sun Nov 7 02:50:09 1999 Mumit Khan <khan@xraylith.wisc.edu>
4582 Released 1999-11-07.
4584 * Makefile.in (CRT0S): Add crtst.o.
4585 (install): Install in subdirs as well.
4586 * dirent.h (struct _stat): Rename from struct stat.
4587 * include/tchar.h: Add some new macros. Thanks to
4588 Eric Kohl <ekohl@abo.rhein-zeitung.de>.
4589 * profile/Makefile.in (install): Fix target.
4591 Thu Nov 4 14:32:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
4593 * Makefile.in: Add support for profile directory.
4594 * configure.in: Likewise.
4595 * configure: Regenerate.
4597 * profile: Imported profiling sources from winsup-19991026 snapshot.
4598 * profile/Makefile.in: New file.
4599 * profile/configure.in: New file.
4600 * profile/configure: Generate.
4601 * profile/gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
4602 * profile/gmon.h (u_char, u_short, u_int, u_long): Likewise.
4603 * profile/gmon.c (unistd.h): Include conditionally.
4604 (sys/param.h): Likewise.
4605 * profile/mcount.c (sys/param.h): Likewise.
4606 * profile/profil.c (profile_on): thread id is DWORD, not int.
4609 Wed Nov 3 16:26:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
4611 * include/stdlib.h: Add wide character version of argv/environ.
4613 * include/wchar.h: More wide character prototypes.
4614 * include/sys/stat.h: Likewise. Add struct stat as well as _stat.
4616 * dllcrt1.c (init.c): Don't include.
4617 (DllMainCRTStartup): Don't call _mingw32_init_mainargs().
4618 * Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists.
4620 Sat Oct 30 03:06:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4622 * moldname.def: Remove file.
4623 * moldname.def.in: And add this.
4624 * moldname-msvcrt.def: Generate from moldname.def.in.
4625 * moldname-crtdll.def: Likewise.
4627 * mthr.c: New file for -mthread (thread-safe C++ EH) support.
4628 * mthr_init.c: New file for -mthread (thread-safe C++ EH) support.
4629 * mthr_stub.c: New file for -mthread (thread-safe C++ EH) support.
4631 * Makefile.in: Update.
4632 * configure.in: Likewise. Also add *cygwin* target for building
4633 under Cygwin winsup.
4634 * configure: Regenerate.
4636 Fri Oct 1 11:10:30 1999 Mumit Khan <khan@xraylith.wisc.edu>
4638 * include/_mingw.h: Add version macros.
4639 * include/direct.h (_diskfree_t, getdiskfree, getdrives): Add.
4640 Also add wide character versions shared with wchar.h.
4641 * include/dos.h (_diskfree_t, getdiskfree, getdrives): Add.
4642 * include/io.h (sopen, _sopen): Fix prototype.
4643 Add wide character prototypes.
4644 * include/wchar.h: Likewise.
4645 * include/stdlib.h (beep, seterrormode, sleep): Remove non-
4646 underscored versions. Potential incompatibility.
4647 * include/time.h (daylight, timezone, tzname): Fix MSVCRT cases.
4648 Add wide character prototypes.
4649 * include/sys/timeb.h (struct _timeb): Don't use macro, but real
4652 Wed Aug 18 18:38:39 1999 Mumit Khan <khan@xraylith.wisc.edu>
4654 * configure.in (RUNTIME, CRT_ID): Add to differentiate between
4655 crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
4657 * configure: Rengerate.
4658 * Makefile.in (RUNTIME, CRT_ID): Use to generate the correct
4659 dll name and crt's. CRTDLL and MSVCRT are meant to created
4660 separately, so remove all the *-msvcrt* targets.
4661 (libmingwthr.a): New target. Dummy thread support archive.
4662 (LIBS): Add libmingwthr.a.
4663 (CRT0S): Use CRT_ID. Add crtmt.o.
4664 (MINGW_OBJS): Add crtst.o.
4665 * main.c (WinMain): Fix prototype.
4666 * crtmt.c: New file.
4667 * crtst.c: New file.
4669 * include/process.h (_beginthreadex): Fix prototype.
4670 * include/_mingw.h (__int64): Define for __GNUC__.
4671 * include/tchar.h (_ttol): Add macro.
4672 * include/stdlib.h (_wtoi, _wtol, _i64toa, _ui64toa, _atoi64,
4673 _i64tow, _ui64tow, _wtoi64): Add prototypes.
4675 Reported by Emanuele Aliberti <ea@iol.it>:
4676 * include/tchar.h (_ttoi): Add macro.
4678 Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
4679 * include/stdio.h (_snprintf): Add prototype.
4680 (_vsnprintf): Likewise.
4682 Sat Aug 7 18:00:00 1999 Mumit Khan <khan@xraylith.wisc.edu>
4684 Reported by Tor Lillqvist <tml@iki.fi>:
4685 * include/stdlib.h (__p___argv): Fix return type.
4687 Fri Jul 30 22:07:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
4690 * include/errno.h (errno): It's linked in from startup, not imported.
4691 * include/stdlib.h (errno): Likewise.
4692 * include/io.h: Guard against conflicting macros and prototypes in
4694 * include/stdlib.h: Likewise.
4695 * include/string.h: Likewise.
4696 * include/time.h: Likewise.
4698 Fri Jul 30 13:47:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
4700 * include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans.
4701 * include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT.
4702 * Makefile.in (INCLUDES): Remove old windows32 include directory.
4704 * crt1.c (_gnu_exception_handler): Fix prototype.
4705 (__mingw_CRTStartup): New function based on mainCRTStartup.
4706 (mainCRTStartup): Set the app type for MSVCRT and call
4708 (WinMainCRTStartup): Likewise.
4709 * init.c (_startupinfo): Define.
4710 (_getmainargs): Add 5th parameter.
4711 (_mingw32_init_mainargs): Use.
4713 * ALL *.c files: Reformat according to GNU coding style.
4715 Fri Jul 16 00:46:04 1999 Mumit Khan <khan@xraylith.wisc.edu>
4717 * Makefile.in (INCLUDES): Add w32api include directory.
4719 * include/_mingw.h: New file.
4720 * include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h,
4721 errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h,
4722 math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h,
4723 stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h,
4724 sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and
4725 use the macros __DECLSPEC_SUPPORTED and __MINGW_IMPORT.
4727 * include/stdlib.h (atexit): Fix prototype.
4729 Mon Jun 14 18:38:49 1999 Mumit Khan <khan@xraylith.wisc.edu>
4731 * include/stdio.h (_tempnam): Fix prototype.
4732 (tempnam): Likewise.
4733 * include/stdlib.h: Replace with GCC's version, and guard
4736 From Anders Norlander <anorland@hem2.passagen.se>:
4737 * include/stdlib.h (__argc): Declare.
4740 Mon Apr 5 13:49:17 1999 Mumit Khan <khan@xraylith.wisc.edu>
4742 * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
4744 * Makefile.in (_libm_dummy.o): New target.
4747 Tue Mar 16 18:15:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4749 * Released 1999-03-16 along with egcs-1.1.2.
4751 Wed Feb 17 17:15:56 1999 Mumit Khan <khan@xraylith.wisc.edu>
4753 * Makefile.in (LIBS): Add libm.a.
4754 (libm.a): Dummy libm.a.
4756 * Makefile.in: Update from winsup 1999-02-08 snapshot.
4757 Preserve local changes.
4758 (mkinstalldirs): In ../, not ../../.
4759 (INCLUDES): Point to local windows32api headers and use -nostdinc.
4761 (LIBS): Add libmoldname-msvc.a.
4762 (libmoldname-msvc.a): Add target.
4763 (distclean): Add target.
4765 Tue Feb 9 00:26:05 1999 Mumit Khan <khan@xraylith.wisc.edu>
4767 * include/dir.h: Reintroduce as an obsolescent header.
4768 * crt1.c (signal.h): Include.
4769 (_gnu_exception_handler): New function to properly handle win32
4770 asynchronous signals.
4771 (mainCRTStartup): Use.
4773 Sun Jan 3 23:52:25 1999 Mumit Khan <khan@xraylith.wisc.edu>
4775 * include/direct.h: Include io.h instead of dir.h
4776 * include/dirent.h: Likewise.
4777 * include/dos.h: Likewise.
4778 * include/stdio.h: Replace reference to dir.h with io.h.
4780 Thu Dec 31 16:04:55 1998 Mumit Khan <khan@xraylith.wisc.edu>
4782 * 1999-01-01 release bundled with egcs-1.1.1.
4784 * include/io.h: Incorporate dir.h.
4785 * include/dir.h: Remove.
4786 * include/signal.h: Move RC_INVOKED up a bit.
4788 Tue Dec 29 15:04:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
4790 * include/signal.h (sig_atomic_t): Define.
4792 * include/malloc.h: Import defs from deprecated alloc.h.
4793 * include/alloc.h: Remove.
4795 From "Daniel J. Rodriksson" <djr@dit.upm.es>:
4796 * include/sys/types.h (_dev_t): Should be unsigned int for MSVCRT.
4797 * include/sys/stat.h (struct stat): st_uid is of type short. Use
4798 _off_t instead of long for st_size.
4800 Thu Sep 10 22:28:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4802 * include/errno.h (sys_errlist, sys_nerr): Move from here ...
4803 * include/stdlib.h: Here.
4805 * include/netdb.h: Remove.
4806 * include/arpa/inet.h: Remove.
4807 * include/netinet/in.h: Remove.
4808 * include/sys/socket.h: Remove.
4810 Fri Sep 4 15:09:11 1998 Mumit Khan <khan@xraylith.wisc.edu>
4814 * include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h,
4815 sys/utime.h}: Protect stddef.h in RC_INVOKED macro.
4817 Thu Sep 3 10:43:29 1998 Mumit Khan <khan@xraylith.wisc.edu>
4819 * setjmp.h (_JBTYPE, _JBLEN): Define correctly.
4820 (jmpbuf): typedef using above.
4821 (setjmp, longjmp): Prototype using jmpbuf.
4823 Merge with Colin Peters' 980701 snapshot. I've ignored changes to
4824 obsolescent imported names, ie., from __imp__ to _imp___.
4826 Also ignored empty include/sys/param.h and incorrect
4827 include/sys/times.h.
4829 * CRTinit.c: New file.
4830 * include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef
4832 * include/io.h (umask): Fix prototype.
4833 * include/stdlib.h (OS constants): Replace with Colin's.
4834 * include/time.h (tzset, daylight, timezone): Replace with Colin's.
4835 * include/sys/state.h: Merge.
4837 Thu Sep 3 09:49:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
4839 * include/assert.h (assert): Lose the trailing semicolon.
4841 Thu Jul 30 21:18:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4843 * include/math.h (matherr): Declare.
4844 * include/stdio.h (fileno, _fileno): Declare.
4845 * include/stdlib.h (environ, _environ): Fix to use runtime DLL.
4848 * include/stdio.h (fdopen, _fdopen): Add const.
4849 (getw, putw): Declare.
4850 * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix.
4852 Sat Jun 13 18:19:41 1998 Mumit Khan <khan@xraylith.wisc.edu>
4854 * include/time.h (_timezone): Undefine.
4855 * include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
4857 * include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
4859 * include/stdlib.h (environ): Use DLL version.
4860 * init.c (environ): Undefine it before use.
4862 Sun Mar 22 19:59:30 1998 Mumit Khan <khan@xraylith.wisc.edu>
4864 * Update to 980309 snapshot from Colin Peters.
4866 * include/utime.h: remove
4867 * include/stdlib.h (__imp__osver_dll, __imp__winver_dll,
4868 __imp__winmajor_dll, __imp__winminor_dll): Apply Jan-Jaap's
4869 patches to define these.
4870 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4871 (_daylight, _timezone, _tzname, _tzset): Define.
4873 * include/netdb.h: Add from Colin's windows32api changes.
4874 * include/sys/socket.h: Likewise.
4875 * include/arpa/inet.h: Likewise.
4876 * include/netinet/in.h: Likewise.
4878 Wed Feb 4 14:16:44 1998 Mumit Khan <khan@xraylith.wisc.edu>
4880 * Update to 980128 snapshot from Colin Peters.
4882 Sat Dec 6 21:30:35 1997 Mumit Khan <khan@xraylith.wisc.edu>
4884 * configure.in (AC_INIT): Use dllmain.c instead of defunct
4886 * configure: Regenerate.
4888 Fri Dec 5 15:57:36 1997 Mumit Khan <khan@xraylith.wisc.edu>
4890 * Update to 971205 snapshot from Colin Peters. Lots of changes.
4891 Files renamed and include hierarchy loses directories named
4894 * include/dos.h: from Jan-Jaap.
4896 Thu Dec 4 21:48:13 1997 Mumit Khan <khan@xraylith.wisc.edu>
4898 Changes to conform to FSF tree.
4900 * crt1.c: Renamed from mcrt0.c.
4901 * dllcrt1.c: Renamed from dllcrt0.c.
4902 * Makefile.in: Update above. Also renamed libmoldnames.a to
4905 Mon Dec 1 16:51:30 1997 Mumit Khan <khan@xraylith.wisc.edu>
4907 * crtdll.def: Export all functions but the ones with funny names.
4908 * moldnames.def: Add fdopen since fileno is already there.
4909 * include/nonansi/dos.h: New file from Jan-Jaap.
4910 * include/errno.h: Add extern decl + various additions from JJ.
4911 * include/stdio.h: Likewise.
4912 * include/stdlib.h: Likewise.
4913 * include/nonansi/io.h: Likewise.
4914 * include/nonansi/process.h: Likewise.
4915 * include/sys/types.h: Likewise.
4917 Tue Nov 4 14:51:01 1997 Mumit Khan <khan@xraylith.wisc.edu>
4919 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4921 * include/stdlib.h (free): Fix prototype to return void, not void*.
4922 * include/nonansi/process.h: Add P_* and WAIT_* defs.
4924 * dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
4925 * mcrt0.c: Likewise.
4927 * Makefile.in (LIBS): Delete moldnames.dll from target libs.
4928 (libmoldnames.a): Add explicit rule to create it.
4930 Fri Aug 15 18:23:43 1997 Rob Savoye <rob@cygnus.com>
4932 New directory for the minimalist cygwin environment.
4934 * crtglob.c: New file. Turn on file globbing support.
4935 * crt_noglob.c: New file. Turn off file globbing support.
4936 * ctype_old.c: New file. Wrappers for functions that don't
4938 * dirent.c: New file. Directory routines readdir, opendir, closedir.
4939 * dllcrt0.c: New file. Initialization code to use crtdll.dll.
4940 * dllmain.c: New file. A stub DllMain function.
4941 * hugeval.c: New file. A gross hack to define HUGE_VAL.
4942 * init.c: New file. Common code to initialize standard file
4943 handles and command line arguments.
4944 * main.c: New file. A main for programs that only call WinMain.
4945 * mcrt0.c: New file. Default crt0 for mingw32.
4946 * oldnames.c: New File. Wrappers for functions that don't
4948 * string_old.c: New File.
4949 * include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h
4950 math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h
4951 string.h,tchar.h,time.h,wchar.h}: New header files for mingw.
4952 * include/sys/types.h: New header file for mingw.
4953 * include/nonansi/{alloc.h,conio.h,dir.h,direct.h,dirent.h
4954 fcntl.h,io.h,malloc.h,mem.h,memory.h,process.h,share.h,unistd.h
4955 utime.h,values.h,varargs.h}: New header files for mingw.
4956 * include/nonansi/sys/{fcntl.h,locking.h,stat.h,time.h
4957 timeb.h,unistd.h}: New header files for mingw.
4958 * Makefile.in,configure.in: Build and configure support.
4959 * configure: Generated from autoconf 2.12 with Cygnus patches.