1 2014-12-11 Keith Marshall <keithmarshall@users.sourceforge.net>
3 Another CRT_INLINE function implementation rationalization.
5 * include/inttypes.h (imaxabs): Specify as __LIBIMPL__; declare...
6 (llabs): ...this, to be implemented as its __LIBIMPL__ alias.
7 [__cplusplus] (_BEGIN_C_DECLS, _END_C_DECLS): Use these.
9 * Makefile.in (libimpl_sed_script): Handle ALIAS attribute.
10 (libmingwex.a): Delete obsolete dependency on...
11 (imaxabs.$OBJEXT): ...this.
13 * mingwex/imaxabs.c: File is now redundant; delete it.
15 2014-12-11 Keith Marshall <keithmarshall@users.sourceforge.net>
17 More rationalization of CRT_INLINE function implementations.
19 * include/stdio.h (fopen64): Add __JMPSTUP__ specification.
20 (ftello64): Add __LIBIMPL__ specification for extern implementation.
21 [__cplusplus] (_BEGIN_C_DECLS, _END_C_DECLS): Use these.
23 * mingwex/stdio/fopen64.c: File is now redundant; delete it.
24 * mingwex/stdio/ftell064.c: Likewise.
26 * Makefile.in (libmingwex.a): Delete obsolete dependencies on...
27 (fopen64.$OBJEXT, ftello64.$OBJEXT): ...these.
29 2014-12-11 Keith Marshall <keithmarshall@users.sourceforge.net>
31 Don't implicitly define _POSIX_C_SOURCE too early.
33 * include/_mingw.h (_POSIX_C_SOURCE): Delay implict definition.
34 (__USE_MINGW_ANSI_STDIO): This must be initialized first, to ensure
35 that it is not accidentally activated by implied _POSIX_C_SOURCE.
37 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
39 Correct complex arcsin computation per issue [#2245].
41 * mingwex/complex/casin_generic.c: New file; it replaces...
42 * mingwex/complex/casin.c: ...this; it is now obsolete; delete it.
43 * mingwex/complex/casinf.c mingwex/complex/casinl: Likewise.
45 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
47 Correct complex square root computation per issue [#2246].
49 * include/math.h (hypotf): Redirect __CRT_INLINE call to...
50 (_hypot): ...this MSVCRT.DLL exported function, so avoiding...
51 (hypot): ...this libmoldname.a indirection.
53 * mingwex/complex/csqrt_generic.c: New file; it replaces...
54 * mingwex/complex/csqrt.c: ...this; it is now obsolete; delete it.
55 * mingwex/complex/csqrtf.c mingwex/complex/csqrtl: Likewise.
57 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
59 Adjust header guards to resolve issue [#2244].
61 * include/_mingw.h (_POSIX_C_SOURCE): Define it implicitly...
62 [_GNU_SOURCE || _BSD_SOURCE || _POSIX_SOURCE || !__STRICT_ANSI__]:
63 ...when any of these prevail, or as appropriate to correspond with...
64 [_XOPEN_SOURCE]: ...this; set conformance level accordingly.
66 * include/math.h [_POSIX_C_SOURCE || defined _USE_MATH_DEFINES]
67 (M_E, M_LOG2E, M_LOG10E, M_LN2, M_LN10, M_PI, M_PI_2, M_PI_4, M_1_PI)
68 (M_2_PI, M_2_SQRTPI, M_SQRT2, M_SQRT1_2): Define them, irrespective...
69 [__STRICT_ANSI__]: ...of this; replace guard accordingly.
71 2014-12-01 Keith Marshall <keithmarshall@users.sourceforge.net>
73 Add implementation of mkstemp() and mkdtemp() functions.
75 * mingwex/cryptnam.c: New file; it implements...
76 (__mingw_crypto_tmpname): ...this helper function; it generates a
77 cryptographically secure sequence of characters, used as the random
78 component in temporary file and directory names.
80 * mingwex/mkstemp.c: New file; it implements...
81 (__mingw_mkstemp): ...this provider of mkstemp() functionality.
83 * mingwex/mkdtemp.c: New file; it implements...
84 (__mingw_mkdtemp): ...this provider of mkdtemp() functionality.
86 * include/stdlib.h (mkstemp): Declare protototye; provide an inline
87 function implementation, with LIBIMPL extern semantics, in terms of...
88 (__mingw_mkstemp): ...this; also declare prototype, and define...
89 (_MKSTEMP_INVOKE, _MKSTEMP_DEFAULT): ...these supporting constants.
90 (_MKSTEMP_SETMODE): New macro; define it, also providing...
91 (MKSTEMP_SETMODE) [!_NO_OLDNAMES]: ...this alias.
92 (mkdtemp): Declare prototype; provide inline implementation, with
93 JMPSTUB extern semantics, in terms of...
94 (__mingw_mkdtemp): ...this; declare prototype.
96 * Makefile.in (libmingwex.a): Add dependency rule, to include...
97 (mkstemp.$OBJEXT, mkdtemp.$OBJEXT, cryptname.$OBJEXT): ...these.
99 2014-11-30 Keith Marshall <keithmarshall@users.sourceforge.net>
101 More JMPSTUB rationalization of inline functions.
103 * include/stdlib.h (_Exit, atoll, lltoa, ulltoa, wtoll, lltow)
104 (ulltow): Add __JMPSTUB__ declarations; each is REMAPPED to its
105 appropriate MSVCRT.DLL equivalent entry point.
107 * mingwex/_Exit.c: File is now redundant; delete it.
108 * mingwex/atoll.c mingwex/lltoa.c mingwex/ulltoa: Likewise.
109 * mingwex/wtoll.c mingwex/lltow.c mingwex/ulltow: Likewise.
111 * Makefile.in (jmpstub_awk_script): Add support for...
112 [__JMPSTUB__((REMAPPED))]: ...this stub function attribute.
113 (libmingwex.a): Remove dependencies on deleted files, namely...
114 (_Exit.$OBJEXT, atoll.$OBJEXT, lltoa.$OBJEXT, ulltoa.$OBJEXT)
115 (wtoll.$OBJEXT, lltow.$OBJEXT, ulltow.$OBJEXT): ...these.
117 2014-11-29 Keith Marshall <keithmarshall@users.sourceforge.net>
119 Correct omission of complex conjugate functions from libmingwex.a
121 * include/complex.h (conj, conjf, conjl): Add LIBIMPL declarations.
122 (creal, crealf, creall): Likewise, for consistency of implementation.
123 (cimag, cimagf, cimagl, carg, cargf, cargl): Likewise.
125 * Makefile.in (libimpl_sed_script): Add processing for __CRT_INLINE
126 declarations; they should be interpreted analogously to __CRT_ALIAS.
127 (libmingwex.a): Remove object file references for functions which are
128 now declared as LIBIMPL, and sort the remainder in ASCII collating
129 order; deleted function references comprise the set consisting of...
130 (carg.$OBJEXT, cargf.$OBJEXT, cargl.$OBJEXT): ...these...
131 (creal.$OBJEXT, crealf.$OBJEXT, creall.$OBJEXT): ...these, and...
132 (cimag.$OBJEXT, cimagf.$OBJEXT, cimagl.$OBJEXT): ...these.
134 * mingwex/complex/carg.c: Replaced by LIBIMPL; delete it.
135 * mingwex/complex/cargf.c mingwex/complex/cargl.c: Likewise.
136 * mingwex/complex/creal.c mingwex/complex/cimag.c: Likewise.
137 * mingwex/complex/crealf.c mingwex/complex/cimagf.c: Likewise.
138 * mingwex/complex/creall.c mingwex/complex/cimagl.c: Likewise.
140 2014-11-24 Keith Marshall <keithmarshall@users.sourceforge.net>
142 Back-port improved asinh() implementation from 4.0-dev branch.
144 * mingwex/math/asinh_generic.c: New file; it replaces...
145 * mingwex/math/asinh.c mingwex/math/asinhf.c mingwex/math/asinhl.c:
146 ...all of these; delete them.
148 2014-11-18 Keith Marshall <keithmarshall@users.sourceforge.net>
150 Enable remake of lost LIBIMPL object files.
152 * Makefile.in (libimpl_remake): New macro; define it, and...
153 (%.libimpl.$OBJEXT) [%.libimpl exists]: ...use it in build rule.
155 2014-11-17 Keith Marshall <keithmarshall@users.sourceforge.net>
157 Implement more robust _get_output_format fallback handling.
159 * mingwex/ofmt.c: New file; it implements...
160 (__mingw_output_format_flag): ...backing store, used by...
161 (__mingw_get_output_format, __mingw_set_output_format): ...these
162 MSVCRT.DLL version agnostic wrappers/emulators for each of these...
163 (_get_output_format, _set_output_format): ...MSVCR80.DLL and later
164 version specific Microsoft APIs, which are also supported by some
165 later versions of MSVCRT.DLL, (excluding WinXP and earlier).
166 (__mingw_get_output_format_fallback): Implement; it is aliased to...
167 (__mingw_set_output_format_fallback): ...this; together they provide
168 the emulation support for the preceding pair of functions, when they
169 are not available within the run-time platform MSVCRT.DLL
170 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
171 Implement them; they wrap, and if necessary emulate...
172 (_get_printf_count_output, _set_printf_count_output): ...these.
173 (__mingw_get_printf_count_output_fallback): Implement; aliased to...
174 (__mingw_set_printf_count_output_fallback): ...this; together they are
175 required to support emulation of the preceding pair of functions, when
176 they are not available within the run-time platform MSVCRT.DLL
178 * include/stdio.h (_TWO_DIGIT_EXPONENT): Define it unconditionally.
179 (_THREE_DIGIT_EXPONENT): New manifest constant; define it orthogonally.
180 (__mingw_get_output_format, __mingw_set_output_format)
181 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
182 Unconditionally declare their prototypes, for subsequent inline use.
183 [_MSVCRT_VERSION__ < 0x800] (_get_output_format): Emulate it inline.
184 [_MSVCRT_VERSION__ < 0x800] (_set_output_format): Likewise.
185 [_MSVCRT_VERSION__ < 0x800] (_get_printf_count_output): Likewise.
186 [_MSVCRT_VERSION__ < 0x800] (_set_printf_count_output): Likewise.
187 (__USE_MINGW_PRINTF): New manifest constant; define it. It is a
188 counterpart to __USE_MINGW_ANSI_STDIO, which is guaranteed to always
189 represent a compilable token.
191 * mingwex/stdio/pformat.c (__pformat_exponent_digits): Do not require
192 _get_output_format; consult __mingw_output_format_flag directly.
194 * ofmt_stub.s: No longer required; delete it.
196 * Makefile.in (ofmt_stub.$OBJEXT): Delete reference.
197 (PFORMAT_CFLAGS) [__MSVCRT_VERSION__ = 0x800]: Remove requirement.
198 (varofmt.$OBJEXT, crtofmt.$OBJEXT, getofmt.$OBJEXT, setofmt.$OBJEXT)
199 (crtnfmt.$OBJEXT, getnfmt.$OBJEXT, setnfmt.$OBJEXT): Add build rule;
200 all are compiled from ofmt.c
202 2014-11-16 Keith Marshall <keithmarshall@users.sourceforge.net>
204 Do some more essential build tree clean up.
206 * Makefile.in (mostly-clean-local): Add *.libimpl; matching files get
207 in the way of a successful rebuild from clean.
209 2014-11-11 Keith Marshall <keithmarshall@users.sourceforge.net>
211 Implement wrappers for emulation of POSIX dlfcn API.
213 * include/dlfcn.h: New file; it declares the API.
214 * mingwex/dlfcn.c: New file; implement it, with access via...
215 (__mingw_dlfcn): ...this publicly addressable vector table.
217 * Makefile.in (dlfcn.$OBJEXT): Add build requisite.
218 (dlopen, dlsym, dlclose, dlerror): Build call stubs, using...
219 (__LIBIMPL__): ...this automatic interface generator; implement it.
220 (libstub_refnames): New macro; it is adapted from and replaces...
221 (jmpstub_refs): ...this; when it is then invoked twice to build...
222 (Makefile.stub): ...this, it handles both JMPSTUB and LIBIMPL.
223 (jmpstub_awk_script): Adapt it to work with 'libstub_refnames'.
224 (libimpl_awk_script): New inline script; it handles automated builds
225 of LIBIMPL interfaces, as 'jmpstub_awk_script' does for JMPSTUB.
226 (libimpl_sed_script): New inline script; it prepares intermediate C
227 source code for LIBIMPL interfaces, as required to satisfy these...
228 (%.libimpl, %.libimpl.$OBJEXT): ...new implicit build objectives.
229 (LIBIMPL_CFLAGS): New macro; define it.
231 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
233 Move libgen functions to __mingw_ pseudo-namespace.
235 * mingwex/dirname.c (dirname): Rename function, as implemented...
236 (__mingwex_dirname): ...to this.
238 * mingwex/basename.c (basename): Rename function, as implemented...
239 (__mingwex_basename): ...to this.
241 * include/libgen.h (__mingw_dirname, __mingw_basename): Declare
242 prototypes, matching and augmenting original declarations for...
243 (dirname, basename): ...these; reimplement as inline aliases, with
244 __JMPSTUB__ references to the renamed implementation entry points.
246 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
248 Implement new command line argument globbing strategy.
250 * include/_mingw.h: Backport feature defines from master...
251 (__CRT_GLOB_USE_MINGW__, __CRT_GLOB_USE_MSVCRT__): New manifest
252 constants; define them. They select the preferred globbing algorithm.
253 [_CRT_glob & __CRT_GLOB_USE_MINGW__] (__CRT_GLOB_USE_SINGLE_QUOTE__)
254 (__CRT_GLOB_BRACKET_GROUPS__, __CRT_GLOB_CASE_SENSITIVE__): New option
255 bit-map constants; define them. When added to __CRT_GLOB_USE_MINGW__,
256 they enable optional additional features supported by this algorithm.
257 (__CRT_GLOB_ESCAPE_CHAR__): New manifest constant; define it.
259 * CRTglob.c (_CRT_glob): Change default to __CRT_GLOB_USE_MINGW__.
261 * Makefile.in (libmingw32.a): Add setargv.$OBJEXT, furnished by...
262 * setargv.c: ...new file; it implements the initialization mechanism
263 for the __CRT_GLOB_USE_MINGW__ globbing algorithm, when invoked by...
264 (_setargv) [_CRT_glob & __CRT_GLOB_USE_MINGW__]: ...this new function;
265 it invokes the algorithm via an API similar to that described by MSDN,
266 while continuing to support our original _CRT_glob interpretation.
267 (_setargv) [! _CRT_glob & __CRT_GLOB_USE_MINGW__]: Invoke Microsoft
268 algorithm, via the MSDN-alike API, by calling back to...
270 * crt1.c (_mingw32_init_mainargs): ...this original function, now
271 relocated to here, as a publicly addressable function; formerly...
272 (__mingw_CRTStartup): ...called directly from here, we now redirect
273 the call through _setargv(), whence it may be called indirectly.
275 * init.c: Redundant file; delete it. It originally provided...
276 (_mingw32_init_mainargs): ...this, now relocated as noted above, with
277 original static attribute removed, to allow global addressing.
279 2014-11-07 Keith Marshall <keithmarshall@users.sourceforge.net>
281 Backport glob implementation from master to legacy.
283 * include/glob.h: New file; copy it from master branch.
284 (__mingw_glob, __mingw_globfree): Add __JMPSTUB__ aliases for...
285 (glob, globfree): ...each of these, respectively.
287 * mingwex/glob.c: New file; copy it from master:src/libcrt/misc.
288 (CRT_GLOB_HARD_ESCAPE) [ifndef __CRT_GLOB_ESCAPE_CHAR__]: Provide a
289 fallback definition; default value is ASCII DEL, a.k.a. RUBOUT, code.
290 (accept_glob_nocheck_match): New static function; it adds support for
291 avoidance of globbing on patterns with no globbing token, so avoiding
292 the case transliteration effect reported as MinGW-Bug #2106.
293 (glob_match): Use it.
295 * Makefile.in: Build glob.$OBJEXT; add it to libmingwex.a
297 2014-11-05 Keith Marshall <keithmarshall@users.sourceforge.net>
299 Implement conventionally named dirent function trampolines.
301 * mingwex/jmpstub.sx: New file; it implements a generic trampoline,
302 which redirects a conventionally named function call to its __mingw_
303 pseudo-namespace implementation.
305 * aclocal.m4 (MINGW_AC_PROG_COMPILE_SX): New macro; define it.
306 * configure.ac (MINGW_AC_PROG_COMPILE_SX): Use it; it identifies the
307 appropriate protocol for compiling *.sx files, (supported natively by
308 GCC >= v4.3, but older versions require `-x assembler-with-cpp').
310 * Makefile.in (COMPILE.sx): New implicit rule; GNU make does not
311 yet provide it, so we define it ourselves; deploy it for *.sx files.
312 (Makefile.stub): New sinclude file; create it dynamically, using...
313 (jmpstub_awk_script): ...this new inline script, which is based on...
314 (jmpstub_refs, jmpstub_prerequisites): ...these new macros, and...
315 (mingwex/jmpstub.sx): ...this new file; add vpath reference.
316 (mostlyclean-local): Remove Makefile.stub; do likewise...
317 (Makefile): ...when remaking this, to ensure that both will be
320 2014-11-03 Keith Marshall <keithmarshall@users.sourceforge.net>
322 Make dirent implementation namespace and time_t clean.
324 * include/_mingw.h (_EXTERN_C, _BEGIN_C_DECLS, _END_C_DECLS): New
325 macros; define them. They facilitate identification of symbols which
326 must be compiled with `extern "C"' binding, when compiling C++ code.
327 (__CRT_ALIAS): New macro; define it. It is intended to replace...
328 (_CRTALIAS): ...this, which is to be considered as deprecated.
329 (__JMPSTUB__, __LIBIMPL__): New macros; define them. They provide
330 __CRT_ALIAS build hints, while remaining transparent to GCC.
331 (UNICODE, _UNICODE) [user defined]: Define consistently.
333 * mingwex/dirent.c: Reimplement; (this is a back-port from the
334 4.0-dev branch, with additional ABI changes to improve stability).
335 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
336 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
337 Add `__mingw_' prefix to all publicly exposed symbol names.
338 (dirent_findfirst, dirent_findnext, dirent_findclose): New locally
339 implemented functions; they replace Microsoft's ambiguously defined
340 _findfirst, _findnext, and _findclose, so avoiding ABI instability
341 resulting from the ambiguous size of Microsoft's time_t.
343 * include/dirent.h (struct dirent, struct _wdirent): Redefine them,
344 removing unnecessary time_t and file size fields; (our replacements
345 for _findfirst, and _findnext do not require them to be present).
346 (DIR, _WDIR): Adjust typedefs; they are now opaque structs.
347 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
348 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
349 Adjust prototypes, making them inline aliases for public symbols which
350 are now qualified by the `__mingw_' prefix; add build hints to support
351 compilation of addressable stubs, with the original symbol names.
352 (DT_REG, DT_DIR, DT_UNKNOWN): New manifest constants; define them.
353 (DT_BLK, DT_CHR, DT_FIFO, DT_LNK, DT_SOCK): Likewise; (these are for
354 BSD compatibility, but are fundamentally unsupported on MS-Windows).
355 (_DIRENT_HAVE_D_TYPE, _DIRENT_HAVE_D_RECLEN, _DIRENT_HAVE_D_NAMLEN):
356 New macros; define them. (These show availability of optional fields
357 within the dirent struct, which client code may wish to access).
359 2014-10-31 Keith Marshall <keithmarshall@users.sourceforge.net>
361 Correct improper naming of assembly language source files.
363 * mingwex/math/*.S: Rename all files with this extension...
364 * mingwex/math/*.s: ...to this; (all are simple assembly language, and
365 not extended `assembler-with-cpp' as implied by the former extension);
366 adjust all internal `.file <name>' references accordingly.
368 * Makefile.in (vpath %.S): Adjust reference to locate files....
369 (vpath %.s): ...now renamed thus.
371 2014-10-29 Keith Marshall <keithmarshall@users.sourceforge.net>
373 Streamline the build system infrastructure.
375 * configure.ac: New file; it replaces...
376 * configure.in: ...this; (name is obsolete); delete it.
378 * aclocal.m4 Makefile.in: Substantially rewritten; avoid recursive
379 make invocations, when processing subdirectories, and add automatic
380 dependency tracking for all generated files.
382 * configure: Delete it; as a generated file, it doesn't belong in SCM.
384 * mingwex/Makefile.in: No longer required; delete it.
385 * profile/Makefile.in: Likewise.
387 * mkinstalldirs: Not required; delete it; (make should use `mkdir -p',
388 or fall back on `install-sh -d', per AC_PROG_MKDIR_P).
390 * jamfile: Delete it; it hasn't been updated in ages, is likely no
391 longer relevant, and I have no desire to maintain it.
393 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
395 * include/_mingw.h: Increment version to 3.20.
397 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
399 * tlsmthread.c: Update to reflect changes in tlssup.c.
400 * tlssup.c: code clean-up.
402 2011-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
404 * include/_mingw.h: Increment version to 3.19.
406 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
408 * include/float.h: Modify guard to accomodate CLang.
410 Thanks to Ruben Van Boxem for the report.
412 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
414 * tlssup.c: Remove mingwm10.dll fallback.
416 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
418 * include/sys/types.h (ssize_t): Defined as int as opposed to long.
420 Thanks to bvassche for the report.
422 2011-05-31 Keith Marshall <keithmarshall@users.sourceforge.net>
424 Correct checking for short option matches in getopt_long_only().
426 * mingwex/getopt.c (getopt_verify): New static inline function.
427 (getopt_parse) [getopt_mode_long_only]: Use it, to validate as a
428 possible short option match after failing to match, or ambiguously
429 matching as a long option.
431 2011-05-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
433 * include/stdlib.h (strtod): Declare as extern to resolve compilation issues.
435 Thanks to cgf for the report.
437 2011-05-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
439 * include/time.h (daylight, timezone, tzname): Rework guards to expose when
440 compiles with __STRICT_ANSI__.
442 Thanks to Felipe Contreras for the report.
444 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
446 * include/stdlib.h (strtod): Remove possible static declaration to resolve
449 Thanks to Tobias Burnus for the report.
451 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
453 * include/stdlib.h (_rotl, _lrotl, _rotr, _lrotr): Resolve conflict with gcc
454 by wrapping the functions in brackets.
456 Thanks to Kai Tietz for the report.
458 2011-05-22 A.B., Khalid <abkhd@users.sourceforge.net>
460 * Makefile.in: Add support for msvcr100.dll.
461 * msvcrt.def.in: Ditto.
463 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
465 * mingwex/mingw-fseek.c: The anonymous union feature for LARGE_INTEGER is
466 not always available, go the long way and use the explicit named union
467 members, which are also declared in winnt.h.
469 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
471 * mingwex/isblank.c: Fix typo in declaration.
473 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
475 * include/_mingw.h: Define GCC system_header only if PCC is not defined.
476 * include/stdlib.h: Fix a long-standing typo which prevented correct use of
477 the MB_CUR_MAX macro/variable when DECLSPEC is not supported and <stdlib.h>
478 is included before <ctype.h>.
480 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
482 * include/wchar.h: Include stdio.h to grab definition of FILENAME_MAX.
484 Thanks to Jim Bell for the report and Greg Chicares for the fix.
486 2011-01-07 Jacky Lai <crazyjacky@users.sourceforge.net>
488 Correct hexadecimal formatting of double and long double values.
490 * mingwex/stdio/pformat.c (__pformat_xdouble): Delete function.
491 (__pformat) [A format]: Cast double values to long double, and use...
492 (__pformat_xldouble): ...this instead, with corrected adjustment of
493 exponent and alignment of mantissa, when formatting subnormals.
495 2010-12-27 Ozkan Sezer <sezero@users.sourceforge.net>
497 * include/dirent.h (dd_handle): Define as intptr_t.
499 2010-11-08 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
501 * tlssup.c (__dyn_tls_init): Use an integer variable to iterate between
504 2010-08-17 Keith Marshall <keithmarshall@users.sourceforge.net>
506 * include/limits.h (PATH_MAX): Make it agree with Microsoft's
507 semantically identical MAX_PATH; correct value is 260.
509 2010-07-25 Keith Marshall <keithmarshall@users.sourceforge.net>
511 Accept that mingwrt headers are not guaranteed to precede GCC's in the
512 system include search path; (issue reported by Mark Brand).
514 * include/float.h: Add multiple inclusion guard around...
515 [! defined _FLOAT_H___]: ...include_next <float.h> for GCC's version,
516 only when this define does not indicate that it has already been seen;
517 update comments to document rationale; move it within the scope of...
518 [! defined _MINGW_FLOAT_H_]: ...this multiple inclusion guard, so that
519 GCC's float.h, after an appropriate complementary modification, need
520 not perform a further include path search when this implementation
521 specific extension has already been processed.
523 2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>
525 * include/io.h (_findfirst, _findnext, _findclose, _findfirst32,
526 _findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32,
527 _findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext,
528 _findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64,
529 _findnexti64): Correct definition.
531 2010-04-27 Danny Smith <dannysmith@users.sourceforge.net>
533 * mingwex/mb_wc_common.h (get_codepage): Revert change of 2006-09-19.
535 2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
537 * include/_mingw.h: Increment version to 3.18.
539 2010-03-02 Daniel Atallah <datallah@users.sourceforge.net>
541 * include/stdio.h: (_vscprintf, _vscwprintf)
542 * include/tchar.h: (_vsctprintf)
544 2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
546 Issue [2134161]: time64 functions and types for msvcrt >= 8.0
547 (initial implementation)
549 * new type: __time32_t
551 * new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
552 __stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
553 __wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t
555 * new functions: _ctime32, _difftime32, _difftime64, _findfirst32
556 _findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
557 _findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
558 _futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
559 _mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
560 _wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
561 _wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
562 _wstat32i64, _wstat64i32,_wutime32
564 * new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
565 ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
566 _fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
567 _stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
568 _wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime
570 2010-01-25 Kai Tietz <kai.tietz@onevision.com>
572 Implement TLS Callback.
574 * tlsmcrt.c: New file.
575 * tlsmthread.c: Ditto.
578 * Makefile.in: Include new files.
579 * crt1.c: Implement TLS Callback.
581 * mthr_stub.c: Remove.
583 2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
585 * include/_mingw.h: Increment version to 3.17.
587 2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
589 * mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa:
590 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
592 2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
594 * include/io.h (_open_osfhandle): Correct definition.
596 Thanks to Alexander Shaduri for the information.
598 2009-11-02 Charles Wilson <mingw@cwilson.fastmail.fm>
600 Final sync of pseudo-reloc.c with mingw64 and cygwin
601 * lib/pseudo-reloc.c (__report_error) [CYGWIN]: Correct size bug
602 regarding error messages.
604 2009-10-29 Charles Wilson <mingw@cwilson.fastmail.fm>
606 Honor DESTDIR for winsup/mingw and winsup/w32api.
607 Detect and report error if installation paths are win32
608 format, but DESTDIR is non-empty.
610 * Makefile.in (DESTDIR): Honor per convention.
611 (need-DESTDIR-compatibility): New macro; define it and a
613 (fail-DESTDIR-compatibility): New dependency goal.
614 (install-dirs): Require need-DESTDIR-compatibility.
615 * mingwex/Makefile.in (DESTDIR): Honor per convention.
616 (need-DESTDIR-compatibility): New macro; define it and a
618 (fail-DESTDIR-compatibility): New dependency goal.
619 (install): Require need-DESTDIR-compatibility.
620 * profile/Makefile.in: Ditto.
622 2009-10-25 Charles Wilson <mingw@cwilson.fastmail.fm>
624 Sync pseudo-reloc.c with mingw64
625 * psuedo-reloc.c: Remove unnecessary includes.
626 Forward declare _pei386_runtime_relocator.
627 Decorate _image_base__ symbol with macro for
628 mingw64 compatibility. Whitespace changes.
629 (__print_reloc_error): Renamed to...
630 (__report_error): This. "Returns" void, and
631 always aborts. Now used on all platforms.
632 (__write_memory): Remove special case error handling
633 for different platforms - always call __report_error.
634 (do_pseudo_reloc): Remove special case error handling
635 for different platforms - always call __report_error.
636 (_pei386_runtime_relocator): Decorate _image_base__
637 symbol with mingw64 compatibility macro.
639 2009-10-23 Charles Wilson <mingw@cwilson.fastmail.fm>
641 Sync pseudo-reloc.c with cygwin/lib/
642 * pseudo-reloc.c [CYGWIN]: Added comments throughout and various
643 whitespace fixes. Exploit cygwin_internal(CW_EXIT_PROCESS,...)
644 for fatal error handling that is consistent with cygwin process
645 life-cycle. Ensure state variable (in _pei386_runtime_relocator)
646 is unique to each address space, across fork().
647 [CYGWIN] (__print_reloc_error): New function for reporting
648 errors in a manner supported by cygwin at this early stage of
649 the process life-cycle.
650 [CYGWIN] (_pei386_runtime_relocator): Ensure relocations
651 performed only once for each address space, but are repeated
652 after fork() in the new address space.
653 [MINGW] (__write_memory): Ensure that b is always initialized
654 by call to VirtualQuery, even if -DNDEBUG.
656 2009-09-29 Keith Marshall <keithmarshall@users.sourceforge.net>
658 Make MinGW printf() "%p" format compatible with MSVCRT scanf().
659 (Based on MinGW-patch 2844514 by Peter Rosin <peda@lysator.liu.se>)
661 * mingwex/stdio/pformat.c (__printf) [%p]: Do not arbitrarily apply...
662 (PFORMAT_HASHED): ...this formatting attribute; honour only user
663 specified format qualifiers, except in special case...
664 [%p && stream.flags == flags && state == PFORMAT_INIT]: Apply...
665 (PFORMAT_ZEROFILL): ...this default formatting attribute...
666 (stream.precision): ...filled to at least 2 * sizeof( uintptr_t )
669 2009-09-01 Keith Marshall <keithmarshall@users.sourceforge.net>
671 Avoid multiple link time definitions of _printf() for C++;
672 (problem reported by Alexander Shaduri, via MinGW-users ML).
674 * include/stdio.h [__USE_MINGW_ANSI_STDIO]:
675 (__mingw_stdio_redirect__) [__cplusplus]: remove `static' keyword.
677 2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
679 * include/_mingw.h: Increment version to 3.16.
681 2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>
683 * include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit,
684 __signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf,
685 __fp_unordered_compare): Add prototypes.
686 * include/stdio.h (vsnwprintf): Add prototype.
687 * include/wchar.h (vsnwprintf): Add prototype.
688 * include/stdlib.h (_Exit): Protect inline definition with !__STRICT_ANSI__.
689 * include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard.
691 2009-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
693 Correct disposition of wchar_t output in printf().
695 * mingwex/stdio/pformat.c (__pformat) [%C]: Create new instance of...
696 (argval): ...this, in inner scope, with singular type `wchar_t'; use
697 it to pass one wchar to __pformat_wputchars(), for output.
699 2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
701 * mingwex/stdio/pformat.c: Implement better fix for type punned warning.
703 2009-07-27 Keith Marshall <keithmarshall@users.sourceforge.net>
705 Convert to monolithic configuration procedure.
707 * configure.in (AC_CHECK_TOOL): All instances; tabulate arguments.
708 (AC_SUBST): Use its 2nd argument to initialise MinGW default settings.
709 (PACKAGE_TARNAME) [target_os ~ cygwin]: Redefine it as appropriate.
710 (W32API_INCLUDE): Redefine; make it relative to `top_srcdir'.
711 (CRT0S): Relocate from `profile'; define it as appropriate.
712 (LIBM_A): Define and AC_SUBST it unconditionally.
713 (AC_CONFIG_SUBDIRS): Remove; none to configure.
714 (AC_OUTPUT_FILES): Add `Makefile' for each of...
715 (mingwex, profile): ...these subdirectories.
717 * configure: Regenerated.
719 * Makefile.in (PACKAGE, host_os): Let AC_SUBST define them.
720 (top_srcdir, top_builddir): New macros; let AC_SUBST define them.
721 (datarootdir): New macro; autoconf > 2.59 wants AC_SUBST to define it.
722 (SUBDIRS): Define explicitly, to run recursive `make' in...
723 (mingwex, profile): ...these; simplify build commands...
724 (rootme, rootsrc): ...without these shell variables.
725 (all, subdirs): Delete redundant build commands.
726 (FIXME): Flag various issues for follow up.
728 * mingwex/Makefile.in (INCLUDES): Redefined macro; refer it to...
729 (top_srcdir): ...this new macro; let AC_SUBST define it.
730 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
731 (Makefile): Make it depend on...
732 (top_builddir/config.status): ...this, itself depending on...
733 (top_srcdir/configure): ...this.
734 (FIXME): Flag various issues for follow up.
736 * mingwex/aclocal.m4: File no longer required; delete it.
737 * mingwex/configure mingwex/configure.in: Likewise.
739 * profile/Makefile.in (INCLUDES): Redefined macro; refer it to...
740 (top_srcdir): ...this new macro; let AC_SUBST define it.
741 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
742 (Makefile): Make it depend on...
743 (top_builddir/config.status): ...this, itself depending on...
744 (top_srcdir/configure): ...this.
745 (FIXME): Flag various issues for follow up.
747 * profile/aclocal.m4: File no longer required; delete it.
748 * profile/configure profile/configure.in: Likewise.
750 2009-07-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
752 * msvcrt.def.in: disable time symbol for libmsvcr90.a and libmsvcr90d.a due
753 to complaints that it causes issues.
755 2009-07-23 Jacky Lai <crazyjacky@users.sourceforge.net>
757 * mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan().
759 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
761 * include/inttypes.h include/math.h include/stdio.h include/stdlib.h
762 include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard
763 to all inline functions.
765 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
767 * CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
770 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
772 * cpu_features.c: replace gcc-specific construct with portable alternative
773 and match the code a few lines above.
774 * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
776 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
778 * include/_mingw.h: Changes required for PCC compiler.
780 2009-07-18 Jeff Lu <jll544@yahoo.com>
782 * mingwex/usleep.c: round up to next ms
784 2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
786 * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
787 mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
788 mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
789 the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
791 2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
793 * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.
795 2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>
797 * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files.
798 * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c
799 mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c
800 mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h
801 mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h
802 mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c
803 mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c
804 mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c
805 mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c
806 mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org
807 sources as of Apr. 20, 2009. Update further to match the sources in
808 the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX
809 code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the
810 double/ulong union from U to dbl_union for better grepping and white-
813 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
815 * include/stdlib.h (_wtof): Define.
817 2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
819 * include/stdint.h (int_fast8_t): Specify as signed char.
820 (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
821 (INT32_C, UINT32_C): Remove 'L' type specifier on constant.
823 2009-03-05 Kai Tietz <kai.tietz@onevision.com>
825 * pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2.
827 2009-02-08 Keith Marshall <keithmarshall@users.sourceforge.net>
829 MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.
830 (Requested by Robert Riebisch)
832 * mingwex/getopt.c (getopt_parse): Track external increments of...
833 (optind): ...this global variable.
835 2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
837 * include/_mingw.h: Increment version to 3.15.2.
839 2009-01-04 Keith Marshall <keithmarshall@users.sourceforge.net>
841 Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
842 Also add tentative support for BSD specific `optreset' feature.
844 * include/getopt.h (optreset) [_BSD_SOURCE]: Define; map it to...
845 (__mingw_optreset): ...this new global variable.
847 * mingwex/getopt.c (__mingw_optreset): Instantiate it...
848 (getopt_parse) [optind < 1]: ...make it true; use it to reset argument
851 2008-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
853 Partial fix for MinGW-Bug [2457778]: (Reported by Sisyphus).
854 Correct mishandling of invalid characters in printf() format specs.
856 * mingwex/stdio/pformat.c (__pformat): Save `fmt' scan position in...
857 (backtrack): ...this new automatic variable, at start of each format
858 conversion specification substring; use it to backtrack, and print the
859 substring literally, if any invalid character is encountered.
861 2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
863 * msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
864 ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
865 ___unguarded_readlc_active_add_func, __crtCompareStringW,
866 __crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
867 __pwctype_func, __iob_func, __uncaught_exception, __wcserror,
868 __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
869 __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
870 __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
871 _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
872 _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
873 _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
874 _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
875 _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
876 _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
878 2008-12-08 Dmitry G. Gorbachev <d.g.gorbachev@gmail.com>
880 * cpu_features.c (__cpu_features_init): Remove erroneous ';'.
882 2008-10-28 Keith Marshall <keithmarshall@users.sourceforge.net>
884 Correct some binary distribution packaging defects.
886 * Makefile.in (bindist): Remove `make' conditionals; segregate into...
887 (bindist-common, bindist-mingwrt, bindist-mingw-runtime): ...these new
888 intermediate goals; they make packages of files, as specified by...
889 (BINDIST_FILES, DEVDIST_FILES, DLLDIST_FILES): ...these new macros.
890 (dist_prefix) [target_alias !~ cygwin]: Leave it undefined.
892 2008-10-18 Keith Marshall <keithmarshall@users.sourceforge.net>
894 Fix MinGW-Bug [2136252]: (Reported by Roumen Petrov).
895 Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5
897 * mingwex/stdio/pformat.c (__pformat_emit_float): Always make output
898 of radix point conditional on precision != 0 or `#' flag specified.
900 2008-10-13 Keith Marshall <keithmarshall@users.sourceforge.net>
902 Fix MinGW-Bug [2160227]
903 Eliminate conflicting declarations and implementations of scalb().
905 * moldname.def.in (scalb): Comment out of EXPORTS list.
906 * include/math.h (scalb): Comment out OLDNAMES prototype; it conflicts
907 with GCC's built-in declaration.
909 2008-10-12 Christopher Faylor <me+cygwin@cgf.cx>
911 * Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
913 * mingwex/Makefile.in: Ditto.
914 * profile/Makefile.in: Ditto.
915 * configure.in: Record mingw front-end for building under Cygwin.
916 * mingwex/configure.in: Ditto.
917 * profile/configure.in: Ditto.
918 * configure: Regenerate.
919 * mingwex/configure: Ditto.
920 * profile/configure: Ditto.
922 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
924 Use de-facto standard Makefile goals to invoke test suite.
926 * Makefile.in: Some minor formatting adjustments.
927 (test_headers): Unconventionally named goal renamed to...
928 (check-headers): ...this; make it a prerequisite of...
929 (check): ...this new conventionally named goal.
931 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
933 Make strtod() inline definition C89 compliant.
934 (Issue reported by Ilya Shestopalov and Ian Puleston)
935 (Correction identified by Danny Smith)
937 * include/stdlib.h (strtod): Declare as `__inline__', not `inline';
938 reformat inline function definition.
940 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
942 * include/_mingw.h: Increment version to 3.15.1 and introduce
943 __MINGW32_PATCHLEVEL variable.
945 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
947 Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
948 (Reported by Christian Franke)
950 * mingwex/getopt.c (optind): Make global variable value conform to
951 behaviour specified by POSIX; do not use it for internal state in...
952 (getopt_parse): ...this static function; use...
953 (optbase): ...this new static local variable instead.
954 (getopt_resolved): Update `optind' as required.
956 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
958 Improve package identification in configure script.
960 * configure.ac (AC_INIT): Redefine parameters...
961 (PACKAGE_NAME): Set to `MinGW Runtime'.
962 (PACKAGE_BUGREPORT): Set to `http://mingw.org/reporting_bugs'
963 (PACKAGE_TARNAME): Set to `mingwrt'.
964 (PACKAGE_VERSION): Set generically to `v3.x'; reassigned by...
965 (MINGW_AC_CONFIG_SRCDIR): ...this macro, which extracts...
966 (__MINGW32_VERSION): ...this, from file `include/_mingw.h'.
968 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): Do not redefine...
969 (PACKAGE_TARNAME): ...this.
971 * configure: Regenerated.
973 2008-09-25 Keith Marshall <keithmarshall@users.sourceforge.net>
975 Fix MinGW-Bug [2125708].
976 (Reported by Alexandr Zamaraev).
978 * include/stdlib.h (intptr_t) [!_INTPTR_T_DEFINED]: Unused typedef;
979 not wanted here; remove it; replace it by...
980 (uintptr_t) [!_UINTPTR_T_DEFINED]: ...this typedef; needed by...
981 (_invalid_parameter_handler): ...this function typedef.
983 2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
985 * Makefile.in: Don't include host_os as part of snapshot filename.
987 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
989 Fix MinGW-Bug [2119504].
990 (Reported by Peiyuan Song).
992 * mingwex/getopt.c (getopt_resolved): Do not overwrite...
993 (*retindex): ...this already correctly assigned return variable...
994 (opt[index].val): ...with this; this should have been assigned to...
995 (*opt[index].flag) [opt[index].flag != NULL]: ...this instead.
997 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
999 Fix MinGW-Bug [2117379].
1000 (Reported by Peiyuan Song).
1002 * include/stdio.h (__argv): Replace all references in function
1003 prototype argument lists and inline function local variables, with ...
1004 (__local_argv): ...this, to avoid potential conflict with ...
1005 * include/stdlib (__argv): ...this #defined macro.
1007 2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1009 * include/_mingw.h: Increment version to 3.15.
1011 2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1013 * Makefile.in: Adjust to new naming standard for MinGW while maintaining old
1014 naming standard for Cygwin.
1016 2008-08-31 Keith Marshall <keithmarshall@users.sourceforge.net>
1018 Reimplement getopt.c to add getopt_long_only() function.
1020 (N.B. this reimplementation removes support for BSD/Mac-OS-X
1021 `optreset' nonsense; user code should set `optind = 0' instead,
1022 to reinitialise option scanning).
1024 * mingwex/getopt.c: Delete all content; reimplement it.
1025 * include/getopt.h: Likewise.
1027 * include/unistd.h (__UNISTD_H_SOURCED__): New macro; define it.
1028 (__UNISTD_GETOPT__): This macro is no longer required; remove it.
1030 2008-08-30 Keith Marshall <keithmarshall@users.sourceforge.net>
1032 Implement conditional replacement for printf() family functions.
1034 * include/_mingw.h (__USE_MINGW_ANSI_STDIO): New macro; define it.
1035 (__MINGW_ANSI_STDIO__): New manifest constant; define as bitmapped
1036 flag for use in user specified __MINGW_FEATURES__ attribute.
1037 (__MINGW_LC_MESSAGES__, __MINGW_LC_ENVVARS__): New manifest constants;
1038 currently unused: reserved as components of...
1039 (__MINGW_LC_EXTENSIONS__): ...this new manifest constant; earmarked as
1040 a __MINGW_FEATURES__ enhancement to setlocale().
1042 * include/stdio.h (__mingw_printf, __mingw_vprintf): Prototype them.
1043 (__mingw_fprintf, __mingw_vfprintf): Likewise.
1044 (__mingw_sprintf, __mingw_vsprintf): Likewise.
1045 (__msvcrt_printf, __msvcrt_vprintf): Likewise.
1046 (__msvcrt_fprintf, __msvcrt_vfprintf): Likewise.
1047 (__msvcrt_sprintf, __msvcrt_vsprintf): Likewise.
1048 (printf, vprintf) [!__USE_MINGW_ANSI_STDIO]: Prototype for default
1049 usage; link to DLL import stub, importing from MSVCRT.
1050 (fprintf, vfprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
1051 (sprintf, vsprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
1052 (printf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_printf; use
1053 locally defined static stub implementation.
1054 (fprintf, sprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
1055 __mingw_fprintf and __mingw_sprintf respectively.
1056 (vprintf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_vprintf; use
1057 static inline implementation for C++ and GNU C, or locally defined
1058 static stub otherwise.
1059 (vfprintf, vsprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
1060 __mingw_vfprintf and __mingw_vsprintf respectively.
1062 2008-08-27 Keith Marshall <keithmarshall@users.sourceforge.net>
1064 Avoid access violations, passing NULL to printf( "...%s..." );
1065 (inconsistencency with MSVCRT and glibc, reported by Colin Harrison).
1067 * mingwex/stdio/pformat.c (__pformat_puts): Substitute "(null)"
1068 for argument value, if caller passes a NULL pointer.
1069 (__pformat_wcputs): Likewise, substitute L"(null)".
1071 2008-08-14 Keith Marshall <keithmarshall@users.sourceforge.net>
1073 Add missing dependencies for building libmingwex.a.
1075 * mingwex/Makefile.in (printf.o, fprintf.o, sprintf.o): Make them...
1076 (vprintf.o, vfprintf.o, vsprintf.o): ...and also these, depend on...
1077 (pformat.h): ...this.
1079 2008-08-11 Keith Marshall <keithmarshall@users.sourceforge.net>
1081 Add replacements for remaining members of printf() family.
1083 * mingwex/stdio/printf.c: New file.
1084 * mingwex/stdio/fprintf.c: New file.
1085 * mingwex/stdio/sprintf.c: New file.
1086 * mingwex/stdio/vprintf.c: New file.
1087 * mingwex/stdio/vfprintf.c: New file.
1088 * mingwex/stdio/vsprintf.c: New file.
1090 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
1091 (STDIO_OBJS): Add their corresponding object files.
1093 2008-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
1095 Replace __mingw_snprintf() with new generic family implementation;
1096 likewise, replace __mingw_vsnprintf().
1098 * mingwex/stdio/pformat.c mingwex/stdio/pformat.h: New files.
1099 * mingwex/stdio/snprintf.c mingwex/stdio/vsnprintf.c: New files.
1100 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
1101 (GDTOA_DISTFILES): Remove mingw_snprintf.c
1102 (STDIO_OBJS): Add pformat.o, snprintf.o and vsnprintf.o
1103 (GDTOA_OBJS): Remove mingw_snprintf.o
1104 (PFORMAT_CFLAGS): New macro; define it, as required by...
1105 (pformat.o): ...this new explicit build target.
1106 (snprintf.o, vsnprintf.o): Declare prerequisites.
1108 * mingwex/gdtoa/mingw_snprintf.c: Redundant file; delete it.
1110 2008-07-28 Keith Marshall <keithmarshall@users.sourceforge.net>
1112 Lay foundations for new printf() function family implementation.
1114 * ofmt_stub.s: New file; implement forward compatibility stub for...
1115 (_get_output_format): ...this MSVCR80.DLL and later function.
1117 * Makefile.in (SRCDIST_FILES): Add ofmt_stub.s.
1118 (NM, OBJCOPY): New macros; define them with AC_SUBSTed values.
1119 (sym_prefix, NM_LOOKUP, MINGW_REPL_FUNCS): New macros; define them.
1120 (lib%.a): Include ofmt_stub.o when import library does not already
1121 advertise availability of the _get_output_format() function;
1122 Add alias stubs for MINGW_REPL_FUNCS, such that...
1123 (__msvcrt_printf): ...is an alias for Microsoft's printf().
1124 (__msvcrt_fprintf): ...is an alias for Microsoft's fprintf().
1125 (__msvcrt_sprintf): ...is an alias for Microsoft's sprintf().
1126 (__msvcrt_vprintf): ...is an alias for Microsoft's vprintf().
1127 (__msvcrt_vfprintf): ...is an alias for Microsoft's vfprintf().
1128 (__msvcrt_vsprintf): ...is an alias for Microsoft's vsprintf().
1129 (clean): Add msvcr*.def.
1131 * configure.in (NM, OBJCOPY): Use AC_CHECK_TOOL to specify them.
1132 * configure: Regenerated.
1134 2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
1136 * include/ctype.h (_imp____mb_cur_max): Correct spelling.
1137 (_imp____mb_cur_max_dll): Likewise.
1139 2008-07-04 Danny Smith <dannysmith@users,sourceforge.net>
1141 * include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
1142 * include/wchar.h (swprintf, vswprintf): Likewise.
1144 2008-07-01 Keith Marshall <keithmarshall@users.sourceforge.net>
1146 * msvcrt.def.in [__msvcr80__, __msvcr80d__, __msvcr90__, __msvcr90d__]
1147 (_get_output_format, _set_output_format): Add references.
1149 * include/stdio.h [__MSVCRT_VERSION__ >= 0x800]
1150 (_get_output_format, _set_output_format): Declare prototypes.
1151 (_TWO_DIGIT_EXPONENT): Define.
1152 Some other minor formatting adjustments.
1154 2008-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1156 [mingw-Bugs-1801641]
1157 * include/wchar.h (_wfdopen): Const-ify second arg.
1158 * include/stdio.h (_wfdopen): Likewise.
1159 Thanks to <tdragon at users dot sourceforge net>
1161 2008-06-02 Keith Marshall <keithmarshall@users.sourceforge.net>
1163 Avoid precision errors in round(), lround() and llround() functions.
1165 * mingwex/math/round_generic.c: New file; it replaces...
1166 * mingwex/math/round.c: ...this; delete it.
1167 * mingwex/math/roundf.c: ...and this; ditto.
1168 * mingwex/math/roundl.c: ...and this; ditto.
1170 * mingwex/math/lround_generic.c: New file; it replaces...
1171 * mingwex/math/lround.c: ...this; delete it.
1172 * mingwex/math/lroundf.c: ...and this; ditto.
1173 * mingwex/math/lroundl.c: ...and this; ditto.
1174 * mingwex/math/llround.c: ...and this; ditto.
1175 * mingwex/math/llroundf.c: ...and this; ditto.
1176 * mingwex/math/llroundl.c: ...and this; ditto.
1178 * mingwex/math/round_internal.h: New file; it provides generic common
1179 code, which is shared by `round_generic.c' and `lround_generic.c'; the
1180 implementation is based on techniques suggested by Danny Smith and
1183 * mingwex/Makefile.in (MATH_DISTFILES): Remove `round.c', `roundf.c',
1184 `roundl.c', `lround.c', `lroundf.c', `lroundl.c', `llround.c',
1185 `llroundf.c' and `llroundl.c'; replace by `round_internal.h',
1186 `round_generic.c' and `lround_generic.c'.
1187 (MATH_OBJS): Factor out files listed in...
1188 (MATH_ROUND_OBJS, MATH_LROUND_OBJS, MATH_LLROUND_OBJS): ...these new
1189 macros; define them; specify dependencies and build rules; add to...
1190 (LIB_OBJS): ...this list.
1192 2008-05-22 Danny Smith <dannysmith@users.sourceforge.net>
1194 [ mingw-Bugs-1961893 ]
1195 * mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa
1196 mode to 2 for E format.
1198 2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
1200 * include/stdlib.h: Fix strtod under C++.
1202 2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
1204 * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
1205 * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
1207 2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
1209 * include/sys/types.h (useconds_t): typedef.
1210 * include/unistd.h (usleep): Add prototype.
1211 * mingwex/usleep.c: New file.
1212 * mingwex/makefile.in: Add usleep source and object.
1214 2008-05-02 Ramiro Polla <ramiro@lisha.ufsc.br>
1216 Make strtod() conform to C99.
1218 * include/stdlib.h (strtod): Declare this mingwex function, and...
1219 (_strtod): rename this MSVCRT counterpart.
1221 * mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
1223 2008-04-26 Chuck Wilson <cwilso11@users.sourceforge.net>
1225 * Makefile.in: correct issues with mingw10.dll having multiple relocs.
1227 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1229 * include/process.h: Include stdint.h for intptr_t definition.
1230 (_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
1231 _spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
1232 _spawnvpe): Return intptr_t.
1233 (execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
1234 spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
1236 * include/wchar.h: Guard wide process.h functions with !__STRICT_ANSI__.
1238 [!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
1239 (_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
1240 _wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
1241 _wspawnvp, _wspawnvpe): Return intptr_t.
1243 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1245 * include/wchar.h (fwide): Return success code rather than failure in inline
1247 * mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
1248 code rather than failure.
1250 2008-03-21 Danny Smith
1252 * include/math.h (float_t, double_t): Define.
1254 2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1256 * mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
1257 * mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
1258 (x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
1260 2008-02-28 Joseph Myers <joseph@codesourcery.com>
1262 * include/complex.h: Don't condition contents on C99 or not
1265 2008-02-01 Brian Dessent <brian@dessent.net>
1267 * Makefile.in: Add rules to generate multiple versions of libmoldname.a for
1268 the different runtime versions.
1270 2008-01-19 Danny Smith <dannysmithusers.sourceforge.net
1272 * inclue/wchar.h (fwide): Add prototype and guard inline definition.
1273 (mbsinit): Likewise.
1275 2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1277 * include/_mingw.h: Increment version to 3.14.
1279 2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1281 * Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
1282 * msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
1283 * mingwex/math/log10f.S: Correct issue with comments.
1284 * mingwex/math/log10l.S: Ditto.
1285 * mingwex/math/log1p.S: Ditto.
1286 * mingwex/math/log1pf.S: Ditto.
1287 * mingwex/math/log1pl.S: Ditto.
1288 * mingwex/math/log2.S: Ditto.
1289 * mingwex/math/log2f.S: Ditto.
1290 * mingwex/math/log2l.S: Ditto.
1291 * mingwex/math/logf.S: Ditto.
1292 * mingwex/math/logl.S: Ditto.
1294 2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
1296 * mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
1298 2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
1300 * include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
1301 from '_fsize_t' to '__int64' to be consistent with the other ...64
1302 structures and the value set there is 8 bytes not 4. Add guard for both
1303 as the are only used by functions available from 6.1 on.
1305 * include/malloc.h (_HEAP_MAXREQ): Define.
1306 (_aligned_offset_recalloc): Define.
1307 (_aligned_recalloc()): Define.
1309 * include/math.h: fixed a typo in a comment.
1310 (atanhf): Fixed declaration.
1312 * include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
1313 to '__int64' to be consistent with the other ...64 structures and the value
1314 set there is 8 bytes not 4. Added guard as this function is only used by
1315 functions available from 6.1 on.
1317 * include/sys/stat.h: some members of 'stat' were declared with types with
1318 a prefixed underscore, while the ones without the underscore should have
1319 been used. Added guard to '__stat64' as it is only used by functions
1320 available from 6.1 on. Added the wide character versions of the
1321 exec()/spawn() family for completion
1322 (_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
1325 * include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
1326 from 'long' to 'time_t'
1327 (__timeb64): moved declaration of structure directly before the declaration
1328 of the function '_ftime64()', so it is guarded as well
1330 * include/sys/utime.h (__utimbuf64): moved declaration of structure directly
1331 before the declaration of the functions using it, so it is guarded as well
1333 2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
1335 * mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
1336 case. Add missing break in 's'/LEN_S case.
1338 2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1340 Make snprintf() and vsnprintf() conform to C99.
1342 * include/stdio.h: Add note about incompatibility between...
1343 (snprintf, vsnprintf): These two mingwex functions, and...
1344 (_snprintf, _vsnprintf): these MSVCRT counterparts.
1346 * mingwex/Makefile.in (STDIO_OBJS): Remove snprintf.o and vsnprintf.o
1347 (STDIO_DISTFILES): Remove snprintf.c and vsnprintf.c
1349 * mingwex/stdio/snprintf.c: Delete.
1350 * mingwex/stdio/vsnprintf.c: Delete.
1352 * mingwex/gdtoa/mingw_snprintf.c (snprintf): Alias to __mingw_snprintf
1353 (vsnprintf): Alias to __mingw_vsnprintf.
1355 2007-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1357 * include/_mingw.h: Increment version to 3.13.
1358 * Makefile.in: Reset CYGRELEASE to 1
1360 2007-07-23 Keith Marshall <keithmarshall@users.sourceforge.net>
1362 * Makefile.in (SUBDIRS): Delete stray line continuation artifact,
1363 resulting from incomplete removal of enclosing `for ...; do ...; done'
1364 loop from compound command; (reported by Greg Chicares).
1366 2007-07-19 Danny Smith <dannysmith@users.sourceforge.net>
1368 * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
1371 2007-07-12 Danny Smith <dannysmith@users.sourceforge.net>
1373 [mingw-Bugs-1734142]
1374 * include/wchar.h (_wsystem) Declare.
1376 (_wgetenv): Declare.
1377 (_wsearchenv): Declare.
1378 (_wmakepath): Declare.
1379 (_wsplitpath): Declare.
1380 (_wfullpath): Declare.
1381 * include/stdlib.h (_wsystem) Declare.
1382 (_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath,
1383 _wfullpath): Move into _WSTDLIB_DEFINED guard.
1384 * include/tchar.h (_tsystem): New UNICODE mapping define.
1386 2007-06-29 Danny Smith <dannysmith@users.sourceforge.net>
1388 * mingwex/gdtoa/mingw_snprintf.c: New file.
1389 * mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
1390 (GDTOA_OBJS): Add mingw_snprintf.o.
1392 2007-06-28 Danny Smith <dannysmith@users.sourceforge.net>
1394 * msvcrt.def.in: Update comment.
1395 Exclude _ctype stub if using msvcr71.dll or newer.
1396 * include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
1397 * include/wctype.h: Likewise.
1399 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1401 *include/wctype.h: Qualify all functions with __MINGW_NOTHROW.
1402 *include/dirent.h: Likewise.
1404 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1406 * include/assert.h: Qualify all functions with __MINGW_NOTHROW.
1407 * include/conio.h: Likewise.
1408 * include/ctype.h: Likewise.
1409 * include/direct.h: Likewise.
1410 * include/dos.h: Likewise.
1411 * include/errno.h: Likewise.
1412 * include/fenv.h: Likewise.
1413 * include/float.h: Likewise.
1414 * include/inttypes.h: Likewise.
1415 * include/io.h: Likewise.
1416 * include/libgen.h: Likewise.
1417 * include/locale.h: Likewise.
1418 * include/malloc.h: Likewise.
1419 * include/mbctype.h: Likewise.
1420 * include/mbstring.h: Likewise.
1421 * include/process.h: Likewise.
1422 * include/search.h: Likewise.
1423 * include/setjmp.h: Likewise.
1424 * include/signal.h: Likewise.
1425 * include/stdio.h: Likewise.
1426 * include/stdlib.h: Likewise.
1427 * include/string.h: Likewise.
1428 * include/time.h: Likewise.
1429 * include/wchar.h: Likewise.
1430 * include/sys/stat.h: Likewise.
1431 * include/sys/time.h: Likewise.
1432 * include/sys/timeb.h: Likewise.
1433 * include/sys/utime.h: Likewise.
1435 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1437 * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
1439 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1441 Add POSIX binary tree search API.
1443 * mingwex/tfind.c: New file.
1444 * mingwex/tdelete.c: New file.
1445 * mingwex/tsearch.c: New file.
1446 * mingwex/twalk.c: New file.
1447 * mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
1448 * mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
1449 * include/search.h (tfind): Declare.
1456 (node_t): Define, on condition of _SEARCH_PRIVATE.
1458 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1460 * include/_mingw.h (__MINGW_NOTHROW): Define.
1462 2007-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1464 * include/stdio.h (vsnprintf): Remove inline definition.
1467 2007-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1469 * CRTfmode.c: Nit-pick comment fix.
1471 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1473 * CRTfmode.c: Fix nested comment.
1475 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1477 * include/string.h (strcasecmp): Fix typo in declaration prototype.
1479 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1481 * include/io.h (lseek64) : Add prototype.
1483 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1485 * include/string.h (strcasecmp): Add prototype.
1486 (strncasecmp): Add prototype.
1488 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1490 * Makefile.in (CRT0S): Revert last change.
1491 * CRTfmode.c. Correct comment.
1493 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1495 * Makefile.in (CRT0S): Add back CRTfmode.o.
1497 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1499 * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
1500 * include/io.h: Likewise.
1502 2007-06-11 Danny Smith <dannysmith@users.sourceforge.net>
1504 * crt1.c (__mingw_CRTStartup): Add explicit call to gcc's __main.
1506 2007-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1508 * include/stdint.h (intptr_t): Fix typo.
1509 Thanks to Charles Wilson for report.
1511 2007-05-07 Danny Smith <dannysmith@users.sourceforge.net>
1513 * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
1514 Condition on _WIN64.
1515 (uintptr_t): Protect with _UINTPTR_T_DEFINED. Condition on _WIN64.
1516 (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64.
1517 (PTRDIFF_MIN): Define as INTPTR_MIN.
1518 (PTRDIFF_MAX): Define as INTPTR_MAX.
1519 (SIG_ATOMIC_MIN): Define as INTPTR_MIN.
1520 (SIG_ATOMIC_MAX): Define as INTPTR_MAX.
1522 2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1524 * Makefile.in: Removed mansuffix variable. Changed mansection to support
1525 Cygwin man page location.
1527 2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1529 * Makefile.in: Added mansection and mansuffix variables. Changed mandir to
1530 support Cygwin man page location.
1532 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1534 * Include/_mingw.h: Increment version to 3.12.
1536 2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
1538 * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__.
1540 2007-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1542 * Makefile.in: Tweak srcdist to fix build issue.
1544 2007-03-20 Keith Marshall <keithmarshall@users.sourceforge.net>
1546 Add --enable-mingw-manpage-transform configure option.
1548 * aclocal.m4 (MINGW_AC_MANPAGE_TRANSFORM): New macro.
1549 * configure.in, Makefile.in: Use it.
1550 * configure: Regenerated.
1552 2007-03-18 Danny Smith <dannysmith@users.sourceforge.net>
1554 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ for gcc 4.2.x too.
1556 2007-03-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1558 Add manpages for dirname and basename functions.
1560 * man: New directory.
1561 * man/dirname.man: New file; it sources both manpages.
1562 * Makefile.in: Add provisional rules to distribute them.
1564 2007-03-08 Keith Marshall <keithmarshall@users.sourceforge.net>
1566 * mingwex/basename.c: Make it work with path names containing
1567 multibyte character strings.
1568 * mingwex/dirname.c: Likewise.
1570 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1572 * include/io.h (__mingw_access): New static inline wrapper to restore
1573 pre-Vista 'access (fname, X_OK)' behaviour.
1574 (__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
1576 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1578 * mingwex/fesetround.c (fesetround): Use unsigned int as operand
1580 Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
1582 2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
1584 * include/stdio.h (_unlink, unlink): Add prototypes.
1586 2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
1588 * include/excpt.h: Replace "_try1" in comments with "__try1".
1590 2007-02-15 Danny Smith <dannysmith@users.sourceforge.net>
1592 * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1593 (ALL_CXXFLAGS): Likewise.
1594 * mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1595 (ALL_CXXFLAGS): Likewise.
1596 * profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1597 (ALL_CXXFLAGS): Likewise.
1599 2007-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1601 * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
1603 2007-01-27 Danny Smith <dannysmith@users.sourceforge.net>
1605 Expose some more msvcr80.dll functions.
1606 * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
1607 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
1608 * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
1609 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
1611 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1613 Expose some msvcr80.dll functions.
1614 * include/stdlib.h (_set_abort_behavior): Add prototype.
1615 (_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
1616 _set_abort_behavior mask argument.
1617 (_invalid_parameter_handler): Add typedef.
1618 (_set_invalid_parameter_handler): Add prototype.
1619 * include/stdio.h (_get_printf_count_output): Add prototype.
1620 (_set_printf_count_output): Add prototype.
1621 * msvcrt.def.in (_get_printf_count_output,_set_printf_count_output,
1622 _set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
1624 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1626 * include/_mingw.h (CRT_INLINE): Correct typo.
1628 2007-01-24 Danny Smith <dannysmith@users.sourceforge.net>
1630 * include/io.h (X_OK): Define to F_OK.
1632 2007-01-19 Danny Smith <dannysmith@users.sourceforge.net>
1634 * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1635 unconditionally. Change comment.
1636 * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1638 * include/io.h (rename): Declare.
1641 2006-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
1643 * include/libgen.h: New file; required by...
1644 * mingwex/basename.c, mingwex/dirname.c: New files.
1645 * mingwex/Makefile.in (DISTFILES): Add them...
1646 (POSIX_OBJS): ...with corresponding basename.o, dirname.o
1647 (Dependencies): Typo; s/Dependancies/Dependencies/
1649 2006-11-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1651 * Makefile.in (VERSION): Let configure define it.
1653 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): New macro.
1654 * configure.in: Use it.
1655 Correct quoting of autoconf macro arguments throughout.
1656 (AC_INIT, AC_OUTPUT): Update to autoconf 2.5x preferred syntax.
1657 (AR, AS, RANLIB, LD, DLLTOOL, DLLWRAP): Don't need AC_SUBST.
1658 (AC_ALLOCA): Invalid after GCC_NO_EXECUTABLES; removed.
1659 (AC_CONFIG_FILES): Add, to generate Makefile.
1661 * configure: Regenerated.
1663 2006-11-21 Danny Smith <dannysmith@users.sourceforge.net>
1665 * Makefile.in: Add aclocal.m4 to source release.
1666 * mingwex/Makefile.in: Ditto.
1667 * profile/Makefile.in: Ditto.
1669 2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1671 * Include/_mingw.h: Increment version to 3.11.
1672 * Makefile.in: Ditto.
1674 2006-11-09 Danny Smith <dannysmith@users.sourceforge.net>
1676 [ mingw-Bugs-1590623 ]
1677 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
1680 2006-10-04 Corinna Vinschen <corinna@vinschen.de>
1682 * Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
1683 correctly parenthesized.
1685 2006-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1687 * mingwex/mb_wc_common.h (get_codepage): Get it
1690 2006-09-18 Danny Smith <dannysmith@users.sourceforge.net>
1692 * mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity.
1694 * mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to
1696 * mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with
1699 2006-09-16 Danny Smith <dannysmith@users.sourceforge.net>
1701 * mingwex/gdtoa/strtopx.c (strtopx): Fix long double representation
1704 2006-09-11 Christopher Faylor <cgf@timesys.com>
1706 * Makefile.in: Semi-revert 2006-08-30 change.
1708 2006-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1710 * include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
1711 (__MINGW_IMPORT): Ansify.
1712 * include/stdlib.h (_sleep, _beep, _seterrormode): Add
1713 __MINGW_ATTRIB_DEPRECATED.
1715 2006-09-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1717 * aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
1718 Redundant macros; deleted.
1720 * configure.in (LIB_AC_PROG_CC): Replaced by...
1721 (AC_PROG_CC): ...this.
1723 * configure: Regenerated.
1725 2006-09-06 Danny Smith <dannysmith@users.sourceforge.net>
1727 * mingwex/gdtoa/misc.c (pow5mult): Restore original code.
1728 * mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
1729 * mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
1731 2006-09-01 Danny Smith <dannysmith@users.sourceforge.net>
1733 * mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
1734 g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
1735 gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
1736 README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
1738 * mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
1739 * mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
1740 * mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
1741 * mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
1742 * mingwex/wcstold.c: Avoid using strtold internals.
1743 * mingwex/wcstof.c: Rewrite.
1744 * mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
1745 (GDTOA_OBJS): Add to library.
1746 (DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
1747 (STDLIB_OBJS): Remove.
1748 (STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
1749 (Q8_OBJS): Add wcstof.o wcstold.o.
1750 * include/stdlib.h (strtof): Remove inline definition.
1752 * include/wchar.h (wcstof): Remove inline definition.
1754 2006-08-30 Corinna Vinschen <corinna@vinschen.de>
1756 * Makefile.in: Add with_cross_host to allow more granular checks.
1757 Set installation directories accordingly. Override CC setting only
1758 if building a Cygwin target.
1759 * aclocal.m4: Regenerate.
1760 * configure.in: Move AC_CANONICAL_SYSTEM check up. Add
1761 GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files.
1762 Test AC_ALLOCA only if building on a native system.
1763 * configure: Regenerate.
1765 2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1767 * include/ctype.h: Fix typo.
1769 2006-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1771 * include/ctype.h: Expose iswblank if __cplusplus.
1772 * include/wctype.h: Expose iswblank if __cplusplus.
1774 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1776 * include/ctype.h: Remove stray ')';
1778 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1780 * include/ctype.h (_BLANK): Expand comment.
1781 (isblank): Add prototype and inline definition.
1782 (iswblank): Add prototype and inline definition.
1783 * include/wctype.h (iswblank): Add prototype and inline definition.
1784 * mingwex/isblank.c: New file.
1785 * mingwex/iswblank.c: New file.
1786 * mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
1788 2006-07-06 Danny Smith <dannysmith@users.sourceforge.net>
1790 * include/math.h (__INFF,__INFL): Remove '#'.
1792 2006-07-04 Danny Smith <dannysmith@users.sourceforge.net>
1794 * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
1796 2006-07-03 Danny Smith <dannysmith@users.sourceforge.net>
1798 Support SSE float environment in fenv.h functions.
1799 * cpu_features.c: New file.
1800 * cpu_features.h: New file.
1801 * crt1.c: Include "cpu_features.h".
1802 (__mingw_CRTStartup): Call cpu_features_init().
1803 * Makefile.in (MING_OBJS): Add cpu_features.c.
1804 (SRCDIST_FILES): Add cpu_features.c, cpu_features.h.
1805 * include/fenv,h ( fenv_t;): Append __mxcsr field.
1806 (__MXCSR_EXCEPT_FLAG_SHIFT): New define.
1807 (__MXCSR_EXCEPT_MASK_SHIFT): New define.
1808 (__MXCSR_ROUND_FLAG_SHIFT): New define.
1809 * mingwex/feclearexcept.c: Include "cpu_features.h".
1810 Handle SSE environment.
1811 * mingwex/fegetenv.c: Likewise.
1812 * mingwex/feholdexcept.c: Likewise.
1813 * mingwex/fesetenv.c: Likewise.
1814 * mingwex/fesetexceptflag.c: Likewise.
1815 * mingwex/fesetround.c: Likewise.
1816 * mingwex/fetestexcept.c: Likewise.
1817 * mingwex/feupdateenv.c: Likewise.
1818 * mingwex/fegetround.c: Add comment.
1820 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1822 * Include/_mingw.h: Increment version to 3.10.
1823 * Makefile.in: Ditto.
1825 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1827 * mingwex/math/tgamma.c (SQTPI): Add braces.
1829 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1831 * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
1832 * mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
1834 * mingwex/math/sf_erf.c (erff): Initialize z.
1836 * mingwex/math/tgamma.c (SQTPI): Avoid type punning.
1838 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1840 * Include/_mingw.h: Increment version to 3.10.
1841 * Makefile.in: Ditto.
1843 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1845 * include/sys/time.h (struct timezone): Define.
1846 * include/time.h: Correct comment about timezone.
1848 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1850 * configure.in (AC_CONFIG_AUX_DIR): Remove.
1851 * configure: Regenerate.
1853 2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
1855 * configure: add srcdir as a possible location for install-sh.
1857 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1859 * mingwex/dirent.c (_tGetFileAttributes): New helper function.
1860 (_topendir): Use it.
1862 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1864 * include/sys/time.h: Add header guard. Add extern "C" bracketing
1866 (gettimeofday): Add prototype.
1867 * mingwex/gettimeofday.c: New file.
1868 * mingwex/makefile.in: Add gettimeofday source and object.
1870 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1872 * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
1873 else global library variable.
1874 (HUGEVALF): Likewise.
1875 (HUGEVALL): Likewise.
1876 (INFINITY): Likewise.
1879 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1881 * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
1883 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1885 * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
1887 2006-05-24 Christopher Faylor <cgf@timesys.com>
1889 * configure.in: Update to newer autoconf.
1890 (thanks to Steve Ellcey)
1891 * mingwex/configure.in: Ditto.
1892 * profile/configure.in: Ditto.
1893 * configure: Regenerate.
1894 * mingwex/configure: Ditto.
1895 * profile/configure: Ditto.
1896 * aclocal.m4: New file.
1897 * mingwex/aclocal.m4: Ditto.
1898 * profile/aclocal.m4: Ditto.
1900 2006-05-17 Danny Smith <dannysmith@users.sourceforge.net>
1902 * mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.
1903 Use supplied codepage as arg to WideCharToMultiByte.
1905 2006-02-13 Earnie Boyd <earnie@users.sf.net>
1907 * Makefile.in (libmsvcr80.a): Add import lib.
1908 (libmsvcr80d.a): Ditto.
1910 2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1912 * Makefile.in: Bump cygwin build number.
1914 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1916 * Include/_mingw.h: Increment version to 3.9.
1917 * Makefile.in: Ditto.
1919 2005-10-14 Danny Smith <dannysmith@users.sourceforge.net>
1921 * include/limits.h (SSIZE_MAX): Define.
1922 (LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.
1924 2005-10-13 Wu Yongwei <adah@users.sourceforge.net>
1926 * include/tchar.h: Include <wchar.h> when _UNICODE is defined.
1927 (_TEOF): New macro definition for _UNICODE and non_UNICODE cases.
1929 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1931 * include/stddef.h: Remove.
1932 * include/stdarg.h: Remove.
1934 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1936 * mingwex/complex/csqrt.c (csqrt): The sign of real part
1937 of result is positive when real part of arg == 0;
1938 * mingwex/complex/csqrtf.c (csqrtf): Ditto.
1939 * mingwex/complex/csqrtl.c (csqrtl): Ditto.
1941 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1943 * include/time.h (_time64): Correct prototype.
1945 2005-10-08 Danny Smith <dannysmith@users.sourceforge.net>
1947 * mingwex/fegetenv.c (fegetenv): Restore exception masks.
1948 * mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
1949 to non-stop. Use "fnclex" to clear exception flags.
1951 2005-09-24 Danny Smith <dannysmith@users.sourceforge.net>
1953 * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
1954 Avoid raising FP exceptions.
1956 2005-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1958 * include/stdlib.h (strtof): Add prototype. Uglify
1959 parameter names in inline definition.
1961 (_Exit): Uglify parameter names in inline definition.
1962 (llabs): Add prototype.
1963 (_set_error_mode): Add prototype and input defines.
1965 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1967 * mingwex/fe*.c: Revert previous changes.
1968 * include/fenv.h: Revert previous changes.
1970 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1972 * mingwex/feclearexcept.c (feclearexcept): Change declaration.
1973 Do not return a value.
1974 * mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
1975 * mingwex/feraiseexcept.c (feraiseexcept): Likewise.
1976 * mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
1977 * mingwex/fegetenv.c (fegetenv): Likewise.
1978 * mingwex/fesetenv.c (fesetenv): Likewise.
1979 * mingwex/feupdateenv.c (feupdateenv): Likewise.
1980 * include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
1981 fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
1984 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1986 * mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
1987 getting filelength for SEEK_END.
1989 2005-08-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1991 * Include/_mingw.h: Increment version to 3.8.
1992 * Makefile.in: Ditto.
1994 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1996 * include/wctype.h (towupper, towlower): Change arg and return value
1998 * include/ctype.h (towupper, towlower): Likewise.
2000 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
2002 * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
2003 a diagnostic, guarded by #ifdef DEBUG.
2004 (__mingwthr_remove_key_dtor): Likewise.
2006 2005-08-08 Danny Smith <dannysmith@users.sourceforge.net>
2008 * moldname.def.in (sleep, beep, seterrormode): Remove.
2010 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
2012 * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
2013 (_MCOUNT_DECL): Use it.
2014 (MCOUNT): Save and restore eax, ecx, edx registers.
2015 * profile/mcount.c (_mcount): ANSI-fy.
2017 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
2019 * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
2020 guard __MINGW_ATTRIB macro definitions.
2021 * include/math.h (logb[fl]): Don't define inlines for
2022 GCC-4.0+ && __FAST_MATH__.
2023 (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up
2024 line-continuation backslashes.
2026 2005-06-06 Danny Smith <dannysmith@users.sourceforge.net>
2028 * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
2029 in GNUC version guard.
2031 2005-05-20 Danny Smith <dannysmith@users.sourceforge.net>
2033 * crt1.c (_gnu_exception_handler): Handle illegal instruction
2034 OS exception as a signal if user has defined a SIGILL handler.
2036 2005-05-10 Danny Smith <dannysmith@users.sourceforge.net>
2038 * mingwex/math/nexttoward.c: New file.
2039 * mingwex/math/nexttowardf.c: New file.
2040 * mingwex/math/nextafterl.c: Add nexttowardl alias.
2041 * mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
2043 (MATH_OBJS): Add nexttoward.o, nexttowardf.o,
2044 * include/math.h (nexttoward, nextowardf, nexttowardl): Add
2047 2005-05-09 Danny Smith <dannysmith@users.sourceforge.net>
2049 * mingwex/math/nextafterf.c (nextafterf): Correct
2051 * mingwex/math/nextafterl.c: New file.
2052 * mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
2053 (MATH_OBJS): Add nextafterl.o.
2054 * include/math.h (nextafterl): Uncomment prototype.
2056 2005-05-08 Danny Smith <dannysmith@users.sourceforge.net>
2058 * mingwex/math/erfl.c: New file.
2059 * mingwex/Makefile.in (MATH_DISTFILES): Add erfl.c.
2060 (MATH_OBJS): Add erfl.o.
2061 * include/math.h (erfl, erfcl): Uncomment prototypes.
2063 2005-05-04 Danny Smith <dannysmith@users.sourceforge.net>
2065 * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
2066 #if (WCHAR_MAX <= WCHAR_MIN) is false.
2067 * include/stdint.h (WCHAR_MAX): Likwise.
2068 (WINT_MAX): Likewise.
2070 2005-05-03 Danny Smith <dannysmith@users.sourceforge.net>
2072 * mingwex/math/signbit.c (__signbit): Make return value
2073 consistent with GCC's __builtin_signbit.
2074 * mingwex/math/signbitf.c (__signbitf): Likewise.
2075 * mingwex/math/signbitf.c (__signbitl): Likewise.
2076 * include/math.h (__signbit, __signbitf, __signbitl): Likewise
2079 2005-05-02 Danny Smith <dannysmith@users.sourceforge.net>
2081 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
2083 * mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
2084 Remove unused MBTOWC_FLAGS define.
2086 2005-04-23 Danny Smith <dannysmith@users.sourceforge.net>
2088 * mingwex/mbrtowc.c: New file.
2089 * mingwex/wcrtomb.c: New file.
2090 * mingwex/btowc.c: New file.
2091 * mingwex/wctob.c: New file.
2092 * mingwex/mb_wc_common.h: New file.
2093 * mingwex/Makefile.in (DISTFILES): Add new files.
2094 (Q8_OBJS): Add new objects.
2095 * include/wchar.h: Adjust comment about mbrtowc() and related
2096 funcions. Add __restrict__ to pointer params in prototypes.
2097 (wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
2098 arg names from protototypes.
2100 2005-04-23 Wu Yongwei <adah@sh163.net>
2102 * mingwex/dirent.c: Formatting changes.
2103 * mingwex/dirent.c (_topendir): Make the end-of-path slash check
2106 2005-03-31 Danny Smith <dannysmith@users.sourceforge.net>
2108 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
2110 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
2112 * include/stdio.h (__mingw_fwrite): Change return value to
2114 * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
2116 2005-03-15 Hans Leidekker <hans@it.vu.nl>
2118 * include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
2120 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2122 * include/wctype.h (wctrans): Remove _CRTIMP.
2123 (towctrans): Likewise.
2126 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2128 * include/wctype.h: Add comment on wctrans, towctrans, wctype.
2130 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2132 * mingwex/wctype.c: New file.
2133 * mingwex/wctrans.c: New file.
2134 * mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c.
2135 * mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.
2137 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2139 * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.
2141 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2143 * include/assert.h: Remove header guard. #undef assert macro.
2144 (_assert): Use __MINGW_ATTRIB_NORETURN define.
2146 2005-02-11 Gregory W. Chicares <chicares@cox.net>
2147 Danny Smith <dannysmith@users.sourceforge.net>
2149 * include/math.h (expm1, expm1f, expmll): Add prototypes.
2150 * mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
2152 (MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
2153 * mingwex/math/expm1.c: New file.
2154 * mingwex/math/expm1f.c: New file.
2155 * mingwex/math/expm1l.c: New file.
2157 2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
2159 * include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
2160 * include/wchar.h (struct stat): Likwwise.
2161 Bug reported to Debian by Anand Kumria <wildfire@progsoc.org>
2163 * include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
2165 2005-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2167 * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
2168 string is not valid.
2170 2005-01-26 Oliver Stoeneberg <oliverst@online.de>
2172 * include/malloc.h: Add missing return code defines for
2175 2005-01-17 Danny Smith <dannysmith@users.sourceforge.net>
2177 * include/sys/stat.h (struct __stat64): Change st_size type to
2179 * include/wchar.h (struct __stat64): Change st_size type to __int64.
2181 2005-01-13 Earnie Boyd <earnie@users.sf.net>
2183 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2185 * include/errno.h (ELOOP): Ditto.
2186 * include/_mingw.h: Increment version to 3.7.
2187 * Makefile.in: Ditto.
2189 2005-01-11 Danny Smith <dannysmith@users.sourceforge.net>
2191 * include/tchar.h (_tfreopen): Add UNICODE mappings.
2193 2005-01-11 Earnie Boyd <earnie@users.sf.net>
2195 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2196 lstat): Conditionalize defines for __STRICT_ANSI__.
2198 2005-01-10 Earnie Boyd <earnie@users.sf.net>
2200 * include/errno.h (ELOOP): Add definition.
2202 2005-01-10 Danny Smith <dannysmith@users.sourceforge.net>
2204 * mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
2205 casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
2206 clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
2207 ctanl.c ctanhl.c): New files.
2208 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2209 (COMPLEX_OBJS): Adjust.
2210 * include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
2211 casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
2212 cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
2215 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2217 * include/_mingw.h (__int16): Define as short.
2218 Thanks to: Leo Yuriev <leoyuriev at users dot sf dot net>
2220 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2222 * include/stdio.h (P_tmpdir): Add define.
2224 2005-01-03 Earnie Boyd <earnie@users.sf.net>
2226 * Makefile.in (inst_docdir): For Cygwin target set to share/doc/.
2228 2005-01-02 Earnie Boyd <earnie@users.sf.net>
2230 * include/_mingw.h: Increment version to 3.6
2231 * Makefile.in: Ditto
2233 2004-12-26 Danny Smith <dannysmith@users.sourceforge.net>
2235 * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
2236 casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
2237 clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
2238 ctanf.c ctanhf.c): New files.
2239 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2240 (COMPLEX_OBJS): Adjust.
2241 * include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
2242 casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
2243 cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
2246 2004-12-20 Danny Smith <dannysmith@users.sourceforge.net>
2248 * include/wchar.h (wcsdup): Correct prototype.
2249 * include/string.h (wcsdup): Correct prototype.
2251 2004-10-14 Danny Smith <dannysmith@users.sourceforge.net>
2253 * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
2255 2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
2257 * mingwex/math/fastmath.h: New file.
2258 * mingwex/math/asinh.c: New file.
2259 * mingwex/math/asinhf.c: New file.
2260 * mingwex/math/asinhl.c: New file.
2261 * mingwex/math/acosh.c: New file.
2262 * mingwex/math/acoshf.c: New file.
2263 * mingwex/math/acoshl.c: New file.
2264 * mingwex/math/atanh.c: New file.
2265 * mingwex/math/atanhf.c: New file.
2266 * include/math.h (asinh, asinhf, asinhl, acosh, acoshf, acoshl,
2267 atanh, atanhf, atanhl): Add prototypes.
2268 * mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
2269 (MATH_DISTFILES): Add sources for above and fastmath.h to list.
2270 Specify dependency on fastmath.h for new objects.
2272 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2274 * include/sys/stat.h (_S_IFLNK): Add definition.
2281 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2283 * include/sys/stat.h (_S_ISLNK): Add definition.
2286 2004-09-05 Earnie Boyd <earnie@users.sf.net>
2288 * include/_mingw.h: Increment minor version for 3.5 release.
2289 * Makefile.in: Ditto.
2290 * mingwex/Makefile.in: Correct typo in list of DISTFILES.
2292 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2294 * include/malloc.h (__mingw_aligned_offset_malloc,
2295 __mingw_aligned_offset_realloc, __mingw_aligned_malloc,
2296 __mingw_aligned_realloc, __mingw_aligned_free): Add
2298 * mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
2299 tst-aligned-malloc.c.
2300 (REPLACE_OBJS): Add mingw-aligned-malloc.o.
2302 2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
2304 * mingwex/mingw-aligned-malloc.c: New file.
2305 * mingwex/tst-aligned-malloc.c: New file.
2307 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2309 * crt1.c: (__mingw_CRTStartup): Change return to void. Add
2310 noreturn attribute. Align stack to 16 bytes before passing args
2312 (mainCRTStartup): Change return to void.
2313 (WinMainCRTStartup): Likewise.
2315 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2317 * profile/COPYING: New file.
2318 * profile/CYGWIN_LICENSE: New file.
2319 * profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
2321 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2323 * mingwex/fopen64.c: Move.
2324 * mingwex/fseeko64.c: Move.
2325 * mingwex/ftello64.c: Move.
2326 * mingwex/lseek64.c: Move.
2327 * mingwex/stdio/fopen64.c: To here.
2328 * mingwex/stdio/fseeko64.c: To here.
2329 * mingwex/stdio/ftello64.c: To here.
2330 * mingwex/stdio/lseek64.c: To here.
2332 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2334 * profile/gmon.c [__MINGW32__]: Include string.h for
2337 2004-08-08 Christopher Faylor <cgf@timesys.com>
2339 * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
2341 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2343 * include/complex.h: Remove __attribute__ ((const)) from
2344 transcendantal and trig functions. Replace __attribute__ ((const))
2345 with __MINGW_ATTRIB_CONST on other declarations.
2347 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2349 * include/wchar.h: Reorganize, avoid including other headers.
2351 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2353 * include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
2354 (strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
2357 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2359 * include/dirent.h (struct _wdirent): Remove obsolete comment.
2361 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2363 * include/string.h: Revert 2004-07-26 additions of
2366 2004-07-28 Danny Smith <dannysmith@users.sourceforge.net>
2368 * mingwex/math/powl.c (powl): Revert change of 2004-02-01.
2369 (__convert_inf_to_maxnum): New.static inline.
2370 (reducl): Use it to protect against Inf - Inf.
2371 (__fast_ldexpl): New function. Use in lieu of ldexpl.
2373 2004-07-27 Danny Smith <dannysmith@users.sourceforge.net>
2375 * mingwex/math/expl.c (expl): Move body of code to new static
2376 function __expl, removing tests for +/-Inf. Extern function
2377 expl calls __expl after testing for max, min log thresholds.
2379 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2381 * mingwex/stdio/vsscanf.c: Add "edi" to registers-modified field
2382 * mingwex/stdio/vfscanf.c: Likewise.
2383 * mingwex/stdio/vswscanf.c: Likewise.
2384 * mingwex/stdio/vfwscanf.c: Likewise.
2386 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2388 * include/_mingw.h: Use only two underscores to uglify
2389 __MINGW_ATTRIB_* macros.
2390 * include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
2391 * include/setjmp.h: Likewise.
2393 * include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
2395 (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
2397 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2399 * include/string.h: Group wide string functions together,
2400 and protect with _WSTRING_DEFINED.
2402 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2404 * include/_mingw.h (__MINGW_ATTR_*): Replace with
2406 * include/stdlib.h (_ATTRIB_NORETURN): Replace with
2407 __MINGW_ATTRIB_NORETURN, throughout.
2408 (malloc): Declare with __MINGW_ATTRIB_MALLOC.
2410 (abs): Declare with __MINGW_ATTRIB_CONST.
2419 * include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
2421 2004-07-21 Danny Smith <dannysmith@users.sourceforge.net>
2423 * include/_mingw.h: Undefine __attribute__.
2424 (__MINGW_ATTR_NORETURN): New define.
2425 (__MINGW_ATTR_CONST): New define.
2426 (__MINGW_ATTR_MALLOC): New define.
2427 (__MINGW_ATTR_PURE): New define.
2428 (_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
2431 2004-07-19 Danny Smith <dannysmith@users.sourceforge.net>
2433 * include/time.h (__time64_t): Add missing ';'.
2435 2004-07-17 Danny Smith <dannysmith@users.sourceforge.net>
2437 * include/time.h (wcsftime): Move out of !__STRICT_ANSI
2439 (struct tm): Protect with _TM_DEFINED.
2441 2004-07-17 Christopher Faylor <cgf@timesys.com>
2443 * Makefile.in (CC): Strip inappropriate include file settings from any
2446 2004-07-15 "dgun" <dgun@umpire.com>
2448 * include/complex.h (conj): Correct typo in prototype.
2450 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2452 * include/math.h: Add pragma GCC system_header.
2454 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2456 * mingwex/complex/carg.c: New file.
2457 * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
2459 2004-07-15 Corinna Vinschen <corinna@vinschen.de>
2461 * Makefile.in (INCLUDES): Temporarily revert previous change.
2462 * mingwex/Makefile,in (INCLUDES): Ditto.
2463 * profile/Makefile,in (INCLUDES): Ditto.
2464 * mingwex/Makefile,in: Drop carg.o dependency.
2466 2004-07-14 Christopher Faylor <cgf@timesys.com>
2468 * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
2470 2004-07-14 Danny Smith <dannysmith@users.sourceforge.net>
2472 * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
2474 * mingwex/Makefile,in (INCLUDES): Ditto.
2475 * profile/Makefile,in (INCLUDES): Ditto.
2477 * mingwex/Makefile,in: Add carg.o to libmingwex.a.
2479 2004-07-13 Earnie Boyd <earnie@users.sourcefourge.net>
2481 * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
2483 * mingwex/Makefile.in: Ditto.
2484 * profile/Makefile.in: Ditto.
2485 * include/limits.h: Change to new file header preamble.
2486 * include/_mingw.h: Increment minor version for 3.4 release.
2487 * Makefile.in: Ditto.
2489 2004-07-12 Danny Smith <dannysmith@users.sourceforge.net>
2491 * mingwex/math/cephes_emath.h (__etens): Remove declaration.
2493 2004-07-11 Danny Smith <dannysmith@users.sourceforge.net>
2495 * include/unistd.h (ftruncate): Add inline definition.
2496 * mingwex/ftruncate.c: New file.
2497 * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
2499 2004-07-10 Danny Smith <dannysmith@users.sourceforge.net>
2501 * include/time.h: Do not include sys/types.h.
2503 2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
2505 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
2506 (MATH_OBJS): Remove pow,o.
2507 * include/math.h (pow): Declare with _CRTIMP.
2508 Add comment on how to avoid excess precision problems.
2510 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
2512 * include/stdio.h (__mingw_fseeko64): Add prototype.
2513 * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
2514 (__mingw_fwrite): Handle huge files.
2516 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
2517 Danny Smith <dannysmith@users.sourceforge.net>
2519 * include/stdio.h (fopen64): Add inline function.
2520 (fseeko64): Add prototype.
2521 (ftello64): Add inline function.
2522 * include/io.h (lseek64): Add inline function.
2523 * include/sys/types (off64_t): Add typedef.
2524 (fpos64_t): Add typedef.
2525 * mingwex/fopen64.c: New file.
2526 * mingwex/fseeko64.c: New file.
2527 * mingwex/ftello64.c: New file.
2528 * mingwex/lseek64.c: New file.
2529 * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
2530 fseeko.64.c, ftello64.c, lseek64.c.
2531 (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
2533 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
2535 * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
2537 2004-04-22 Earnie Boyd <earnie@users.sf.net>
2539 * DISCLAIMER: Add words about "free to use".
2540 * README: Modify "Win32 runtime" to "Microsoft C Runtime".
2541 * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
2542 (inst_docdir): New variable.
2544 (FLAGS_TO_PASS): Include inst_docdir.
2545 (install-dirs): Add inst_docdir.
2546 (install): Add loop for INSTDOCS.
2547 * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
2548 section to CONTRIBUTORS file. Remove RCS tags.
2550 2004-04-22 Danny Smith <dannysmith@users.sourceforge.net>
2552 * mingwex/math/lround.c: Rewrite.
2553 * mingwex/math/lroundf.c: Rewrite.
2554 * mingwex/math/lroundl.c: Rewrite.
2555 * mingwex/math/llround.c: Rewrite.
2556 * mingwex/math/llroundf.c: Rewrite.
2557 * mingwex/math/llroundl.c: Rewrite.
2559 2004-04-20 Earnie Boyd <earnie@users.sf.net>
2561 * CONTRIBUTORS: New file.
2562 * DISCLAIMER: Ditto.
2563 * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
2564 section to CONTRIBUTORS file. Remove RCS tags.
2565 * CRTFmode.c: Ditto.
2569 * crtdll.dev: Ditto.
2579 * msvcrt.def.in: Ditto.
2580 * strcasecmp.c: Ditto.
2583 * include/assert.h: Ditto.
2584 * include/conio.h: Ditto.
2585 * include/ctype.h: Ditto.
2586 * include/direct.h: Ditto.
2587 * include/dirent.h: Ditto.
2588 * include/dos.h: Ditto.
2589 * include/errno.h: Ditto.
2590 * include/excpt.h: Ditto.
2591 * include/fcntl.h: Ditto.
2592 * include/float.h: Ditto.
2593 * include/io.h: Ditto.
2594 * include/locale.h: Ditto.
2595 * include/malloc.h: Ditto.
2596 * include/math.h: Ditto.
2597 * include/process.h: Ditto.
2598 * include/setjmp.h: Ditto.
2599 * include/share.h: Ditto.
2600 * include/signal.h: Ditto.
2601 * include/stdio.h: Ditto.
2602 * include/stdlib.h: Ditto.
2603 * include/string.h: Ditto.
2604 * include/tchar.h: Ditto.
2605 * include/time.h: Ditto.
2606 * include/wchar.h: Ditto.
2607 * include/sys/locking.h: Ditto.
2608 * include/sys/param.h: Ditto.
2609 * include/sys/stat.h: Ditto.
2610 * include/sys/timeb.h: Ditto.
2611 * include/sys/types.h: Ditto.
2612 * include/sys/utime.h: Ditto.
2613 * mingwex/dirent.c: Ditto.
2615 2004-04-19 Earnie Boyd <earnie@users.sf.net>
2617 * include/_mingw.h: Revert to primary release 3 and increment minor
2619 * Makefile.in (VERSION): Ditto.
2621 2004-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2623 * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
2624 _fmode if not __MSVCRT__.
2626 2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
2628 * include/io.h: (_findfirst): Correct prototype.
2630 2004-03-30 Hans Leidekker <hans@it.vu.nl>
2632 * include/io.h: (_findnext, _findclose): Correct prototype.
2634 2004-03-28 Hans Leidekker <hans@it.vu.nl>
2636 * include/math.h (FP_*): Add defines.
2638 2004-03-29 Danny Smith <dannysmith@users.sourceforge.net>
2640 * mingwex/math/round.c: Rewrite.
2641 * mingwex/math/roundf.c: Rewrite.
2642 * mingwex/math/roundl.c: Rewrite.
2644 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2646 * include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.
2647 * include/time.h (__time64_t): Add typedef.
2648 (_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2649 (_ctime64): Likewise.
2650 (_wctime64): Likewise.
2651 (_gmtime64): Likewise.
2652 (_localtime64): Likewise.
2653 (wcsftime): Move into _WTIME_DEFINED block.
2654 Regroup non-ANSI prototypes.
2655 * include/io.h: Include <stdint.h>.
2656 (__finddata64_t): Add struct definition.
2657 (__wfinddata64_t): Likewise.
2658 (_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2659 (_findnext64): Likewise.
2660 (_wfindfirst64): Likewise.
2661 (_wfindnext64): Likewise.
2662 * include/sys/timeb.h (__timeb64): Add struct definition.
2663 (_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2664 * include/sys/utime.h (__utimbuf64): Add struct definition.
2665 (_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2666 (_futime64): Likewise.
2667 (_wutime64): Likewise.
2668 * include/sys/stat.h (__stat64): Add struct definition.
2669 (_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2670 (_stat64): Likewise.
2671 (_wstat64): Likwise.
2672 * include/sys/types.h (__time64_t): Add typedef.
2673 * include/wchar.h (__wfinddata64_t): Add structure definition.
2674 (__stat64): Likewise.
2675 (_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2676 (_wfindfirst64): Likewise.
2677 (_wfindnext64): Likewise.
2678 (_wutime64): Likewise.
2679 (_wstat64): Likwise.
2680 * include/malloc.h (_aligned_free): Add prototype for
2681 __MSVCRT_VERSION__ >= 0x0700.
2682 (_aligned_malloc): Likewise.
2683 (_aligned_offset_malloc): Likewise.
2684 (_aligned_offset_realloc): Likewise.
2685 (_aligned_realloc): Likewise.
2686 * include/string.h (_wcserror): Add prototype for
2687 __MSVCRT_VERSION__ >= 0x0700.
2688 (__wcserror): Likewise.
2689 * include/math.h (_set_SSE2_enable): Add prototype for
2690 __MSVCRT_VERSION__ >= 0x0701.
2692 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2694 * include/stdio.h (_fsopen): Add prototype.
2695 * include/tchar.h (_tfsopen): Add defines.
2696 Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
2698 2004-03-19 Danny Smith <dannysmith@users.sourceforge.net>
2700 * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
2701 msvcr70.dll, and msvcr71.dll.
2702 * Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant
2703 using basename of output def file.
2705 2004-03-13 Danny Smith <dannysmith@users.sourceforge.net>
2707 * include/malloc.h: Remove __STRICT_ANSI__ guard.
2709 2004-03-11 Brian Keener <bkeener@thesoftwaresource.com>
2711 * include/process.h: Remove the #endif associated with removal of
2712 __STRICT_ANSI__ guard from non-ANSI header.
2714 2004-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2716 * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
2717 * include/direct.h: Ditto.
2718 * include/dirent.h: Ditto.
2719 * include/dos.h: Ditto.
2720 * include/excpt.h: Ditto.
2722 * include/io.h: Ditto.
2723 * inlude/mem.h: Ditto.
2724 * include/memory.h: Ditto.
2725 * include/process.h: Ditto.
2726 * inlude/search.h: Ditto.
2727 * include/share.h: Ditto.
2728 * include/unistd.h: Ditto.
2729 * include/sys/fcntl.h: Ditto.
2730 * include/file.h: Ditto.
2731 * include/sys/locking.h: Ditto.
2732 * include/sys/param.h: Ditto.
2733 * include/sys/stat,h
2734 * include/sys/time.h: Ditto.
2735 * include/sys/timeb.h: Ditto.
2736 * include/sys/types.h: Ditto.
2737 * include/sys/unistd.h: Ditto.
2738 * include/sys/utime.h: Ditto.
2740 2004-02-21 Danny Smith <dannysmith@users.sourceforge.net>
2742 * include/_mingw.h (__UNUSED_PARAM): Define macro.
2743 * include/wchar.h (fwide): Use it.
2746 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2748 * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
2749 NetBSD getopt_long.c.
2751 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2753 * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
2754 codes and handling of special chars.
2756 2004-02-02 Danny Smith <dannysmith@users.sourceforge.net>
2758 * include/stdio.h (feof): Add inlined definition.
2761 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2763 * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
2764 directly, rather than via scabnl.
2766 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2768 * mingwex/math/powl.c (powl): Return infinity if
2769 extended precision multiplication of x by log2(y)
2772 2004-01-31 Danny Smith <dannysmith@users.sourceforge.net>
2774 * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
2775 (__enan_NI16): Fix another one.
2776 (__enan_NBITS): Tidy.
2778 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
2780 * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
2781 types. (Thanks to John Maddock for report.)
2783 2004-01-14 Greg Chicares <chicares@users.sourceforge.net>
2785 * include/tchar.h (_puttchar): Define.
2787 2003-12-13 Danny Smith <dannysmith@users.sourceforge.net>
2789 * include/stdio.h:(_fileno): Define macro version after both
2790 fileno and _fileno functions declared.
2792 * include/stdio.h (_rmtmp, rmtmp): Add prototypes.
2793 * moldnames.def.in (rmtmp) Add stub.
2795 2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
2797 * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
2799 2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
2801 * include/math.h: Guard ISO C99 additions with __cplusplus
2804 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2806 * include/_mingw.h: Define __attribute__((x)) to nothing
2809 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2811 * include/complex.h: New file.
2812 * mingwex/complex: New directory.
2813 * mingwex/complex/cabs.c: New file.
2814 * mingwex/complex/cacos.c: New file.
2815 * mingwex/complex/cacosh.c: New file.
2816 * mingwex/complex/casin.c: New file.
2817 * mingwex/complex/casinh.c: New file.
2818 * mingwex/complex/catan.c: New file.
2819 * mingwex/complex/catanh.c: New file.
2820 * mingwex/complex/ccos.c: New file.
2821 * mingwex/complex/ccosh.c: New file.
2822 * mingwex/complex/cexp.c: New file.
2823 * mingwex/complex/cimag.c: New file.
2824 * mingwex/complex/clog.c: New file.
2825 * mingwex/complex/cpow.c: New file.
2826 * mingwex/complex/cproj.c: New file.
2827 * mingwex/complex/creal.c: New file.
2828 * mingwex/complex/csin.c: New file.
2829 * mingwex/complex/csinh.c: New file.
2830 * mingwex/complex/csqrt.c: New file.
2831 * mingwex/complex/ctan.c: New file.
2832 * mingwex/complex/ctanh.c: New file.
2833 * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
2836 (COMPLEX_OBJS): New list of objects.
2837 (LIB_OBJS): Include it in the library.
2839 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2841 * include/math.h (cabs): Remove non-ISO prototype.
2843 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2845 * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
2846 Use GCC __builtin's if available.
2847 (INFINITY, INFINITYF, INFINITYL): Likewise.
2849 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2851 * mingwex/math/s_erf.c (erf): Set errno to ERANGE if
2852 beyond approximation limit.
2853 * mingwex/math/sf_erf.c (erff): Likewise.
2855 2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
2857 * include/stdio.h (getc): Cast result to unsigned char before
2860 (getchar): Likewise.
2861 (putchar): Likewise.
2862 Thanks to M.Fujii <boochang@m4.kcn.ne.jp>
2864 2003-10-10 Earnie Boyd <earnie@users.sf.net>
2866 * include/_mingw.h: Increment version to 3.2.
2867 * Makefile.in: Ditto.
2869 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2871 * include/sys/types.h: Revert last change.
2873 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2875 * include/sys/types.h (ssize_t): Correct the definition.
2877 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2879 * include/stdio.h (_filbuf): Add prototype.
2880 (_flsbuf): Add prototype.
2881 (getc): Add inline version.
2883 (getchar): Likewise.
2884 (putchar): Likewise.
2886 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2888 * mingwex/dirent.c (_treaddir): Reset errno to 0 if end
2891 2003-09-29 Danny Smith <dannysmith@users.sourceforge.net>
2893 * include/stdlib.h: Guard non-ISO functions with
2894 !__STRICT_ANSI__, throughout.
2896 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2898 * include/io.h (_fileno): Remove prototype.
2900 (FILENAME_MAX): Define, if needed.
2901 Don't include <stdio.h>.
2902 * include/stdio.h (FILENAME_MAX): Protect against
2904 (_fileno): Define macro implementation.
2907 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2909 * include/inttypes.h: Include _mingw.h.
2911 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2913 * include/_mingw.h (__CRT_INLINE): Define.
2914 * include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
2916 * include/inttypes.h: Likewise.
2917 * include/math.h: Likewise.
2918 * include/stdio.h: Likewise.
2919 * include/stdlib.h: Likewise.
2920 * include/string.h: Likewise.
2921 * include/wchar.h: Likewise.
2922 * include/wctype.h: Likewise.
2924 2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
2926 * mingwex/dirent.c (_topendir): Allocate enough memory for
2927 DIR struct in UNICODE case too.
2929 2003-09-15 Earnie Boyd <earnie@users.sf.net>
2931 * include/_mingw.h: Increment version to 3.2.
2932 * Makefile.in: Ditto.
2934 2003-07-03 Earnie Boyd <earnie@users.sf.net>
2936 * config.guess, config.sub: Update with versions from ftp.gnu.org.
2938 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2940 * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
2941 * mingwex/math/truncf.c (truncf): Likewise.
2942 * mingwex/math/truncl.c (truncl): Likewise.
2943 * mingwex/math/modff.c (modff): Likewise.
2944 * mingwex/math/modfl.c (modfl): Likewise.
2946 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2948 * include/search.h: New file.
2949 * include/stdlib.h: Add comment about qsort, bsearch in
2951 * test_headers.c: Include search.h.
2952 * moldname.def.in (lfind, lsearch): Add.
2954 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2956 * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
2957 _execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
2958 execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
2960 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2962 * include/_mingw.h (small, hyper): Change to __small and __hyper to
2963 avoid user space name conflicts.
2965 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2967 * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
2968 Note: Also added to w32api/include/basetyps.h.
2969 * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
2970 Rename to Small (case difference).
2972 2003-06-18 Earnie Boyd <earnie@users.sf.net>
2974 * include/dirent.h (dirent): Make d_name and array instead of a pointer.
2975 * mingwex/dirent.c: Modifications througout to fill d_name array.
2976 * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
2977 libmsvcr71, including debug versions.
2978 (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
2980 2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
2982 * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
2983 __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
2985 Thanks to: Aaron W LaFramboise <AWLaFramboise@aol.com>
2987 2003-05-30 Sascha Sommer <saschasommer@freenet.de>
2989 * include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
2991 2003-05-15 Danny Smith <dannysmith@users.sourceforge.net>
2993 * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
2994 but still protect inline definition with __STRICT_ANSI__.
2996 2003-05-14 Danny Smith <dannysmith@users.sourceforge.net>
2998 * string_old.c: Remove, splitting into...
2999 * strcasecmp.c: New file.
3000 * strncasecmp.c: New file.
3001 * wscmpi.c : New file.
3002 * ctype_old.c: Remove, splitting into...
3003 * isascii.c: New file.
3004 * iscsym.c: New file.
3005 * iscsymf.c: New file.
3006 * toascii.c: New file.
3007 * Makefile.in (MOLD_OBJS): Adjust.
3008 (SRCDIST_FILES): Adjust.
3010 2003-05-13 Danny Smith <dannysmith@users.sourceforge.net>
3012 * include/math.h (fabs) : Remove inline definition.
3016 2003-05-06 Earnie Boyd <earnie@users.sf.net>
3018 * include/_mingw.h: Change version to 3.0
3019 * Makefile.in: Ditto.
3021 2003-05-06 Earnie Boyd <earnie@users.sf.net>
3023 * configure.in (W32API_INCLUDE): Need the -I switch in the value.
3024 * mingwex/configure.in (W32API_INCLUDE): Ditto.
3025 * profile/configure.in (W32API_INCLUDE): Ditto.
3027 2003-05-06 Earnie Boyd <earnie@users.sf.net>
3029 * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
3030 of multiply defined symbols if the symbols is defined locally. E.G.:
3031 A local definition of malloc causes this problem.
3032 * configure: Regenerate.
3033 * profile/Makefile.in (W32API_INCLUDE): New variable.
3034 (ALL_CFLAGS): Use W32API_INCLUDE value.
3035 (ALL_CXXFLAGS): Ditto.
3036 (gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
3037 Thanks to Jeff Bonggren <jbon@users.sf.net>.
3038 * profile/configure.in (W32API_INCLUDE): Set default value.
3039 * profile/configure: Regenerate.
3040 * mingwex/Makefile.in (W32API_INCLUDE): New variable.
3041 (ALL_CFLAGS): Use W32API-INCLUDE value.
3042 (ALL_CXXFLAGS): Ditto.
3043 * mingwex/configure.in (W32API_INCLUDE): Set default value.
3044 * mingwex/configure: Regenerate.
3046 2003-05-05 Earnie Boyd <earnie@users.sf.net>
3048 * Makefile.in (W32API_INCLUDE): New variable.
3049 (ALL_CFLAGS): Use W32API_INCLUDE value.
3050 (ALL_CXXFLAGS): Ditto.
3051 * configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
3052 (W32API_INCLUDE): Set default value.
3053 * configure: Regenerate.
3055 2003-04-11 Earnie Boyd <earnie@users.sf.net>
3057 * configure.in (LIBM_A): Define for cygwin target.
3058 * configure (LIBM_A): Ditto.
3060 2003-04-07 Danny Smith <dannysmith@users.sourceforge.net>
3062 * include/time.h (strftime): Remove duplicate declaration.
3064 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
3066 * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
3068 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3070 * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
3071 * mingwex/strtoimax.c (strtoimax): Likewise.
3072 * mingwex/wcstoimax.c (wcstoimax): Likewise.
3073 * mingwex/wtoll.c (wtoll): Remove unnecessary ';'
3074 * mingwex/fesentenv.c: Include float.h.
3075 * mingwex/math/powl.c: Eliminate type punning/strict aliasing
3077 * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
3079 * mingwex/math/tgammal.c: Likewise.
3081 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3083 * include/utime.h: New file, forwarding to sys/utime.h.
3085 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3087 * include/sys/param.h (MAXPATHLEN): Define.
3089 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3091 * include/tchar.h: Ansi-fy a comment.
3093 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3095 * profile/profile.h (mcount): Use __builtin_return_address
3096 rather than inline __asm statements.
3097 * profile/Makefile.in: Remove special rule for mcount.o
3098 Specify dependencies for mcount.o profil.o gmon.o.
3100 2003-03-10 Danny Smith <dannysmith@users.sourceforge.net>
3102 * include/stdlib.h (qsort): Remove const from first parm.
3103 Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
3105 2003-03-03 Christopher Faylor <cgf@redhat.com>
3107 * mingwex/getopt.c: Refresh from NetBSD sources.
3109 2003-03-03 Danny Smith <dannysmith@users.sourceforge.net>
3111 * mingwex/getopt.c: New file, copied from cygwin srcs.
3112 * include/getopt.h: New file, copied from cygwin srcs.
3113 * include/unistd.h: Include getopt.h.
3114 * mingwex/Makefile.in (DISTFILES): Add getopt.c.
3115 (POSIX_OBJS): Add getopt.o.
3117 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
3119 * include/stdio.h (vscanf): Add prototype.
3125 * include/wchar.h (vwscanf): Add prototype.
3128 * mingwex/snprintf.c: Move to mingwex/stdio.
3129 * mingwex/vsnprintf.c: Ditto.
3130 * mingwex/snwprintf.c: Ditto.
3131 * mingwex/vsnwprintf.c: Ditto.
3132 * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
3133 (STDIO_DISTFILES): Add.
3134 (DISTFILES): Adjust.
3135 (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
3139 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com>
3141 * mingwex/stdio: New directory
3142 * mingwex/stdio/vfscanf.c: New file.
3143 * mingwex/stdio/vfwscanf.c: New file.
3144 * mingwex/stdio/vscanf.c: New file.
3145 * mingwex/stdio/vsscanf.c: New file.
3146 * mingwex/stdio/vswscanf.c: New file.
3147 * mingwex/stdio/vwscanf.c: New file.
3149 2003-02-25 Earnie Boyd <earnie@users.sf.net>
3151 * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
3152 (libmsvcrt40.a): Ditto.
3154 2003-02-21 Earnie Boyd <earnie@users.sf.net>
3156 Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
3158 * Makefile.in (libmsvcrtd.a): Add target library.
3159 (libmoldnamed.a): Ditto.
3160 (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
3162 ($(srcdir)): Remove explicit reference for depencies of object targets.
3163 * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
3164 msvcrt20.def, msvcrt40.def: Remove.
3165 * msvcrt.def.in: New file (Copy of previous msvcrt.def).
3167 2003-02-20 Corinna Vinschen <corinna@vinschen.de>
3169 * Makefile.in: Make sure libmingwex.a from current build tree is used.
3171 2003-02-14 Christopher Faylor <cgf@redhat.com>
3173 * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
3174 ensure -mno-cygwin where appropriate. Filter out -O2.
3176 2003-02-13 Danny Smith <dannysmith@users.sourceforge.net>
3178 * profile/Makefile.in (mcount.o): Use -O1 optimization
3181 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3183 * include/math.h: Remove _CRTIMP from pow() prototype,
3184 unless __NO_ISOCEXT.
3186 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3188 * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
3190 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3192 * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
3193 __declspec(dllimport) supported.
3194 (__cdecl): Define if not already defined.
3195 (__stdcall): Likewise.
3196 * include/dirent.h: Qualify fuctions with __cdecl.
3197 * include/fenv.h: Likewise.
3198 * include/inttypes.h: Likewise.
3199 * include/assert.h: Qualify fuctions with __cdecl. Qualify
3200 CRT dll imports with _CRTIMP.
3201 * include/conio.h: Likewise.
3202 * include/ctype.h: Likewise.
3203 * include/direct.h: Likewise.
3204 * include/dos.h: Likewise.
3205 * include/errno.h: Likewise.
3206 * include/float.h: Likewise.
3207 * include/io.h: Likewise.
3208 * include/locale.h: Likewise.
3209 * include/malloc.h: Likewise.
3210 * include/math.h: Likewise.
3211 * include/mbctype.h: Likewise.
3212 * include/mbstring.h: Likewise.
3213 * include/process.h: Likewise.
3214 * include/setjmp.h: Likewise.
3215 * include/signal.h: Likewise.
3216 * include/stdio.h: Likewise.
3217 * include/stdlib.h: Likewise.
3218 * include/string.h: Likewise.
3219 * include/time.h: Likewise.
3220 * include/wchar.h: Likewise.
3221 * include/wctype.h: Likewise.
3222 * include/sys/stat.h: Likewise.
3223 * include/sys/timeb.h: Likewise.
3224 * include/sys/utime.h: Likewise.
3226 * include/ctype.h: Guard ctype inlines with __NO_INLINE__.
3227 * include/wctype.h: Guard wctype inlines with __NO_INLINE__.
3229 * include/stdio.h (__VALIST): Guard against prior definition.
3231 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3233 * include/_mingw.h: Change version to 3.0
3234 * Makefile.in: Ditto.
3236 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3238 * include/stdlib.h: Make words after #endif a comment.
3240 2003-02-07 Danny Smith <dannysmith@users.sourceforge.net>
3242 * include/locale.h: Include stddef.h for definition of NULL.
3244 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3246 * include/math.h (tgamma): Correct typo in comment.
3248 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3250 * mingwex/mingw-fseek.c (INLINE): Remove define.
3251 (__mingw_is_win9x): Remove static inline function.
3252 (_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
3254 2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
3256 * mingwex/math/llround.c: Correct function name and
3257 change return value to long long.
3259 2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
3261 * include/ctype.h (__isascii): Don't cast arg to unsigned.
3262 (iswascii): Likewise. Correct mask.
3263 * include/wctype.h (iswascii): Don't cast arg to unsigned.
3266 2003-01-03 Danny Smith <dannysmith@users.sourceforge.net>
3268 * include/stdlib.h (_osver, _winver, _winmajor,
3269 _winminor): Declare as direct imports from dll if
3270 __DECLSPEC_SUPPORTED.
3272 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
3274 * pseudo-reloc.c (do_pseudo_reloc): Make static.
3275 * pseudo-reloc-list.c: New file.
3276 * crt1.c (_pei386_runtime_relocator): Declare.
3277 (__mingw_CRTStartup): Call it.
3278 * dllcrt1.c (_pei386_runtime_relocator): Declare.
3279 (DllMainCRTStartup): Call it.
3280 * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to
3283 2003-01-01 Egor Duda <deo@logos-m.ru>
3285 * pseudo-reloc.c: New file.
3287 2002-12-20 Earnie Boyd <earnie@users.sf.net>
3289 * include/_mingw.h: Increment version to 2.4.
3292 2002-12-12 Earnie Boyd <earnie@users.sf.net>
3294 * include/malloc.h (_alloca): Add definition.
3297 2002-12-08 Danny Smith <dannysmith@users.sourceforge.net>
3299 * mingwex/math/s_erf.c: New file.
3300 * mingwex/math/sf_erf.c: New file.
3301 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3302 (MATH_OBJS): Add new objects.
3303 * include/math.h (erf[f]): Add prototypes.
3304 (erfc[f]): Add prototypes.
3306 2002-12-07 Danny Smith <dannysmith@users.sourceforge.net>
3308 * include/math.h: Add traditional/XOPEN math constants.
3310 2002-11-27 Danny Smith <dannysmith@users.sourceforge.net>
3312 * mingwex/math/lgamma.c: New file.
3313 * mingwex/math/lgammaf.c: New file.
3314 * mingwex/math/lgammal.c: New file.
3315 * mingwex/math/tgamma.c: New file.
3316 * mingwex/math/tgammaf.c: New file.
3317 * mingwex/math/tgammal.c: New file.
3318 * mingwex/math/cephes_mconf (polevlf): Add float version.
3320 Define _CEPHES_USE_ERRNO.
3321 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3322 (MATH_OBJS): Add new objects.
3323 * include/math.h (lgamma[fl]): Add prototypes.
3324 (tgamma[fl]): Add prototypes.
3326 2002-11-26 Danny Smith <dannysmith@users.sourceforge.net>
3328 * mingwex/strtold.c: New file.
3329 * mingwex/wcstold.c: New file.
3330 * mingwex/ldtoa.c: New file.
3331 * mingwex/math/cephes_emath.h: New file.
3332 * mingwex/math/cephes_emath.c: New file.
3333 * mingwex/Makefile.in (DISTFILES): Add new files.
3334 (MATH_DISTFILES): Ditto.
3335 (STDLIB_OBJS): New. Define as strtold.c wcstold.c.
3336 (MATH_OBJS): Add cephes_emath.o.
3337 (LIB_OBJS): Add $(STDLIB_OBJS).
3338 * include/stdlib.h (strtold, wcstold): Add prototypes.
3339 * include/wchar.h (wcstold): Add prototype.
3341 2002-11-09 Danny Smith <dannysmith@users.sourceforge.net>
3343 * include/math.h (sqrt): Remove inline definition.
3344 (sqrtf): Replace inline definition with prototype.
3346 * mingwex/math/sqrtf.c (sqrtf): Set domain error if
3347 argument less than zero.
3348 * mingwex/math/sqrtf.c (sqrtl): Likewise.
3350 2002-10-30 Guido Serassio <serassio@libero.it>
3352 * include/stdio.h (_getmaxstdio): Add prototype.
3353 (_setmaxstdio): Likewise.
3355 2002-10-19 Kang Li <rubylith@users.sourceforge.net>
3357 * include/fcntl.h (O_SEQUENTIAL): Correct typo.
3359 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3361 * crt1.c: Define new macro __IN_MINGW_RUNTIME before including
3363 Define WIN32_MEAN_AND_LEAN before including windows.h
3364 * include/stdlib.h (_fmode): Protect declaration as dllimported
3365 variable with __IN_MINGW_RUNTIME.
3367 2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu>
3369 * crt1.c: Include stdlib.h.
3371 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3373 * Makefile.in (CRT0S): Add txtmode.o binmode.o.
3374 (MINGW_OBJS): Add txtmode.o.
3375 (SRCDIST_FILES): Add txtmode.c binmode.c.
3376 crt1.c: Don't include fcntrl.h, stdlib.h.
3377 (_fmode): Declare, without dllimport attribute.
3378 (__p__fmode): Declare access function for dll's _fmode.
3379 (_mingw32_init_fmode): Sync dll _fmode with staticly linked
3381 * txtmode.c: New file.
3382 * binmode.c: New file.
3383 * samples/fmode/test2.c: New file.
3384 * samples/fmode/jamfile: Add test2.exe target.
3386 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3388 * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
3389 macros work with C89.
3390 (INTMAX_C, UINTMAX_C): Likewise.
3392 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3394 * include/string.h (strcasecmp): Make extern __inline__.
3395 (strncasecmp): Likewise.
3396 (wcscmpi): Likewise.
3398 2002-10-08 Heiko Gerdau <hg@technosis.de>
3400 * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
3401 _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
3404 2002-10-07 Danny Smith <dannysmith@users.sourceforge.net>
3406 * mingwex/math/powil.c: Rename powil to __powil.
3407 * mingwex/math/powl.c: Adjust declaration and call
3408 to __powil. Remove comment on powil.
3409 * mingwex/math/powi.c: New file.
3410 * mingwex/math/powif.c: New file.
3411 * mingwex/math/pow.c: New file.
3412 * mingwex/math/cephes_mconf.h. Add double and float
3413 versions of constants.
3414 (polevl): Add double precision function.
3416 * mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
3418 (MATH_OBJS): Add pow.o, powi.o, powif.o.
3420 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3422 * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
3423 (_imp____mbcur_max_dll): Likewise.
3425 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3427 * include/fcntl.h (_fmode): Remove declarations and
3428 compatibility defines.
3429 (_setmode, setmode): Remove prototypes.
3430 * include/stdlib (_fmode): Add declarations and
3431 compatibility defines. Change type to int.
3432 * include/io.h (_setmode, setmode): Add prototypes.
3433 * samples/fmode/all.c: Adjust includes.
3434 * samples/fmode/test.c: Likewise.
3435 * crt1.c (_CRT_fmode): Declare as int.
3436 * CRTfmode.c (_CRT_fmode): Likewise.
3438 * include/stdlib: Remove comment about MB_CUR_MAX.
3440 2002-10-02 Danny Smith <dannysmith@users.sourceforge.net>
3442 * include/stdlib.h (_imp____mbcur_max): Add missing ';'.
3443 (_imp____mbcur_max_dll): Likewise.
3445 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3447 * mingwex/math/files.txt: Remove inadvertantly added file.
3449 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3451 * include/string.h (_strerror): Move into #ifndef
3452 __STRICT_ANSI__ block.
3454 2002-09-17 Danny Smith <dannysmith@users.sourceforge.net>
3456 * include/time.h (__need_NULL): Define before including
3457 stddef.h. Thanks to: Rüdiger Dehmel <de@lmnet.de>.
3459 2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
3461 * include/stdio.h: Correct comment about directory separator.
3463 2002-09-12 Danny Smith <dannysmith@users.sourceforge.net>
3465 * include/sys/time.h (timeval): Add struct definition and
3466 associated macros (copied from w32api/include/winsock.h).
3468 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3470 * include/_mingw.h: Increment version to 2.3.
3473 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3475 * mingwex/fegetenv.c: Change to \n line endings.
3476 * mingwex/vsnprintf.c: Ditto.
3477 * mingwex/vsnwprintf.c: Ditto.
3479 2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
3481 * mingwex/math/hypotl.c: Replace with version based on cephes
3484 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3486 * include/sys/param.h: Add ENDIAN defines.
3487 * test_headers.c: Include sys/param.h.
3489 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3491 * test_headers.c: Don't include varargs.h.
3492 * Makefile.in (test_headers): Don't use -std=xx
3495 2002-08-21 Earnie Boyd <earnie@users.sf.net>
3497 * include/sys/param.h: New File.
3499 2002-08-21 Danny Smith <dannysmith@users.sourceforge.net>
3501 * include/math.h (asm): Change to __asm__ throughout.
3502 Expose ISO C99 functions if __GLIPCPP__.
3503 (hypotf): Use hypot, not _hypot in stub.
3505 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3507 * include/tchar.h: Ansi-fy another comment.
3509 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3511 * include/tchar.h: Ansi-fy comment.
3513 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3515 * test_headers.c : New file.
3516 * Makefile.in (test_headers): New target, using it,
3517 (SRCDIST_FILES): Distribute it.
3519 2002-08-20 Earnie Boyd <earnie@users.sf.net>
3521 * include/_mingw.h: Increment version to 2.2.
3524 2002-08-14 Earnie Boyd <earnie@users.sf.net>
3526 * include/unistd.h: Add include of process.h.
3528 2002-08-03 Danny Smith <dannysmith@users.sourceforge.net>
3530 * include/stdio.h (_fcloseall): Add prototype.
3532 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3534 * include/tchar.h (_tfdopen): Correct typo.
3536 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3538 * moldname.def.in (chgsign,scalb,finite,fpclass,logb,
3539 nextafter): Add non-underscored stubs.
3540 * moldname-msvcrt.def: Regenerate.
3541 * moldname-crtdll.def: Regenerate.
3542 * mingwex/math: New directory.
3543 * mingwex/rint.c: Move to mingwex/math.
3544 * mingwex/rintf.c: Ditto.
3545 * mingwex/rintl.c: Ditto.
3546 * mingwex/round.c: Ditto.
3547 * mingwex/roundf.c: Ditto.
3548 * mingwex/roundl.c: Ditto.
3549 * mingwex/rint.c: Ditto.
3550 * mingwex/rintf.c: Ditto.
3551 * mingwex/rintl.c: Ditto.
3552 * mingwex/trunc.c: Ditto.
3553 * mingwex/truncf.c: Ditto.
3554 * mingwex/truncl.c: Ditto.
3555 * mingwex/signbit.c: Ditto.
3556 * mingwex/signbitf.c: Ditto.
3557 * mingwex/signbitl.c: Ditto.
3558 * mingwex/copysignl.S: Ditto.
3559 * mingwex/fdim.c: Ditto.
3560 * mingwex/fdimf.c: Ditto.
3561 * mingwex/fdiml.c: Ditto.
3562 * mingwex/fmin.c: Ditto.
3563 * mingwex/fminf.c: Ditto.
3564 * mingwex/fminl.c: Ditto.
3565 * mingwex/fmax.c: Ditto.
3566 * mingwex/fmaxf.c: Ditto.
3567 * mingwex/fmaxl.c: Ditto.
3568 * mingwex/fma.c: Ditto.
3569 * mingwex/fmaf.c: Ditto.
3570 * mingwex/fmal.c: Ditto.
3571 * mingwex/fpclassify.c: Ditto.
3572 * mingwex/fpclassifyl.c: Ditto.
3573 * mingwex/fpclassifyl.c: Ditto.
3574 * mingwex/isnan.c: Ditto.
3575 * mingwex/isnanf.c: Ditto.
3576 * mingwex/isnanl.c: Ditto.
3577 * mingwex/fucom.c: Ditto.
3578 * mingwex/fp_consts.c: Ditto. Split out float and long double
3580 * mingwex/math_stubs.c: Remove.
3581 * mingwex/log2.c: Remove. Replaced by math/log2.S
3582 * mingwex/log2f.c: Remove. Replaced by math/log2f.S
3583 * mingwex/log2l.c: Remove. Replaced by math/log2l.S
3584 * mingwex/math/acosf.c : New file.
3585 * mingwex/math/acosl.c: New file.
3586 * mingwex/math/asinf.c: New file.
3587 * mingwex/math/asinl.c: New file.
3588 * mingwex/math/atan2f.c: New file.
3589 * mingwex/math/atan2l.c: New file.
3590 * mingwex/math/atanf.c: New file.
3591 * mingwex/math/atanl.c: New file.
3592 * mingwex/math/cbrt.c: New file.
3593 * mingwex/math/cbrtf.c: New file.
3594 * mingwex/math/cbrtl.c: New file.
3595 * mingwex/math/ceilf.S: New file.
3596 * mingwex/math/ceill.S: New file.
3597 * mingwex/math/cephes_ld.h: New file.
3598 * mingwex/math/copysign.S: New file.
3599 * mingwex/math/copysignf.S: New file.
3600 * mingwex/math/cosf.S: New file.
3601 * mingwex/math/coshf.c: New file.
3602 * mingwex/math/coshl.c: New file.
3603 * mingwex/math/cosl.S: New file.
3604 * mingwex/math/exp2.S: New file.
3605 * mingwex/math/exp2f.S: New file.
3606 * mingwex/math/exp2l.S: New file.
3607 * mingwex/math/expf.c: New file.
3608 * mingwex/math/expl.c: New file.
3609 * mingwex/math/fabs.c: New file.
3610 * mingwex/math/fabsf.c: New file.
3611 * mingwex/math/fabsl.c: New file.
3612 * mingwex/math/floorf.S: New file.
3613 * mingwex/math/floorl.S: New file.
3614 * mingwex/math/fmodf.c: New file.
3615 * mingwex/math/fmodl.c: New file.
3616 * mingwex/math/fp_consts.h: Ditto.
3617 * mingwex/math/fp_constsf.c: Ditto.
3618 * mingwex/math/fp_constsl.c: Ditto.
3619 * mingwex/math/frexpf.c: New file.
3620 * mingwex/math/frexpl.S: New file.
3621 * mingwex/math/hypotf.c: New file.
3622 * mingwex/math/hypotl.c: New file.
3623 * mingwex/math/ilogb.S: New file.
3624 * mingwex/math/ilogbf.S: New file.
3625 * mingwex/math/ilogbl.S: New file.
3626 * mingwex/math/ldexpf.c: New file.
3627 * mingwex/math/ldexpl.c: New file.
3628 * mingwex/math/llrint.c: New file.
3629 * mingwex/math/llrintf.c: New file.
3630 * mingwex/math/llrintl.c: New file.
3631 * mingwex/math/llround.c: New file.
3632 * mingwex/math/llroundf.c: New file.
3633 * mingwex/math/llroundl.c: New file.
3634 * mingwex/math/log10f.S: New file.
3635 * mingwex/math/log10l.S: New file.
3636 * mingwex/math/log1p.S: New file.
3637 * mingwex/math/log1pf.S: New file.
3638 * mingwex/math/log1pl.S: New file.
3639 * mingwex/math/log2.S: New file.
3640 * mingwex/math/log2f.S: New file.
3641 * mingwex/math/log2l.S: New file.
3642 * mingwex/math/logb.c: New file.
3643 * mingwex/math/logbf.c: New file.
3644 * mingwex/math/logbl.c: New file.
3645 * mingwex/math/logf.S: New file.
3646 * mingwex/math/logl.S: New file.
3647 * mingwex/math/lrint.c: New file.
3648 * mingwex/math/lrintf.c: New file.
3649 * mingwex/math/lrintl.c: New file.
3650 * mingwex/math/lround.c: New file.
3651 * mingwex/math/lroundf.c: New file.
3652 * mingwex/math/lroundl.c: New file.
3653 * mingwex/math/modff.c: New file.
3654 * mingwex/math/modfl.c: New file.
3655 * mingwex/math/nearbyint.S: New file.
3656 * mingwex/math/nearbyintf.S: New file.
3657 * mingwex/math/nearbyintl.S: New file.
3658 * mingwex/math/nextafterf.c: New file.
3659 * mingwex/math/powf.c: New file.
3660 * mingwex/math/powl.c: New file.
3661 * mingwex/math/powil.c: New file.
3662 * mingwex/math/remainder.S: New file.
3663 * mingwex/math/remainderf.S: New file.
3664 * mingwex/math/remainderl.S: New file.
3665 * mingwex/math/remquo.S: New file.
3666 * mingwex/math/remquof.S: New file.
3667 * mingwex/math/remquol.S: New file.
3668 * mingwex/math/scalbn.S: New file.
3669 * mingwex/math/scalbnf.S: New file.
3670 * mingwex/math/scalbnl.S: New file.
3671 * mingwex/math/sinf.S: New file.
3672 * mingwex/math/sinhf.c: New file.
3673 * mingwex/math/sinhl.c: New file.
3674 * mingwex/math/sinl.S: New file.
3675 * mingwex/math/sqrt.c: New file.
3676 * mingwex/math/sqrtf.c: New file.
3677 * mingwex/math/sqrtl.c: New file.
3678 * mingwex/math/tanf.S: New file.
3679 * mingwex/math/tanhf.c: New file.
3680 * mingwex/math/tanhl.c: New file.
3681 * mingwex/math/tanl.S: New file.
3682 * mingwex/Makefile.in: Adjust VPATH for source files in
3685 Add MATH_DISTFILES and use it to build source distro.
3686 * include/ math.h: Add protypes for new functions and
3687 reorganise to reflect ANSI,C99 status.
3689 2002-06-19 Danny Smith <dannysmith@users.sourceforge.net>
3691 * include/tchar.h (_getts): Define as _getws for _UNICODE.
3692 (_putts): Define as _putws for _UNICODE.
3693 Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report.
3695 2002-06-18 Danny Smith <dannysmith@users.sourceforge.net>
3697 * include/float.h: #include_next<float.h> before header guard.
3699 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
3701 * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
3703 * include/excpt.h (): Include windef.h not windows.h.
3704 * include/fcntl.h (_O_SHORT_LIVED): Add define.
3705 (_chmod): Add prototype.
3706 (_creat): Correct prototype.
3707 (SH_DENY*): Rename defines to _SH_DENY*.
3708 (SH_DENY*): Add Non-ANSI names for _SH_DENY*.
3709 include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
3710 _IOAPPEND): Add defines.
3711 (_wfindfirst): Correct prototype.
3712 (_wfdopen): Add prototype.
3713 * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
3715 * include/string.h (_mbschr, _mbstok, _mbsncat): Remove
3717 (_wcsdup): Correct prototype.
3718 * include/mbstring.h: Remove comments about _mbschr, _mbstok,
3719 _mbsncat being in string.h.
3720 * include/wchar.h (_wfindfirst): Correct prototype.
3721 * include/tchar.h (_tfdopen): Add _UNICODE mappings.
3723 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3725 * include/_mingw.h: Increment to version 2.1.
3726 * Makefile.in: Ditto.
3728 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3730 * Makefile.in (conf_prefix): New variable.
3731 (dist_prefix): Ditto. Conditionally set to $(conf_prefix).
3732 (bindist): Use dist_prefix.
3734 2002-06-13 Danny Smith <dannysmith@users.sourceforge.net>
3736 * include/_mingw.h: Increment version to 2.0.
3737 * Makefile.in: Ditto.
3739 Merge in mingwex branch.
3741 2002-06-11 Danny Smith <dannysmith@users.sourceforge.net>
3742 * include/math.h (fdim, fdimf, fdiml): Add prototypes.
3743 * mingwex/fdim.c: New file.
3744 * mingwex/fdimf.c: New file.
3745 * mingwex/fdiml.c: New file.
3746 * mingwex/Makefile.in (DISTFILES): Add fdim.c, fdimf.c,
3748 (MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
3750 2002-05-23 Danny Smith <dannysmith@users.sourceforge.net>
3751 * mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c.
3753 2002-05-22 Danny Smith <dannysmith@users.sourceforge.net>
3754 * mingwex/isnanl.c: New file.
3756 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3757 * include/stdint.h: Include stddef.h to get
3759 (WINT_MAX): Define to ((wint_t)-1).
3761 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3762 * include/wctype.h: Replace 'inline' with '__inline__'.
3763 * include/inttypes.h: Likewise.
3765 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3766 * include/_mingw.h (__MINGW_IMPORT): Put extern at start
3767 to avoid warnings. Thanks to: Oscar Fuentes <ofv@wanadoo.es>.
3769 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3770 * mingwex/snprintf.c: Split out vsnprintf to....
3771 * mingwex/vsnprintf.c: New file.
3772 * mingwex/snwprintf.c: Split out vsnwprintf to...
3773 * mingwex/vsnwprintf.c: New file.
3774 * mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
3776 2002-05-15 Pascal Obry <obry@gnat.com>
3777 * include/dirent.h (DIR): Change dd_stat type to int.
3780 2002-05-07 Danny Smith <dannysmith@users.sourceforge.net>
3781 * include/stdio.h (vsnprintf): Change inline to __inline__;
3782 (vsnwprintf): Likewise.
3783 * include/wchar.h (vsnwprintf): Likewise.
3786 (mbsinit): Likewise.
3788 2002-04-29 Danny Smith <dannysmith@users.sourceforge.net>
3789 Change FP default precison from 53 to 64-bit mantissa.
3790 * Makefile.in (CRT0S): Add CRT_fp8.o.
3791 (MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o.
3792 * include/float.h: Replace standard float.h defines with
3793 #include_next<float.h> to use GCC's defines. Adjust comments
3796 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3797 * include/dos.h: Change prefix "__imp_" to "_imp__" for
3798 __GNUC__ without __DECLSPEC_SUPPORTED.
3799 * include/fnctl.h: Likewise.
3800 * include/math.h: Likewise.
3801 * include/stdio.h: Likewise.
3802 * include/stdlib.h: Likewise.
3803 * include/time.h: Likewise.
3804 * include/wctype.h: Likewise.
3805 * include/ctype.h: Likewise.
3807 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3808 Add atexit support for dlls.
3809 * crt1.c (atexit): Force thunk to _imp__atexit.
3810 (_onexit): Force thunk to _imp___onexit.
3811 * dllcrt1.c (DllMainCRTStartup): Initialise private atexit
3812 table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
3813 (__dll_exit): New function to run atexit-registered functions
3814 and flush output buffers on DLL_PROCESS_DETACH or failed
3816 (atexit): Force use of private atexit table via _dllonexit,
3817 (_onexit): New function. Force use of private atexit table via
3819 * msvcrt.def (atexit, _onexit): Add DATA keyword so that only
3820 _imp_<_symbol> is visible in import lib.
3821 * msvcrt20.def: Likewise.
3822 * msvcrt40.def: Likewise.
3823 * crtdll.def: Likewise.
3825 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3826 * include/fenv.h: Change header guard macro to _FENV_H_.
3827 (fenv_t, fexcept_t): Move into block protected by
3829 Cleanup some whitespace.
3830 * include/inttypes.h: Change header guard macro to
3833 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3834 * include/math.h (copysignl): Declare.
3835 * mingwex/Makefile.in (DISTFILES): Add copysignl.S.
3836 (MATHOBJS):Add copysignl.o.
3838 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3839 * include/math.h (__signbitl, __isnanl): Declare.
3841 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3842 * include/math.h (nanl, __fpcassifyl, fminl, fmaxl, rintl,
3843 roundl, truncl, fmal, log2l): Declare.
3844 Protect C99 declarations with _STDC_VERSION__ >= 199901L)
3845 || !defined __STRICT_ANSI__.
3846 * mingwex/fmax.c (fmax): Call __isnan, not _isnan.
3847 * mingwex/fmin.c (fmin): Likewise.
3848 * mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan.
3849 * mingwex/fminf.c (fminf): Likewise.
3850 * mingwex/fmaxl.c: New file.
3851 * mingwex/fminl.c: New file.
3852 * mingwex/fpclassify.c (__fpclassifyf): Split out to ...
3853 * mingwex/fpclassifyf.c: New file.
3854 * mingwex/fpclassifyl.c: New file.
3855 * mingwex/rint.c (rintf): Split out to...
3856 * mingwex/rintf.c: New file.
3857 * mingwex/rintl.c: New file.
3858 * mingwex/round.c (roundf): Split out to...
3859 * mingwex/roundf.c: New file.
3860 * mingwex/roundl.c: New file.
3861 * mingwex/trunc.c (truncf): Split out to...
3862 * mingwex/truncf.c: New file.
3863 * mingwex/truncl.c: New file.
3864 * mingwex/signbit.c (signbitf): Split out to...
3865 * mingwex/signbitf.c: New file.
3866 * mingwex/signbitl.c: New file.
3867 * mingwex/fmal.c: New file.
3868 * mingwex/copysignl.S: New file.
3869 * mingwex/log2l.c: New file.
3870 * mingwex/fp_consts.c: Add nanl definition.
3871 Comment out unused constants.
3872 * mingwex/Makefile.in (DISTFILES): Add fmaxl.c, fminl.c,
3873 fpclassifyf.c, fpclassifyl.c, rintf.c, rintl.c, roundf.c,
3874 roundl.c, truncf.c truncl.c, signbitf.c signbitl.c,
3876 (MATHOBJS): Add fmaxl.o, fminl.o, fpclassifyf.o,
3877 fpclassifyl.o, rintf.o, rintl.o, roundf.o, roundl.o,
3878 truncf.o truncl.o, signbitf.o signbitl.o, fmal.o,
3880 * mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo.
3882 2002-04-23 Danny Smith <dannysmith@users.sourceforge.net>
3883 Make wide char versions of opendir and friends.
3884 * include/dirent.h (_wdirent, _WDIR): Define wide versions of
3886 (_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
3887 _wseekdir): Add prototypes for wide versions of corresponding
3889 * include/tchar.h; Add _UNICODE mappings for dirent.h
3890 structures and functions.
3891 * mingwex/dirent.c: Make _UNICODE neutral.
3892 * mingwex/wdirent.c: New file to define _UNICODE before
3894 * mingwex/Makefile.in (DISTFILES): Add wdirent.c.
3895 (POSIX_OBJS): Add wdirent.o.
3896 (wdirent.o): Specify dependency on dirent.c as well as
3898 * samples/dirent/wtest.c: New file, wide version of test.c.
3900 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3901 * Makefile.in (INCLUDES): Add "-iwithprefixbefore include" to
3902 ensure gcc include dir is searched despite -nostdinc.
3903 * profile/Makefile.in (INCLUDES): Likewise.
3904 * mingwex/Makefile.in (INCLUDES): Likewise.
3905 * include/stdarg.h: Replace with stub that just guards the
3906 real gcc system header with #ifndef RC_INVOKED
3907 * include/varargs.h: Likewise.
3908 * include/stddef.h: Likewise.
3909 * include/stdio.h: Include stdarg.h after defining
3911 (__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
3912 Replace va_list with __VALIST throughout.
3914 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3915 * crt1.c: Revert changes of 2002-04-16. Use _fpreset again.
3916 * msvcrt.def (_fpreset): Mark as DATA so that only
3917 _imp___fpreset is exported.
3918 * msvcrt20.def (_fpreset): Likewise.
3919 * msvcrt40.def (_fpreset): Likewise.
3920 * crtdll.def (_fpreset): Likewise.
3921 * CRT_fp10.c (_fpreset): Overide library _fpreset with one
3923 (fpreset): Add alias.
3924 (__CRT_PC): Delete definition. _fpreset does it now.
3925 * CRT_fp8.c (_fpreset): Force use of library _imp___fpreset.
3926 (fpreset): Add alias.
3927 (__CRT_PC): Delete definition.
3928 * moldname.def.in: Comment out fpreset.
3929 * moldname-msvcrt.def: Regenerate.
3930 * moldname-crtdll.def: Regenerate.
3931 * include/fenv.h (FE_DFL_ENV): Define as (fenv_t*)0.
3932 * mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment
3933 with the _fpreset determined by startup CRT_fp object.
3935 2002-04-16 Danny Smith <dannysmith@users.sourceforge.net>
3936 * CRT_fp8.c: New file.
3937 * CRT_fp10.c: New file.
3938 * crt1.c (__CRT_PC) Declare.
3939 (__CRT_fesetenv): New static function, using _CRT_PC.
3940 (__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset.
3941 (_gnu_exception_handler): Likewise.
3942 * Makefile.in (CRT0S): Add CRT_fp10.o.
3943 (MINGW_OBJS): Add CRT_fp8.o.
3944 (SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c.
3945 Add CRT_fp8.o, CRT_fp10.o dependancies.
3946 * include/float.h (_fpreset): Expand comment.
3947 * include/fenv.h (FE_PC64_ENV): New define for Intel x87
3948 (extended precison) environmemt.
3949 (FE_PC53_ENV): New define for MSVCRT default environmemt.
3950 (FE_DFL_ENV): Define as FE_PC53_ENV.
3951 * mingwex/fesetenv.c: Use FE_PC53_ENV, FE_PC64_ENV to determine
3952 precision control for default environment.
3954 * include/math.h: Fix long comment line.
3955 * profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
3957 * profile/configure: Regenerate.
3959 2002-04-12 Danny Smith <dannysmith@users.sourceforge.net>
3960 * mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c.
3962 2002-04-10 Danny Smith <dannysmith@users.sourceforge.net>
3963 * mingwex/mingw-fseek.c: New file, based on Mumit Khan
3964 mingw-local patch to binutils.
3965 Sun Nov 7 04:27:07 1999 Mumit Khan <khan@xraylith.wisc.edu>
3966 (__mingw_fseek): New function to work around Win9x f/lseek bug.
3967 (__mingw_fwrite): Likewise.
3968 (__mingw_is_win9x): New helper function.
3969 * include/stdio.h (__USE_MINGW_FSEEK): New define,guarding...
3970 (__mingw_fseek): New prototype and define to replace fseek.
3971 (__mingw_fwrite): New prototype and define to replace fwrite.
3972 * mingwex/Makefile.in: Add mingw-fseek.o to libmingwex.a.
3973 * moldname-crtdll.def: Remove CR from end of line.
3974 * moldname-msvcrt.def: Ditto.
3976 2002-04-09 Danny Smith <dannysmith@users.sourceforge.net>
3977 * profile/configure.in (CRT0S): Configure name of gcrt?.o
3978 based on target, building gcrt0.o for cygwin -mno-cygwin.
3979 * profile/configure: Regenerate.
3980 * profile/Makefile.in (CRT0S): Use name from configure.
3981 (gcrt0.o): New rule.
3982 (ALL_CRT0S): New define, used to cleanup all gcrt?.o's.
3984 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3985 * include/math.h (_controlfp, _control87, _clearfp, _statusfp, _fpreset,
3986 _fpecode): Remove prototypes copied from float.h.
3987 (nan, nanf): Move into block protected against RC_INVOKED
3989 * include/stdlib.h (_Exit): Change from static inline to
3991 * mingwex/_Exit.c : New file.
3992 * mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
3994 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3995 Add libgmon.a and libmingwex.a for cygwin -mno-cygwin.
3996 * configure.in (SUBDIRS): Add profile and mingwex to cygwin target.
3997 (configdirs): Likewise.
3998 (LIBGMON_A): Define for cygwin target as well.
3999 * configure: Regenerate.
4000 * profile/configure.in (THREAD_DLL): Remove define.
4001 (LIBM_A): Remove define.
4002 (LIBGMON_A): Define for cygwin target as well.
4003 * profile/configure: Regenerate.
4004 * profile/makefile.in (install): Install to inst_libdir and
4006 * mingwex/makefile.in (CFLAGS): Move -fomit-frame-pointer to...
4007 (OPTFLAGS): New define.
4008 (ALL_CFLAGS): Add $(OPTFLAGS).
4009 (ALL_CXXFLAGS): Same.
4010 (.c.o:): Remove ALL_CXXFLAGS.
4012 2002-03-29 Danny Smith <dannysmith@users.sourceforge.net>
4013 * include/stdint.h: Add missing newline at eof.
4014 * include/stdio.h (snprintf): Add prototype.
4015 (vsnprintf): Add prototype and inline definition.
4016 (snwprintf): Add prototype.
4017 (vsnwprintf): Add prototype and inline definition.
4018 * include/wchar.h (snwprintf): Add prototype.
4019 (vsnwprintf): Add prototype and inline definition.
4020 * mingwex/Makefile.in: Add snprintf.o, snwprintf.o
4022 * mingwex/snprintf.c: New file.
4023 * mingwex/snwprintf.c: New file.
4025 2002-03-22 Danny Smith <dannysmith@users.sourceforge.net>
4026 * configure.in: Add mingwex as SUBDIRS and configdirs.
4027 * configure: Regenerate.
4028 * Makefile.in (MINGW_OBJS): Remove dirent.o.
4029 (SRC_DIST_FILES): Remove dirent.c.
4031 * include/stdlib.h (_Exit): Add static inline
4033 (struct lldiv_t): Define.
4034 (lldiv): Add prototype.
4035 (llabs): Add extern inline function.
4036 (strtoll,strtoull): Add prototypes.
4037 (wcstol, wcstoul, wcstod): Group together.
4038 (strtof, wcstof): Add extern inline definitions.
4039 (atoll,lltoa,ulltoa, wtoll, lltow ulltow): Add prototypes
4040 and extern inline definitions.
4041 * include/wchar.h (fwide, wcstoll,wcstoull, wmemchr
4042 wmemcmp, wmemcpy, wmemmove, wmemset. mbsinit): Add
4044 (wcstol, wcstoul,wcstod): Copy prototypes from stdlib.h.
4045 (wcstof): Add extern inline definition.
4046 * include/math.h (nan, nanf): Add prototypes.
4047 (NAN, INFINITE): Define constants.
4048 (fpclassify, isnan ,signbit): Add macros and supporting float
4049 and double functions.
4050 (isfinite, isinf, isnormal): Add macros.
4051 (isgreater, isless, isgreaterequal, islessequal,islessgreater):
4053 (rint, rintf, round, roundf, trunc. truncf, fmax, fmaxf,
4054 fmin, fminf, fma, fmaf, log2, log2f): Add prototypes.
4055 (copysign, logb, nextafter, scalb): Add prototypes and
4056 inline stubs for underscored versions in msvcrt.dll.
4057 * include/inttypes.h: New file.
4058 * include/fenv.h: New file
4060 Add new mingwex subdir and files.
4061 * mingwex: New directory.
4062 * mingwex/Makefile.in: New file.
4063 * mingwex/configure.in: New file.
4064 * mingwex/configure: Generate.
4065 * mingwex/dirent.c: Moved here from parent dir.
4066 * mingwex/atoll.c: New file.
4067 * mingwex/feclearexcept.c: New file.
4068 * mingwex/fegetenv.c: New file.
4069 * mingwex/fegetexceptflag.c: New file.
4070 * mingwex/fegetround.c: New file.
4071 * mingwex/feholdexcept.c: New file.
4072 * mingwex/feraiseexcept.c: New file.
4073 * mingwex/fesetenv.c: New file.
4074 * mingwex/fesetexceptflag.c: New file.
4075 * mingwex/fesetround.o: New file.
4076 * mingwex/fetestexcept.c: New file.
4077 * mingwex/feupdateenv.c: New file.
4078 * mingwex/fma.S: New file.
4079 * mingwex/fmaf.S: New file.
4080 * mingwex/fmax.c: New file.
4081 * mingwex/fmaxf.c: New file.
4082 * mingwex/fmin.c: New file.
4083 * mingwex/fminf.c: New file.
4084 * mingwex/fp_consts.c: New file.
4085 * mingwex/fpclassify.c: New file.
4086 * mingwex/fucom.c: New file.
4087 * mingwex/fwide.c: New file.
4088 * mingwex/imaxabs.c: New file.
4089 * mingwex/imaxdiv.c: New file.
4090 * mingwex/isnan.c: New file.
4091 * mingwex/isnanf.c: New file.
4092 * mingwex/lltoa.c: New file.
4093 * mingwex/lltow.c: New file.
4094 * mingwex/log2.c: New file.
4095 * mingwex/log2f.c: New file.
4096 * mingwex/math_stubs.c: New file.
4097 * mingwex/mbsinit.c: New file.
4098 * mingwex/rint.c: New file.
4099 * mingwex/round.c: New file.
4100 * mingwex/signbit.c: New file.
4101 * mingwex/sitest.c: New file.
4102 * mingwex/strtof.c: New file.
4103 * mingwex/strtoimax.c: New file.
4104 * mingwex/strtoumax.c: New file.
4105 * mingwex/testwmem.c: New file.
4106 * mingwex/trunc.c: New file.
4107 * mingwex/ulltoa.c: New file.
4108 * mingwex/ulltow.c: New file.
4109 * mingwex/wcstof.c: New file.
4110 * mingwex/wcstoimax.c: New file.
4111 * mingwex/wcstoumax.c: New file.
4112 * mingwex/wmemchr.c: New file.
4113 * mingwex/wmemcmp.c: New file.
4114 * mingwex/wmemcpy.c: New file.
4115 * mingwex/wmemmove.c: New file.
4116 * mingwex/wmemset.c: New file.
4117 * mingwex/wtoll.c: New file.
4119 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4121 * include/mbstring.h: New file.
4122 * include/mbctype.h: New file.
4124 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4126 * include/tchar.h (__TEXT): Make same as define in
4127 w32api/include/winnt.h.
4129 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4131 * include/tchar.h (_tputenv): Add UNICODE mappings.
4132 (_tsearchenv): Likewise.
4133 (_tmakepath): Likewise.
4134 (_tsplitpath): Likewise.
4135 (_tfullpath): Likewise.
4137 2002-04-18 Pascal Obry <obry@gnat.com>
4139 * dirent.c (opendir): Convert given pathname to
4142 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4144 * include/_mingw.h: Increment version.
4145 * Makefile.in: Ditto.
4147 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4149 * moldname-crtdll.def: Remove CR from end of line.
4150 * moldname-msvcrt.def: Ditto.
4151 * Makefile.in: Use bzip2 compression for Cygwin target.
4153 2002-04-04 Danny Smith <dannysmith@sourceforge.users.net>
4155 * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
4156 TLOSS, PLOSS): Move oldname defines back, following
4157 the underscored names.
4159 2002-03-29 Danny Smith <dannysmith@sourceforge.users.net>
4161 * include/stdio.h (_snwprintf): Correct spelling.
4162 (_vsnwprintf): Likewise.
4163 * include/wchar.h (_snwprintf): Correct spelling.
4164 (_vsnwprintf): Likewise.
4166 2002-03-26 Danny Smith <dannysmith@users.sourceforge.net>
4168 * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__).
4169 (wpopen): Add if !(__CRTDLL__).
4170 * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
4172 (moldname-crtdll.def rule): Likewise.
4173 * moldname-msvcrt.def: Regenerate.
4174 * moldname-crtdll.def: Regenerate.
4175 * include/stdio.h (wpopen):Use prototype, not a define.
4176 (_swnprintf): Add prototype.
4177 (_vswnprintf): Likewise.
4179 * include/wchar.h (_swnprintf): Add prototype.
4180 (_vswnprintf): Likewise.
4183 2002-01-28 Danny Smith <dannysmith@users.sourceforge.net>
4185 * include/malloc.h (_heapinfo): Correct structure definition.
4186 (_USEDENTRY,_FREEENTRY): Add defines.
4187 Add comment on platform support for _heap* functions.
4188 (_get_sbh_threshold): Add prototype.
4189 (_set_sbh_threshold): Likewise.
4190 (_expand): Likewise.
4192 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4194 * profile/profil.c: Update copyright info.
4195 * profile/profil.h: Likewise.
4196 * profile/gcrt0.c: Likewise.
4198 2002-01-25 Pascal Obry <obry@gnat.com>
4200 * profile/profil.h (PROFADDR): Cast idx to unsigned long long to
4202 * profile/gmon.c: Define bzero as memset if mingw32.
4203 (monstartup): Use it.
4205 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4207 * include/tchar.h (_TCHAR): Add missing ;.
4209 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4211 * include/tchar.h (_TCHAR): Add typedefs.
4213 2002-01-16 Danny Smith <dannysmith@users.sourceforge.net>
4215 * include/stdlib.h (_onexit_t): Add typedef.
4216 (_onexit): Add prototype.
4218 2002-01-12 Danny Smith <dannysmith@users.sourceforge.net>
4220 * msvcrt.def: Revert accidental change.
4221 * include/stdlib.h: Ditto.
4223 2001-12-07 Earnie Boyd <earnie@users.sf.net>
4225 * Makefile.in: Increment VERSION.
4226 * include/_mingw.h: Ditto.
4228 2001-12-05 Earnie Boyd <earnie@users.sf.net>
4230 * include/strings.h: New File.
4232 2001-12-02 Danny Smith <dannysmith@users.sourceforge.net>
4235 2001-06-21 Mumit Khan <khan@nanotech.wisc.edu>
4237 * include/math.h (_FPCLASS* ): Add defines from float.h.
4238 (IEEE recommended functions): Add declarations from float.h.
4239 * include/float.h (_FPCLASS* ): Protect against redefinition.
4241 2001-11-29 Wu Yongwei <adah@netstd.com>
4243 * include/_mingw.h,assert.h,conio.h,ctype.h,dir.h,direct.h
4244 dirent.h,dos.h,errno.h,excpt.h,fcntl.h,float.h,io.h,
4245 limits.h,locale.h,malloc.h,math.h,process.h,setjmp.h,
4246 share.h,signal.h,stdarg.h,stddef.h,stdint.h,stdio.h,
4247 stdlib.h,string.h,tchar.h,time.h,varargs.h,wchar.h,
4248 wctype.h,sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h:
4249 Correct spelling of "disclaimed" in comments.
4250 * include/excpt.h: Another spelling correction.
4252 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
4254 * include/errno.h: Fix "errno is not a prototype" warning.
4256 2001-11-07 Danny Smith <dannysmith@users.sourceforge.net>
4258 * include/ctype.h (tolower, toupper,_tolower,_toupper): Comment
4259 differences between ANSI and non-ANSI versions.
4260 (_ctype[],_pctype): Declare vars.
4261 (__ISCTYPE): New helper macro using _pctype.
4262 (is* ctype functions): Use __ISCTYPE to define inline versions.
4263 (_toupper, _tolower, __isascii, __toascii, __iscsym, __iscsymf):
4265 (isw* ctype functions): Inline definitions.
4266 * include/wctype.h (_ctype[],_pctype): Declare vars.
4267 (isw* ctype functions): Inline definitions.
4270 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4272 * include/float.h (_clearfp, _statusfp, _fpreset, fpreset,
4273 __fpecode): Use __STDC__ prototypes.
4276 2001-11-06 Thomas Pfaff <tpfaff@gmx.net>
4278 * mthr_stub.c (__mingwthr_remove_key_dtor) New.
4279 * mthr_init.c (DllMain) Run dtors if a process terminates.
4280 * mthr.c (__mingwthr_add_key_dtor) Removed.
4281 (___mingwthr_add_key_dtor) New.
4282 (___mingwthr_remove_key_dtor) New.
4283 (__mingwthr_run_key_dtors) Complete rewrite.
4284 (__mingwthr_remove_key_dtor) New.
4286 2001-11-05 Egor Duda <deo@logos-m.ru>
4288 * Makefile.in: Delete unused executable after creating base-files.
4290 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4292 * include/errno.h (_errno): Use __STDC__ prototype.
4293 Thanks to: Jim Barton.
4295 2001-11-04 "stefan" <stefan@lkcc.org>
4297 * include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names.
4299 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4301 * include/io.h (_commit): Add declaration.
4302 Thanks to: "stefan" <stefan@lkcc.org>
4304 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4306 * include/sys/stat.h: Make S_IS* macros safer.
4308 2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
4310 * include/stdlib.h (EXIT_FAILURE): Change value to 1.
4312 2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
4314 * include/stdlib.h (__p__environ, __p__wenviron): Use
4315 __STDC__ prototypes.
4317 2001-09-19 Earnie Boyd <earnie@SF.net>
4319 * Makefile.in: Remove the /usr from the install target.
4320 (VERSION): Increment.
4321 include/_mingw.h: Ditto.
4323 2001-09-17 Earnie Boyd <earnie@SF.net>
4325 * Makefile.in: Increment version.
4326 * include/_mingw.h: Ditto.
4328 2001-09-10 Earnie Boyd <earnie@SF.net>
4330 * dossh: Remove inadvertantly imported file.
4332 2001-09-10 Danny Smith <dannysmith@users.sourceforge.net>
4334 * dirent.c (opendir): Use GetFileAttributes rather than stat
4335 to determine if input arg is dir.
4337 2001-08-29 Danny Smith <dannysmith@users.sourceforge.net>
4339 * include/stdarg.h (va_list): Typedef as __builtin_va_list if
4341 * include/varargs.h (va_list): Ditto.
4342 * include/stdio.h (va_list): Ditto.
4344 2001-08-01 Danny Smith <dannysmith@users.sourceforge.net>
4346 * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
4347 * include/stdio.h (_IORW): Change constant to 0x0080.
4348 (TMP_MAX): Add new define.
4350 (_wP_tmpdir): Ditto.
4351 (L_tmpnam): Change constant to 16.
4353 2001-06-28 Danny Smith <dannysmith@users.sourceforge.net>
4355 * include/malloc.h: Fix non-ANSI comment after #endif.
4357 2001-06-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4359 * profile/configure.in: Make msvcrt.dll version default.
4360 * profile/makefile.in: Build both gcrt1.o and gcrt2.o.
4361 * provile/configure: Regenerate.
4363 2001-06-11 Mattia Barbon <mbarbon@dsi.unive.it>
4365 * include/stdio.h (swscanf): Make first arugument const.
4366 * include/wchar.h (swscanf): Ditto.
4367 * include/tchar.h (_tfopen): New _UNICODE define.
4369 (_tsetlocale): Ditto.
4371 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4373 * profile/Makefile.in (mkinstalldirs): Correct relative path.
4375 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4377 * include/_mingw.h: Change version to 1.0.
4380 2000-02-21 Earnie Boyd <earnie@users.sourceforge.net>
4382 * include/tchar.h: (__TEXT): Remove undef.
4386 Fri Feb 2 10:34:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
4388 * include/tchar.h: (__TEXT): Add private macro.
4389 (_TEXT): Modify definition to use __TEXT.
4391 This change allows the passing of a MACRO as an argument and have that
4392 MACRO resolved first.
4393 Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
4395 Wed Jan 31 17:12:51 2001 Earnie Boyd <earnie@users.sourceforge.net>
4397 * Makefile.in: Increment version to 0.5
4398 * include/_mingw.h: Increment minor version
4400 Tue Jan 30 13:01:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
4402 * include/assert.h: (assert): Remove ; from end of definition
4403 Thanks to: AJ Reins <tbisp@qwest.net>
4405 Tue Jan 30 07:31:22 2001 Earnie Boyd <earnie@users.sourceforge.net>
4407 * include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
4408 Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
4410 Mon Jan 29 14:03:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
4412 * time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
4414 Sun Jan 28 13:01:08 2001 Earnie Boyd <earnie@users.sourceforge.net>
4416 * include/wchar.h: The 2001.01.18 Change was incorrect. The functions
4417 are actually C functions. These functions are resolved via the
4418 -lmsvcp60 library and comments were placed in the header.
4420 2001-01-28 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4422 * include/stdlib.h (__p__pgmptr): add prototype.
4423 (__p__wpgmptr): likewise.
4424 (_pgmptr_dll): move declaration from dos.h.
4425 (_wpgmptr_dll): likewise.
4426 (_pgmptr): conditional define (MSVCT/CRTDLL).
4427 (_wpgmptr): likewise.
4428 * include/dos.h (_base*_dll variables): declare only for CRTDLL.
4429 (_os*_dll variables): likewise.
4430 (_pgmptr_dll): remove declaration and associated defines to stdlib.h.
4431 (_wpgmptr_dll): likewise.
4433 2001-01-22 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4435 * include/stdint.h: New file.
4437 Thu Jan 18 10:33:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
4439 * include/wchar.h: Protect prototypes only declared in the C++ STL
4440 from being declared unless __cplusplus is defined.
4442 Tue Jan 16 11:37:31 2001 Earnie Boyd <earnie@users.sourceforge.net>
4444 * include/stdlib.h: Apply Danny Smith patch 102730
4445 2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4446 (_wgetenv) Correction to return type.
4448 Tue Jan 16 09:41:41 2001 Earnie Boyd <earnie@users.sourceforge.net>
4450 * include/locale.h: Apply Danny Smith patch 101834
4451 2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4452 (LC_MIN) Add definition.
4454 (_wsetlocale) Add prototype.
4456 2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
4458 * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
4459 Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
4460 Create a libcoldname.a for the oldname library for CRTDLL.
4461 Restrict libmoldname.a for the oldname library for MSVCRT.
4462 * configure.in: eliminate setting RUNTIME and CRT_ID variables.
4463 Restructure the $target_os case logic.
4464 Always name the MinGW thread dll helper mingwm.
4465 Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
4466 * configure: regenerate.
4468 2000-11-22 Earnie Boyd <earnie_boyd@yahoo.com>
4470 * Makefile.in: Fix bindist target to distribute the correct files.
4471 Remove the use of SNAPSHOT variable and test SNAPDATE instead.
4472 Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
4474 2000-11-21 Earnie Boyd <earnie_boyd@yahoo.com>
4476 * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
4477 Add variables and targets to control binary and source distributions.
4478 Add variables and targets to control snapshot distribution.
4479 * profile/gmon.h: Add missing #endif for #ifndef.
4480 * profile/ChangeLog: Merge entries here and remove.
4481 * profile/Makefile.in: Add variables and targets to control
4485 * config.guess: ditto.
4486 * config.sub: ditto.
4487 * mkinstalldirs: ditto.
4488 * install-sh: ditto.
4489 * configure: regenerate.
4490 * profile/configure: ditto.
4492 2000-11-20 Earnie Boyd <earnie_boyd@yahoo.com>
4494 * Merge in changes from
4495 2000-10-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4496 * include/direct.h: add guard around MSVCRT-only prototytpes
4497 * include/io.h: add __int64 struct definitions and function prototypes;
4498 add guard for MSVCRT-only prototypes
4499 * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
4500 * include/stdio.h: add wchar function prototypes (__MSVCRT__);
4501 put wchar functions together to make sync with wchar.h easier
4502 * include/stdlib.h: add wide char functions (__MSVCRT__)
4503 * include/string.h: add string collation functions ( __MSVCRT__)
4504 * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
4505 * include/tchar.h: add macros and macro function definitions
4506 * include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
4507 enclose more functions in __MSVCRT__ guard;
4508 some oldname wide char function prototypes #if (0)'d
4509 * profile/gmon.h: add guard around BSD-ish typedefs
4511 Mon Nov 20 18:58:12 2000 Christopher Faylor <cgf@cygnus.com>
4513 * Makefile.in: Use a different variable name for subdirectory since the
4514 previous one was used by the top level make.
4516 Sun Nov 19 20:50:51 2000 Christopher Faylor <cgf@cygnus.com>
4518 * Makefile.in: Install mingw stuff in a subdirectory if building under
4521 Sat Jun 17 21:48:23 2000 Christopher Faylor <cgf@cygnus.com>
4523 * Makefile.in (subdirs): Eliminate for loop.
4525 Sat Jun 17 18:27:59 2000 Christopher Faylor <cgf@cygnus.com>
4527 * Makefile.in (subdirs): Previous change did not fix problem in
4530 Sat Jun 17 13:49:12 2000 Christopher Faylor <cgf@cygnus.com>
4532 * Makefile.in: Avoid installing dll if we're cross building and the
4533 cross-host system isn't a Windows system.
4534 * configure.in: Detect cross-hosting situation and set appropriate
4535 variables in Makefile.in.
4536 * configure: Regenerate.
4538 Wed Apr 19 13:10:54 2000 Christopher Faylor <cgf@cygnus.com>
4540 * configure.in: Change HEADER_SUBDIR to mingw32.
4541 * configure: Regenerate.
4543 Mon Apr 10 17:24:28 2000 Christopher Faylor <cgf@cygnus.com>
4545 * include/string.h: Use proper prototype for _strerror.
4547 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
4549 * Makefile.in (subdirs): Workaround for broken shells.
4551 2000-02-03 Mumit Khan <khan@xraylith.wisc.edu>
4553 * Snapshot 2000-02-03.
4555 * include/{assert.h, conio.h, ctype.h, direct.h, dirent.h, fcntl.h,
4556 float.h, io.h, locale.h, malloc.h, math.h, process.h, signal.h,
4557 stdio.h, stdlib.h, string.h, time.h, wctype.h, sys/stat.h,
4558 sys/timeb.h, sys/utime.h}: Remove parameter names to avoid namespace
4561 * Makefile.in (all): Build CRT0S first.
4562 (libmingwthrd.a): Remove thread support DLL from dependency.
4564 2000-01-21 Mumit Khan <khan@xraylith.wisc.edu>
4566 * Snapshot 2000-01-21.
4568 2000-01-20 Mumit Khan <khan@xraylith.wisc.edu>
4570 Merge in changes from Cygwin:
4571 * configure.in (HEADER_SUBDIRS): New variable. Substitute.
4572 (SUBDIRS): Likewise.
4573 * Makefile.in (HEADER_SUBDIRS): New variable.
4574 (install): Use to install Mingw headers to a subdirectory if building
4576 (DLL_CC_STUFF): Add DLL entry point.
4577 * configure: Regenerate.
4579 2000-01-19 Mumit Khan <khan@xraylith.wisc.edu>
4581 * include/stdio.h (fsetpos): Fix prototype.
4582 (fpos_t): Fix for MSVCRT.
4583 * include/float.h (fpreset): Add prototype.
4584 * include/limits.h: Define UINT_MAX, USHRT_MAX and ULONG_MAX with
4586 * include/time.h: Don't define tzname as a macro for CRTDLL, and
4587 export using libmoldname.a.
4588 * crtdll.def: Add DATA tags.
4589 * msvcrt.def: Likewise.
4590 * moldname.def.in: Likewise. Add fpreset. Export tzname for
4591 both MSVCRT and CRTDLL.
4592 * moldname-crtdll.def: Regenerate.
4593 * moldname-msvcrt.def: Regenerate.
4595 Tue Dec 21 02:22:14 1999 Mumit Khan <khan@xraylith.wisc.edu>
4597 * Snapshot 1999-12-21.
4599 * include/wctype.h: New file.
4600 * include/ctype.h (MB_CUR_MAX): Define.
4602 * include/stdlib.h (MB_CUR_MAX): Define.
4603 * include/wchar.h: Define stat, _stat structures here as well.
4604 * include/float.h: Add invalid subconditions (_SW) and floating
4605 point error (_FPE) macros.
4606 * include/time.h (_CLOCK_T): Rename macro to _CLOCK_T_DEFINED.
4607 (_TIME_T): Rename macro to _TIME_T_DEFINED.
4608 * include/sys/types.h: Likewise.
4610 Thu Nov 18 00:22:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4612 * profile/profil.c (profile_on): Set the profiler thread priority to
4613 be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
4614 * Snapshot 1999-11-18.
4616 Sun Nov 7 02:50:09 1999 Mumit Khan <khan@xraylith.wisc.edu>
4618 Released 1999-11-07.
4620 * Makefile.in (CRT0S): Add crtst.o.
4621 (install): Install in subdirs as well.
4622 * dirent.h (struct _stat): Rename from struct stat.
4623 * include/tchar.h: Add some new macros. Thanks to
4624 Eric Kohl <ekohl@abo.rhein-zeitung.de>.
4625 * profile/Makefile.in (install): Fix target.
4627 Thu Nov 4 14:32:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
4629 * Makefile.in: Add support for profile directory.
4630 * configure.in: Likewise.
4631 * configure: Regenerate.
4633 * profile: Imported profiling sources from winsup-19991026 snapshot.
4634 * profile/Makefile.in: New file.
4635 * profile/configure.in: New file.
4636 * profile/configure: Generate.
4637 * profile/gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
4638 * profile/gmon.h (u_char, u_short, u_int, u_long): Likewise.
4639 * profile/gmon.c (unistd.h): Include conditionally.
4640 (sys/param.h): Likewise.
4641 * profile/mcount.c (sys/param.h): Likewise.
4642 * profile/profil.c (profile_on): thread id is DWORD, not int.
4645 Wed Nov 3 16:26:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
4647 * include/stdlib.h: Add wide character version of argv/environ.
4649 * include/wchar.h: More wide character prototypes.
4650 * include/sys/stat.h: Likewise. Add struct stat as well as _stat.
4652 * dllcrt1.c (init.c): Don't include.
4653 (DllMainCRTStartup): Don't call _mingw32_init_mainargs().
4654 * Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists.
4656 Sat Oct 30 03:06:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4658 * moldname.def: Remove file.
4659 * moldname.def.in: And add this.
4660 * moldname-msvcrt.def: Generate from moldname.def.in.
4661 * moldname-crtdll.def: Likewise.
4663 * mthr.c: New file for -mthread (thread-safe C++ EH) support.
4664 * mthr_init.c: New file for -mthread (thread-safe C++ EH) support.
4665 * mthr_stub.c: New file for -mthread (thread-safe C++ EH) support.
4667 * Makefile.in: Update.
4668 * configure.in: Likewise. Also add *cygwin* target for building
4669 under Cygwin winsup.
4670 * configure: Regenerate.
4672 Fri Oct 1 11:10:30 1999 Mumit Khan <khan@xraylith.wisc.edu>
4674 * include/_mingw.h: Add version macros.
4675 * include/direct.h (_diskfree_t, getdiskfree, getdrives): Add.
4676 Also add wide character versions shared with wchar.h.
4677 * include/dos.h (_diskfree_t, getdiskfree, getdrives): Add.
4678 * include/io.h (sopen, _sopen): Fix prototype.
4679 Add wide character prototypes.
4680 * include/wchar.h: Likewise.
4681 * include/stdlib.h (beep, seterrormode, sleep): Remove non-
4682 underscored versions. Potential incompatibility.
4683 * include/time.h (daylight, timezone, tzname): Fix MSVCRT cases.
4684 Add wide character prototypes.
4685 * include/sys/timeb.h (struct _timeb): Don't use macro, but real
4688 Wed Aug 18 18:38:39 1999 Mumit Khan <khan@xraylith.wisc.edu>
4690 * configure.in (RUNTIME, CRT_ID): Add to differentiate between
4691 crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
4693 * configure: Rengerate.
4694 * Makefile.in (RUNTIME, CRT_ID): Use to generate the correct
4695 dll name and crt's. CRTDLL and MSVCRT are meant to created
4696 separately, so remove all the *-msvcrt* targets.
4697 (libmingwthr.a): New target. Dummy thread support archive.
4698 (LIBS): Add libmingwthr.a.
4699 (CRT0S): Use CRT_ID. Add crtmt.o.
4700 (MINGW_OBJS): Add crtst.o.
4701 * main.c (WinMain): Fix prototype.
4702 * crtmt.c: New file.
4703 * crtst.c: New file.
4705 * include/process.h (_beginthreadex): Fix prototype.
4706 * include/_mingw.h (__int64): Define for __GNUC__.
4707 * include/tchar.h (_ttol): Add macro.
4708 * include/stdlib.h (_wtoi, _wtol, _i64toa, _ui64toa, _atoi64,
4709 _i64tow, _ui64tow, _wtoi64): Add prototypes.
4711 Reported by Emanuele Aliberti <ea@iol.it>:
4712 * include/tchar.h (_ttoi): Add macro.
4714 Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
4715 * include/stdio.h (_snprintf): Add prototype.
4716 (_vsnprintf): Likewise.
4718 Sat Aug 7 18:00:00 1999 Mumit Khan <khan@xraylith.wisc.edu>
4720 Reported by Tor Lillqvist <tml@iki.fi>:
4721 * include/stdlib.h (__p___argv): Fix return type.
4723 Fri Jul 30 22:07:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
4726 * include/errno.h (errno): It's linked in from startup, not imported.
4727 * include/stdlib.h (errno): Likewise.
4728 * include/io.h: Guard against conflicting macros and prototypes in
4730 * include/stdlib.h: Likewise.
4731 * include/string.h: Likewise.
4732 * include/time.h: Likewise.
4734 Fri Jul 30 13:47:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
4736 * include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans.
4737 * include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT.
4738 * Makefile.in (INCLUDES): Remove old windows32 include directory.
4740 * crt1.c (_gnu_exception_handler): Fix prototype.
4741 (__mingw_CRTStartup): New function based on mainCRTStartup.
4742 (mainCRTStartup): Set the app type for MSVCRT and call
4744 (WinMainCRTStartup): Likewise.
4745 * init.c (_startupinfo): Define.
4746 (_getmainargs): Add 5th parameter.
4747 (_mingw32_init_mainargs): Use.
4749 * ALL *.c files: Reformat according to GNU coding style.
4751 Fri Jul 16 00:46:04 1999 Mumit Khan <khan@xraylith.wisc.edu>
4753 * Makefile.in (INCLUDES): Add w32api include directory.
4755 * include/_mingw.h: New file.
4756 * include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h,
4757 errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h,
4758 math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h,
4759 stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h,
4760 sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and
4761 use the macros __DECLSPEC_SUPPORTED and __MINGW_IMPORT.
4763 * include/stdlib.h (atexit): Fix prototype.
4765 Mon Jun 14 18:38:49 1999 Mumit Khan <khan@xraylith.wisc.edu>
4767 * include/stdio.h (_tempnam): Fix prototype.
4768 (tempnam): Likewise.
4769 * include/stdlib.h: Replace with GCC's version, and guard
4772 From Anders Norlander <anorland@hem2.passagen.se>:
4773 * include/stdlib.h (__argc): Declare.
4776 Mon Apr 5 13:49:17 1999 Mumit Khan <khan@xraylith.wisc.edu>
4778 * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
4780 * Makefile.in (_libm_dummy.o): New target.
4783 Tue Mar 16 18:15:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4785 * Released 1999-03-16 along with egcs-1.1.2.
4787 Wed Feb 17 17:15:56 1999 Mumit Khan <khan@xraylith.wisc.edu>
4789 * Makefile.in (LIBS): Add libm.a.
4790 (libm.a): Dummy libm.a.
4792 * Makefile.in: Update from winsup 1999-02-08 snapshot.
4793 Preserve local changes.
4794 (mkinstalldirs): In ../, not ../../.
4795 (INCLUDES): Point to local windows32api headers and use -nostdinc.
4797 (LIBS): Add libmoldname-msvc.a.
4798 (libmoldname-msvc.a): Add target.
4799 (distclean): Add target.
4801 Tue Feb 9 00:26:05 1999 Mumit Khan <khan@xraylith.wisc.edu>
4803 * include/dir.h: Reintroduce as an obsolescent header.
4804 * crt1.c (signal.h): Include.
4805 (_gnu_exception_handler): New function to properly handle win32
4806 asynchronous signals.
4807 (mainCRTStartup): Use.
4809 Sun Jan 3 23:52:25 1999 Mumit Khan <khan@xraylith.wisc.edu>
4811 * include/direct.h: Include io.h instead of dir.h
4812 * include/dirent.h: Likewise.
4813 * include/dos.h: Likewise.
4814 * include/stdio.h: Replace reference to dir.h with io.h.
4816 Thu Dec 31 16:04:55 1998 Mumit Khan <khan@xraylith.wisc.edu>
4818 * 1999-01-01 release bundled with egcs-1.1.1.
4820 * include/io.h: Incorporate dir.h.
4821 * include/dir.h: Remove.
4822 * include/signal.h: Move RC_INVOKED up a bit.
4824 Tue Dec 29 15:04:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
4826 * include/signal.h (sig_atomic_t): Define.
4828 * include/malloc.h: Import defs from deprecated alloc.h.
4829 * include/alloc.h: Remove.
4831 From "Daniel J. Rodriksson" <djr@dit.upm.es>:
4832 * include/sys/types.h (_dev_t): Should be unsigned int for MSVCRT.
4833 * include/sys/stat.h (struct stat): st_uid is of type short. Use
4834 _off_t instead of long for st_size.
4836 Thu Sep 10 22:28:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4838 * include/errno.h (sys_errlist, sys_nerr): Move from here ...
4839 * include/stdlib.h: Here.
4841 * include/netdb.h: Remove.
4842 * include/arpa/inet.h: Remove.
4843 * include/netinet/in.h: Remove.
4844 * include/sys/socket.h: Remove.
4846 Fri Sep 4 15:09:11 1998 Mumit Khan <khan@xraylith.wisc.edu>
4850 * include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h,
4851 sys/utime.h}: Protect stddef.h in RC_INVOKED macro.
4853 Thu Sep 3 10:43:29 1998 Mumit Khan <khan@xraylith.wisc.edu>
4855 * setjmp.h (_JBTYPE, _JBLEN): Define correctly.
4856 (jmpbuf): typedef using above.
4857 (setjmp, longjmp): Prototype using jmpbuf.
4859 Merge with Colin Peters' 980701 snapshot. I've ignored changes to
4860 obsolescent imported names, ie., from __imp__ to _imp___.
4862 Also ignored empty include/sys/param.h and incorrect
4863 include/sys/times.h.
4865 * CRTinit.c: New file.
4866 * include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef
4868 * include/io.h (umask): Fix prototype.
4869 * include/stdlib.h (OS constants): Replace with Colin's.
4870 * include/time.h (tzset, daylight, timezone): Replace with Colin's.
4871 * include/sys/state.h: Merge.
4873 Thu Sep 3 09:49:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
4875 * include/assert.h (assert): Lose the trailing semicolon.
4877 Thu Jul 30 21:18:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4879 * include/math.h (matherr): Declare.
4880 * include/stdio.h (fileno, _fileno): Declare.
4881 * include/stdlib.h (environ, _environ): Fix to use runtime DLL.
4884 * include/stdio.h (fdopen, _fdopen): Add const.
4885 (getw, putw): Declare.
4886 * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix.
4888 Sat Jun 13 18:19:41 1998 Mumit Khan <khan@xraylith.wisc.edu>
4890 * include/time.h (_timezone): Undefine.
4891 * include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
4893 * include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
4895 * include/stdlib.h (environ): Use DLL version.
4896 * init.c (environ): Undefine it before use.
4898 Sun Mar 22 19:59:30 1998 Mumit Khan <khan@xraylith.wisc.edu>
4900 * Update to 980309 snapshot from Colin Peters.
4902 * include/utime.h: remove
4903 * include/stdlib.h (__imp__osver_dll, __imp__winver_dll,
4904 __imp__winmajor_dll, __imp__winminor_dll): Apply Jan-Jaap's
4905 patches to define these.
4906 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4907 (_daylight, _timezone, _tzname, _tzset): Define.
4909 * include/netdb.h: Add from Colin's windows32api changes.
4910 * include/sys/socket.h: Likewise.
4911 * include/arpa/inet.h: Likewise.
4912 * include/netinet/in.h: Likewise.
4914 Wed Feb 4 14:16:44 1998 Mumit Khan <khan@xraylith.wisc.edu>
4916 * Update to 980128 snapshot from Colin Peters.
4918 Sat Dec 6 21:30:35 1997 Mumit Khan <khan@xraylith.wisc.edu>
4920 * configure.in (AC_INIT): Use dllmain.c instead of defunct
4922 * configure: Regenerate.
4924 Fri Dec 5 15:57:36 1997 Mumit Khan <khan@xraylith.wisc.edu>
4926 * Update to 971205 snapshot from Colin Peters. Lots of changes.
4927 Files renamed and include hierarchy loses directories named
4930 * include/dos.h: from Jan-Jaap.
4932 Thu Dec 4 21:48:13 1997 Mumit Khan <khan@xraylith.wisc.edu>
4934 Changes to conform to FSF tree.
4936 * crt1.c: Renamed from mcrt0.c.
4937 * dllcrt1.c: Renamed from dllcrt0.c.
4938 * Makefile.in: Update above. Also renamed libmoldnames.a to
4941 Mon Dec 1 16:51:30 1997 Mumit Khan <khan@xraylith.wisc.edu>
4943 * crtdll.def: Export all functions but the ones with funny names.
4944 * moldnames.def: Add fdopen since fileno is already there.
4945 * include/nonansi/dos.h: New file from Jan-Jaap.
4946 * include/errno.h: Add extern decl + various additions from JJ.
4947 * include/stdio.h: Likewise.
4948 * include/stdlib.h: Likewise.
4949 * include/nonansi/io.h: Likewise.
4950 * include/nonansi/process.h: Likewise.
4951 * include/sys/types.h: Likewise.
4953 Tue Nov 4 14:51:01 1997 Mumit Khan <khan@xraylith.wisc.edu>
4955 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4957 * include/stdlib.h (free): Fix prototype to return void, not void*.
4958 * include/nonansi/process.h: Add P_* and WAIT_* defs.
4960 * dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
4961 * mcrt0.c: Likewise.
4963 * Makefile.in (LIBS): Delete moldnames.dll from target libs.
4964 (libmoldnames.a): Add explicit rule to create it.
4966 Fri Aug 15 18:23:43 1997 Rob Savoye <rob@cygnus.com>
4968 New directory for the minimalist cygwin environment.
4970 * crtglob.c: New file. Turn on file globbing support.
4971 * crt_noglob.c: New file. Turn off file globbing support.
4972 * ctype_old.c: New file. Wrappers for functions that don't
4974 * dirent.c: New file. Directory routines readdir, opendir, closedir.
4975 * dllcrt0.c: New file. Initialization code to use crtdll.dll.
4976 * dllmain.c: New file. A stub DllMain function.
4977 * hugeval.c: New file. A gross hack to define HUGE_VAL.
4978 * init.c: New file. Common code to initialize standard file
4979 handles and command line arguments.
4980 * main.c: New file. A main for programs that only call WinMain.
4981 * mcrt0.c: New file. Default crt0 for mingw32.
4982 * oldnames.c: New File. Wrappers for functions that don't
4984 * string_old.c: New File.
4985 * include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h
4986 math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h
4987 string.h,tchar.h,time.h,wchar.h}: New header files for mingw.
4988 * include/sys/types.h: New header file for mingw.
4989 * include/nonansi/{alloc.h,conio.h,dir.h,direct.h,dirent.h
4990 fcntl.h,io.h,malloc.h,mem.h,memory.h,process.h,share.h,unistd.h
4991 utime.h,values.h,varargs.h}: New header files for mingw.
4992 * include/nonansi/sys/{fcntl.h,locking.h,stat.h,time.h
4993 timeb.h,unistd.h}: New header files for mingw.
4994 * Makefile.in,configure.in: Build and configure support.
4995 * configure: Generated from autoconf 2.12 with Cygnus patches.