1 2014-12-11 Keith Marshall <keithmarshall@users.sourceforge.net>
3 More rationalization of CRT_INLINE function implementations.
5 * include/stdio.h (fopen64): Add __JMPSTUP__ specification.
6 (ftello64): Add __LIBIMPL__ specification for extern implementation.
7 [__cplusplus] (_BEGIN_C_DECLS, _END_C_DECLS): Use these.
9 * mingwex/stdio/fopen64.c: File is now redundant; delete it.
10 * mingwex/stdio/ftell064.c: Likewise.
12 * Makefile.in (libmingwex.a): Delete obsolete dependencies...
13 (fopen64.$OBJEXT, ftello64.$OBJEXT): ...these.
15 2014-12-11 Keith Marshall <keithmarshall@users.sourceforge.net>
17 Don't implicitly define _POSIX_C_SOURCE too early.
19 * include/_mingw.h (_POSIX_C_SOURCE): Delay implict definition.
20 (__USE_MINGW_ANSI_STDIO): This must be initialized first, to ensure
21 that it is not accidentally activated by implied _POSIX_C_SOURCE.
23 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
25 Correct complex arcsin computation per issue [#2245].
27 * mingwex/complex/casin_generic.c: New file; it replaces...
28 * mingwex/complex/casin.c: ...this; it is now obsolete; delete it.
29 * mingwex/complex/casinf.c mingwex/complex/casinl: Likewise.
31 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
33 Correct complex square root computation per issue [#2246].
35 * include/math.h (hypotf): Redirect __CRT_INLINE call to...
36 (_hypot): ...this MSVCRT.DLL exported function, so avoiding...
37 (hypot): ...this libmoldname.a indirection.
39 * mingwex/complex/csqrt_generic.c: New file; it replaces...
40 * mingwex/complex/csqrt.c: ...this; it is now obsolete; delete it.
41 * mingwex/complex/csqrtf.c mingwex/complex/csqrtl: Likewise.
43 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
45 Adjust header guards to resolve issue [#2244].
47 * include/_mingw.h (_POSIX_C_SOURCE): Define it implicitly...
48 [_GNU_SOURCE || _BSD_SOURCE || _POSIX_SOURCE || !__STRICT_ANSI__]:
49 ...when any of these prevail, or as appropriate to correspond with...
50 [_XOPEN_SOURCE]: ...this; set conformance level accordingly.
52 * include/math.h [_POSIX_C_SOURCE || defined _USE_MATH_DEFINES]
53 (M_E, M_LOG2E, M_LOG10E, M_LN2, M_LN10, M_PI, M_PI_2, M_PI_4, M_1_PI)
54 (M_2_PI, M_2_SQRTPI, M_SQRT2, M_SQRT1_2): Define them, irrespective...
55 [__STRICT_ANSI__]: ...of this; replace guard accordingly.
57 2014-12-01 Keith Marshall <keithmarshall@users.sourceforge.net>
59 Add implementation of mkstemp() and mkdtemp() functions.
61 * mingwex/cryptnam.c: New file; it implements...
62 (__mingw_crypto_tmpname): ...this helper function; it generates a
63 cryptographically secure sequence of characters, used as the random
64 component in temporary file and directory names.
66 * mingwex/mkstemp.c: New file; it implements...
67 (__mingw_mkstemp): ...this provider of mkstemp() functionality.
69 * mingwex/mkdtemp.c: New file; it implements...
70 (__mingw_mkdtemp): ...this provider of mkdtemp() functionality.
72 * include/stdlib.h (mkstemp): Declare protototye; provide an inline
73 function implementation, with LIBIMPL extern semantics, in terms of...
74 (__mingw_mkstemp): ...this; also declare prototype, and define...
75 (_MKSTEMP_INVOKE, _MKSTEMP_DEFAULT): ...these supporting constants.
76 (_MKSTEMP_SETMODE): New macro; define it, also providing...
77 (MKSTEMP_SETMODE) [!_NO_OLDNAMES]: ...this alias.
78 (mkdtemp): Declare prototype; provide inline implementation, with
79 JMPSTUB extern semantics, in terms of...
80 (__mingw_mkdtemp): ...this; declare prototype.
82 * Makefile.in (libmingwex.a): Add dependency rule, to include...
83 (mkstemp.$OBJEXT, mkdtemp.$OBJEXT, cryptname.$OBJEXT): ...these.
85 2014-11-30 Keith Marshall <keithmarshall@users.sourceforge.net>
87 More JMPSTUB rationalization of inline functions.
89 * include/stdlib.h (_Exit, atoll, lltoa, ulltoa, wtoll, lltow)
90 (ulltow): Add __JMPSTUB__ declarations; each is REMAPPED to its
91 appropriate MSVCRT.DLL equivalent entry point.
93 * mingwex/_Exit.c: File is now redundant; delete it.
94 * mingwex/atoll.c mingwex/lltoa.c mingwex/ulltoa: Likewise.
95 * mingwex/wtoll.c mingwex/lltow.c mingwex/ulltow: Likewise.
97 * Makefile.in (jmpstub_awk_script): Add support for...
98 [__JMPSTUB__((REMAPPED))]: ...this stub function attribute.
99 (libmingwex.a): Remove dependencies on deleted files, namely...
100 (_Exit.$OBJEXT, atoll.$OBJEXT, lltoa.$OBJEXT, ulltoa.$OBJEXT)
101 (wtoll.$OBJEXT, lltow.$OBJEXT, ulltow.$OBJEXT): ...these.
103 2014-11-29 Keith Marshall <keithmarshall@users.sourceforge.net>
105 Correct omission of complex conjugate functions from libmingwex.a
107 * include/complex.h (conj, conjf, conjl): Add LIBIMPL declarations.
108 (creal, crealf, creall): Likewise, for consistency of implementation.
109 (cimag, cimagf, cimagl, carg, cargf, cargl): Likewise.
111 * Makefile.in (libimpl_sed_script): Add processing for __CRT_INLINE
112 declarations; they should be interpreted analogously to __CRT_ALIAS.
113 (libmingwex.a): Remove object file references for functions which are
114 now declared as LIBIMPL, and sort the remainder in ASCII collating
115 order; deleted function references comprise the set consisting of...
116 (carg.$OBJEXT, cargf.$OBJEXT, cargl.$OBJEXT): ...these...
117 (creal.$OBJEXT, crealf.$OBJEXT, creall.$OBJEXT): ...these, and...
118 (cimag.$OBJEXT, cimagf.$OBJEXT, cimagl.$OBJEXT): ...these.
120 * mingwex/complex/carg.c: Replaced by LIBIMPL; delete it.
121 * mingwex/complex/cargf.c mingwex/complex/cargl.c: Likewise.
122 * mingwex/complex/creal.c mingwex/complex/cimag.c: Likewise.
123 * mingwex/complex/crealf.c mingwex/complex/cimagf.c: Likewise.
124 * mingwex/complex/creall.c mingwex/complex/cimagl.c: Likewise.
126 2014-11-24 Keith Marshall <keithmarshall@users.sourceforge.net>
128 Back-port improved asinh() implementation from 4.0-dev branch.
130 * mingwex/math/asinh_generic.c: New file; it replaces...
131 * mingwex/math/asinh.c mingwex/math/asinhf.c mingwex/math/asinhl.c:
132 ...all of these; delete them.
134 2014-11-18 Keith Marshall <keithmarshall@users.sourceforge.net>
136 Enable remake of lost LIBIMPL object files.
138 * Makefile.in (libimpl_remake): New macro; define it, and...
139 (%.libimpl.$OBJEXT) [%.libimpl exists]: ...use it in build rule.
141 2014-11-17 Keith Marshall <keithmarshall@users.sourceforge.net>
143 Implement more robust _get_output_format fallback handling.
145 * mingwex/ofmt.c: New file; it implements...
146 (__mingw_output_format_flag): ...backing store, used by...
147 (__mingw_get_output_format, __mingw_set_output_format): ...these
148 MSVCRT.DLL version agnostic wrappers/emulators for each of these...
149 (_get_output_format, _set_output_format): ...MSVCR80.DLL and later
150 version specific Microsoft APIs, which are also supported by some
151 later versions of MSVCRT.DLL, (excluding WinXP and earlier).
152 (__mingw_get_output_format_fallback): Implement; it is aliased to...
153 (__mingw_set_output_format_fallback): ...this; together they provide
154 the emulation support for the preceding pair of functions, when they
155 are not available within the run-time platform MSVCRT.DLL
156 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
157 Implement them; they wrap, and if necessary emulate...
158 (_get_printf_count_output, _set_printf_count_output): ...these.
159 (__mingw_get_printf_count_output_fallback): Implement; aliased to...
160 (__mingw_set_printf_count_output_fallback): ...this; together they are
161 required to support emulation of the preceding pair of functions, when
162 they are not available within the run-time platform MSVCRT.DLL
164 * include/stdio.h (_TWO_DIGIT_EXPONENT): Define it unconditionally.
165 (_THREE_DIGIT_EXPONENT): New manifest constant; define it orthogonally.
166 (__mingw_get_output_format, __mingw_set_output_format)
167 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
168 Unconditionally declare their prototypes, for subsequent inline use.
169 [_MSVCRT_VERSION__ < 0x800] (_get_output_format): Emulate it inline.
170 [_MSVCRT_VERSION__ < 0x800] (_set_output_format): Likewise.
171 [_MSVCRT_VERSION__ < 0x800] (_get_printf_count_output): Likewise.
172 [_MSVCRT_VERSION__ < 0x800] (_set_printf_count_output): Likewise.
173 (__USE_MINGW_PRINTF): New manifest constant; define it. It is a
174 counterpart to __USE_MINGW_ANSI_STDIO, which is guaranteed to always
175 represent a compilable token.
177 * mingwex/stdio/pformat.c (__pformat_exponent_digits): Do not require
178 _get_output_format; consult __mingw_output_format_flag directly.
180 * ofmt_stub.s: No longer required; delete it.
182 * Makefile.in (ofmt_stub.$OBJEXT): Delete reference.
183 (PFORMAT_CFLAGS) [__MSVCRT_VERSION__ = 0x800]: Remove requirement.
184 (varofmt.$OBJEXT, crtofmt.$OBJEXT, getofmt.$OBJEXT, setofmt.$OBJEXT)
185 (crtnfmt.$OBJEXT, getnfmt.$OBJEXT, setnfmt.$OBJEXT): Add build rule;
186 all are compiled from ofmt.c
188 2014-11-16 Keith Marshall <keithmarshall@users.sourceforge.net>
190 Do some more essential build tree clean up.
192 * Makefile.in (mostly-clean-local): Add *.libimpl; matching files get
193 in the way of a successful rebuild from clean.
195 2014-11-11 Keith Marshall <keithmarshall@users.sourceforge.net>
197 Implement wrappers for emulation of POSIX dlfcn API.
199 * include/dlfcn.h: New file; it declares the API.
200 * mingwex/dlfcn.c: New file; implement it, with access via...
201 (__mingw_dlfcn): ...this publicly addressable vector table.
203 * Makefile.in (dlfcn.$OBJEXT): Add build requisite.
204 (dlopen, dlsym, dlclose, dlerror): Build call stubs, using...
205 (__LIBIMPL__): ...this automatic interface generator; implement it.
206 (libstub_refnames): New macro; it is adapted from and replaces...
207 (jmpstub_refs): ...this; when it is then invoked twice to build...
208 (Makefile.stub): ...this, it handles both JMPSTUB and LIBIMPL.
209 (jmpstub_awk_script): Adapt it to work with 'libstub_refnames'.
210 (libimpl_awk_script): New inline script; it handles automated builds
211 of LIBIMPL interfaces, as 'jmpstub_awk_script' does for JMPSTUB.
212 (libimpl_sed_script): New inline script; it prepares intermediate C
213 source code for LIBIMPL interfaces, as required to satisfy these...
214 (%.libimpl, %.libimpl.$OBJEXT): ...new implicit build objectives.
215 (LIBIMPL_CFLAGS): New macro; define it.
217 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
219 Move libgen functions to __mingw_ pseudo-namespace.
221 * mingwex/dirname.c (dirname): Rename function, as implemented...
222 (__mingwex_dirname): ...to this.
224 * mingwex/basename.c (basename): Rename function, as implemented...
225 (__mingwex_basename): ...to this.
227 * include/libgen.h (__mingw_dirname, __mingw_basename): Declare
228 prototypes, matching and augmenting original declarations for...
229 (dirname, basename): ...these; reimplement as inline aliases, with
230 __JMPSTUB__ references to the renamed implementation entry points.
232 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
234 Implement new command line argument globbing strategy.
236 * include/_mingw.h: Backport feature defines from master...
237 (__CRT_GLOB_USE_MINGW__, __CRT_GLOB_USE_MSVCRT__): New manifest
238 constants; define them. They select the preferred globbing algorithm.
239 [_CRT_glob & __CRT_GLOB_USE_MINGW__] (__CRT_GLOB_USE_SINGLE_QUOTE__)
240 (__CRT_GLOB_BRACKET_GROUPS__, __CRT_GLOB_CASE_SENSITIVE__): New option
241 bit-map constants; define them. When added to __CRT_GLOB_USE_MINGW__,
242 they enable optional additional features supported by this algorithm.
243 (__CRT_GLOB_ESCAPE_CHAR__): New manifest constant; define it.
245 * CRTglob.c (_CRT_glob): Change default to __CRT_GLOB_USE_MINGW__.
247 * Makefile.in (libmingw32.a): Add setargv.$OBJEXT, furnished by...
248 * setargv.c: ...new file; it implements the initialization mechanism
249 for the __CRT_GLOB_USE_MINGW__ globbing algorithm, when invoked by...
250 (_setargv) [_CRT_glob & __CRT_GLOB_USE_MINGW__]: ...this new function;
251 it invokes the algorithm via an API similar to that described by MSDN,
252 while continuing to support our original _CRT_glob interpretation.
253 (_setargv) [! _CRT_glob & __CRT_GLOB_USE_MINGW__]: Invoke Microsoft
254 algorithm, via the MSDN-alike API, by calling back to...
256 * crt1.c (_mingw32_init_mainargs): ...this original function, now
257 relocated to here, as a publicly addressable function; formerly...
258 (__mingw_CRTStartup): ...called directly from here, we now redirect
259 the call through _setargv(), whence it may be called indirectly.
261 * init.c: Redundant file; delete it. It originally provided...
262 (_mingw32_init_mainargs): ...this, now relocated as noted above, with
263 original static attribute removed, to allow global addressing.
265 2014-11-07 Keith Marshall <keithmarshall@users.sourceforge.net>
267 Backport glob implementation from master to legacy.
269 * include/glob.h: New file; copy it from master branch.
270 (__mingw_glob, __mingw_globfree): Add __JMPSTUB__ aliases for...
271 (glob, globfree): ...each of these, respectively.
273 * mingwex/glob.c: New file; copy it from master:src/libcrt/misc.
274 (CRT_GLOB_HARD_ESCAPE) [ifndef __CRT_GLOB_ESCAPE_CHAR__]: Provide a
275 fallback definition; default value is ASCII DEL, a.k.a. RUBOUT, code.
276 (accept_glob_nocheck_match): New static function; it adds support for
277 avoidance of globbing on patterns with no globbing token, so avoiding
278 the case transliteration effect reported as MinGW-Bug #2106.
279 (glob_match): Use it.
281 * Makefile.in: Build glob.$OBJEXT; add it to libmingwex.a
283 2014-11-05 Keith Marshall <keithmarshall@users.sourceforge.net>
285 Implement conventionally named dirent function trampolines.
287 * mingwex/jmpstub.sx: New file; it implements a generic trampoline,
288 which redirects a conventionally named function call to its __mingw_
289 pseudo-namespace implementation.
291 * aclocal.m4 (MINGW_AC_PROG_COMPILE_SX): New macro; define it.
292 * configure.ac (MINGW_AC_PROG_COMPILE_SX): Use it; it identifies the
293 appropriate protocol for compiling *.sx files, (supported natively by
294 GCC >= v4.3, but older versions require `-x assembler-with-cpp').
296 * Makefile.in (COMPILE.sx): New implicit rule; GNU make does not
297 yet provide it, so we define it ourselves; deploy it for *.sx files.
298 (Makefile.stub): New sinclude file; create it dynamically, using...
299 (jmpstub_awk_script): ...this new inline script, which is based on...
300 (jmpstub_refs, jmpstub_prerequisites): ...these new macros, and...
301 (mingwex/jmpstub.sx): ...this new file; add vpath reference.
302 (mostlyclean-local): Remove Makefile.stub; do likewise...
303 (Makefile): ...when remaking this, to ensure that both will be
306 2014-11-03 Keith Marshall <keithmarshall@users.sourceforge.net>
308 Make dirent implementation namespace and time_t clean.
310 * include/_mingw.h (_EXTERN_C, _BEGIN_C_DECLS, _END_C_DECLS): New
311 macros; define them. They facilitate identification of symbols which
312 must be compiled with `extern "C"' binding, when compiling C++ code.
313 (__CRT_ALIAS): New macro; define it. It is intended to replace...
314 (_CRTALIAS): ...this, which is to be considered as deprecated.
315 (__JMPSTUB__, __LIBIMPL__): New macros; define them. They provide
316 __CRT_ALIAS build hints, while remaining transparent to GCC.
317 (UNICODE, _UNICODE) [user defined]: Define consistently.
319 * mingwex/dirent.c: Reimplement; (this is a back-port from the
320 4.0-dev branch, with additional ABI changes to improve stability).
321 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
322 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
323 Add `__mingw_' prefix to all publicly exposed symbol names.
324 (dirent_findfirst, dirent_findnext, dirent_findclose): New locally
325 implemented functions; they replace Microsoft's ambiguously defined
326 _findfirst, _findnext, and _findclose, so avoiding ABI instability
327 resulting from the ambiguous size of Microsoft's time_t.
329 * include/dirent.h (struct dirent, struct _wdirent): Redefine them,
330 removing unnecessary time_t and file size fields; (our replacements
331 for _findfirst, and _findnext do not require them to be present).
332 (DIR, _WDIR): Adjust typedefs; they are now opaque structs.
333 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
334 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
335 Adjust prototypes, making them inline aliases for public symbols which
336 are now qualified by the `__mingw_' prefix; add build hints to support
337 compilation of addressable stubs, with the original symbol names.
338 (DT_REG, DT_DIR, DT_UNKNOWN): New manifest constants; define them.
339 (DT_BLK, DT_CHR, DT_FIFO, DT_LNK, DT_SOCK): Likewise; (these are for
340 BSD compatibility, but are fundamentally unsupported on MS-Windows).
341 (_DIRENT_HAVE_D_TYPE, _DIRENT_HAVE_D_RECLEN, _DIRENT_HAVE_D_NAMLEN):
342 New macros; define them. (These show availability of optional fields
343 within the dirent struct, which client code may wish to access).
345 2014-10-31 Keith Marshall <keithmarshall@users.sourceforge.net>
347 Correct improper naming of assembly language source files.
349 * mingwex/math/*.S: Rename all files with this extension...
350 * mingwex/math/*.s: ...to this; (all are simple assembly language, and
351 not extended `assembler-with-cpp' as implied by the former extension);
352 adjust all internal `.file <name>' references accordingly.
354 * Makefile.in (vpath %.S): Adjust reference to locate files....
355 (vpath %.s): ...now renamed thus.
357 2014-10-29 Keith Marshall <keithmarshall@users.sourceforge.net>
359 Streamline the build system infrastructure.
361 * configure.ac: New file; it replaces...
362 * configure.in: ...this; (name is obsolete); delete it.
364 * aclocal.m4 Makefile.in: Substantially rewritten; avoid recursive
365 make invocations, when processing subdirectories, and add automatic
366 dependency tracking for all generated files.
368 * configure: Delete it; as a generated file, it doesn't belong in SCM.
370 * mingwex/Makefile.in: No longer required; delete it.
371 * profile/Makefile.in: Likewise.
373 * mkinstalldirs: Not required; delete it; (make should use `mkdir -p',
374 or fall back on `install-sh -d', per AC_PROG_MKDIR_P).
376 * jamfile: Delete it; it hasn't been updated in ages, is likely no
377 longer relevant, and I have no desire to maintain it.
379 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
381 * include/_mingw.h: Increment version to 3.20.
383 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
385 * tlsmthread.c: Update to reflect changes in tlssup.c.
386 * tlssup.c: code clean-up.
388 2011-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
390 * include/_mingw.h: Increment version to 3.19.
392 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
394 * include/float.h: Modify guard to accomodate CLang.
396 Thanks to Ruben Van Boxem for the report.
398 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
400 * tlssup.c: Remove mingwm10.dll fallback.
402 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
404 * include/sys/types.h (ssize_t): Defined as int as opposed to long.
406 Thanks to bvassche for the report.
408 2011-05-31 Keith Marshall <keithmarshall@users.sourceforge.net>
410 Correct checking for short option matches in getopt_long_only().
412 * mingwex/getopt.c (getopt_verify): New static inline function.
413 (getopt_parse) [getopt_mode_long_only]: Use it, to validate as a
414 possible short option match after failing to match, or ambiguously
415 matching as a long option.
417 2011-05-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
419 * include/stdlib.h (strtod): Declare as extern to resolve compilation issues.
421 Thanks to cgf for the report.
423 2011-05-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
425 * include/time.h (daylight, timezone, tzname): Rework guards to expose when
426 compiles with __STRICT_ANSI__.
428 Thanks to Felipe Contreras for the report.
430 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
432 * include/stdlib.h (strtod): Remove possible static declaration to resolve
435 Thanks to Tobias Burnus for the report.
437 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
439 * include/stdlib.h (_rotl, _lrotl, _rotr, _lrotr): Resolve conflict with gcc
440 by wrapping the functions in brackets.
442 Thanks to Kai Tietz for the report.
444 2011-05-22 A.B., Khalid <abkhd@users.sourceforge.net>
446 * Makefile.in: Add support for msvcr100.dll.
447 * msvcrt.def.in: Ditto.
449 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
451 * mingwex/mingw-fseek.c: The anonymous union feature for LARGE_INTEGER is
452 not always available, go the long way and use the explicit named union
453 members, which are also declared in winnt.h.
455 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
457 * mingwex/isblank.c: Fix typo in declaration.
459 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
461 * include/_mingw.h: Define GCC system_header only if PCC is not defined.
462 * include/stdlib.h: Fix a long-standing typo which prevented correct use of
463 the MB_CUR_MAX macro/variable when DECLSPEC is not supported and <stdlib.h>
464 is included before <ctype.h>.
466 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
468 * include/wchar.h: Include stdio.h to grab definition of FILENAME_MAX.
470 Thanks to Jim Bell for the report and Greg Chicares for the fix.
472 2011-01-07 Jacky Lai <crazyjacky@users.sourceforge.net>
474 Correct hexadecimal formatting of double and long double values.
476 * mingwex/stdio/pformat.c (__pformat_xdouble): Delete function.
477 (__pformat) [A format]: Cast double values to long double, and use...
478 (__pformat_xldouble): ...this instead, with corrected adjustment of
479 exponent and alignment of mantissa, when formatting subnormals.
481 2010-12-27 Ozkan Sezer <sezero@users.sourceforge.net>
483 * include/dirent.h (dd_handle): Define as intptr_t.
485 2010-11-08 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
487 * tlssup.c (__dyn_tls_init): Use an integer variable to iterate between
490 2010-08-17 Keith Marshall <keithmarshall@users.sourceforge.net>
492 * include/limits.h (PATH_MAX): Make it agree with Microsoft's
493 semantically identical MAX_PATH; correct value is 260.
495 2010-07-25 Keith Marshall <keithmarshall@users.sourceforge.net>
497 Accept that mingwrt headers are not guaranteed to precede GCC's in the
498 system include search path; (issue reported by Mark Brand).
500 * include/float.h: Add multiple inclusion guard around...
501 [! defined _FLOAT_H___]: ...include_next <float.h> for GCC's version,
502 only when this define does not indicate that it has already been seen;
503 update comments to document rationale; move it within the scope of...
504 [! defined _MINGW_FLOAT_H_]: ...this multiple inclusion guard, so that
505 GCC's float.h, after an appropriate complementary modification, need
506 not perform a further include path search when this implementation
507 specific extension has already been processed.
509 2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>
511 * include/io.h (_findfirst, _findnext, _findclose, _findfirst32,
512 _findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32,
513 _findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext,
514 _findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64,
515 _findnexti64): Correct definition.
517 2010-04-27 Danny Smith <dannysmith@users.sourceforge.net>
519 * mingwex/mb_wc_common.h (get_codepage): Revert change of 2006-09-19.
521 2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
523 * include/_mingw.h: Increment version to 3.18.
525 2010-03-02 Daniel Atallah <datallah@users.sourceforge.net>
527 * include/stdio.h: (_vscprintf, _vscwprintf)
528 * include/tchar.h: (_vsctprintf)
530 2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
532 Issue [2134161]: time64 functions and types for msvcrt >= 8.0
533 (initial implementation)
535 * new type: __time32_t
537 * new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
538 __stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
539 __wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t
541 * new functions: _ctime32, _difftime32, _difftime64, _findfirst32
542 _findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
543 _findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
544 _futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
545 _mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
546 _wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
547 _wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
548 _wstat32i64, _wstat64i32,_wutime32
550 * new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
551 ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
552 _fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
553 _stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
554 _wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime
556 2010-01-25 Kai Tietz <kai.tietz@onevision.com>
558 Implement TLS Callback.
560 * tlsmcrt.c: New file.
561 * tlsmthread.c: Ditto.
564 * Makefile.in: Include new files.
565 * crt1.c: Implement TLS Callback.
567 * mthr_stub.c: Remove.
569 2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
571 * include/_mingw.h: Increment version to 3.17.
573 2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
575 * mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa:
576 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
578 2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
580 * include/io.h (_open_osfhandle): Correct definition.
582 Thanks to Alexander Shaduri for the information.
584 2009-11-02 Charles Wilson <mingw@cwilson.fastmail.fm>
586 Final sync of pseudo-reloc.c with mingw64 and cygwin
587 * lib/pseudo-reloc.c (__report_error) [CYGWIN]: Correct size bug
588 regarding error messages.
590 2009-10-29 Charles Wilson <mingw@cwilson.fastmail.fm>
592 Honor DESTDIR for winsup/mingw and winsup/w32api.
593 Detect and report error if installation paths are win32
594 format, but DESTDIR is non-empty.
596 * Makefile.in (DESTDIR): Honor per convention.
597 (need-DESTDIR-compatibility): New macro; define it and a
599 (fail-DESTDIR-compatibility): New dependency goal.
600 (install-dirs): Require need-DESTDIR-compatibility.
601 * mingwex/Makefile.in (DESTDIR): Honor per convention.
602 (need-DESTDIR-compatibility): New macro; define it and a
604 (fail-DESTDIR-compatibility): New dependency goal.
605 (install): Require need-DESTDIR-compatibility.
606 * profile/Makefile.in: Ditto.
608 2009-10-25 Charles Wilson <mingw@cwilson.fastmail.fm>
610 Sync pseudo-reloc.c with mingw64
611 * psuedo-reloc.c: Remove unnecessary includes.
612 Forward declare _pei386_runtime_relocator.
613 Decorate _image_base__ symbol with macro for
614 mingw64 compatibility. Whitespace changes.
615 (__print_reloc_error): Renamed to...
616 (__report_error): This. "Returns" void, and
617 always aborts. Now used on all platforms.
618 (__write_memory): Remove special case error handling
619 for different platforms - always call __report_error.
620 (do_pseudo_reloc): Remove special case error handling
621 for different platforms - always call __report_error.
622 (_pei386_runtime_relocator): Decorate _image_base__
623 symbol with mingw64 compatibility macro.
625 2009-10-23 Charles Wilson <mingw@cwilson.fastmail.fm>
627 Sync pseudo-reloc.c with cygwin/lib/
628 * pseudo-reloc.c [CYGWIN]: Added comments throughout and various
629 whitespace fixes. Exploit cygwin_internal(CW_EXIT_PROCESS,...)
630 for fatal error handling that is consistent with cygwin process
631 life-cycle. Ensure state variable (in _pei386_runtime_relocator)
632 is unique to each address space, across fork().
633 [CYGWIN] (__print_reloc_error): New function for reporting
634 errors in a manner supported by cygwin at this early stage of
635 the process life-cycle.
636 [CYGWIN] (_pei386_runtime_relocator): Ensure relocations
637 performed only once for each address space, but are repeated
638 after fork() in the new address space.
639 [MINGW] (__write_memory): Ensure that b is always initialized
640 by call to VirtualQuery, even if -DNDEBUG.
642 2009-09-29 Keith Marshall <keithmarshall@users.sourceforge.net>
644 Make MinGW printf() "%p" format compatible with MSVCRT scanf().
645 (Based on MinGW-patch 2844514 by Peter Rosin <peda@lysator.liu.se>)
647 * mingwex/stdio/pformat.c (__printf) [%p]: Do not arbitrarily apply...
648 (PFORMAT_HASHED): ...this formatting attribute; honour only user
649 specified format qualifiers, except in special case...
650 [%p && stream.flags == flags && state == PFORMAT_INIT]: Apply...
651 (PFORMAT_ZEROFILL): ...this default formatting attribute...
652 (stream.precision): ...filled to at least 2 * sizeof( uintptr_t )
655 2009-09-01 Keith Marshall <keithmarshall@users.sourceforge.net>
657 Avoid multiple link time definitions of _printf() for C++;
658 (problem reported by Alexander Shaduri, via MinGW-users ML).
660 * include/stdio.h [__USE_MINGW_ANSI_STDIO]:
661 (__mingw_stdio_redirect__) [__cplusplus]: remove `static' keyword.
663 2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
665 * include/_mingw.h: Increment version to 3.16.
667 2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>
669 * include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit,
670 __signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf,
671 __fp_unordered_compare): Add prototypes.
672 * include/stdio.h (vsnwprintf): Add prototype.
673 * include/wchar.h (vsnwprintf): Add prototype.
674 * include/stdlib.h (_Exit): Protect inline definition with !__STRICT_ANSI__.
675 * include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard.
677 2009-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
679 Correct disposition of wchar_t output in printf().
681 * mingwex/stdio/pformat.c (__pformat) [%C]: Create new instance of...
682 (argval): ...this, in inner scope, with singular type `wchar_t'; use
683 it to pass one wchar to __pformat_wputchars(), for output.
685 2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
687 * mingwex/stdio/pformat.c: Implement better fix for type punned warning.
689 2009-07-27 Keith Marshall <keithmarshall@users.sourceforge.net>
691 Convert to monolithic configuration procedure.
693 * configure.in (AC_CHECK_TOOL): All instances; tabulate arguments.
694 (AC_SUBST): Use its 2nd argument to initialise MinGW default settings.
695 (PACKAGE_TARNAME) [target_os ~ cygwin]: Redefine it as appropriate.
696 (W32API_INCLUDE): Redefine; make it relative to `top_srcdir'.
697 (CRT0S): Relocate from `profile'; define it as appropriate.
698 (LIBM_A): Define and AC_SUBST it unconditionally.
699 (AC_CONFIG_SUBDIRS): Remove; none to configure.
700 (AC_OUTPUT_FILES): Add `Makefile' for each of...
701 (mingwex, profile): ...these subdirectories.
703 * configure: Regenerated.
705 * Makefile.in (PACKAGE, host_os): Let AC_SUBST define them.
706 (top_srcdir, top_builddir): New macros; let AC_SUBST define them.
707 (datarootdir): New macro; autoconf > 2.59 wants AC_SUBST to define it.
708 (SUBDIRS): Define explicitly, to run recursive `make' in...
709 (mingwex, profile): ...these; simplify build commands...
710 (rootme, rootsrc): ...without these shell variables.
711 (all, subdirs): Delete redundant build commands.
712 (FIXME): Flag various issues for follow up.
714 * mingwex/Makefile.in (INCLUDES): Redefined macro; refer it to...
715 (top_srcdir): ...this new macro; let AC_SUBST define it.
716 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
717 (Makefile): Make it depend on...
718 (top_builddir/config.status): ...this, itself depending on...
719 (top_srcdir/configure): ...this.
720 (FIXME): Flag various issues for follow up.
722 * mingwex/aclocal.m4: File no longer required; delete it.
723 * mingwex/configure mingwex/configure.in: Likewise.
725 * profile/Makefile.in (INCLUDES): Redefined macro; refer it to...
726 (top_srcdir): ...this new macro; let AC_SUBST define it.
727 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
728 (Makefile): Make it depend on...
729 (top_builddir/config.status): ...this, itself depending on...
730 (top_srcdir/configure): ...this.
731 (FIXME): Flag various issues for follow up.
733 * profile/aclocal.m4: File no longer required; delete it.
734 * profile/configure profile/configure.in: Likewise.
736 2009-07-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
738 * msvcrt.def.in: disable time symbol for libmsvcr90.a and libmsvcr90d.a due
739 to complaints that it causes issues.
741 2009-07-23 Jacky Lai <crazyjacky@users.sourceforge.net>
743 * mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan().
745 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
747 * include/inttypes.h include/math.h include/stdio.h include/stdlib.h
748 include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard
749 to all inline functions.
751 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
753 * CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
756 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
758 * cpu_features.c: replace gcc-specific construct with portable alternative
759 and match the code a few lines above.
760 * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
762 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
764 * include/_mingw.h: Changes required for PCC compiler.
766 2009-07-18 Jeff Lu <jll544@yahoo.com>
768 * mingwex/usleep.c: round up to next ms
770 2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
772 * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
773 mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
774 mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
775 the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
777 2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
779 * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.
781 2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>
783 * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files.
784 * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c
785 mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c
786 mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h
787 mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h
788 mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c
789 mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c
790 mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c
791 mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c
792 mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org
793 sources as of Apr. 20, 2009. Update further to match the sources in
794 the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX
795 code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the
796 double/ulong union from U to dbl_union for better grepping and white-
799 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
801 * include/stdlib.h (_wtof): Define.
803 2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
805 * include/stdint.h (int_fast8_t): Specify as signed char.
806 (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
807 (INT32_C, UINT32_C): Remove 'L' type specifier on constant.
809 2009-03-05 Kai Tietz <kai.tietz@onevision.com>
811 * pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2.
813 2009-02-08 Keith Marshall <keithmarshall@users.sourceforge.net>
815 MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.
816 (Requested by Robert Riebisch)
818 * mingwex/getopt.c (getopt_parse): Track external increments of...
819 (optind): ...this global variable.
821 2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
823 * include/_mingw.h: Increment version to 3.15.2.
825 2009-01-04 Keith Marshall <keithmarshall@users.sourceforge.net>
827 Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
828 Also add tentative support for BSD specific `optreset' feature.
830 * include/getopt.h (optreset) [_BSD_SOURCE]: Define; map it to...
831 (__mingw_optreset): ...this new global variable.
833 * mingwex/getopt.c (__mingw_optreset): Instantiate it...
834 (getopt_parse) [optind < 1]: ...make it true; use it to reset argument
837 2008-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
839 Partial fix for MinGW-Bug [2457778]: (Reported by Sisyphus).
840 Correct mishandling of invalid characters in printf() format specs.
842 * mingwex/stdio/pformat.c (__pformat): Save `fmt' scan position in...
843 (backtrack): ...this new automatic variable, at start of each format
844 conversion specification substring; use it to backtrack, and print the
845 substring literally, if any invalid character is encountered.
847 2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
849 * msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
850 ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
851 ___unguarded_readlc_active_add_func, __crtCompareStringW,
852 __crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
853 __pwctype_func, __iob_func, __uncaught_exception, __wcserror,
854 __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
855 __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
856 __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
857 _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
858 _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
859 _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
860 _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
861 _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
862 _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
864 2008-12-08 Dmitry G. Gorbachev <d.g.gorbachev@gmail.com>
866 * cpu_features.c (__cpu_features_init): Remove erroneous ';'.
868 2008-10-28 Keith Marshall <keithmarshall@users.sourceforge.net>
870 Correct some binary distribution packaging defects.
872 * Makefile.in (bindist): Remove `make' conditionals; segregate into...
873 (bindist-common, bindist-mingwrt, bindist-mingw-runtime): ...these new
874 intermediate goals; they make packages of files, as specified by...
875 (BINDIST_FILES, DEVDIST_FILES, DLLDIST_FILES): ...these new macros.
876 (dist_prefix) [target_alias !~ cygwin]: Leave it undefined.
878 2008-10-18 Keith Marshall <keithmarshall@users.sourceforge.net>
880 Fix MinGW-Bug [2136252]: (Reported by Roumen Petrov).
881 Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5
883 * mingwex/stdio/pformat.c (__pformat_emit_float): Always make output
884 of radix point conditional on precision != 0 or `#' flag specified.
886 2008-10-13 Keith Marshall <keithmarshall@users.sourceforge.net>
888 Fix MinGW-Bug [2160227]
889 Eliminate conflicting declarations and implementations of scalb().
891 * moldname.def.in (scalb): Comment out of EXPORTS list.
892 * include/math.h (scalb): Comment out OLDNAMES prototype; it conflicts
893 with GCC's built-in declaration.
895 2008-10-12 Christopher Faylor <me+cygwin@cgf.cx>
897 * Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
899 * mingwex/Makefile.in: Ditto.
900 * profile/Makefile.in: Ditto.
901 * configure.in: Record mingw front-end for building under Cygwin.
902 * mingwex/configure.in: Ditto.
903 * profile/configure.in: Ditto.
904 * configure: Regenerate.
905 * mingwex/configure: Ditto.
906 * profile/configure: Ditto.
908 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
910 Use de-facto standard Makefile goals to invoke test suite.
912 * Makefile.in: Some minor formatting adjustments.
913 (test_headers): Unconventionally named goal renamed to...
914 (check-headers): ...this; make it a prerequisite of...
915 (check): ...this new conventionally named goal.
917 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
919 Make strtod() inline definition C89 compliant.
920 (Issue reported by Ilya Shestopalov and Ian Puleston)
921 (Correction identified by Danny Smith)
923 * include/stdlib.h (strtod): Declare as `__inline__', not `inline';
924 reformat inline function definition.
926 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
928 * include/_mingw.h: Increment version to 3.15.1 and introduce
929 __MINGW32_PATCHLEVEL variable.
931 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
933 Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
934 (Reported by Christian Franke)
936 * mingwex/getopt.c (optind): Make global variable value conform to
937 behaviour specified by POSIX; do not use it for internal state in...
938 (getopt_parse): ...this static function; use...
939 (optbase): ...this new static local variable instead.
940 (getopt_resolved): Update `optind' as required.
942 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
944 Improve package identification in configure script.
946 * configure.ac (AC_INIT): Redefine parameters...
947 (PACKAGE_NAME): Set to `MinGW Runtime'.
948 (PACKAGE_BUGREPORT): Set to `http://mingw.org/reporting_bugs'
949 (PACKAGE_TARNAME): Set to `mingwrt'.
950 (PACKAGE_VERSION): Set generically to `v3.x'; reassigned by...
951 (MINGW_AC_CONFIG_SRCDIR): ...this macro, which extracts...
952 (__MINGW32_VERSION): ...this, from file `include/_mingw.h'.
954 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): Do not redefine...
955 (PACKAGE_TARNAME): ...this.
957 * configure: Regenerated.
959 2008-09-25 Keith Marshall <keithmarshall@users.sourceforge.net>
961 Fix MinGW-Bug [2125708].
962 (Reported by Alexandr Zamaraev).
964 * include/stdlib.h (intptr_t) [!_INTPTR_T_DEFINED]: Unused typedef;
965 not wanted here; remove it; replace it by...
966 (uintptr_t) [!_UINTPTR_T_DEFINED]: ...this typedef; needed by...
967 (_invalid_parameter_handler): ...this function typedef.
969 2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
971 * Makefile.in: Don't include host_os as part of snapshot filename.
973 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
975 Fix MinGW-Bug [2119504].
976 (Reported by Peiyuan Song).
978 * mingwex/getopt.c (getopt_resolved): Do not overwrite...
979 (*retindex): ...this already correctly assigned return variable...
980 (opt[index].val): ...with this; this should have been assigned to...
981 (*opt[index].flag) [opt[index].flag != NULL]: ...this instead.
983 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
985 Fix MinGW-Bug [2117379].
986 (Reported by Peiyuan Song).
988 * include/stdio.h (__argv): Replace all references in function
989 prototype argument lists and inline function local variables, with ...
990 (__local_argv): ...this, to avoid potential conflict with ...
991 * include/stdlib (__argv): ...this #defined macro.
993 2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
995 * include/_mingw.h: Increment version to 3.15.
997 2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
999 * Makefile.in: Adjust to new naming standard for MinGW while maintaining old
1000 naming standard for Cygwin.
1002 2008-08-31 Keith Marshall <keithmarshall@users.sourceforge.net>
1004 Reimplement getopt.c to add getopt_long_only() function.
1006 (N.B. this reimplementation removes support for BSD/Mac-OS-X
1007 `optreset' nonsense; user code should set `optind = 0' instead,
1008 to reinitialise option scanning).
1010 * mingwex/getopt.c: Delete all content; reimplement it.
1011 * include/getopt.h: Likewise.
1013 * include/unistd.h (__UNISTD_H_SOURCED__): New macro; define it.
1014 (__UNISTD_GETOPT__): This macro is no longer required; remove it.
1016 2008-08-30 Keith Marshall <keithmarshall@users.sourceforge.net>
1018 Implement conditional replacement for printf() family functions.
1020 * include/_mingw.h (__USE_MINGW_ANSI_STDIO): New macro; define it.
1021 (__MINGW_ANSI_STDIO__): New manifest constant; define as bitmapped
1022 flag for use in user specified __MINGW_FEATURES__ attribute.
1023 (__MINGW_LC_MESSAGES__, __MINGW_LC_ENVVARS__): New manifest constants;
1024 currently unused: reserved as components of...
1025 (__MINGW_LC_EXTENSIONS__): ...this new manifest constant; earmarked as
1026 a __MINGW_FEATURES__ enhancement to setlocale().
1028 * include/stdio.h (__mingw_printf, __mingw_vprintf): Prototype them.
1029 (__mingw_fprintf, __mingw_vfprintf): Likewise.
1030 (__mingw_sprintf, __mingw_vsprintf): Likewise.
1031 (__msvcrt_printf, __msvcrt_vprintf): Likewise.
1032 (__msvcrt_fprintf, __msvcrt_vfprintf): Likewise.
1033 (__msvcrt_sprintf, __msvcrt_vsprintf): Likewise.
1034 (printf, vprintf) [!__USE_MINGW_ANSI_STDIO]: Prototype for default
1035 usage; link to DLL import stub, importing from MSVCRT.
1036 (fprintf, vfprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
1037 (sprintf, vsprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
1038 (printf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_printf; use
1039 locally defined static stub implementation.
1040 (fprintf, sprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
1041 __mingw_fprintf and __mingw_sprintf respectively.
1042 (vprintf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_vprintf; use
1043 static inline implementation for C++ and GNU C, or locally defined
1044 static stub otherwise.
1045 (vfprintf, vsprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
1046 __mingw_vfprintf and __mingw_vsprintf respectively.
1048 2008-08-27 Keith Marshall <keithmarshall@users.sourceforge.net>
1050 Avoid access violations, passing NULL to printf( "...%s..." );
1051 (inconsistencency with MSVCRT and glibc, reported by Colin Harrison).
1053 * mingwex/stdio/pformat.c (__pformat_puts): Substitute "(null)"
1054 for argument value, if caller passes a NULL pointer.
1055 (__pformat_wcputs): Likewise, substitute L"(null)".
1057 2008-08-14 Keith Marshall <keithmarshall@users.sourceforge.net>
1059 Add missing dependencies for building libmingwex.a.
1061 * mingwex/Makefile.in (printf.o, fprintf.o, sprintf.o): Make them...
1062 (vprintf.o, vfprintf.o, vsprintf.o): ...and also these, depend on...
1063 (pformat.h): ...this.
1065 2008-08-11 Keith Marshall <keithmarshall@users.sourceforge.net>
1067 Add replacements for remaining members of printf() family.
1069 * mingwex/stdio/printf.c: New file.
1070 * mingwex/stdio/fprintf.c: New file.
1071 * mingwex/stdio/sprintf.c: New file.
1072 * mingwex/stdio/vprintf.c: New file.
1073 * mingwex/stdio/vfprintf.c: New file.
1074 * mingwex/stdio/vsprintf.c: New file.
1076 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
1077 (STDIO_OBJS): Add their corresponding object files.
1079 2008-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
1081 Replace __mingw_snprintf() with new generic family implementation;
1082 likewise, replace __mingw_vsnprintf().
1084 * mingwex/stdio/pformat.c mingwex/stdio/pformat.h: New files.
1085 * mingwex/stdio/snprintf.c mingwex/stdio/vsnprintf.c: New files.
1086 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
1087 (GDTOA_DISTFILES): Remove mingw_snprintf.c
1088 (STDIO_OBJS): Add pformat.o, snprintf.o and vsnprintf.o
1089 (GDTOA_OBJS): Remove mingw_snprintf.o
1090 (PFORMAT_CFLAGS): New macro; define it, as required by...
1091 (pformat.o): ...this new explicit build target.
1092 (snprintf.o, vsnprintf.o): Declare prerequisites.
1094 * mingwex/gdtoa/mingw_snprintf.c: Redundant file; delete it.
1096 2008-07-28 Keith Marshall <keithmarshall@users.sourceforge.net>
1098 Lay foundations for new printf() function family implementation.
1100 * ofmt_stub.s: New file; implement forward compatibility stub for...
1101 (_get_output_format): ...this MSVCR80.DLL and later function.
1103 * Makefile.in (SRCDIST_FILES): Add ofmt_stub.s.
1104 (NM, OBJCOPY): New macros; define them with AC_SUBSTed values.
1105 (sym_prefix, NM_LOOKUP, MINGW_REPL_FUNCS): New macros; define them.
1106 (lib%.a): Include ofmt_stub.o when import library does not already
1107 advertise availability of the _get_output_format() function;
1108 Add alias stubs for MINGW_REPL_FUNCS, such that...
1109 (__msvcrt_printf): ...is an alias for Microsoft's printf().
1110 (__msvcrt_fprintf): ...is an alias for Microsoft's fprintf().
1111 (__msvcrt_sprintf): ...is an alias for Microsoft's sprintf().
1112 (__msvcrt_vprintf): ...is an alias for Microsoft's vprintf().
1113 (__msvcrt_vfprintf): ...is an alias for Microsoft's vfprintf().
1114 (__msvcrt_vsprintf): ...is an alias for Microsoft's vsprintf().
1115 (clean): Add msvcr*.def.
1117 * configure.in (NM, OBJCOPY): Use AC_CHECK_TOOL to specify them.
1118 * configure: Regenerated.
1120 2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
1122 * include/ctype.h (_imp____mb_cur_max): Correct spelling.
1123 (_imp____mb_cur_max_dll): Likewise.
1125 2008-07-04 Danny Smith <dannysmith@users,sourceforge.net>
1127 * include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
1128 * include/wchar.h (swprintf, vswprintf): Likewise.
1130 2008-07-01 Keith Marshall <keithmarshall@users.sourceforge.net>
1132 * msvcrt.def.in [__msvcr80__, __msvcr80d__, __msvcr90__, __msvcr90d__]
1133 (_get_output_format, _set_output_format): Add references.
1135 * include/stdio.h [__MSVCRT_VERSION__ >= 0x800]
1136 (_get_output_format, _set_output_format): Declare prototypes.
1137 (_TWO_DIGIT_EXPONENT): Define.
1138 Some other minor formatting adjustments.
1140 2008-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1142 [mingw-Bugs-1801641]
1143 * include/wchar.h (_wfdopen): Const-ify second arg.
1144 * include/stdio.h (_wfdopen): Likewise.
1145 Thanks to <tdragon at users dot sourceforge net>
1147 2008-06-02 Keith Marshall <keithmarshall@users.sourceforge.net>
1149 Avoid precision errors in round(), lround() and llround() functions.
1151 * mingwex/math/round_generic.c: New file; it replaces...
1152 * mingwex/math/round.c: ...this; delete it.
1153 * mingwex/math/roundf.c: ...and this; ditto.
1154 * mingwex/math/roundl.c: ...and this; ditto.
1156 * mingwex/math/lround_generic.c: New file; it replaces...
1157 * mingwex/math/lround.c: ...this; delete it.
1158 * mingwex/math/lroundf.c: ...and this; ditto.
1159 * mingwex/math/lroundl.c: ...and this; ditto.
1160 * mingwex/math/llround.c: ...and this; ditto.
1161 * mingwex/math/llroundf.c: ...and this; ditto.
1162 * mingwex/math/llroundl.c: ...and this; ditto.
1164 * mingwex/math/round_internal.h: New file; it provides generic common
1165 code, which is shared by `round_generic.c' and `lround_generic.c'; the
1166 implementation is based on techniques suggested by Danny Smith and
1169 * mingwex/Makefile.in (MATH_DISTFILES): Remove `round.c', `roundf.c',
1170 `roundl.c', `lround.c', `lroundf.c', `lroundl.c', `llround.c',
1171 `llroundf.c' and `llroundl.c'; replace by `round_internal.h',
1172 `round_generic.c' and `lround_generic.c'.
1173 (MATH_OBJS): Factor out files listed in...
1174 (MATH_ROUND_OBJS, MATH_LROUND_OBJS, MATH_LLROUND_OBJS): ...these new
1175 macros; define them; specify dependencies and build rules; add to...
1176 (LIB_OBJS): ...this list.
1178 2008-05-22 Danny Smith <dannysmith@users.sourceforge.net>
1180 [ mingw-Bugs-1961893 ]
1181 * mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa
1182 mode to 2 for E format.
1184 2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
1186 * include/stdlib.h: Fix strtod under C++.
1188 2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
1190 * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
1191 * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
1193 2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
1195 * include/sys/types.h (useconds_t): typedef.
1196 * include/unistd.h (usleep): Add prototype.
1197 * mingwex/usleep.c: New file.
1198 * mingwex/makefile.in: Add usleep source and object.
1200 2008-05-02 Ramiro Polla <ramiro@lisha.ufsc.br>
1202 Make strtod() conform to C99.
1204 * include/stdlib.h (strtod): Declare this mingwex function, and...
1205 (_strtod): rename this MSVCRT counterpart.
1207 * mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
1209 2008-04-26 Chuck Wilson <cwilso11@users.sourceforge.net>
1211 * Makefile.in: correct issues with mingw10.dll having multiple relocs.
1213 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1215 * include/process.h: Include stdint.h for intptr_t definition.
1216 (_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
1217 _spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
1218 _spawnvpe): Return intptr_t.
1219 (execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
1220 spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
1222 * include/wchar.h: Guard wide process.h functions with !__STRICT_ANSI__.
1224 [!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
1225 (_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
1226 _wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
1227 _wspawnvp, _wspawnvpe): Return intptr_t.
1229 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1231 * include/wchar.h (fwide): Return success code rather than failure in inline
1233 * mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
1234 code rather than failure.
1236 2008-03-21 Danny Smith
1238 * include/math.h (float_t, double_t): Define.
1240 2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1242 * mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
1243 * mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
1244 (x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
1246 2008-02-28 Joseph Myers <joseph@codesourcery.com>
1248 * include/complex.h: Don't condition contents on C99 or not
1251 2008-02-01 Brian Dessent <brian@dessent.net>
1253 * Makefile.in: Add rules to generate multiple versions of libmoldname.a for
1254 the different runtime versions.
1256 2008-01-19 Danny Smith <dannysmithusers.sourceforge.net
1258 * inclue/wchar.h (fwide): Add prototype and guard inline definition.
1259 (mbsinit): Likewise.
1261 2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1263 * include/_mingw.h: Increment version to 3.14.
1265 2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1267 * Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
1268 * msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
1269 * mingwex/math/log10f.S: Correct issue with comments.
1270 * mingwex/math/log10l.S: Ditto.
1271 * mingwex/math/log1p.S: Ditto.
1272 * mingwex/math/log1pf.S: Ditto.
1273 * mingwex/math/log1pl.S: Ditto.
1274 * mingwex/math/log2.S: Ditto.
1275 * mingwex/math/log2f.S: Ditto.
1276 * mingwex/math/log2l.S: Ditto.
1277 * mingwex/math/logf.S: Ditto.
1278 * mingwex/math/logl.S: Ditto.
1280 2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
1282 * mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
1284 2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
1286 * include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
1287 from '_fsize_t' to '__int64' to be consistent with the other ...64
1288 structures and the value set there is 8 bytes not 4. Add guard for both
1289 as the are only used by functions available from 6.1 on.
1291 * include/malloc.h (_HEAP_MAXREQ): Define.
1292 (_aligned_offset_recalloc): Define.
1293 (_aligned_recalloc()): Define.
1295 * include/math.h: fixed a typo in a comment.
1296 (atanhf): Fixed declaration.
1298 * include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
1299 to '__int64' to be consistent with the other ...64 structures and the value
1300 set there is 8 bytes not 4. Added guard as this function is only used by
1301 functions available from 6.1 on.
1303 * include/sys/stat.h: some members of 'stat' were declared with types with
1304 a prefixed underscore, while the ones without the underscore should have
1305 been used. Added guard to '__stat64' as it is only used by functions
1306 available from 6.1 on. Added the wide character versions of the
1307 exec()/spawn() family for completion
1308 (_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
1311 * include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
1312 from 'long' to 'time_t'
1313 (__timeb64): moved declaration of structure directly before the declaration
1314 of the function '_ftime64()', so it is guarded as well
1316 * include/sys/utime.h (__utimbuf64): moved declaration of structure directly
1317 before the declaration of the functions using it, so it is guarded as well
1319 2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
1321 * mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
1322 case. Add missing break in 's'/LEN_S case.
1324 2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1326 Make snprintf() and vsnprintf() conform to C99.
1328 * include/stdio.h: Add note about incompatibility between...
1329 (snprintf, vsnprintf): These two mingwex functions, and...
1330 (_snprintf, _vsnprintf): these MSVCRT counterparts.
1332 * mingwex/Makefile.in (STDIO_OBJS): Remove snprintf.o and vsnprintf.o
1333 (STDIO_DISTFILES): Remove snprintf.c and vsnprintf.c
1335 * mingwex/stdio/snprintf.c: Delete.
1336 * mingwex/stdio/vsnprintf.c: Delete.
1338 * mingwex/gdtoa/mingw_snprintf.c (snprintf): Alias to __mingw_snprintf
1339 (vsnprintf): Alias to __mingw_vsnprintf.
1341 2007-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1343 * include/_mingw.h: Increment version to 3.13.
1344 * Makefile.in: Reset CYGRELEASE to 1
1346 2007-07-23 Keith Marshall <keithmarshall@users.sourceforge.net>
1348 * Makefile.in (SUBDIRS): Delete stray line continuation artifact,
1349 resulting from incomplete removal of enclosing `for ...; do ...; done'
1350 loop from compound command; (reported by Greg Chicares).
1352 2007-07-19 Danny Smith <dannysmith@users.sourceforge.net>
1354 * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
1357 2007-07-12 Danny Smith <dannysmith@users.sourceforge.net>
1359 [mingw-Bugs-1734142]
1360 * include/wchar.h (_wsystem) Declare.
1362 (_wgetenv): Declare.
1363 (_wsearchenv): Declare.
1364 (_wmakepath): Declare.
1365 (_wsplitpath): Declare.
1366 (_wfullpath): Declare.
1367 * include/stdlib.h (_wsystem) Declare.
1368 (_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath,
1369 _wfullpath): Move into _WSTDLIB_DEFINED guard.
1370 * include/tchar.h (_tsystem): New UNICODE mapping define.
1372 2007-06-29 Danny Smith <dannysmith@users.sourceforge.net>
1374 * mingwex/gdtoa/mingw_snprintf.c: New file.
1375 * mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
1376 (GDTOA_OBJS): Add mingw_snprintf.o.
1378 2007-06-28 Danny Smith <dannysmith@users.sourceforge.net>
1380 * msvcrt.def.in: Update comment.
1381 Exclude _ctype stub if using msvcr71.dll or newer.
1382 * include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
1383 * include/wctype.h: Likewise.
1385 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1387 *include/wctype.h: Qualify all functions with __MINGW_NOTHROW.
1388 *include/dirent.h: Likewise.
1390 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1392 * include/assert.h: Qualify all functions with __MINGW_NOTHROW.
1393 * include/conio.h: Likewise.
1394 * include/ctype.h: Likewise.
1395 * include/direct.h: Likewise.
1396 * include/dos.h: Likewise.
1397 * include/errno.h: Likewise.
1398 * include/fenv.h: Likewise.
1399 * include/float.h: Likewise.
1400 * include/inttypes.h: Likewise.
1401 * include/io.h: Likewise.
1402 * include/libgen.h: Likewise.
1403 * include/locale.h: Likewise.
1404 * include/malloc.h: Likewise.
1405 * include/mbctype.h: Likewise.
1406 * include/mbstring.h: Likewise.
1407 * include/process.h: Likewise.
1408 * include/search.h: Likewise.
1409 * include/setjmp.h: Likewise.
1410 * include/signal.h: Likewise.
1411 * include/stdio.h: Likewise.
1412 * include/stdlib.h: Likewise.
1413 * include/string.h: Likewise.
1414 * include/time.h: Likewise.
1415 * include/wchar.h: Likewise.
1416 * include/sys/stat.h: Likewise.
1417 * include/sys/time.h: Likewise.
1418 * include/sys/timeb.h: Likewise.
1419 * include/sys/utime.h: Likewise.
1421 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1423 * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
1425 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1427 Add POSIX binary tree search API.
1429 * mingwex/tfind.c: New file.
1430 * mingwex/tdelete.c: New file.
1431 * mingwex/tsearch.c: New file.
1432 * mingwex/twalk.c: New file.
1433 * mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
1434 * mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
1435 * include/search.h (tfind): Declare.
1442 (node_t): Define, on condition of _SEARCH_PRIVATE.
1444 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1446 * include/_mingw.h (__MINGW_NOTHROW): Define.
1448 2007-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1450 * include/stdio.h (vsnprintf): Remove inline definition.
1453 2007-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1455 * CRTfmode.c: Nit-pick comment fix.
1457 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1459 * CRTfmode.c: Fix nested comment.
1461 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1463 * include/string.h (strcasecmp): Fix typo in declaration prototype.
1465 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1467 * include/io.h (lseek64) : Add prototype.
1469 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1471 * include/string.h (strcasecmp): Add prototype.
1472 (strncasecmp): Add prototype.
1474 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1476 * Makefile.in (CRT0S): Revert last change.
1477 * CRTfmode.c. Correct comment.
1479 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1481 * Makefile.in (CRT0S): Add back CRTfmode.o.
1483 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1485 * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
1486 * include/io.h: Likewise.
1488 2007-06-11 Danny Smith <dannysmith@users.sourceforge.net>
1490 * crt1.c (__mingw_CRTStartup): Add explicit call to gcc's __main.
1492 2007-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1494 * include/stdint.h (intptr_t): Fix typo.
1495 Thanks to Charles Wilson for report.
1497 2007-05-07 Danny Smith <dannysmith@users.sourceforge.net>
1499 * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
1500 Condition on _WIN64.
1501 (uintptr_t): Protect with _UINTPTR_T_DEFINED. Condition on _WIN64.
1502 (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64.
1503 (PTRDIFF_MIN): Define as INTPTR_MIN.
1504 (PTRDIFF_MAX): Define as INTPTR_MAX.
1505 (SIG_ATOMIC_MIN): Define as INTPTR_MIN.
1506 (SIG_ATOMIC_MAX): Define as INTPTR_MAX.
1508 2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1510 * Makefile.in: Removed mansuffix variable. Changed mansection to support
1511 Cygwin man page location.
1513 2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1515 * Makefile.in: Added mansection and mansuffix variables. Changed mandir to
1516 support Cygwin man page location.
1518 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1520 * Include/_mingw.h: Increment version to 3.12.
1522 2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
1524 * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__.
1526 2007-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1528 * Makefile.in: Tweak srcdist to fix build issue.
1530 2007-03-20 Keith Marshall <keithmarshall@users.sourceforge.net>
1532 Add --enable-mingw-manpage-transform configure option.
1534 * aclocal.m4 (MINGW_AC_MANPAGE_TRANSFORM): New macro.
1535 * configure.in, Makefile.in: Use it.
1536 * configure: Regenerated.
1538 2007-03-18 Danny Smith <dannysmith@users.sourceforge.net>
1540 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ for gcc 4.2.x too.
1542 2007-03-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1544 Add manpages for dirname and basename functions.
1546 * man: New directory.
1547 * man/dirname.man: New file; it sources both manpages.
1548 * Makefile.in: Add provisional rules to distribute them.
1550 2007-03-08 Keith Marshall <keithmarshall@users.sourceforge.net>
1552 * mingwex/basename.c: Make it work with path names containing
1553 multibyte character strings.
1554 * mingwex/dirname.c: Likewise.
1556 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1558 * include/io.h (__mingw_access): New static inline wrapper to restore
1559 pre-Vista 'access (fname, X_OK)' behaviour.
1560 (__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
1562 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1564 * mingwex/fesetround.c (fesetround): Use unsigned int as operand
1566 Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
1568 2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
1570 * include/stdio.h (_unlink, unlink): Add prototypes.
1572 2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
1574 * include/excpt.h: Replace "_try1" in comments with "__try1".
1576 2007-02-15 Danny Smith <dannysmith@users.sourceforge.net>
1578 * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1579 (ALL_CXXFLAGS): Likewise.
1580 * mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1581 (ALL_CXXFLAGS): Likewise.
1582 * profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1583 (ALL_CXXFLAGS): Likewise.
1585 2007-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1587 * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
1589 2007-01-27 Danny Smith <dannysmith@users.sourceforge.net>
1591 Expose some more msvcr80.dll functions.
1592 * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
1593 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
1594 * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
1595 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
1597 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1599 Expose some msvcr80.dll functions.
1600 * include/stdlib.h (_set_abort_behavior): Add prototype.
1601 (_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
1602 _set_abort_behavior mask argument.
1603 (_invalid_parameter_handler): Add typedef.
1604 (_set_invalid_parameter_handler): Add prototype.
1605 * include/stdio.h (_get_printf_count_output): Add prototype.
1606 (_set_printf_count_output): Add prototype.
1607 * msvcrt.def.in (_get_printf_count_output,_set_printf_count_output,
1608 _set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
1610 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1612 * include/_mingw.h (CRT_INLINE): Correct typo.
1614 2007-01-24 Danny Smith <dannysmith@users.sourceforge.net>
1616 * include/io.h (X_OK): Define to F_OK.
1618 2007-01-19 Danny Smith <dannysmith@users.sourceforge.net>
1620 * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1621 unconditionally. Change comment.
1622 * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1624 * include/io.h (rename): Declare.
1627 2006-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
1629 * include/libgen.h: New file; required by...
1630 * mingwex/basename.c, mingwex/dirname.c: New files.
1631 * mingwex/Makefile.in (DISTFILES): Add them...
1632 (POSIX_OBJS): ...with corresponding basename.o, dirname.o
1633 (Dependencies): Typo; s/Dependancies/Dependencies/
1635 2006-11-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1637 * Makefile.in (VERSION): Let configure define it.
1639 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): New macro.
1640 * configure.in: Use it.
1641 Correct quoting of autoconf macro arguments throughout.
1642 (AC_INIT, AC_OUTPUT): Update to autoconf 2.5x preferred syntax.
1643 (AR, AS, RANLIB, LD, DLLTOOL, DLLWRAP): Don't need AC_SUBST.
1644 (AC_ALLOCA): Invalid after GCC_NO_EXECUTABLES; removed.
1645 (AC_CONFIG_FILES): Add, to generate Makefile.
1647 * configure: Regenerated.
1649 2006-11-21 Danny Smith <dannysmith@users.sourceforge.net>
1651 * Makefile.in: Add aclocal.m4 to source release.
1652 * mingwex/Makefile.in: Ditto.
1653 * profile/Makefile.in: Ditto.
1655 2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1657 * Include/_mingw.h: Increment version to 3.11.
1658 * Makefile.in: Ditto.
1660 2006-11-09 Danny Smith <dannysmith@users.sourceforge.net>
1662 [ mingw-Bugs-1590623 ]
1663 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
1666 2006-10-04 Corinna Vinschen <corinna@vinschen.de>
1668 * Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
1669 correctly parenthesized.
1671 2006-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1673 * mingwex/mb_wc_common.h (get_codepage): Get it
1676 2006-09-18 Danny Smith <dannysmith@users.sourceforge.net>
1678 * mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity.
1680 * mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to
1682 * mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with
1685 2006-09-16 Danny Smith <dannysmith@users.sourceforge.net>
1687 * mingwex/gdtoa/strtopx.c (strtopx): Fix long double representation
1690 2006-09-11 Christopher Faylor <cgf@timesys.com>
1692 * Makefile.in: Semi-revert 2006-08-30 change.
1694 2006-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1696 * include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
1697 (__MINGW_IMPORT): Ansify.
1698 * include/stdlib.h (_sleep, _beep, _seterrormode): Add
1699 __MINGW_ATTRIB_DEPRECATED.
1701 2006-09-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1703 * aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
1704 Redundant macros; deleted.
1706 * configure.in (LIB_AC_PROG_CC): Replaced by...
1707 (AC_PROG_CC): ...this.
1709 * configure: Regenerated.
1711 2006-09-06 Danny Smith <dannysmith@users.sourceforge.net>
1713 * mingwex/gdtoa/misc.c (pow5mult): Restore original code.
1714 * mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
1715 * mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
1717 2006-09-01 Danny Smith <dannysmith@users.sourceforge.net>
1719 * mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
1720 g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
1721 gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
1722 README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
1724 * mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
1725 * mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
1726 * mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
1727 * mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
1728 * mingwex/wcstold.c: Avoid using strtold internals.
1729 * mingwex/wcstof.c: Rewrite.
1730 * mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
1731 (GDTOA_OBJS): Add to library.
1732 (DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
1733 (STDLIB_OBJS): Remove.
1734 (STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
1735 (Q8_OBJS): Add wcstof.o wcstold.o.
1736 * include/stdlib.h (strtof): Remove inline definition.
1738 * include/wchar.h (wcstof): Remove inline definition.
1740 2006-08-30 Corinna Vinschen <corinna@vinschen.de>
1742 * Makefile.in: Add with_cross_host to allow more granular checks.
1743 Set installation directories accordingly. Override CC setting only
1744 if building a Cygwin target.
1745 * aclocal.m4: Regenerate.
1746 * configure.in: Move AC_CANONICAL_SYSTEM check up. Add
1747 GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files.
1748 Test AC_ALLOCA only if building on a native system.
1749 * configure: Regenerate.
1751 2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1753 * include/ctype.h: Fix typo.
1755 2006-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1757 * include/ctype.h: Expose iswblank if __cplusplus.
1758 * include/wctype.h: Expose iswblank if __cplusplus.
1760 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1762 * include/ctype.h: Remove stray ')';
1764 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1766 * include/ctype.h (_BLANK): Expand comment.
1767 (isblank): Add prototype and inline definition.
1768 (iswblank): Add prototype and inline definition.
1769 * include/wctype.h (iswblank): Add prototype and inline definition.
1770 * mingwex/isblank.c: New file.
1771 * mingwex/iswblank.c: New file.
1772 * mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
1774 2006-07-06 Danny Smith <dannysmith@users.sourceforge.net>
1776 * include/math.h (__INFF,__INFL): Remove '#'.
1778 2006-07-04 Danny Smith <dannysmith@users.sourceforge.net>
1780 * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
1782 2006-07-03 Danny Smith <dannysmith@users.sourceforge.net>
1784 Support SSE float environment in fenv.h functions.
1785 * cpu_features.c: New file.
1786 * cpu_features.h: New file.
1787 * crt1.c: Include "cpu_features.h".
1788 (__mingw_CRTStartup): Call cpu_features_init().
1789 * Makefile.in (MING_OBJS): Add cpu_features.c.
1790 (SRCDIST_FILES): Add cpu_features.c, cpu_features.h.
1791 * include/fenv,h ( fenv_t;): Append __mxcsr field.
1792 (__MXCSR_EXCEPT_FLAG_SHIFT): New define.
1793 (__MXCSR_EXCEPT_MASK_SHIFT): New define.
1794 (__MXCSR_ROUND_FLAG_SHIFT): New define.
1795 * mingwex/feclearexcept.c: Include "cpu_features.h".
1796 Handle SSE environment.
1797 * mingwex/fegetenv.c: Likewise.
1798 * mingwex/feholdexcept.c: Likewise.
1799 * mingwex/fesetenv.c: Likewise.
1800 * mingwex/fesetexceptflag.c: Likewise.
1801 * mingwex/fesetround.c: Likewise.
1802 * mingwex/fetestexcept.c: Likewise.
1803 * mingwex/feupdateenv.c: Likewise.
1804 * mingwex/fegetround.c: Add comment.
1806 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1808 * Include/_mingw.h: Increment version to 3.10.
1809 * Makefile.in: Ditto.
1811 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1813 * mingwex/math/tgamma.c (SQTPI): Add braces.
1815 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1817 * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
1818 * mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
1820 * mingwex/math/sf_erf.c (erff): Initialize z.
1822 * mingwex/math/tgamma.c (SQTPI): Avoid type punning.
1824 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1826 * Include/_mingw.h: Increment version to 3.10.
1827 * Makefile.in: Ditto.
1829 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1831 * include/sys/time.h (struct timezone): Define.
1832 * include/time.h: Correct comment about timezone.
1834 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1836 * configure.in (AC_CONFIG_AUX_DIR): Remove.
1837 * configure: Regenerate.
1839 2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
1841 * configure: add srcdir as a possible location for install-sh.
1843 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1845 * mingwex/dirent.c (_tGetFileAttributes): New helper function.
1846 (_topendir): Use it.
1848 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1850 * include/sys/time.h: Add header guard. Add extern "C" bracketing
1852 (gettimeofday): Add prototype.
1853 * mingwex/gettimeofday.c: New file.
1854 * mingwex/makefile.in: Add gettimeofday source and object.
1856 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1858 * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
1859 else global library variable.
1860 (HUGEVALF): Likewise.
1861 (HUGEVALL): Likewise.
1862 (INFINITY): Likewise.
1865 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1867 * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
1869 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1871 * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
1873 2006-05-24 Christopher Faylor <cgf@timesys.com>
1875 * configure.in: Update to newer autoconf.
1876 (thanks to Steve Ellcey)
1877 * mingwex/configure.in: Ditto.
1878 * profile/configure.in: Ditto.
1879 * configure: Regenerate.
1880 * mingwex/configure: Ditto.
1881 * profile/configure: Ditto.
1882 * aclocal.m4: New file.
1883 * mingwex/aclocal.m4: Ditto.
1884 * profile/aclocal.m4: Ditto.
1886 2006-05-17 Danny Smith <dannysmith@users.sourceforge.net>
1888 * mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.
1889 Use supplied codepage as arg to WideCharToMultiByte.
1891 2006-02-13 Earnie Boyd <earnie@users.sf.net>
1893 * Makefile.in (libmsvcr80.a): Add import lib.
1894 (libmsvcr80d.a): Ditto.
1896 2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1898 * Makefile.in: Bump cygwin build number.
1900 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1902 * Include/_mingw.h: Increment version to 3.9.
1903 * Makefile.in: Ditto.
1905 2005-10-14 Danny Smith <dannysmith@users.sourceforge.net>
1907 * include/limits.h (SSIZE_MAX): Define.
1908 (LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.
1910 2005-10-13 Wu Yongwei <adah@users.sourceforge.net>
1912 * include/tchar.h: Include <wchar.h> when _UNICODE is defined.
1913 (_TEOF): New macro definition for _UNICODE and non_UNICODE cases.
1915 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1917 * include/stddef.h: Remove.
1918 * include/stdarg.h: Remove.
1920 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1922 * mingwex/complex/csqrt.c (csqrt): The sign of real part
1923 of result is positive when real part of arg == 0;
1924 * mingwex/complex/csqrtf.c (csqrtf): Ditto.
1925 * mingwex/complex/csqrtl.c (csqrtl): Ditto.
1927 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1929 * include/time.h (_time64): Correct prototype.
1931 2005-10-08 Danny Smith <dannysmith@users.sourceforge.net>
1933 * mingwex/fegetenv.c (fegetenv): Restore exception masks.
1934 * mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
1935 to non-stop. Use "fnclex" to clear exception flags.
1937 2005-09-24 Danny Smith <dannysmith@users.sourceforge.net>
1939 * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
1940 Avoid raising FP exceptions.
1942 2005-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1944 * include/stdlib.h (strtof): Add prototype. Uglify
1945 parameter names in inline definition.
1947 (_Exit): Uglify parameter names in inline definition.
1948 (llabs): Add prototype.
1949 (_set_error_mode): Add prototype and input defines.
1951 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1953 * mingwex/fe*.c: Revert previous changes.
1954 * include/fenv.h: Revert previous changes.
1956 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1958 * mingwex/feclearexcept.c (feclearexcept): Change declaration.
1959 Do not return a value.
1960 * mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
1961 * mingwex/feraiseexcept.c (feraiseexcept): Likewise.
1962 * mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
1963 * mingwex/fegetenv.c (fegetenv): Likewise.
1964 * mingwex/fesetenv.c (fesetenv): Likewise.
1965 * mingwex/feupdateenv.c (feupdateenv): Likewise.
1966 * include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
1967 fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
1970 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1972 * mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
1973 getting filelength for SEEK_END.
1975 2005-08-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1977 * Include/_mingw.h: Increment version to 3.8.
1978 * Makefile.in: Ditto.
1980 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1982 * include/wctype.h (towupper, towlower): Change arg and return value
1984 * include/ctype.h (towupper, towlower): Likewise.
1986 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1988 * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
1989 a diagnostic, guarded by #ifdef DEBUG.
1990 (__mingwthr_remove_key_dtor): Likewise.
1992 2005-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1994 * moldname.def.in (sleep, beep, seterrormode): Remove.
1996 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1998 * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
1999 (_MCOUNT_DECL): Use it.
2000 (MCOUNT): Save and restore eax, ecx, edx registers.
2001 * profile/mcount.c (_mcount): ANSI-fy.
2003 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
2005 * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
2006 guard __MINGW_ATTRIB macro definitions.
2007 * include/math.h (logb[fl]): Don't define inlines for
2008 GCC-4.0+ && __FAST_MATH__.
2009 (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up
2010 line-continuation backslashes.
2012 2005-06-06 Danny Smith <dannysmith@users.sourceforge.net>
2014 * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
2015 in GNUC version guard.
2017 2005-05-20 Danny Smith <dannysmith@users.sourceforge.net>
2019 * crt1.c (_gnu_exception_handler): Handle illegal instruction
2020 OS exception as a signal if user has defined a SIGILL handler.
2022 2005-05-10 Danny Smith <dannysmith@users.sourceforge.net>
2024 * mingwex/math/nexttoward.c: New file.
2025 * mingwex/math/nexttowardf.c: New file.
2026 * mingwex/math/nextafterl.c: Add nexttowardl alias.
2027 * mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
2029 (MATH_OBJS): Add nexttoward.o, nexttowardf.o,
2030 * include/math.h (nexttoward, nextowardf, nexttowardl): Add
2033 2005-05-09 Danny Smith <dannysmith@users.sourceforge.net>
2035 * mingwex/math/nextafterf.c (nextafterf): Correct
2037 * mingwex/math/nextafterl.c: New file.
2038 * mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
2039 (MATH_OBJS): Add nextafterl.o.
2040 * include/math.h (nextafterl): Uncomment prototype.
2042 2005-05-08 Danny Smith <dannysmith@users.sourceforge.net>
2044 * mingwex/math/erfl.c: New file.
2045 * mingwex/Makefile.in (MATH_DISTFILES): Add erfl.c.
2046 (MATH_OBJS): Add erfl.o.
2047 * include/math.h (erfl, erfcl): Uncomment prototypes.
2049 2005-05-04 Danny Smith <dannysmith@users.sourceforge.net>
2051 * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
2052 #if (WCHAR_MAX <= WCHAR_MIN) is false.
2053 * include/stdint.h (WCHAR_MAX): Likwise.
2054 (WINT_MAX): Likewise.
2056 2005-05-03 Danny Smith <dannysmith@users.sourceforge.net>
2058 * mingwex/math/signbit.c (__signbit): Make return value
2059 consistent with GCC's __builtin_signbit.
2060 * mingwex/math/signbitf.c (__signbitf): Likewise.
2061 * mingwex/math/signbitf.c (__signbitl): Likewise.
2062 * include/math.h (__signbit, __signbitf, __signbitl): Likewise
2065 2005-05-02 Danny Smith <dannysmith@users.sourceforge.net>
2067 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
2069 * mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
2070 Remove unused MBTOWC_FLAGS define.
2072 2005-04-23 Danny Smith <dannysmith@users.sourceforge.net>
2074 * mingwex/mbrtowc.c: New file.
2075 * mingwex/wcrtomb.c: New file.
2076 * mingwex/btowc.c: New file.
2077 * mingwex/wctob.c: New file.
2078 * mingwex/mb_wc_common.h: New file.
2079 * mingwex/Makefile.in (DISTFILES): Add new files.
2080 (Q8_OBJS): Add new objects.
2081 * include/wchar.h: Adjust comment about mbrtowc() and related
2082 funcions. Add __restrict__ to pointer params in prototypes.
2083 (wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
2084 arg names from protototypes.
2086 2005-04-23 Wu Yongwei <adah@sh163.net>
2088 * mingwex/dirent.c: Formatting changes.
2089 * mingwex/dirent.c (_topendir): Make the end-of-path slash check
2092 2005-03-31 Danny Smith <dannysmith@users.sourceforge.net>
2094 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
2096 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
2098 * include/stdio.h (__mingw_fwrite): Change return value to
2100 * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
2102 2005-03-15 Hans Leidekker <hans@it.vu.nl>
2104 * include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
2106 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2108 * include/wctype.h (wctrans): Remove _CRTIMP.
2109 (towctrans): Likewise.
2112 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2114 * include/wctype.h: Add comment on wctrans, towctrans, wctype.
2116 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2118 * mingwex/wctype.c: New file.
2119 * mingwex/wctrans.c: New file.
2120 * mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c.
2121 * mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.
2123 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2125 * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.
2127 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2129 * include/assert.h: Remove header guard. #undef assert macro.
2130 (_assert): Use __MINGW_ATTRIB_NORETURN define.
2132 2005-02-11 Gregory W. Chicares <chicares@cox.net>
2133 Danny Smith <dannysmith@users.sourceforge.net>
2135 * include/math.h (expm1, expm1f, expmll): Add prototypes.
2136 * mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
2138 (MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
2139 * mingwex/math/expm1.c: New file.
2140 * mingwex/math/expm1f.c: New file.
2141 * mingwex/math/expm1l.c: New file.
2143 2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
2145 * include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
2146 * include/wchar.h (struct stat): Likwwise.
2147 Bug reported to Debian by Anand Kumria <wildfire@progsoc.org>
2149 * include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
2151 2005-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2153 * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
2154 string is not valid.
2156 2005-01-26 Oliver Stoeneberg <oliverst@online.de>
2158 * include/malloc.h: Add missing return code defines for
2161 2005-01-17 Danny Smith <dannysmith@users.sourceforge.net>
2163 * include/sys/stat.h (struct __stat64): Change st_size type to
2165 * include/wchar.h (struct __stat64): Change st_size type to __int64.
2167 2005-01-13 Earnie Boyd <earnie@users.sf.net>
2169 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2171 * include/errno.h (ELOOP): Ditto.
2172 * include/_mingw.h: Increment version to 3.7.
2173 * Makefile.in: Ditto.
2175 2005-01-11 Danny Smith <dannysmith@users.sourceforge.net>
2177 * include/tchar.h (_tfreopen): Add UNICODE mappings.
2179 2005-01-11 Earnie Boyd <earnie@users.sf.net>
2181 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2182 lstat): Conditionalize defines for __STRICT_ANSI__.
2184 2005-01-10 Earnie Boyd <earnie@users.sf.net>
2186 * include/errno.h (ELOOP): Add definition.
2188 2005-01-10 Danny Smith <dannysmith@users.sourceforge.net>
2190 * mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
2191 casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
2192 clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
2193 ctanl.c ctanhl.c): New files.
2194 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2195 (COMPLEX_OBJS): Adjust.
2196 * include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
2197 casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
2198 cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
2201 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2203 * include/_mingw.h (__int16): Define as short.
2204 Thanks to: Leo Yuriev <leoyuriev at users dot sf dot net>
2206 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2208 * include/stdio.h (P_tmpdir): Add define.
2210 2005-01-03 Earnie Boyd <earnie@users.sf.net>
2212 * Makefile.in (inst_docdir): For Cygwin target set to share/doc/.
2214 2005-01-02 Earnie Boyd <earnie@users.sf.net>
2216 * include/_mingw.h: Increment version to 3.6
2217 * Makefile.in: Ditto
2219 2004-12-26 Danny Smith <dannysmith@users.sourceforge.net>
2221 * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
2222 casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
2223 clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
2224 ctanf.c ctanhf.c): New files.
2225 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2226 (COMPLEX_OBJS): Adjust.
2227 * include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
2228 casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
2229 cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
2232 2004-12-20 Danny Smith <dannysmith@users.sourceforge.net>
2234 * include/wchar.h (wcsdup): Correct prototype.
2235 * include/string.h (wcsdup): Correct prototype.
2237 2004-10-14 Danny Smith <dannysmith@users.sourceforge.net>
2239 * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
2241 2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
2243 * mingwex/math/fastmath.h: New file.
2244 * mingwex/math/asinh.c: New file.
2245 * mingwex/math/asinhf.c: New file.
2246 * mingwex/math/asinhl.c: New file.
2247 * mingwex/math/acosh.c: New file.
2248 * mingwex/math/acoshf.c: New file.
2249 * mingwex/math/acoshl.c: New file.
2250 * mingwex/math/atanh.c: New file.
2251 * mingwex/math/atanhf.c: New file.
2252 * include/math.h (asinh, asinhf, asinhl, acosh, acoshf, acoshl,
2253 atanh, atanhf, atanhl): Add prototypes.
2254 * mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
2255 (MATH_DISTFILES): Add sources for above and fastmath.h to list.
2256 Specify dependency on fastmath.h for new objects.
2258 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2260 * include/sys/stat.h (_S_IFLNK): Add definition.
2267 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2269 * include/sys/stat.h (_S_ISLNK): Add definition.
2272 2004-09-05 Earnie Boyd <earnie@users.sf.net>
2274 * include/_mingw.h: Increment minor version for 3.5 release.
2275 * Makefile.in: Ditto.
2276 * mingwex/Makefile.in: Correct typo in list of DISTFILES.
2278 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2280 * include/malloc.h (__mingw_aligned_offset_malloc,
2281 __mingw_aligned_offset_realloc, __mingw_aligned_malloc,
2282 __mingw_aligned_realloc, __mingw_aligned_free): Add
2284 * mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
2285 tst-aligned-malloc.c.
2286 (REPLACE_OBJS): Add mingw-aligned-malloc.o.
2288 2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
2290 * mingwex/mingw-aligned-malloc.c: New file.
2291 * mingwex/tst-aligned-malloc.c: New file.
2293 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2295 * crt1.c: (__mingw_CRTStartup): Change return to void. Add
2296 noreturn attribute. Align stack to 16 bytes before passing args
2298 (mainCRTStartup): Change return to void.
2299 (WinMainCRTStartup): Likewise.
2301 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2303 * profile/COPYING: New file.
2304 * profile/CYGWIN_LICENSE: New file.
2305 * profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
2307 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2309 * mingwex/fopen64.c: Move.
2310 * mingwex/fseeko64.c: Move.
2311 * mingwex/ftello64.c: Move.
2312 * mingwex/lseek64.c: Move.
2313 * mingwex/stdio/fopen64.c: To here.
2314 * mingwex/stdio/fseeko64.c: To here.
2315 * mingwex/stdio/ftello64.c: To here.
2316 * mingwex/stdio/lseek64.c: To here.
2318 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2320 * profile/gmon.c [__MINGW32__]: Include string.h for
2323 2004-08-08 Christopher Faylor <cgf@timesys.com>
2325 * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
2327 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2329 * include/complex.h: Remove __attribute__ ((const)) from
2330 transcendantal and trig functions. Replace __attribute__ ((const))
2331 with __MINGW_ATTRIB_CONST on other declarations.
2333 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2335 * include/wchar.h: Reorganize, avoid including other headers.
2337 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2339 * include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
2340 (strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
2343 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2345 * include/dirent.h (struct _wdirent): Remove obsolete comment.
2347 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2349 * include/string.h: Revert 2004-07-26 additions of
2352 2004-07-28 Danny Smith <dannysmith@users.sourceforge.net>
2354 * mingwex/math/powl.c (powl): Revert change of 2004-02-01.
2355 (__convert_inf_to_maxnum): New.static inline.
2356 (reducl): Use it to protect against Inf - Inf.
2357 (__fast_ldexpl): New function. Use in lieu of ldexpl.
2359 2004-07-27 Danny Smith <dannysmith@users.sourceforge.net>
2361 * mingwex/math/expl.c (expl): Move body of code to new static
2362 function __expl, removing tests for +/-Inf. Extern function
2363 expl calls __expl after testing for max, min log thresholds.
2365 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2367 * mingwex/stdio/vsscanf.c: Add "edi" to registers-modified field
2368 * mingwex/stdio/vfscanf.c: Likewise.
2369 * mingwex/stdio/vswscanf.c: Likewise.
2370 * mingwex/stdio/vfwscanf.c: Likewise.
2372 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2374 * include/_mingw.h: Use only two underscores to uglify
2375 __MINGW_ATTRIB_* macros.
2376 * include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
2377 * include/setjmp.h: Likewise.
2379 * include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
2381 (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
2383 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2385 * include/string.h: Group wide string functions together,
2386 and protect with _WSTRING_DEFINED.
2388 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2390 * include/_mingw.h (__MINGW_ATTR_*): Replace with
2392 * include/stdlib.h (_ATTRIB_NORETURN): Replace with
2393 __MINGW_ATTRIB_NORETURN, throughout.
2394 (malloc): Declare with __MINGW_ATTRIB_MALLOC.
2396 (abs): Declare with __MINGW_ATTRIB_CONST.
2405 * include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
2407 2004-07-21 Danny Smith <dannysmith@users.sourceforge.net>
2409 * include/_mingw.h: Undefine __attribute__.
2410 (__MINGW_ATTR_NORETURN): New define.
2411 (__MINGW_ATTR_CONST): New define.
2412 (__MINGW_ATTR_MALLOC): New define.
2413 (__MINGW_ATTR_PURE): New define.
2414 (_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
2417 2004-07-19 Danny Smith <dannysmith@users.sourceforge.net>
2419 * include/time.h (__time64_t): Add missing ';'.
2421 2004-07-17 Danny Smith <dannysmith@users.sourceforge.net>
2423 * include/time.h (wcsftime): Move out of !__STRICT_ANSI
2425 (struct tm): Protect with _TM_DEFINED.
2427 2004-07-17 Christopher Faylor <cgf@timesys.com>
2429 * Makefile.in (CC): Strip inappropriate include file settings from any
2432 2004-07-15 "dgun" <dgun@umpire.com>
2434 * include/complex.h (conj): Correct typo in prototype.
2436 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2438 * include/math.h: Add pragma GCC system_header.
2440 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2442 * mingwex/complex/carg.c: New file.
2443 * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
2445 2004-07-15 Corinna Vinschen <corinna@vinschen.de>
2447 * Makefile.in (INCLUDES): Temporarily revert previous change.
2448 * mingwex/Makefile,in (INCLUDES): Ditto.
2449 * profile/Makefile,in (INCLUDES): Ditto.
2450 * mingwex/Makefile,in: Drop carg.o dependency.
2452 2004-07-14 Christopher Faylor <cgf@timesys.com>
2454 * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
2456 2004-07-14 Danny Smith <dannysmith@users.sourceforge.net>
2458 * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
2460 * mingwex/Makefile,in (INCLUDES): Ditto.
2461 * profile/Makefile,in (INCLUDES): Ditto.
2463 * mingwex/Makefile,in: Add carg.o to libmingwex.a.
2465 2004-07-13 Earnie Boyd <earnie@users.sourcefourge.net>
2467 * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
2469 * mingwex/Makefile.in: Ditto.
2470 * profile/Makefile.in: Ditto.
2471 * include/limits.h: Change to new file header preamble.
2472 * include/_mingw.h: Increment minor version for 3.4 release.
2473 * Makefile.in: Ditto.
2475 2004-07-12 Danny Smith <dannysmith@users.sourceforge.net>
2477 * mingwex/math/cephes_emath.h (__etens): Remove declaration.
2479 2004-07-11 Danny Smith <dannysmith@users.sourceforge.net>
2481 * include/unistd.h (ftruncate): Add inline definition.
2482 * mingwex/ftruncate.c: New file.
2483 * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
2485 2004-07-10 Danny Smith <dannysmith@users.sourceforge.net>
2487 * include/time.h: Do not include sys/types.h.
2489 2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
2491 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
2492 (MATH_OBJS): Remove pow,o.
2493 * include/math.h (pow): Declare with _CRTIMP.
2494 Add comment on how to avoid excess precision problems.
2496 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
2498 * include/stdio.h (__mingw_fseeko64): Add prototype.
2499 * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
2500 (__mingw_fwrite): Handle huge files.
2502 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
2503 Danny Smith <dannysmith@users.sourceforge.net>
2505 * include/stdio.h (fopen64): Add inline function.
2506 (fseeko64): Add prototype.
2507 (ftello64): Add inline function.
2508 * include/io.h (lseek64): Add inline function.
2509 * include/sys/types (off64_t): Add typedef.
2510 (fpos64_t): Add typedef.
2511 * mingwex/fopen64.c: New file.
2512 * mingwex/fseeko64.c: New file.
2513 * mingwex/ftello64.c: New file.
2514 * mingwex/lseek64.c: New file.
2515 * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
2516 fseeko.64.c, ftello64.c, lseek64.c.
2517 (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
2519 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
2521 * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
2523 2004-04-22 Earnie Boyd <earnie@users.sf.net>
2525 * DISCLAIMER: Add words about "free to use".
2526 * README: Modify "Win32 runtime" to "Microsoft C Runtime".
2527 * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
2528 (inst_docdir): New variable.
2530 (FLAGS_TO_PASS): Include inst_docdir.
2531 (install-dirs): Add inst_docdir.
2532 (install): Add loop for INSTDOCS.
2533 * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
2534 section to CONTRIBUTORS file. Remove RCS tags.
2536 2004-04-22 Danny Smith <dannysmith@users.sourceforge.net>
2538 * mingwex/math/lround.c: Rewrite.
2539 * mingwex/math/lroundf.c: Rewrite.
2540 * mingwex/math/lroundl.c: Rewrite.
2541 * mingwex/math/llround.c: Rewrite.
2542 * mingwex/math/llroundf.c: Rewrite.
2543 * mingwex/math/llroundl.c: Rewrite.
2545 2004-04-20 Earnie Boyd <earnie@users.sf.net>
2547 * CONTRIBUTORS: New file.
2548 * DISCLAIMER: Ditto.
2549 * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
2550 section to CONTRIBUTORS file. Remove RCS tags.
2551 * CRTFmode.c: Ditto.
2555 * crtdll.dev: Ditto.
2565 * msvcrt.def.in: Ditto.
2566 * strcasecmp.c: Ditto.
2569 * include/assert.h: Ditto.
2570 * include/conio.h: Ditto.
2571 * include/ctype.h: Ditto.
2572 * include/direct.h: Ditto.
2573 * include/dirent.h: Ditto.
2574 * include/dos.h: Ditto.
2575 * include/errno.h: Ditto.
2576 * include/excpt.h: Ditto.
2577 * include/fcntl.h: Ditto.
2578 * include/float.h: Ditto.
2579 * include/io.h: Ditto.
2580 * include/locale.h: Ditto.
2581 * include/malloc.h: Ditto.
2582 * include/math.h: Ditto.
2583 * include/process.h: Ditto.
2584 * include/setjmp.h: Ditto.
2585 * include/share.h: Ditto.
2586 * include/signal.h: Ditto.
2587 * include/stdio.h: Ditto.
2588 * include/stdlib.h: Ditto.
2589 * include/string.h: Ditto.
2590 * include/tchar.h: Ditto.
2591 * include/time.h: Ditto.
2592 * include/wchar.h: Ditto.
2593 * include/sys/locking.h: Ditto.
2594 * include/sys/param.h: Ditto.
2595 * include/sys/stat.h: Ditto.
2596 * include/sys/timeb.h: Ditto.
2597 * include/sys/types.h: Ditto.
2598 * include/sys/utime.h: Ditto.
2599 * mingwex/dirent.c: Ditto.
2601 2004-04-19 Earnie Boyd <earnie@users.sf.net>
2603 * include/_mingw.h: Revert to primary release 3 and increment minor
2605 * Makefile.in (VERSION): Ditto.
2607 2004-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2609 * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
2610 _fmode if not __MSVCRT__.
2612 2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
2614 * include/io.h: (_findfirst): Correct prototype.
2616 2004-03-30 Hans Leidekker <hans@it.vu.nl>
2618 * include/io.h: (_findnext, _findclose): Correct prototype.
2620 2004-03-28 Hans Leidekker <hans@it.vu.nl>
2622 * include/math.h (FP_*): Add defines.
2624 2004-03-29 Danny Smith <dannysmith@users.sourceforge.net>
2626 * mingwex/math/round.c: Rewrite.
2627 * mingwex/math/roundf.c: Rewrite.
2628 * mingwex/math/roundl.c: Rewrite.
2630 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2632 * include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.
2633 * include/time.h (__time64_t): Add typedef.
2634 (_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2635 (_ctime64): Likewise.
2636 (_wctime64): Likewise.
2637 (_gmtime64): Likewise.
2638 (_localtime64): Likewise.
2639 (wcsftime): Move into _WTIME_DEFINED block.
2640 Regroup non-ANSI prototypes.
2641 * include/io.h: Include <stdint.h>.
2642 (__finddata64_t): Add struct definition.
2643 (__wfinddata64_t): Likewise.
2644 (_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2645 (_findnext64): Likewise.
2646 (_wfindfirst64): Likewise.
2647 (_wfindnext64): Likewise.
2648 * include/sys/timeb.h (__timeb64): Add struct definition.
2649 (_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2650 * include/sys/utime.h (__utimbuf64): Add struct definition.
2651 (_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2652 (_futime64): Likewise.
2653 (_wutime64): Likewise.
2654 * include/sys/stat.h (__stat64): Add struct definition.
2655 (_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2656 (_stat64): Likewise.
2657 (_wstat64): Likwise.
2658 * include/sys/types.h (__time64_t): Add typedef.
2659 * include/wchar.h (__wfinddata64_t): Add structure definition.
2660 (__stat64): Likewise.
2661 (_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2662 (_wfindfirst64): Likewise.
2663 (_wfindnext64): Likewise.
2664 (_wutime64): Likewise.
2665 (_wstat64): Likwise.
2666 * include/malloc.h (_aligned_free): Add prototype for
2667 __MSVCRT_VERSION__ >= 0x0700.
2668 (_aligned_malloc): Likewise.
2669 (_aligned_offset_malloc): Likewise.
2670 (_aligned_offset_realloc): Likewise.
2671 (_aligned_realloc): Likewise.
2672 * include/string.h (_wcserror): Add prototype for
2673 __MSVCRT_VERSION__ >= 0x0700.
2674 (__wcserror): Likewise.
2675 * include/math.h (_set_SSE2_enable): Add prototype for
2676 __MSVCRT_VERSION__ >= 0x0701.
2678 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2680 * include/stdio.h (_fsopen): Add prototype.
2681 * include/tchar.h (_tfsopen): Add defines.
2682 Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
2684 2004-03-19 Danny Smith <dannysmith@users.sourceforge.net>
2686 * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
2687 msvcr70.dll, and msvcr71.dll.
2688 * Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant
2689 using basename of output def file.
2691 2004-03-13 Danny Smith <dannysmith@users.sourceforge.net>
2693 * include/malloc.h: Remove __STRICT_ANSI__ guard.
2695 2004-03-11 Brian Keener <bkeener@thesoftwaresource.com>
2697 * include/process.h: Remove the #endif associated with removal of
2698 __STRICT_ANSI__ guard from non-ANSI header.
2700 2004-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2702 * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
2703 * include/direct.h: Ditto.
2704 * include/dirent.h: Ditto.
2705 * include/dos.h: Ditto.
2706 * include/excpt.h: Ditto.
2708 * include/io.h: Ditto.
2709 * inlude/mem.h: Ditto.
2710 * include/memory.h: Ditto.
2711 * include/process.h: Ditto.
2712 * inlude/search.h: Ditto.
2713 * include/share.h: Ditto.
2714 * include/unistd.h: Ditto.
2715 * include/sys/fcntl.h: Ditto.
2716 * include/file.h: Ditto.
2717 * include/sys/locking.h: Ditto.
2718 * include/sys/param.h: Ditto.
2719 * include/sys/stat,h
2720 * include/sys/time.h: Ditto.
2721 * include/sys/timeb.h: Ditto.
2722 * include/sys/types.h: Ditto.
2723 * include/sys/unistd.h: Ditto.
2724 * include/sys/utime.h: Ditto.
2726 2004-02-21 Danny Smith <dannysmith@users.sourceforge.net>
2728 * include/_mingw.h (__UNUSED_PARAM): Define macro.
2729 * include/wchar.h (fwide): Use it.
2732 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2734 * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
2735 NetBSD getopt_long.c.
2737 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2739 * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
2740 codes and handling of special chars.
2742 2004-02-02 Danny Smith <dannysmith@users.sourceforge.net>
2744 * include/stdio.h (feof): Add inlined definition.
2747 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2749 * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
2750 directly, rather than via scabnl.
2752 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2754 * mingwex/math/powl.c (powl): Return infinity if
2755 extended precision multiplication of x by log2(y)
2758 2004-01-31 Danny Smith <dannysmith@users.sourceforge.net>
2760 * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
2761 (__enan_NI16): Fix another one.
2762 (__enan_NBITS): Tidy.
2764 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
2766 * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
2767 types. (Thanks to John Maddock for report.)
2769 2004-01-14 Greg Chicares <chicares@users.sourceforge.net>
2771 * include/tchar.h (_puttchar): Define.
2773 2003-12-13 Danny Smith <dannysmith@users.sourceforge.net>
2775 * include/stdio.h:(_fileno): Define macro version after both
2776 fileno and _fileno functions declared.
2778 * include/stdio.h (_rmtmp, rmtmp): Add prototypes.
2779 * moldnames.def.in (rmtmp) Add stub.
2781 2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
2783 * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
2785 2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
2787 * include/math.h: Guard ISO C99 additions with __cplusplus
2790 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2792 * include/_mingw.h: Define __attribute__((x)) to nothing
2795 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2797 * include/complex.h: New file.
2798 * mingwex/complex: New directory.
2799 * mingwex/complex/cabs.c: New file.
2800 * mingwex/complex/cacos.c: New file.
2801 * mingwex/complex/cacosh.c: New file.
2802 * mingwex/complex/casin.c: New file.
2803 * mingwex/complex/casinh.c: New file.
2804 * mingwex/complex/catan.c: New file.
2805 * mingwex/complex/catanh.c: New file.
2806 * mingwex/complex/ccos.c: New file.
2807 * mingwex/complex/ccosh.c: New file.
2808 * mingwex/complex/cexp.c: New file.
2809 * mingwex/complex/cimag.c: New file.
2810 * mingwex/complex/clog.c: New file.
2811 * mingwex/complex/cpow.c: New file.
2812 * mingwex/complex/cproj.c: New file.
2813 * mingwex/complex/creal.c: New file.
2814 * mingwex/complex/csin.c: New file.
2815 * mingwex/complex/csinh.c: New file.
2816 * mingwex/complex/csqrt.c: New file.
2817 * mingwex/complex/ctan.c: New file.
2818 * mingwex/complex/ctanh.c: New file.
2819 * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
2822 (COMPLEX_OBJS): New list of objects.
2823 (LIB_OBJS): Include it in the library.
2825 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2827 * include/math.h (cabs): Remove non-ISO prototype.
2829 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2831 * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
2832 Use GCC __builtin's if available.
2833 (INFINITY, INFINITYF, INFINITYL): Likewise.
2835 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2837 * mingwex/math/s_erf.c (erf): Set errno to ERANGE if
2838 beyond approximation limit.
2839 * mingwex/math/sf_erf.c (erff): Likewise.
2841 2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
2843 * include/stdio.h (getc): Cast result to unsigned char before
2846 (getchar): Likewise.
2847 (putchar): Likewise.
2848 Thanks to M.Fujii <boochang@m4.kcn.ne.jp>
2850 2003-10-10 Earnie Boyd <earnie@users.sf.net>
2852 * include/_mingw.h: Increment version to 3.2.
2853 * Makefile.in: Ditto.
2855 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2857 * include/sys/types.h: Revert last change.
2859 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2861 * include/sys/types.h (ssize_t): Correct the definition.
2863 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2865 * include/stdio.h (_filbuf): Add prototype.
2866 (_flsbuf): Add prototype.
2867 (getc): Add inline version.
2869 (getchar): Likewise.
2870 (putchar): Likewise.
2872 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2874 * mingwex/dirent.c (_treaddir): Reset errno to 0 if end
2877 2003-09-29 Danny Smith <dannysmith@users.sourceforge.net>
2879 * include/stdlib.h: Guard non-ISO functions with
2880 !__STRICT_ANSI__, throughout.
2882 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2884 * include/io.h (_fileno): Remove prototype.
2886 (FILENAME_MAX): Define, if needed.
2887 Don't include <stdio.h>.
2888 * include/stdio.h (FILENAME_MAX): Protect against
2890 (_fileno): Define macro implementation.
2893 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2895 * include/inttypes.h: Include _mingw.h.
2897 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2899 * include/_mingw.h (__CRT_INLINE): Define.
2900 * include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
2902 * include/inttypes.h: Likewise.
2903 * include/math.h: Likewise.
2904 * include/stdio.h: Likewise.
2905 * include/stdlib.h: Likewise.
2906 * include/string.h: Likewise.
2907 * include/wchar.h: Likewise.
2908 * include/wctype.h: Likewise.
2910 2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
2912 * mingwex/dirent.c (_topendir): Allocate enough memory for
2913 DIR struct in UNICODE case too.
2915 2003-09-15 Earnie Boyd <earnie@users.sf.net>
2917 * include/_mingw.h: Increment version to 3.2.
2918 * Makefile.in: Ditto.
2920 2003-07-03 Earnie Boyd <earnie@users.sf.net>
2922 * config.guess, config.sub: Update with versions from ftp.gnu.org.
2924 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2926 * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
2927 * mingwex/math/truncf.c (truncf): Likewise.
2928 * mingwex/math/truncl.c (truncl): Likewise.
2929 * mingwex/math/modff.c (modff): Likewise.
2930 * mingwex/math/modfl.c (modfl): Likewise.
2932 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2934 * include/search.h: New file.
2935 * include/stdlib.h: Add comment about qsort, bsearch in
2937 * test_headers.c: Include search.h.
2938 * moldname.def.in (lfind, lsearch): Add.
2940 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2942 * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
2943 _execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
2944 execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
2946 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2948 * include/_mingw.h (small, hyper): Change to __small and __hyper to
2949 avoid user space name conflicts.
2951 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2953 * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
2954 Note: Also added to w32api/include/basetyps.h.
2955 * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
2956 Rename to Small (case difference).
2958 2003-06-18 Earnie Boyd <earnie@users.sf.net>
2960 * include/dirent.h (dirent): Make d_name and array instead of a pointer.
2961 * mingwex/dirent.c: Modifications througout to fill d_name array.
2962 * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
2963 libmsvcr71, including debug versions.
2964 (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
2966 2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
2968 * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
2969 __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
2971 Thanks to: Aaron W LaFramboise <AWLaFramboise@aol.com>
2973 2003-05-30 Sascha Sommer <saschasommer@freenet.de>
2975 * include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
2977 2003-05-15 Danny Smith <dannysmith@users.sourceforge.net>
2979 * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
2980 but still protect inline definition with __STRICT_ANSI__.
2982 2003-05-14 Danny Smith <dannysmith@users.sourceforge.net>
2984 * string_old.c: Remove, splitting into...
2985 * strcasecmp.c: New file.
2986 * strncasecmp.c: New file.
2987 * wscmpi.c : New file.
2988 * ctype_old.c: Remove, splitting into...
2989 * isascii.c: New file.
2990 * iscsym.c: New file.
2991 * iscsymf.c: New file.
2992 * toascii.c: New file.
2993 * Makefile.in (MOLD_OBJS): Adjust.
2994 (SRCDIST_FILES): Adjust.
2996 2003-05-13 Danny Smith <dannysmith@users.sourceforge.net>
2998 * include/math.h (fabs) : Remove inline definition.
3002 2003-05-06 Earnie Boyd <earnie@users.sf.net>
3004 * include/_mingw.h: Change version to 3.0
3005 * Makefile.in: Ditto.
3007 2003-05-06 Earnie Boyd <earnie@users.sf.net>
3009 * configure.in (W32API_INCLUDE): Need the -I switch in the value.
3010 * mingwex/configure.in (W32API_INCLUDE): Ditto.
3011 * profile/configure.in (W32API_INCLUDE): Ditto.
3013 2003-05-06 Earnie Boyd <earnie@users.sf.net>
3015 * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
3016 of multiply defined symbols if the symbols is defined locally. E.G.:
3017 A local definition of malloc causes this problem.
3018 * configure: Regenerate.
3019 * profile/Makefile.in (W32API_INCLUDE): New variable.
3020 (ALL_CFLAGS): Use W32API_INCLUDE value.
3021 (ALL_CXXFLAGS): Ditto.
3022 (gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
3023 Thanks to Jeff Bonggren <jbon@users.sf.net>.
3024 * profile/configure.in (W32API_INCLUDE): Set default value.
3025 * profile/configure: Regenerate.
3026 * mingwex/Makefile.in (W32API_INCLUDE): New variable.
3027 (ALL_CFLAGS): Use W32API-INCLUDE value.
3028 (ALL_CXXFLAGS): Ditto.
3029 * mingwex/configure.in (W32API_INCLUDE): Set default value.
3030 * mingwex/configure: Regenerate.
3032 2003-05-05 Earnie Boyd <earnie@users.sf.net>
3034 * Makefile.in (W32API_INCLUDE): New variable.
3035 (ALL_CFLAGS): Use W32API_INCLUDE value.
3036 (ALL_CXXFLAGS): Ditto.
3037 * configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
3038 (W32API_INCLUDE): Set default value.
3039 * configure: Regenerate.
3041 2003-04-11 Earnie Boyd <earnie@users.sf.net>
3043 * configure.in (LIBM_A): Define for cygwin target.
3044 * configure (LIBM_A): Ditto.
3046 2003-04-07 Danny Smith <dannysmith@users.sourceforge.net>
3048 * include/time.h (strftime): Remove duplicate declaration.
3050 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
3052 * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
3054 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3056 * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
3057 * mingwex/strtoimax.c (strtoimax): Likewise.
3058 * mingwex/wcstoimax.c (wcstoimax): Likewise.
3059 * mingwex/wtoll.c (wtoll): Remove unnecessary ';'
3060 * mingwex/fesentenv.c: Include float.h.
3061 * mingwex/math/powl.c: Eliminate type punning/strict aliasing
3063 * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
3065 * mingwex/math/tgammal.c: Likewise.
3067 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3069 * include/utime.h: New file, forwarding to sys/utime.h.
3071 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3073 * include/sys/param.h (MAXPATHLEN): Define.
3075 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3077 * include/tchar.h: Ansi-fy a comment.
3079 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3081 * profile/profile.h (mcount): Use __builtin_return_address
3082 rather than inline __asm statements.
3083 * profile/Makefile.in: Remove special rule for mcount.o
3084 Specify dependencies for mcount.o profil.o gmon.o.
3086 2003-03-10 Danny Smith <dannysmith@users.sourceforge.net>
3088 * include/stdlib.h (qsort): Remove const from first parm.
3089 Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
3091 2003-03-03 Christopher Faylor <cgf@redhat.com>
3093 * mingwex/getopt.c: Refresh from NetBSD sources.
3095 2003-03-03 Danny Smith <dannysmith@users.sourceforge.net>
3097 * mingwex/getopt.c: New file, copied from cygwin srcs.
3098 * include/getopt.h: New file, copied from cygwin srcs.
3099 * include/unistd.h: Include getopt.h.
3100 * mingwex/Makefile.in (DISTFILES): Add getopt.c.
3101 (POSIX_OBJS): Add getopt.o.
3103 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
3105 * include/stdio.h (vscanf): Add prototype.
3111 * include/wchar.h (vwscanf): Add prototype.
3114 * mingwex/snprintf.c: Move to mingwex/stdio.
3115 * mingwex/vsnprintf.c: Ditto.
3116 * mingwex/snwprintf.c: Ditto.
3117 * mingwex/vsnwprintf.c: Ditto.
3118 * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
3119 (STDIO_DISTFILES): Add.
3120 (DISTFILES): Adjust.
3121 (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
3125 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com>
3127 * mingwex/stdio: New directory
3128 * mingwex/stdio/vfscanf.c: New file.
3129 * mingwex/stdio/vfwscanf.c: New file.
3130 * mingwex/stdio/vscanf.c: New file.
3131 * mingwex/stdio/vsscanf.c: New file.
3132 * mingwex/stdio/vswscanf.c: New file.
3133 * mingwex/stdio/vwscanf.c: New file.
3135 2003-02-25 Earnie Boyd <earnie@users.sf.net>
3137 * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
3138 (libmsvcrt40.a): Ditto.
3140 2003-02-21 Earnie Boyd <earnie@users.sf.net>
3142 Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
3144 * Makefile.in (libmsvcrtd.a): Add target library.
3145 (libmoldnamed.a): Ditto.
3146 (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
3148 ($(srcdir)): Remove explicit reference for depencies of object targets.
3149 * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
3150 msvcrt20.def, msvcrt40.def: Remove.
3151 * msvcrt.def.in: New file (Copy of previous msvcrt.def).
3153 2003-02-20 Corinna Vinschen <corinna@vinschen.de>
3155 * Makefile.in: Make sure libmingwex.a from current build tree is used.
3157 2003-02-14 Christopher Faylor <cgf@redhat.com>
3159 * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
3160 ensure -mno-cygwin where appropriate. Filter out -O2.
3162 2003-02-13 Danny Smith <dannysmith@users.sourceforge.net>
3164 * profile/Makefile.in (mcount.o): Use -O1 optimization
3167 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3169 * include/math.h: Remove _CRTIMP from pow() prototype,
3170 unless __NO_ISOCEXT.
3172 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3174 * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
3176 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3178 * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
3179 __declspec(dllimport) supported.
3180 (__cdecl): Define if not already defined.
3181 (__stdcall): Likewise.
3182 * include/dirent.h: Qualify fuctions with __cdecl.
3183 * include/fenv.h: Likewise.
3184 * include/inttypes.h: Likewise.
3185 * include/assert.h: Qualify fuctions with __cdecl. Qualify
3186 CRT dll imports with _CRTIMP.
3187 * include/conio.h: Likewise.
3188 * include/ctype.h: Likewise.
3189 * include/direct.h: Likewise.
3190 * include/dos.h: Likewise.
3191 * include/errno.h: Likewise.
3192 * include/float.h: Likewise.
3193 * include/io.h: Likewise.
3194 * include/locale.h: Likewise.
3195 * include/malloc.h: Likewise.
3196 * include/math.h: Likewise.
3197 * include/mbctype.h: Likewise.
3198 * include/mbstring.h: Likewise.
3199 * include/process.h: Likewise.
3200 * include/setjmp.h: Likewise.
3201 * include/signal.h: Likewise.
3202 * include/stdio.h: Likewise.
3203 * include/stdlib.h: Likewise.
3204 * include/string.h: Likewise.
3205 * include/time.h: Likewise.
3206 * include/wchar.h: Likewise.
3207 * include/wctype.h: Likewise.
3208 * include/sys/stat.h: Likewise.
3209 * include/sys/timeb.h: Likewise.
3210 * include/sys/utime.h: Likewise.
3212 * include/ctype.h: Guard ctype inlines with __NO_INLINE__.
3213 * include/wctype.h: Guard wctype inlines with __NO_INLINE__.
3215 * include/stdio.h (__VALIST): Guard against prior definition.
3217 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3219 * include/_mingw.h: Change version to 3.0
3220 * Makefile.in: Ditto.
3222 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3224 * include/stdlib.h: Make words after #endif a comment.
3226 2003-02-07 Danny Smith <dannysmith@users.sourceforge.net>
3228 * include/locale.h: Include stddef.h for definition of NULL.
3230 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3232 * include/math.h (tgamma): Correct typo in comment.
3234 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3236 * mingwex/mingw-fseek.c (INLINE): Remove define.
3237 (__mingw_is_win9x): Remove static inline function.
3238 (_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
3240 2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
3242 * mingwex/math/llround.c: Correct function name and
3243 change return value to long long.
3245 2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
3247 * include/ctype.h (__isascii): Don't cast arg to unsigned.
3248 (iswascii): Likewise. Correct mask.
3249 * include/wctype.h (iswascii): Don't cast arg to unsigned.
3252 2003-01-03 Danny Smith <dannysmith@users.sourceforge.net>
3254 * include/stdlib.h (_osver, _winver, _winmajor,
3255 _winminor): Declare as direct imports from dll if
3256 __DECLSPEC_SUPPORTED.
3258 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
3260 * pseudo-reloc.c (do_pseudo_reloc): Make static.
3261 * pseudo-reloc-list.c: New file.
3262 * crt1.c (_pei386_runtime_relocator): Declare.
3263 (__mingw_CRTStartup): Call it.
3264 * dllcrt1.c (_pei386_runtime_relocator): Declare.
3265 (DllMainCRTStartup): Call it.
3266 * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to
3269 2003-01-01 Egor Duda <deo@logos-m.ru>
3271 * pseudo-reloc.c: New file.
3273 2002-12-20 Earnie Boyd <earnie@users.sf.net>
3275 * include/_mingw.h: Increment version to 2.4.
3278 2002-12-12 Earnie Boyd <earnie@users.sf.net>
3280 * include/malloc.h (_alloca): Add definition.
3283 2002-12-08 Danny Smith <dannysmith@users.sourceforge.net>
3285 * mingwex/math/s_erf.c: New file.
3286 * mingwex/math/sf_erf.c: New file.
3287 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3288 (MATH_OBJS): Add new objects.
3289 * include/math.h (erf[f]): Add prototypes.
3290 (erfc[f]): Add prototypes.
3292 2002-12-07 Danny Smith <dannysmith@users.sourceforge.net>
3294 * include/math.h: Add traditional/XOPEN math constants.
3296 2002-11-27 Danny Smith <dannysmith@users.sourceforge.net>
3298 * mingwex/math/lgamma.c: New file.
3299 * mingwex/math/lgammaf.c: New file.
3300 * mingwex/math/lgammal.c: New file.
3301 * mingwex/math/tgamma.c: New file.
3302 * mingwex/math/tgammaf.c: New file.
3303 * mingwex/math/tgammal.c: New file.
3304 * mingwex/math/cephes_mconf (polevlf): Add float version.
3306 Define _CEPHES_USE_ERRNO.
3307 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3308 (MATH_OBJS): Add new objects.
3309 * include/math.h (lgamma[fl]): Add prototypes.
3310 (tgamma[fl]): Add prototypes.
3312 2002-11-26 Danny Smith <dannysmith@users.sourceforge.net>
3314 * mingwex/strtold.c: New file.
3315 * mingwex/wcstold.c: New file.
3316 * mingwex/ldtoa.c: New file.
3317 * mingwex/math/cephes_emath.h: New file.
3318 * mingwex/math/cephes_emath.c: New file.
3319 * mingwex/Makefile.in (DISTFILES): Add new files.
3320 (MATH_DISTFILES): Ditto.
3321 (STDLIB_OBJS): New. Define as strtold.c wcstold.c.
3322 (MATH_OBJS): Add cephes_emath.o.
3323 (LIB_OBJS): Add $(STDLIB_OBJS).
3324 * include/stdlib.h (strtold, wcstold): Add prototypes.
3325 * include/wchar.h (wcstold): Add prototype.
3327 2002-11-09 Danny Smith <dannysmith@users.sourceforge.net>
3329 * include/math.h (sqrt): Remove inline definition.
3330 (sqrtf): Replace inline definition with prototype.
3332 * mingwex/math/sqrtf.c (sqrtf): Set domain error if
3333 argument less than zero.
3334 * mingwex/math/sqrtf.c (sqrtl): Likewise.
3336 2002-10-30 Guido Serassio <serassio@libero.it>
3338 * include/stdio.h (_getmaxstdio): Add prototype.
3339 (_setmaxstdio): Likewise.
3341 2002-10-19 Kang Li <rubylith@users.sourceforge.net>
3343 * include/fcntl.h (O_SEQUENTIAL): Correct typo.
3345 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3347 * crt1.c: Define new macro __IN_MINGW_RUNTIME before including
3349 Define WIN32_MEAN_AND_LEAN before including windows.h
3350 * include/stdlib.h (_fmode): Protect declaration as dllimported
3351 variable with __IN_MINGW_RUNTIME.
3353 2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu>
3355 * crt1.c: Include stdlib.h.
3357 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3359 * Makefile.in (CRT0S): Add txtmode.o binmode.o.
3360 (MINGW_OBJS): Add txtmode.o.
3361 (SRCDIST_FILES): Add txtmode.c binmode.c.
3362 crt1.c: Don't include fcntrl.h, stdlib.h.
3363 (_fmode): Declare, without dllimport attribute.
3364 (__p__fmode): Declare access function for dll's _fmode.
3365 (_mingw32_init_fmode): Sync dll _fmode with staticly linked
3367 * txtmode.c: New file.
3368 * binmode.c: New file.
3369 * samples/fmode/test2.c: New file.
3370 * samples/fmode/jamfile: Add test2.exe target.
3372 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3374 * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
3375 macros work with C89.
3376 (INTMAX_C, UINTMAX_C): Likewise.
3378 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3380 * include/string.h (strcasecmp): Make extern __inline__.
3381 (strncasecmp): Likewise.
3382 (wcscmpi): Likewise.
3384 2002-10-08 Heiko Gerdau <hg@technosis.de>
3386 * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
3387 _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
3390 2002-10-07 Danny Smith <dannysmith@users.sourceforge.net>
3392 * mingwex/math/powil.c: Rename powil to __powil.
3393 * mingwex/math/powl.c: Adjust declaration and call
3394 to __powil. Remove comment on powil.
3395 * mingwex/math/powi.c: New file.
3396 * mingwex/math/powif.c: New file.
3397 * mingwex/math/pow.c: New file.
3398 * mingwex/math/cephes_mconf.h. Add double and float
3399 versions of constants.
3400 (polevl): Add double precision function.
3402 * mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
3404 (MATH_OBJS): Add pow.o, powi.o, powif.o.
3406 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3408 * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
3409 (_imp____mbcur_max_dll): Likewise.
3411 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3413 * include/fcntl.h (_fmode): Remove declarations and
3414 compatibility defines.
3415 (_setmode, setmode): Remove prototypes.
3416 * include/stdlib (_fmode): Add declarations and
3417 compatibility defines. Change type to int.
3418 * include/io.h (_setmode, setmode): Add prototypes.
3419 * samples/fmode/all.c: Adjust includes.
3420 * samples/fmode/test.c: Likewise.
3421 * crt1.c (_CRT_fmode): Declare as int.
3422 * CRTfmode.c (_CRT_fmode): Likewise.
3424 * include/stdlib: Remove comment about MB_CUR_MAX.
3426 2002-10-02 Danny Smith <dannysmith@users.sourceforge.net>
3428 * include/stdlib.h (_imp____mbcur_max): Add missing ';'.
3429 (_imp____mbcur_max_dll): Likewise.
3431 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3433 * mingwex/math/files.txt: Remove inadvertantly added file.
3435 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3437 * include/string.h (_strerror): Move into #ifndef
3438 __STRICT_ANSI__ block.
3440 2002-09-17 Danny Smith <dannysmith@users.sourceforge.net>
3442 * include/time.h (__need_NULL): Define before including
3443 stddef.h. Thanks to: Rüdiger Dehmel <de@lmnet.de>.
3445 2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
3447 * include/stdio.h: Correct comment about directory separator.
3449 2002-09-12 Danny Smith <dannysmith@users.sourceforge.net>
3451 * include/sys/time.h (timeval): Add struct definition and
3452 associated macros (copied from w32api/include/winsock.h).
3454 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3456 * include/_mingw.h: Increment version to 2.3.
3459 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3461 * mingwex/fegetenv.c: Change to \n line endings.
3462 * mingwex/vsnprintf.c: Ditto.
3463 * mingwex/vsnwprintf.c: Ditto.
3465 2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
3467 * mingwex/math/hypotl.c: Replace with version based on cephes
3470 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3472 * include/sys/param.h: Add ENDIAN defines.
3473 * test_headers.c: Include sys/param.h.
3475 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3477 * test_headers.c: Don't include varargs.h.
3478 * Makefile.in (test_headers): Don't use -std=xx
3481 2002-08-21 Earnie Boyd <earnie@users.sf.net>
3483 * include/sys/param.h: New File.
3485 2002-08-21 Danny Smith <dannysmith@users.sourceforge.net>
3487 * include/math.h (asm): Change to __asm__ throughout.
3488 Expose ISO C99 functions if __GLIPCPP__.
3489 (hypotf): Use hypot, not _hypot in stub.
3491 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3493 * include/tchar.h: Ansi-fy another comment.
3495 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3497 * include/tchar.h: Ansi-fy comment.
3499 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3501 * test_headers.c : New file.
3502 * Makefile.in (test_headers): New target, using it,
3503 (SRCDIST_FILES): Distribute it.
3505 2002-08-20 Earnie Boyd <earnie@users.sf.net>
3507 * include/_mingw.h: Increment version to 2.2.
3510 2002-08-14 Earnie Boyd <earnie@users.sf.net>
3512 * include/unistd.h: Add include of process.h.
3514 2002-08-03 Danny Smith <dannysmith@users.sourceforge.net>
3516 * include/stdio.h (_fcloseall): Add prototype.
3518 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3520 * include/tchar.h (_tfdopen): Correct typo.
3522 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3524 * moldname.def.in (chgsign,scalb,finite,fpclass,logb,
3525 nextafter): Add non-underscored stubs.
3526 * moldname-msvcrt.def: Regenerate.
3527 * moldname-crtdll.def: Regenerate.
3528 * mingwex/math: New directory.
3529 * mingwex/rint.c: Move to mingwex/math.
3530 * mingwex/rintf.c: Ditto.
3531 * mingwex/rintl.c: Ditto.
3532 * mingwex/round.c: Ditto.
3533 * mingwex/roundf.c: Ditto.
3534 * mingwex/roundl.c: Ditto.
3535 * mingwex/rint.c: Ditto.
3536 * mingwex/rintf.c: Ditto.
3537 * mingwex/rintl.c: Ditto.
3538 * mingwex/trunc.c: Ditto.
3539 * mingwex/truncf.c: Ditto.
3540 * mingwex/truncl.c: Ditto.
3541 * mingwex/signbit.c: Ditto.
3542 * mingwex/signbitf.c: Ditto.
3543 * mingwex/signbitl.c: Ditto.
3544 * mingwex/copysignl.S: Ditto.
3545 * mingwex/fdim.c: Ditto.
3546 * mingwex/fdimf.c: Ditto.
3547 * mingwex/fdiml.c: Ditto.
3548 * mingwex/fmin.c: Ditto.
3549 * mingwex/fminf.c: Ditto.
3550 * mingwex/fminl.c: Ditto.
3551 * mingwex/fmax.c: Ditto.
3552 * mingwex/fmaxf.c: Ditto.
3553 * mingwex/fmaxl.c: Ditto.
3554 * mingwex/fma.c: Ditto.
3555 * mingwex/fmaf.c: Ditto.
3556 * mingwex/fmal.c: Ditto.
3557 * mingwex/fpclassify.c: Ditto.
3558 * mingwex/fpclassifyl.c: Ditto.
3559 * mingwex/fpclassifyl.c: Ditto.
3560 * mingwex/isnan.c: Ditto.
3561 * mingwex/isnanf.c: Ditto.
3562 * mingwex/isnanl.c: Ditto.
3563 * mingwex/fucom.c: Ditto.
3564 * mingwex/fp_consts.c: Ditto. Split out float and long double
3566 * mingwex/math_stubs.c: Remove.
3567 * mingwex/log2.c: Remove. Replaced by math/log2.S
3568 * mingwex/log2f.c: Remove. Replaced by math/log2f.S
3569 * mingwex/log2l.c: Remove. Replaced by math/log2l.S
3570 * mingwex/math/acosf.c : New file.
3571 * mingwex/math/acosl.c: New file.
3572 * mingwex/math/asinf.c: New file.
3573 * mingwex/math/asinl.c: New file.
3574 * mingwex/math/atan2f.c: New file.
3575 * mingwex/math/atan2l.c: New file.
3576 * mingwex/math/atanf.c: New file.
3577 * mingwex/math/atanl.c: New file.
3578 * mingwex/math/cbrt.c: New file.
3579 * mingwex/math/cbrtf.c: New file.
3580 * mingwex/math/cbrtl.c: New file.
3581 * mingwex/math/ceilf.S: New file.
3582 * mingwex/math/ceill.S: New file.
3583 * mingwex/math/cephes_ld.h: New file.
3584 * mingwex/math/copysign.S: New file.
3585 * mingwex/math/copysignf.S: New file.
3586 * mingwex/math/cosf.S: New file.
3587 * mingwex/math/coshf.c: New file.
3588 * mingwex/math/coshl.c: New file.
3589 * mingwex/math/cosl.S: New file.
3590 * mingwex/math/exp2.S: New file.
3591 * mingwex/math/exp2f.S: New file.
3592 * mingwex/math/exp2l.S: New file.
3593 * mingwex/math/expf.c: New file.
3594 * mingwex/math/expl.c: New file.
3595 * mingwex/math/fabs.c: New file.
3596 * mingwex/math/fabsf.c: New file.
3597 * mingwex/math/fabsl.c: New file.
3598 * mingwex/math/floorf.S: New file.
3599 * mingwex/math/floorl.S: New file.
3600 * mingwex/math/fmodf.c: New file.
3601 * mingwex/math/fmodl.c: New file.
3602 * mingwex/math/fp_consts.h: Ditto.
3603 * mingwex/math/fp_constsf.c: Ditto.
3604 * mingwex/math/fp_constsl.c: Ditto.
3605 * mingwex/math/frexpf.c: New file.
3606 * mingwex/math/frexpl.S: New file.
3607 * mingwex/math/hypotf.c: New file.
3608 * mingwex/math/hypotl.c: New file.
3609 * mingwex/math/ilogb.S: New file.
3610 * mingwex/math/ilogbf.S: New file.
3611 * mingwex/math/ilogbl.S: New file.
3612 * mingwex/math/ldexpf.c: New file.
3613 * mingwex/math/ldexpl.c: New file.
3614 * mingwex/math/llrint.c: New file.
3615 * mingwex/math/llrintf.c: New file.
3616 * mingwex/math/llrintl.c: New file.
3617 * mingwex/math/llround.c: New file.
3618 * mingwex/math/llroundf.c: New file.
3619 * mingwex/math/llroundl.c: New file.
3620 * mingwex/math/log10f.S: New file.
3621 * mingwex/math/log10l.S: New file.
3622 * mingwex/math/log1p.S: New file.
3623 * mingwex/math/log1pf.S: New file.
3624 * mingwex/math/log1pl.S: New file.
3625 * mingwex/math/log2.S: New file.
3626 * mingwex/math/log2f.S: New file.
3627 * mingwex/math/log2l.S: New file.
3628 * mingwex/math/logb.c: New file.
3629 * mingwex/math/logbf.c: New file.
3630 * mingwex/math/logbl.c: New file.
3631 * mingwex/math/logf.S: New file.
3632 * mingwex/math/logl.S: New file.
3633 * mingwex/math/lrint.c: New file.
3634 * mingwex/math/lrintf.c: New file.
3635 * mingwex/math/lrintl.c: New file.
3636 * mingwex/math/lround.c: New file.
3637 * mingwex/math/lroundf.c: New file.
3638 * mingwex/math/lroundl.c: New file.
3639 * mingwex/math/modff.c: New file.
3640 * mingwex/math/modfl.c: New file.
3641 * mingwex/math/nearbyint.S: New file.
3642 * mingwex/math/nearbyintf.S: New file.
3643 * mingwex/math/nearbyintl.S: New file.
3644 * mingwex/math/nextafterf.c: New file.
3645 * mingwex/math/powf.c: New file.
3646 * mingwex/math/powl.c: New file.
3647 * mingwex/math/powil.c: New file.
3648 * mingwex/math/remainder.S: New file.
3649 * mingwex/math/remainderf.S: New file.
3650 * mingwex/math/remainderl.S: New file.
3651 * mingwex/math/remquo.S: New file.
3652 * mingwex/math/remquof.S: New file.
3653 * mingwex/math/remquol.S: New file.
3654 * mingwex/math/scalbn.S: New file.
3655 * mingwex/math/scalbnf.S: New file.
3656 * mingwex/math/scalbnl.S: New file.
3657 * mingwex/math/sinf.S: New file.
3658 * mingwex/math/sinhf.c: New file.
3659 * mingwex/math/sinhl.c: New file.
3660 * mingwex/math/sinl.S: New file.
3661 * mingwex/math/sqrt.c: New file.
3662 * mingwex/math/sqrtf.c: New file.
3663 * mingwex/math/sqrtl.c: New file.
3664 * mingwex/math/tanf.S: New file.
3665 * mingwex/math/tanhf.c: New file.
3666 * mingwex/math/tanhl.c: New file.
3667 * mingwex/math/tanl.S: New file.
3668 * mingwex/Makefile.in: Adjust VPATH for source files in
3671 Add MATH_DISTFILES and use it to build source distro.
3672 * include/ math.h: Add protypes for new functions and
3673 reorganise to reflect ANSI,C99 status.
3675 2002-06-19 Danny Smith <dannysmith@users.sourceforge.net>
3677 * include/tchar.h (_getts): Define as _getws for _UNICODE.
3678 (_putts): Define as _putws for _UNICODE.
3679 Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report.
3681 2002-06-18 Danny Smith <dannysmith@users.sourceforge.net>
3683 * include/float.h: #include_next<float.h> before header guard.
3685 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
3687 * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
3689 * include/excpt.h (): Include windef.h not windows.h.
3690 * include/fcntl.h (_O_SHORT_LIVED): Add define.
3691 (_chmod): Add prototype.
3692 (_creat): Correct prototype.
3693 (SH_DENY*): Rename defines to _SH_DENY*.
3694 (SH_DENY*): Add Non-ANSI names for _SH_DENY*.
3695 include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
3696 _IOAPPEND): Add defines.
3697 (_wfindfirst): Correct prototype.
3698 (_wfdopen): Add prototype.
3699 * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
3701 * include/string.h (_mbschr, _mbstok, _mbsncat): Remove
3703 (_wcsdup): Correct prototype.
3704 * include/mbstring.h: Remove comments about _mbschr, _mbstok,
3705 _mbsncat being in string.h.
3706 * include/wchar.h (_wfindfirst): Correct prototype.
3707 * include/tchar.h (_tfdopen): Add _UNICODE mappings.
3709 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3711 * include/_mingw.h: Increment to version 2.1.
3712 * Makefile.in: Ditto.
3714 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3716 * Makefile.in (conf_prefix): New variable.
3717 (dist_prefix): Ditto. Conditionally set to $(conf_prefix).
3718 (bindist): Use dist_prefix.
3720 2002-06-13 Danny Smith <dannysmith@users.sourceforge.net>
3722 * include/_mingw.h: Increment version to 2.0.
3723 * Makefile.in: Ditto.
3725 Merge in mingwex branch.
3727 2002-06-11 Danny Smith <dannysmith@users.sourceforge.net>
3728 * include/math.h (fdim, fdimf, fdiml): Add prototypes.
3729 * mingwex/fdim.c: New file.
3730 * mingwex/fdimf.c: New file.
3731 * mingwex/fdiml.c: New file.
3732 * mingwex/Makefile.in (DISTFILES): Add fdim.c, fdimf.c,
3734 (MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
3736 2002-05-23 Danny Smith <dannysmith@users.sourceforge.net>
3737 * mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c.
3739 2002-05-22 Danny Smith <dannysmith@users.sourceforge.net>
3740 * mingwex/isnanl.c: New file.
3742 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3743 * include/stdint.h: Include stddef.h to get
3745 (WINT_MAX): Define to ((wint_t)-1).
3747 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3748 * include/wctype.h: Replace 'inline' with '__inline__'.
3749 * include/inttypes.h: Likewise.
3751 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3752 * include/_mingw.h (__MINGW_IMPORT): Put extern at start
3753 to avoid warnings. Thanks to: Oscar Fuentes <ofv@wanadoo.es>.
3755 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3756 * mingwex/snprintf.c: Split out vsnprintf to....
3757 * mingwex/vsnprintf.c: New file.
3758 * mingwex/snwprintf.c: Split out vsnwprintf to...
3759 * mingwex/vsnwprintf.c: New file.
3760 * mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
3762 2002-05-15 Pascal Obry <obry@gnat.com>
3763 * include/dirent.h (DIR): Change dd_stat type to int.
3766 2002-05-07 Danny Smith <dannysmith@users.sourceforge.net>
3767 * include/stdio.h (vsnprintf): Change inline to __inline__;
3768 (vsnwprintf): Likewise.
3769 * include/wchar.h (vsnwprintf): Likewise.
3772 (mbsinit): Likewise.
3774 2002-04-29 Danny Smith <dannysmith@users.sourceforge.net>
3775 Change FP default precison from 53 to 64-bit mantissa.
3776 * Makefile.in (CRT0S): Add CRT_fp8.o.
3777 (MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o.
3778 * include/float.h: Replace standard float.h defines with
3779 #include_next<float.h> to use GCC's defines. Adjust comments
3782 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3783 * include/dos.h: Change prefix "__imp_" to "_imp__" for
3784 __GNUC__ without __DECLSPEC_SUPPORTED.
3785 * include/fnctl.h: Likewise.
3786 * include/math.h: Likewise.
3787 * include/stdio.h: Likewise.
3788 * include/stdlib.h: Likewise.
3789 * include/time.h: Likewise.
3790 * include/wctype.h: Likewise.
3791 * include/ctype.h: Likewise.
3793 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3794 Add atexit support for dlls.
3795 * crt1.c (atexit): Force thunk to _imp__atexit.
3796 (_onexit): Force thunk to _imp___onexit.
3797 * dllcrt1.c (DllMainCRTStartup): Initialise private atexit
3798 table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
3799 (__dll_exit): New function to run atexit-registered functions
3800 and flush output buffers on DLL_PROCESS_DETACH or failed
3802 (atexit): Force use of private atexit table via _dllonexit,
3803 (_onexit): New function. Force use of private atexit table via
3805 * msvcrt.def (atexit, _onexit): Add DATA keyword so that only
3806 _imp_<_symbol> is visible in import lib.
3807 * msvcrt20.def: Likewise.
3808 * msvcrt40.def: Likewise.
3809 * crtdll.def: Likewise.
3811 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3812 * include/fenv.h: Change header guard macro to _FENV_H_.
3813 (fenv_t, fexcept_t): Move into block protected by
3815 Cleanup some whitespace.
3816 * include/inttypes.h: Change header guard macro to
3819 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3820 * include/math.h (copysignl): Declare.
3821 * mingwex/Makefile.in (DISTFILES): Add copysignl.S.
3822 (MATHOBJS):Add copysignl.o.
3824 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3825 * include/math.h (__signbitl, __isnanl): Declare.
3827 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3828 * include/math.h (nanl, __fpcassifyl, fminl, fmaxl, rintl,
3829 roundl, truncl, fmal, log2l): Declare.
3830 Protect C99 declarations with _STDC_VERSION__ >= 199901L)
3831 || !defined __STRICT_ANSI__.
3832 * mingwex/fmax.c (fmax): Call __isnan, not _isnan.
3833 * mingwex/fmin.c (fmin): Likewise.
3834 * mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan.
3835 * mingwex/fminf.c (fminf): Likewise.
3836 * mingwex/fmaxl.c: New file.
3837 * mingwex/fminl.c: New file.
3838 * mingwex/fpclassify.c (__fpclassifyf): Split out to ...
3839 * mingwex/fpclassifyf.c: New file.
3840 * mingwex/fpclassifyl.c: New file.
3841 * mingwex/rint.c (rintf): Split out to...
3842 * mingwex/rintf.c: New file.
3843 * mingwex/rintl.c: New file.
3844 * mingwex/round.c (roundf): Split out to...
3845 * mingwex/roundf.c: New file.
3846 * mingwex/roundl.c: New file.
3847 * mingwex/trunc.c (truncf): Split out to...
3848 * mingwex/truncf.c: New file.
3849 * mingwex/truncl.c: New file.
3850 * mingwex/signbit.c (signbitf): Split out to...
3851 * mingwex/signbitf.c: New file.
3852 * mingwex/signbitl.c: New file.
3853 * mingwex/fmal.c: New file.
3854 * mingwex/copysignl.S: New file.
3855 * mingwex/log2l.c: New file.
3856 * mingwex/fp_consts.c: Add nanl definition.
3857 Comment out unused constants.
3858 * mingwex/Makefile.in (DISTFILES): Add fmaxl.c, fminl.c,
3859 fpclassifyf.c, fpclassifyl.c, rintf.c, rintl.c, roundf.c,
3860 roundl.c, truncf.c truncl.c, signbitf.c signbitl.c,
3862 (MATHOBJS): Add fmaxl.o, fminl.o, fpclassifyf.o,
3863 fpclassifyl.o, rintf.o, rintl.o, roundf.o, roundl.o,
3864 truncf.o truncl.o, signbitf.o signbitl.o, fmal.o,
3866 * mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo.
3868 2002-04-23 Danny Smith <dannysmith@users.sourceforge.net>
3869 Make wide char versions of opendir and friends.
3870 * include/dirent.h (_wdirent, _WDIR): Define wide versions of
3872 (_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
3873 _wseekdir): Add prototypes for wide versions of corresponding
3875 * include/tchar.h; Add _UNICODE mappings for dirent.h
3876 structures and functions.
3877 * mingwex/dirent.c: Make _UNICODE neutral.
3878 * mingwex/wdirent.c: New file to define _UNICODE before
3880 * mingwex/Makefile.in (DISTFILES): Add wdirent.c.
3881 (POSIX_OBJS): Add wdirent.o.
3882 (wdirent.o): Specify dependency on dirent.c as well as
3884 * samples/dirent/wtest.c: New file, wide version of test.c.
3886 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3887 * Makefile.in (INCLUDES): Add "-iwithprefixbefore include" to
3888 ensure gcc include dir is searched despite -nostdinc.
3889 * profile/Makefile.in (INCLUDES): Likewise.
3890 * mingwex/Makefile.in (INCLUDES): Likewise.
3891 * include/stdarg.h: Replace with stub that just guards the
3892 real gcc system header with #ifndef RC_INVOKED
3893 * include/varargs.h: Likewise.
3894 * include/stddef.h: Likewise.
3895 * include/stdio.h: Include stdarg.h after defining
3897 (__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
3898 Replace va_list with __VALIST throughout.
3900 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3901 * crt1.c: Revert changes of 2002-04-16. Use _fpreset again.
3902 * msvcrt.def (_fpreset): Mark as DATA so that only
3903 _imp___fpreset is exported.
3904 * msvcrt20.def (_fpreset): Likewise.
3905 * msvcrt40.def (_fpreset): Likewise.
3906 * crtdll.def (_fpreset): Likewise.
3907 * CRT_fp10.c (_fpreset): Overide library _fpreset with one
3909 (fpreset): Add alias.
3910 (__CRT_PC): Delete definition. _fpreset does it now.
3911 * CRT_fp8.c (_fpreset): Force use of library _imp___fpreset.
3912 (fpreset): Add alias.
3913 (__CRT_PC): Delete definition.
3914 * moldname.def.in: Comment out fpreset.
3915 * moldname-msvcrt.def: Regenerate.
3916 * moldname-crtdll.def: Regenerate.
3917 * include/fenv.h (FE_DFL_ENV): Define as (fenv_t*)0.
3918 * mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment
3919 with the _fpreset determined by startup CRT_fp object.
3921 2002-04-16 Danny Smith <dannysmith@users.sourceforge.net>
3922 * CRT_fp8.c: New file.
3923 * CRT_fp10.c: New file.
3924 * crt1.c (__CRT_PC) Declare.
3925 (__CRT_fesetenv): New static function, using _CRT_PC.
3926 (__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset.
3927 (_gnu_exception_handler): Likewise.
3928 * Makefile.in (CRT0S): Add CRT_fp10.o.
3929 (MINGW_OBJS): Add CRT_fp8.o.
3930 (SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c.
3931 Add CRT_fp8.o, CRT_fp10.o dependancies.
3932 * include/float.h (_fpreset): Expand comment.
3933 * include/fenv.h (FE_PC64_ENV): New define for Intel x87
3934 (extended precison) environmemt.
3935 (FE_PC53_ENV): New define for MSVCRT default environmemt.
3936 (FE_DFL_ENV): Define as FE_PC53_ENV.
3937 * mingwex/fesetenv.c: Use FE_PC53_ENV, FE_PC64_ENV to determine
3938 precision control for default environment.
3940 * include/math.h: Fix long comment line.
3941 * profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
3943 * profile/configure: Regenerate.
3945 2002-04-12 Danny Smith <dannysmith@users.sourceforge.net>
3946 * mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c.
3948 2002-04-10 Danny Smith <dannysmith@users.sourceforge.net>
3949 * mingwex/mingw-fseek.c: New file, based on Mumit Khan
3950 mingw-local patch to binutils.
3951 Sun Nov 7 04:27:07 1999 Mumit Khan <khan@xraylith.wisc.edu>
3952 (__mingw_fseek): New function to work around Win9x f/lseek bug.
3953 (__mingw_fwrite): Likewise.
3954 (__mingw_is_win9x): New helper function.
3955 * include/stdio.h (__USE_MINGW_FSEEK): New define,guarding...
3956 (__mingw_fseek): New prototype and define to replace fseek.
3957 (__mingw_fwrite): New prototype and define to replace fwrite.
3958 * mingwex/Makefile.in: Add mingw-fseek.o to libmingwex.a.
3959 * moldname-crtdll.def: Remove CR from end of line.
3960 * moldname-msvcrt.def: Ditto.
3962 2002-04-09 Danny Smith <dannysmith@users.sourceforge.net>
3963 * profile/configure.in (CRT0S): Configure name of gcrt?.o
3964 based on target, building gcrt0.o for cygwin -mno-cygwin.
3965 * profile/configure: Regenerate.
3966 * profile/Makefile.in (CRT0S): Use name from configure.
3967 (gcrt0.o): New rule.
3968 (ALL_CRT0S): New define, used to cleanup all gcrt?.o's.
3970 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3971 * include/math.h (_controlfp, _control87, _clearfp, _statusfp, _fpreset,
3972 _fpecode): Remove prototypes copied from float.h.
3973 (nan, nanf): Move into block protected against RC_INVOKED
3975 * include/stdlib.h (_Exit): Change from static inline to
3977 * mingwex/_Exit.c : New file.
3978 * mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
3980 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3981 Add libgmon.a and libmingwex.a for cygwin -mno-cygwin.
3982 * configure.in (SUBDIRS): Add profile and mingwex to cygwin target.
3983 (configdirs): Likewise.
3984 (LIBGMON_A): Define for cygwin target as well.
3985 * configure: Regenerate.
3986 * profile/configure.in (THREAD_DLL): Remove define.
3987 (LIBM_A): Remove define.
3988 (LIBGMON_A): Define for cygwin target as well.
3989 * profile/configure: Regenerate.
3990 * profile/makefile.in (install): Install to inst_libdir and
3992 * mingwex/makefile.in (CFLAGS): Move -fomit-frame-pointer to...
3993 (OPTFLAGS): New define.
3994 (ALL_CFLAGS): Add $(OPTFLAGS).
3995 (ALL_CXXFLAGS): Same.
3996 (.c.o:): Remove ALL_CXXFLAGS.
3998 2002-03-29 Danny Smith <dannysmith@users.sourceforge.net>
3999 * include/stdint.h: Add missing newline at eof.
4000 * include/stdio.h (snprintf): Add prototype.
4001 (vsnprintf): Add prototype and inline definition.
4002 (snwprintf): Add prototype.
4003 (vsnwprintf): Add prototype and inline definition.
4004 * include/wchar.h (snwprintf): Add prototype.
4005 (vsnwprintf): Add prototype and inline definition.
4006 * mingwex/Makefile.in: Add snprintf.o, snwprintf.o
4008 * mingwex/snprintf.c: New file.
4009 * mingwex/snwprintf.c: New file.
4011 2002-03-22 Danny Smith <dannysmith@users.sourceforge.net>
4012 * configure.in: Add mingwex as SUBDIRS and configdirs.
4013 * configure: Regenerate.
4014 * Makefile.in (MINGW_OBJS): Remove dirent.o.
4015 (SRC_DIST_FILES): Remove dirent.c.
4017 * include/stdlib.h (_Exit): Add static inline
4019 (struct lldiv_t): Define.
4020 (lldiv): Add prototype.
4021 (llabs): Add extern inline function.
4022 (strtoll,strtoull): Add prototypes.
4023 (wcstol, wcstoul, wcstod): Group together.
4024 (strtof, wcstof): Add extern inline definitions.
4025 (atoll,lltoa,ulltoa, wtoll, lltow ulltow): Add prototypes
4026 and extern inline definitions.
4027 * include/wchar.h (fwide, wcstoll,wcstoull, wmemchr
4028 wmemcmp, wmemcpy, wmemmove, wmemset. mbsinit): Add
4030 (wcstol, wcstoul,wcstod): Copy prototypes from stdlib.h.
4031 (wcstof): Add extern inline definition.
4032 * include/math.h (nan, nanf): Add prototypes.
4033 (NAN, INFINITE): Define constants.
4034 (fpclassify, isnan ,signbit): Add macros and supporting float
4035 and double functions.
4036 (isfinite, isinf, isnormal): Add macros.
4037 (isgreater, isless, isgreaterequal, islessequal,islessgreater):
4039 (rint, rintf, round, roundf, trunc. truncf, fmax, fmaxf,
4040 fmin, fminf, fma, fmaf, log2, log2f): Add prototypes.
4041 (copysign, logb, nextafter, scalb): Add prototypes and
4042 inline stubs for underscored versions in msvcrt.dll.
4043 * include/inttypes.h: New file.
4044 * include/fenv.h: New file
4046 Add new mingwex subdir and files.
4047 * mingwex: New directory.
4048 * mingwex/Makefile.in: New file.
4049 * mingwex/configure.in: New file.
4050 * mingwex/configure: Generate.
4051 * mingwex/dirent.c: Moved here from parent dir.
4052 * mingwex/atoll.c: New file.
4053 * mingwex/feclearexcept.c: New file.
4054 * mingwex/fegetenv.c: New file.
4055 * mingwex/fegetexceptflag.c: New file.
4056 * mingwex/fegetround.c: New file.
4057 * mingwex/feholdexcept.c: New file.
4058 * mingwex/feraiseexcept.c: New file.
4059 * mingwex/fesetenv.c: New file.
4060 * mingwex/fesetexceptflag.c: New file.
4061 * mingwex/fesetround.o: New file.
4062 * mingwex/fetestexcept.c: New file.
4063 * mingwex/feupdateenv.c: New file.
4064 * mingwex/fma.S: New file.
4065 * mingwex/fmaf.S: New file.
4066 * mingwex/fmax.c: New file.
4067 * mingwex/fmaxf.c: New file.
4068 * mingwex/fmin.c: New file.
4069 * mingwex/fminf.c: New file.
4070 * mingwex/fp_consts.c: New file.
4071 * mingwex/fpclassify.c: New file.
4072 * mingwex/fucom.c: New file.
4073 * mingwex/fwide.c: New file.
4074 * mingwex/imaxabs.c: New file.
4075 * mingwex/imaxdiv.c: New file.
4076 * mingwex/isnan.c: New file.
4077 * mingwex/isnanf.c: New file.
4078 * mingwex/lltoa.c: New file.
4079 * mingwex/lltow.c: New file.
4080 * mingwex/log2.c: New file.
4081 * mingwex/log2f.c: New file.
4082 * mingwex/math_stubs.c: New file.
4083 * mingwex/mbsinit.c: New file.
4084 * mingwex/rint.c: New file.
4085 * mingwex/round.c: New file.
4086 * mingwex/signbit.c: New file.
4087 * mingwex/sitest.c: New file.
4088 * mingwex/strtof.c: New file.
4089 * mingwex/strtoimax.c: New file.
4090 * mingwex/strtoumax.c: New file.
4091 * mingwex/testwmem.c: New file.
4092 * mingwex/trunc.c: New file.
4093 * mingwex/ulltoa.c: New file.
4094 * mingwex/ulltow.c: New file.
4095 * mingwex/wcstof.c: New file.
4096 * mingwex/wcstoimax.c: New file.
4097 * mingwex/wcstoumax.c: New file.
4098 * mingwex/wmemchr.c: New file.
4099 * mingwex/wmemcmp.c: New file.
4100 * mingwex/wmemcpy.c: New file.
4101 * mingwex/wmemmove.c: New file.
4102 * mingwex/wmemset.c: New file.
4103 * mingwex/wtoll.c: New file.
4105 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4107 * include/mbstring.h: New file.
4108 * include/mbctype.h: New file.
4110 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4112 * include/tchar.h (__TEXT): Make same as define in
4113 w32api/include/winnt.h.
4115 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4117 * include/tchar.h (_tputenv): Add UNICODE mappings.
4118 (_tsearchenv): Likewise.
4119 (_tmakepath): Likewise.
4120 (_tsplitpath): Likewise.
4121 (_tfullpath): Likewise.
4123 2002-04-18 Pascal Obry <obry@gnat.com>
4125 * dirent.c (opendir): Convert given pathname to
4128 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4130 * include/_mingw.h: Increment version.
4131 * Makefile.in: Ditto.
4133 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4135 * moldname-crtdll.def: Remove CR from end of line.
4136 * moldname-msvcrt.def: Ditto.
4137 * Makefile.in: Use bzip2 compression for Cygwin target.
4139 2002-04-04 Danny Smith <dannysmith@sourceforge.users.net>
4141 * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
4142 TLOSS, PLOSS): Move oldname defines back, following
4143 the underscored names.
4145 2002-03-29 Danny Smith <dannysmith@sourceforge.users.net>
4147 * include/stdio.h (_snwprintf): Correct spelling.
4148 (_vsnwprintf): Likewise.
4149 * include/wchar.h (_snwprintf): Correct spelling.
4150 (_vsnwprintf): Likewise.
4152 2002-03-26 Danny Smith <dannysmith@users.sourceforge.net>
4154 * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__).
4155 (wpopen): Add if !(__CRTDLL__).
4156 * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
4158 (moldname-crtdll.def rule): Likewise.
4159 * moldname-msvcrt.def: Regenerate.
4160 * moldname-crtdll.def: Regenerate.
4161 * include/stdio.h (wpopen):Use prototype, not a define.
4162 (_swnprintf): Add prototype.
4163 (_vswnprintf): Likewise.
4165 * include/wchar.h (_swnprintf): Add prototype.
4166 (_vswnprintf): Likewise.
4169 2002-01-28 Danny Smith <dannysmith@users.sourceforge.net>
4171 * include/malloc.h (_heapinfo): Correct structure definition.
4172 (_USEDENTRY,_FREEENTRY): Add defines.
4173 Add comment on platform support for _heap* functions.
4174 (_get_sbh_threshold): Add prototype.
4175 (_set_sbh_threshold): Likewise.
4176 (_expand): Likewise.
4178 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4180 * profile/profil.c: Update copyright info.
4181 * profile/profil.h: Likewise.
4182 * profile/gcrt0.c: Likewise.
4184 2002-01-25 Pascal Obry <obry@gnat.com>
4186 * profile/profil.h (PROFADDR): Cast idx to unsigned long long to
4188 * profile/gmon.c: Define bzero as memset if mingw32.
4189 (monstartup): Use it.
4191 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4193 * include/tchar.h (_TCHAR): Add missing ;.
4195 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4197 * include/tchar.h (_TCHAR): Add typedefs.
4199 2002-01-16 Danny Smith <dannysmith@users.sourceforge.net>
4201 * include/stdlib.h (_onexit_t): Add typedef.
4202 (_onexit): Add prototype.
4204 2002-01-12 Danny Smith <dannysmith@users.sourceforge.net>
4206 * msvcrt.def: Revert accidental change.
4207 * include/stdlib.h: Ditto.
4209 2001-12-07 Earnie Boyd <earnie@users.sf.net>
4211 * Makefile.in: Increment VERSION.
4212 * include/_mingw.h: Ditto.
4214 2001-12-05 Earnie Boyd <earnie@users.sf.net>
4216 * include/strings.h: New File.
4218 2001-12-02 Danny Smith <dannysmith@users.sourceforge.net>
4221 2001-06-21 Mumit Khan <khan@nanotech.wisc.edu>
4223 * include/math.h (_FPCLASS* ): Add defines from float.h.
4224 (IEEE recommended functions): Add declarations from float.h.
4225 * include/float.h (_FPCLASS* ): Protect against redefinition.
4227 2001-11-29 Wu Yongwei <adah@netstd.com>
4229 * include/_mingw.h,assert.h,conio.h,ctype.h,dir.h,direct.h
4230 dirent.h,dos.h,errno.h,excpt.h,fcntl.h,float.h,io.h,
4231 limits.h,locale.h,malloc.h,math.h,process.h,setjmp.h,
4232 share.h,signal.h,stdarg.h,stddef.h,stdint.h,stdio.h,
4233 stdlib.h,string.h,tchar.h,time.h,varargs.h,wchar.h,
4234 wctype.h,sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h:
4235 Correct spelling of "disclaimed" in comments.
4236 * include/excpt.h: Another spelling correction.
4238 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
4240 * include/errno.h: Fix "errno is not a prototype" warning.
4242 2001-11-07 Danny Smith <dannysmith@users.sourceforge.net>
4244 * include/ctype.h (tolower, toupper,_tolower,_toupper): Comment
4245 differences between ANSI and non-ANSI versions.
4246 (_ctype[],_pctype): Declare vars.
4247 (__ISCTYPE): New helper macro using _pctype.
4248 (is* ctype functions): Use __ISCTYPE to define inline versions.
4249 (_toupper, _tolower, __isascii, __toascii, __iscsym, __iscsymf):
4251 (isw* ctype functions): Inline definitions.
4252 * include/wctype.h (_ctype[],_pctype): Declare vars.
4253 (isw* ctype functions): Inline definitions.
4256 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4258 * include/float.h (_clearfp, _statusfp, _fpreset, fpreset,
4259 __fpecode): Use __STDC__ prototypes.
4262 2001-11-06 Thomas Pfaff <tpfaff@gmx.net>
4264 * mthr_stub.c (__mingwthr_remove_key_dtor) New.
4265 * mthr_init.c (DllMain) Run dtors if a process terminates.
4266 * mthr.c (__mingwthr_add_key_dtor) Removed.
4267 (___mingwthr_add_key_dtor) New.
4268 (___mingwthr_remove_key_dtor) New.
4269 (__mingwthr_run_key_dtors) Complete rewrite.
4270 (__mingwthr_remove_key_dtor) New.
4272 2001-11-05 Egor Duda <deo@logos-m.ru>
4274 * Makefile.in: Delete unused executable after creating base-files.
4276 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4278 * include/errno.h (_errno): Use __STDC__ prototype.
4279 Thanks to: Jim Barton.
4281 2001-11-04 "stefan" <stefan@lkcc.org>
4283 * include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names.
4285 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4287 * include/io.h (_commit): Add declaration.
4288 Thanks to: "stefan" <stefan@lkcc.org>
4290 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4292 * include/sys/stat.h: Make S_IS* macros safer.
4294 2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
4296 * include/stdlib.h (EXIT_FAILURE): Change value to 1.
4298 2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
4300 * include/stdlib.h (__p__environ, __p__wenviron): Use
4301 __STDC__ prototypes.
4303 2001-09-19 Earnie Boyd <earnie@SF.net>
4305 * Makefile.in: Remove the /usr from the install target.
4306 (VERSION): Increment.
4307 include/_mingw.h: Ditto.
4309 2001-09-17 Earnie Boyd <earnie@SF.net>
4311 * Makefile.in: Increment version.
4312 * include/_mingw.h: Ditto.
4314 2001-09-10 Earnie Boyd <earnie@SF.net>
4316 * dossh: Remove inadvertantly imported file.
4318 2001-09-10 Danny Smith <dannysmith@users.sourceforge.net>
4320 * dirent.c (opendir): Use GetFileAttributes rather than stat
4321 to determine if input arg is dir.
4323 2001-08-29 Danny Smith <dannysmith@users.sourceforge.net>
4325 * include/stdarg.h (va_list): Typedef as __builtin_va_list if
4327 * include/varargs.h (va_list): Ditto.
4328 * include/stdio.h (va_list): Ditto.
4330 2001-08-01 Danny Smith <dannysmith@users.sourceforge.net>
4332 * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
4333 * include/stdio.h (_IORW): Change constant to 0x0080.
4334 (TMP_MAX): Add new define.
4336 (_wP_tmpdir): Ditto.
4337 (L_tmpnam): Change constant to 16.
4339 2001-06-28 Danny Smith <dannysmith@users.sourceforge.net>
4341 * include/malloc.h: Fix non-ANSI comment after #endif.
4343 2001-06-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4345 * profile/configure.in: Make msvcrt.dll version default.
4346 * profile/makefile.in: Build both gcrt1.o and gcrt2.o.
4347 * provile/configure: Regenerate.
4349 2001-06-11 Mattia Barbon <mbarbon@dsi.unive.it>
4351 * include/stdio.h (swscanf): Make first arugument const.
4352 * include/wchar.h (swscanf): Ditto.
4353 * include/tchar.h (_tfopen): New _UNICODE define.
4355 (_tsetlocale): Ditto.
4357 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4359 * profile/Makefile.in (mkinstalldirs): Correct relative path.
4361 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4363 * include/_mingw.h: Change version to 1.0.
4366 2000-02-21 Earnie Boyd <earnie@users.sourceforge.net>
4368 * include/tchar.h: (__TEXT): Remove undef.
4372 Fri Feb 2 10:34:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
4374 * include/tchar.h: (__TEXT): Add private macro.
4375 (_TEXT): Modify definition to use __TEXT.
4377 This change allows the passing of a MACRO as an argument and have that
4378 MACRO resolved first.
4379 Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
4381 Wed Jan 31 17:12:51 2001 Earnie Boyd <earnie@users.sourceforge.net>
4383 * Makefile.in: Increment version to 0.5
4384 * include/_mingw.h: Increment minor version
4386 Tue Jan 30 13:01:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
4388 * include/assert.h: (assert): Remove ; from end of definition
4389 Thanks to: AJ Reins <tbisp@qwest.net>
4391 Tue Jan 30 07:31:22 2001 Earnie Boyd <earnie@users.sourceforge.net>
4393 * include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
4394 Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
4396 Mon Jan 29 14:03:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
4398 * time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
4400 Sun Jan 28 13:01:08 2001 Earnie Boyd <earnie@users.sourceforge.net>
4402 * include/wchar.h: The 2001.01.18 Change was incorrect. The functions
4403 are actually C functions. These functions are resolved via the
4404 -lmsvcp60 library and comments were placed in the header.
4406 2001-01-28 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4408 * include/stdlib.h (__p__pgmptr): add prototype.
4409 (__p__wpgmptr): likewise.
4410 (_pgmptr_dll): move declaration from dos.h.
4411 (_wpgmptr_dll): likewise.
4412 (_pgmptr): conditional define (MSVCT/CRTDLL).
4413 (_wpgmptr): likewise.
4414 * include/dos.h (_base*_dll variables): declare only for CRTDLL.
4415 (_os*_dll variables): likewise.
4416 (_pgmptr_dll): remove declaration and associated defines to stdlib.h.
4417 (_wpgmptr_dll): likewise.
4419 2001-01-22 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4421 * include/stdint.h: New file.
4423 Thu Jan 18 10:33:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
4425 * include/wchar.h: Protect prototypes only declared in the C++ STL
4426 from being declared unless __cplusplus is defined.
4428 Tue Jan 16 11:37:31 2001 Earnie Boyd <earnie@users.sourceforge.net>
4430 * include/stdlib.h: Apply Danny Smith patch 102730
4431 2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4432 (_wgetenv) Correction to return type.
4434 Tue Jan 16 09:41:41 2001 Earnie Boyd <earnie@users.sourceforge.net>
4436 * include/locale.h: Apply Danny Smith patch 101834
4437 2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4438 (LC_MIN) Add definition.
4440 (_wsetlocale) Add prototype.
4442 2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
4444 * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
4445 Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
4446 Create a libcoldname.a for the oldname library for CRTDLL.
4447 Restrict libmoldname.a for the oldname library for MSVCRT.
4448 * configure.in: eliminate setting RUNTIME and CRT_ID variables.
4449 Restructure the $target_os case logic.
4450 Always name the MinGW thread dll helper mingwm.
4451 Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
4452 * configure: regenerate.
4454 2000-11-22 Earnie Boyd <earnie_boyd@yahoo.com>
4456 * Makefile.in: Fix bindist target to distribute the correct files.
4457 Remove the use of SNAPSHOT variable and test SNAPDATE instead.
4458 Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
4460 2000-11-21 Earnie Boyd <earnie_boyd@yahoo.com>
4462 * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
4463 Add variables and targets to control binary and source distributions.
4464 Add variables and targets to control snapshot distribution.
4465 * profile/gmon.h: Add missing #endif for #ifndef.
4466 * profile/ChangeLog: Merge entries here and remove.
4467 * profile/Makefile.in: Add variables and targets to control
4471 * config.guess: ditto.
4472 * config.sub: ditto.
4473 * mkinstalldirs: ditto.
4474 * install-sh: ditto.
4475 * configure: regenerate.
4476 * profile/configure: ditto.
4478 2000-11-20 Earnie Boyd <earnie_boyd@yahoo.com>
4480 * Merge in changes from
4481 2000-10-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4482 * include/direct.h: add guard around MSVCRT-only prototytpes
4483 * include/io.h: add __int64 struct definitions and function prototypes;
4484 add guard for MSVCRT-only prototypes
4485 * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
4486 * include/stdio.h: add wchar function prototypes (__MSVCRT__);
4487 put wchar functions together to make sync with wchar.h easier
4488 * include/stdlib.h: add wide char functions (__MSVCRT__)
4489 * include/string.h: add string collation functions ( __MSVCRT__)
4490 * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
4491 * include/tchar.h: add macros and macro function definitions
4492 * include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
4493 enclose more functions in __MSVCRT__ guard;
4494 some oldname wide char function prototypes #if (0)'d
4495 * profile/gmon.h: add guard around BSD-ish typedefs
4497 Mon Nov 20 18:58:12 2000 Christopher Faylor <cgf@cygnus.com>
4499 * Makefile.in: Use a different variable name for subdirectory since the
4500 previous one was used by the top level make.
4502 Sun Nov 19 20:50:51 2000 Christopher Faylor <cgf@cygnus.com>
4504 * Makefile.in: Install mingw stuff in a subdirectory if building under
4507 Sat Jun 17 21:48:23 2000 Christopher Faylor <cgf@cygnus.com>
4509 * Makefile.in (subdirs): Eliminate for loop.
4511 Sat Jun 17 18:27:59 2000 Christopher Faylor <cgf@cygnus.com>
4513 * Makefile.in (subdirs): Previous change did not fix problem in
4516 Sat Jun 17 13:49:12 2000 Christopher Faylor <cgf@cygnus.com>
4518 * Makefile.in: Avoid installing dll if we're cross building and the
4519 cross-host system isn't a Windows system.
4520 * configure.in: Detect cross-hosting situation and set appropriate
4521 variables in Makefile.in.
4522 * configure: Regenerate.
4524 Wed Apr 19 13:10:54 2000 Christopher Faylor <cgf@cygnus.com>
4526 * configure.in: Change HEADER_SUBDIR to mingw32.
4527 * configure: Regenerate.
4529 Mon Apr 10 17:24:28 2000 Christopher Faylor <cgf@cygnus.com>
4531 * include/string.h: Use proper prototype for _strerror.
4533 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
4535 * Makefile.in (subdirs): Workaround for broken shells.
4537 2000-02-03 Mumit Khan <khan@xraylith.wisc.edu>
4539 * Snapshot 2000-02-03.
4541 * include/{assert.h, conio.h, ctype.h, direct.h, dirent.h, fcntl.h,
4542 float.h, io.h, locale.h, malloc.h, math.h, process.h, signal.h,
4543 stdio.h, stdlib.h, string.h, time.h, wctype.h, sys/stat.h,
4544 sys/timeb.h, sys/utime.h}: Remove parameter names to avoid namespace
4547 * Makefile.in (all): Build CRT0S first.
4548 (libmingwthrd.a): Remove thread support DLL from dependency.
4550 2000-01-21 Mumit Khan <khan@xraylith.wisc.edu>
4552 * Snapshot 2000-01-21.
4554 2000-01-20 Mumit Khan <khan@xraylith.wisc.edu>
4556 Merge in changes from Cygwin:
4557 * configure.in (HEADER_SUBDIRS): New variable. Substitute.
4558 (SUBDIRS): Likewise.
4559 * Makefile.in (HEADER_SUBDIRS): New variable.
4560 (install): Use to install Mingw headers to a subdirectory if building
4562 (DLL_CC_STUFF): Add DLL entry point.
4563 * configure: Regenerate.
4565 2000-01-19 Mumit Khan <khan@xraylith.wisc.edu>
4567 * include/stdio.h (fsetpos): Fix prototype.
4568 (fpos_t): Fix for MSVCRT.
4569 * include/float.h (fpreset): Add prototype.
4570 * include/limits.h: Define UINT_MAX, USHRT_MAX and ULONG_MAX with
4572 * include/time.h: Don't define tzname as a macro for CRTDLL, and
4573 export using libmoldname.a.
4574 * crtdll.def: Add DATA tags.
4575 * msvcrt.def: Likewise.
4576 * moldname.def.in: Likewise. Add fpreset. Export tzname for
4577 both MSVCRT and CRTDLL.
4578 * moldname-crtdll.def: Regenerate.
4579 * moldname-msvcrt.def: Regenerate.
4581 Tue Dec 21 02:22:14 1999 Mumit Khan <khan@xraylith.wisc.edu>
4583 * Snapshot 1999-12-21.
4585 * include/wctype.h: New file.
4586 * include/ctype.h (MB_CUR_MAX): Define.
4588 * include/stdlib.h (MB_CUR_MAX): Define.
4589 * include/wchar.h: Define stat, _stat structures here as well.
4590 * include/float.h: Add invalid subconditions (_SW) and floating
4591 point error (_FPE) macros.
4592 * include/time.h (_CLOCK_T): Rename macro to _CLOCK_T_DEFINED.
4593 (_TIME_T): Rename macro to _TIME_T_DEFINED.
4594 * include/sys/types.h: Likewise.
4596 Thu Nov 18 00:22:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4598 * profile/profil.c (profile_on): Set the profiler thread priority to
4599 be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
4600 * Snapshot 1999-11-18.
4602 Sun Nov 7 02:50:09 1999 Mumit Khan <khan@xraylith.wisc.edu>
4604 Released 1999-11-07.
4606 * Makefile.in (CRT0S): Add crtst.o.
4607 (install): Install in subdirs as well.
4608 * dirent.h (struct _stat): Rename from struct stat.
4609 * include/tchar.h: Add some new macros. Thanks to
4610 Eric Kohl <ekohl@abo.rhein-zeitung.de>.
4611 * profile/Makefile.in (install): Fix target.
4613 Thu Nov 4 14:32:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
4615 * Makefile.in: Add support for profile directory.
4616 * configure.in: Likewise.
4617 * configure: Regenerate.
4619 * profile: Imported profiling sources from winsup-19991026 snapshot.
4620 * profile/Makefile.in: New file.
4621 * profile/configure.in: New file.
4622 * profile/configure: Generate.
4623 * profile/gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
4624 * profile/gmon.h (u_char, u_short, u_int, u_long): Likewise.
4625 * profile/gmon.c (unistd.h): Include conditionally.
4626 (sys/param.h): Likewise.
4627 * profile/mcount.c (sys/param.h): Likewise.
4628 * profile/profil.c (profile_on): thread id is DWORD, not int.
4631 Wed Nov 3 16:26:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
4633 * include/stdlib.h: Add wide character version of argv/environ.
4635 * include/wchar.h: More wide character prototypes.
4636 * include/sys/stat.h: Likewise. Add struct stat as well as _stat.
4638 * dllcrt1.c (init.c): Don't include.
4639 (DllMainCRTStartup): Don't call _mingw32_init_mainargs().
4640 * Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists.
4642 Sat Oct 30 03:06:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4644 * moldname.def: Remove file.
4645 * moldname.def.in: And add this.
4646 * moldname-msvcrt.def: Generate from moldname.def.in.
4647 * moldname-crtdll.def: Likewise.
4649 * mthr.c: New file for -mthread (thread-safe C++ EH) support.
4650 * mthr_init.c: New file for -mthread (thread-safe C++ EH) support.
4651 * mthr_stub.c: New file for -mthread (thread-safe C++ EH) support.
4653 * Makefile.in: Update.
4654 * configure.in: Likewise. Also add *cygwin* target for building
4655 under Cygwin winsup.
4656 * configure: Regenerate.
4658 Fri Oct 1 11:10:30 1999 Mumit Khan <khan@xraylith.wisc.edu>
4660 * include/_mingw.h: Add version macros.
4661 * include/direct.h (_diskfree_t, getdiskfree, getdrives): Add.
4662 Also add wide character versions shared with wchar.h.
4663 * include/dos.h (_diskfree_t, getdiskfree, getdrives): Add.
4664 * include/io.h (sopen, _sopen): Fix prototype.
4665 Add wide character prototypes.
4666 * include/wchar.h: Likewise.
4667 * include/stdlib.h (beep, seterrormode, sleep): Remove non-
4668 underscored versions. Potential incompatibility.
4669 * include/time.h (daylight, timezone, tzname): Fix MSVCRT cases.
4670 Add wide character prototypes.
4671 * include/sys/timeb.h (struct _timeb): Don't use macro, but real
4674 Wed Aug 18 18:38:39 1999 Mumit Khan <khan@xraylith.wisc.edu>
4676 * configure.in (RUNTIME, CRT_ID): Add to differentiate between
4677 crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
4679 * configure: Rengerate.
4680 * Makefile.in (RUNTIME, CRT_ID): Use to generate the correct
4681 dll name and crt's. CRTDLL and MSVCRT are meant to created
4682 separately, so remove all the *-msvcrt* targets.
4683 (libmingwthr.a): New target. Dummy thread support archive.
4684 (LIBS): Add libmingwthr.a.
4685 (CRT0S): Use CRT_ID. Add crtmt.o.
4686 (MINGW_OBJS): Add crtst.o.
4687 * main.c (WinMain): Fix prototype.
4688 * crtmt.c: New file.
4689 * crtst.c: New file.
4691 * include/process.h (_beginthreadex): Fix prototype.
4692 * include/_mingw.h (__int64): Define for __GNUC__.
4693 * include/tchar.h (_ttol): Add macro.
4694 * include/stdlib.h (_wtoi, _wtol, _i64toa, _ui64toa, _atoi64,
4695 _i64tow, _ui64tow, _wtoi64): Add prototypes.
4697 Reported by Emanuele Aliberti <ea@iol.it>:
4698 * include/tchar.h (_ttoi): Add macro.
4700 Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
4701 * include/stdio.h (_snprintf): Add prototype.
4702 (_vsnprintf): Likewise.
4704 Sat Aug 7 18:00:00 1999 Mumit Khan <khan@xraylith.wisc.edu>
4706 Reported by Tor Lillqvist <tml@iki.fi>:
4707 * include/stdlib.h (__p___argv): Fix return type.
4709 Fri Jul 30 22:07:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
4712 * include/errno.h (errno): It's linked in from startup, not imported.
4713 * include/stdlib.h (errno): Likewise.
4714 * include/io.h: Guard against conflicting macros and prototypes in
4716 * include/stdlib.h: Likewise.
4717 * include/string.h: Likewise.
4718 * include/time.h: Likewise.
4720 Fri Jul 30 13:47:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
4722 * include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans.
4723 * include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT.
4724 * Makefile.in (INCLUDES): Remove old windows32 include directory.
4726 * crt1.c (_gnu_exception_handler): Fix prototype.
4727 (__mingw_CRTStartup): New function based on mainCRTStartup.
4728 (mainCRTStartup): Set the app type for MSVCRT and call
4730 (WinMainCRTStartup): Likewise.
4731 * init.c (_startupinfo): Define.
4732 (_getmainargs): Add 5th parameter.
4733 (_mingw32_init_mainargs): Use.
4735 * ALL *.c files: Reformat according to GNU coding style.
4737 Fri Jul 16 00:46:04 1999 Mumit Khan <khan@xraylith.wisc.edu>
4739 * Makefile.in (INCLUDES): Add w32api include directory.
4741 * include/_mingw.h: New file.
4742 * include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h,
4743 errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h,
4744 math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h,
4745 stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h,
4746 sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and
4747 use the macros __DECLSPEC_SUPPORTED and __MINGW_IMPORT.
4749 * include/stdlib.h (atexit): Fix prototype.
4751 Mon Jun 14 18:38:49 1999 Mumit Khan <khan@xraylith.wisc.edu>
4753 * include/stdio.h (_tempnam): Fix prototype.
4754 (tempnam): Likewise.
4755 * include/stdlib.h: Replace with GCC's version, and guard
4758 From Anders Norlander <anorland@hem2.passagen.se>:
4759 * include/stdlib.h (__argc): Declare.
4762 Mon Apr 5 13:49:17 1999 Mumit Khan <khan@xraylith.wisc.edu>
4764 * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
4766 * Makefile.in (_libm_dummy.o): New target.
4769 Tue Mar 16 18:15:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4771 * Released 1999-03-16 along with egcs-1.1.2.
4773 Wed Feb 17 17:15:56 1999 Mumit Khan <khan@xraylith.wisc.edu>
4775 * Makefile.in (LIBS): Add libm.a.
4776 (libm.a): Dummy libm.a.
4778 * Makefile.in: Update from winsup 1999-02-08 snapshot.
4779 Preserve local changes.
4780 (mkinstalldirs): In ../, not ../../.
4781 (INCLUDES): Point to local windows32api headers and use -nostdinc.
4783 (LIBS): Add libmoldname-msvc.a.
4784 (libmoldname-msvc.a): Add target.
4785 (distclean): Add target.
4787 Tue Feb 9 00:26:05 1999 Mumit Khan <khan@xraylith.wisc.edu>
4789 * include/dir.h: Reintroduce as an obsolescent header.
4790 * crt1.c (signal.h): Include.
4791 (_gnu_exception_handler): New function to properly handle win32
4792 asynchronous signals.
4793 (mainCRTStartup): Use.
4795 Sun Jan 3 23:52:25 1999 Mumit Khan <khan@xraylith.wisc.edu>
4797 * include/direct.h: Include io.h instead of dir.h
4798 * include/dirent.h: Likewise.
4799 * include/dos.h: Likewise.
4800 * include/stdio.h: Replace reference to dir.h with io.h.
4802 Thu Dec 31 16:04:55 1998 Mumit Khan <khan@xraylith.wisc.edu>
4804 * 1999-01-01 release bundled with egcs-1.1.1.
4806 * include/io.h: Incorporate dir.h.
4807 * include/dir.h: Remove.
4808 * include/signal.h: Move RC_INVOKED up a bit.
4810 Tue Dec 29 15:04:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
4812 * include/signal.h (sig_atomic_t): Define.
4814 * include/malloc.h: Import defs from deprecated alloc.h.
4815 * include/alloc.h: Remove.
4817 From "Daniel J. Rodriksson" <djr@dit.upm.es>:
4818 * include/sys/types.h (_dev_t): Should be unsigned int for MSVCRT.
4819 * include/sys/stat.h (struct stat): st_uid is of type short. Use
4820 _off_t instead of long for st_size.
4822 Thu Sep 10 22:28:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4824 * include/errno.h (sys_errlist, sys_nerr): Move from here ...
4825 * include/stdlib.h: Here.
4827 * include/netdb.h: Remove.
4828 * include/arpa/inet.h: Remove.
4829 * include/netinet/in.h: Remove.
4830 * include/sys/socket.h: Remove.
4832 Fri Sep 4 15:09:11 1998 Mumit Khan <khan@xraylith.wisc.edu>
4836 * include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h,
4837 sys/utime.h}: Protect stddef.h in RC_INVOKED macro.
4839 Thu Sep 3 10:43:29 1998 Mumit Khan <khan@xraylith.wisc.edu>
4841 * setjmp.h (_JBTYPE, _JBLEN): Define correctly.
4842 (jmpbuf): typedef using above.
4843 (setjmp, longjmp): Prototype using jmpbuf.
4845 Merge with Colin Peters' 980701 snapshot. I've ignored changes to
4846 obsolescent imported names, ie., from __imp__ to _imp___.
4848 Also ignored empty include/sys/param.h and incorrect
4849 include/sys/times.h.
4851 * CRTinit.c: New file.
4852 * include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef
4854 * include/io.h (umask): Fix prototype.
4855 * include/stdlib.h (OS constants): Replace with Colin's.
4856 * include/time.h (tzset, daylight, timezone): Replace with Colin's.
4857 * include/sys/state.h: Merge.
4859 Thu Sep 3 09:49:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
4861 * include/assert.h (assert): Lose the trailing semicolon.
4863 Thu Jul 30 21:18:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4865 * include/math.h (matherr): Declare.
4866 * include/stdio.h (fileno, _fileno): Declare.
4867 * include/stdlib.h (environ, _environ): Fix to use runtime DLL.
4870 * include/stdio.h (fdopen, _fdopen): Add const.
4871 (getw, putw): Declare.
4872 * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix.
4874 Sat Jun 13 18:19:41 1998 Mumit Khan <khan@xraylith.wisc.edu>
4876 * include/time.h (_timezone): Undefine.
4877 * include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
4879 * include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
4881 * include/stdlib.h (environ): Use DLL version.
4882 * init.c (environ): Undefine it before use.
4884 Sun Mar 22 19:59:30 1998 Mumit Khan <khan@xraylith.wisc.edu>
4886 * Update to 980309 snapshot from Colin Peters.
4888 * include/utime.h: remove
4889 * include/stdlib.h (__imp__osver_dll, __imp__winver_dll,
4890 __imp__winmajor_dll, __imp__winminor_dll): Apply Jan-Jaap's
4891 patches to define these.
4892 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4893 (_daylight, _timezone, _tzname, _tzset): Define.
4895 * include/netdb.h: Add from Colin's windows32api changes.
4896 * include/sys/socket.h: Likewise.
4897 * include/arpa/inet.h: Likewise.
4898 * include/netinet/in.h: Likewise.
4900 Wed Feb 4 14:16:44 1998 Mumit Khan <khan@xraylith.wisc.edu>
4902 * Update to 980128 snapshot from Colin Peters.
4904 Sat Dec 6 21:30:35 1997 Mumit Khan <khan@xraylith.wisc.edu>
4906 * configure.in (AC_INIT): Use dllmain.c instead of defunct
4908 * configure: Regenerate.
4910 Fri Dec 5 15:57:36 1997 Mumit Khan <khan@xraylith.wisc.edu>
4912 * Update to 971205 snapshot from Colin Peters. Lots of changes.
4913 Files renamed and include hierarchy loses directories named
4916 * include/dos.h: from Jan-Jaap.
4918 Thu Dec 4 21:48:13 1997 Mumit Khan <khan@xraylith.wisc.edu>
4920 Changes to conform to FSF tree.
4922 * crt1.c: Renamed from mcrt0.c.
4923 * dllcrt1.c: Renamed from dllcrt0.c.
4924 * Makefile.in: Update above. Also renamed libmoldnames.a to
4927 Mon Dec 1 16:51:30 1997 Mumit Khan <khan@xraylith.wisc.edu>
4929 * crtdll.def: Export all functions but the ones with funny names.
4930 * moldnames.def: Add fdopen since fileno is already there.
4931 * include/nonansi/dos.h: New file from Jan-Jaap.
4932 * include/errno.h: Add extern decl + various additions from JJ.
4933 * include/stdio.h: Likewise.
4934 * include/stdlib.h: Likewise.
4935 * include/nonansi/io.h: Likewise.
4936 * include/nonansi/process.h: Likewise.
4937 * include/sys/types.h: Likewise.
4939 Tue Nov 4 14:51:01 1997 Mumit Khan <khan@xraylith.wisc.edu>
4941 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4943 * include/stdlib.h (free): Fix prototype to return void, not void*.
4944 * include/nonansi/process.h: Add P_* and WAIT_* defs.
4946 * dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
4947 * mcrt0.c: Likewise.
4949 * Makefile.in (LIBS): Delete moldnames.dll from target libs.
4950 (libmoldnames.a): Add explicit rule to create it.
4952 Fri Aug 15 18:23:43 1997 Rob Savoye <rob@cygnus.com>
4954 New directory for the minimalist cygwin environment.
4956 * crtglob.c: New file. Turn on file globbing support.
4957 * crt_noglob.c: New file. Turn off file globbing support.
4958 * ctype_old.c: New file. Wrappers for functions that don't
4960 * dirent.c: New file. Directory routines readdir, opendir, closedir.
4961 * dllcrt0.c: New file. Initialization code to use crtdll.dll.
4962 * dllmain.c: New file. A stub DllMain function.
4963 * hugeval.c: New file. A gross hack to define HUGE_VAL.
4964 * init.c: New file. Common code to initialize standard file
4965 handles and command line arguments.
4966 * main.c: New file. A main for programs that only call WinMain.
4967 * mcrt0.c: New file. Default crt0 for mingw32.
4968 * oldnames.c: New File. Wrappers for functions that don't
4970 * string_old.c: New File.
4971 * include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h
4972 math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h
4973 string.h,tchar.h,time.h,wchar.h}: New header files for mingw.
4974 * include/sys/types.h: New header file for mingw.
4975 * include/nonansi/{alloc.h,conio.h,dir.h,direct.h,dirent.h
4976 fcntl.h,io.h,malloc.h,mem.h,memory.h,process.h,share.h,unistd.h
4977 utime.h,values.h,varargs.h}: New header files for mingw.
4978 * include/nonansi/sys/{fcntl.h,locking.h,stat.h,time.h
4979 timeb.h,unistd.h}: New header files for mingw.
4980 * Makefile.in,configure.in: Build and configure support.
4981 * configure: Generated from autoconf 2.12 with Cygnus patches.