1 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
3 Correct complex square root computation per issue [#2246].
5 * include/math.h (hypotf): Redirect __CRT_INLINE call to...
6 (_hypot): ...this MSVCRT.DLL exported function, so avoiding...
7 (hypot): ...this libmoldname.a indirection.
9 * mingwex/complex/csqrt_generic.c: New file; it replaces...
10 * mingwex/complex/csqrt.c: ...this; it is now obsolete; delete it.
11 * mingwex/complex/csqrtf.c mingwex/complex/csqrtl: Likewise.
13 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
15 Adjust header guards to resolve issue [#2244].
17 * include/_mingw.h (_POSIX_C_SOURCE): Define it implicitly...
18 [_GNU_SOURCE || _BSD_SOURCE || _POSIX_SOURCE || !__STRICT_ANSI__]:
19 ...when any of these prevail, or as appropriate to correspond with...
20 [_XOPEN_SOURCE]: ...this; set conformance level accordingly.
22 * include/math.h [_POSIX_C_SOURCE || defined _USE_MATH_DEFINES]
23 (M_E, M_LOG2E, M_LOG10E, M_LN2, M_LN10, M_PI, M_PI_2, M_PI_4, M_1_PI)
24 (M_2_PI, M_2_SQRTPI, M_SQRT2, M_SQRT1_2): Define them, irrespective...
25 [__STRICT_ANSI__]: ...of this; replace guard accordingly.
27 2014-12-01 Keith Marshall <keithmarshall@users.sourceforge.net>
29 Add implementation of mkstemp() and mkdtemp() functions.
31 * mingwex/cryptnam.c: New file; it implements...
32 (__mingw_crypto_tmpname): ...this helper function; it generates a
33 cryptographically secure sequence of characters, used as the random
34 component in temporary file and directory names.
36 * mingwex/mkstemp.c: New file; it implements...
37 (__mingw_mkstemp): ...this provider of mkstemp() functionality.
39 * mingwex/mkdtemp.c: New file; it implements...
40 (__mingw_mkdtemp): ...this provider of mkdtemp() functionality.
42 * include/stdlib.h (mkstemp): Declare protototye; provide an inline
43 function implementation, with LIBIMPL extern semantics, in terms of...
44 (__mingw_mkstemp): ...this; also declare prototype, and define...
45 (_MKSTEMP_INVOKE, _MKSTEMP_DEFAULT): ...these supporting constants.
46 (_MKSTEMP_SETMODE): New macro; define it, also providing...
47 (MKSTEMP_SETMODE) [!_NO_OLDNAMES]: ...this alias.
48 (mkdtemp): Declare prototype; provide inline implementation, with
49 JMPSTUB extern semantics, in terms of...
50 (__mingw_mkdtemp): ...this; declare prototype.
52 * Makefile.in (libmingwex.a): Add dependency rule, to include...
53 (mkstemp.$OBJEXT, mkdtemp.$OBJEXT, cryptname.$OBJEXT): ...these.
55 2014-11-30 Keith Marshall <keithmarshall@users.sourceforge.net>
57 More JMPSTUB rationalization of inline functions.
59 * include/stdlib.h (_Exit, atoll, lltoa, ulltoa, wtoll, lltow)
60 (ulltow): Add __JMPSTUB__ declarations; each is REMAPPED to its
61 appropriate MSVCRT.DLL equivalent entry point.
63 * mingwex/_Exit.c: File is now redundant; delete it.
64 * mingwex/atoll.c mingwex/lltoa.c mingwex/ulltoa: Likewise.
65 * mingwex/wtoll.c mingwex/lltow.c mingwex/ulltow: Likewise.
67 * Makefile.in (jmpstub_awk_script): Add support for...
68 [__JMPSTUB__((REMAPPED))]: ...this stub function attribute.
69 (libmingwex.a): Remove dependencies on deleted files, namely...
70 (_Exit.$OBJEXT, atoll.$OBJEXT, lltoa.$OBJEXT, ulltoa.$OBJEXT)
71 (wtoll.$OBJEXT, lltow.$OBJEXT, ulltow.$OBJEXT): ...these.
73 2014-11-29 Keith Marshall <keithmarshall@users.sourceforge.net>
75 Correct omission of complex conjugate functions from libmingwex.a
77 * include/complex.h (conj, conjf, conjl): Add LIBIMPL declarations.
78 (creal, crealf, creall): Likewise, for consistency of implementation.
79 (cimag, cimagf, cimagl, carg, cargf, cargl): Likewise.
81 * Makefile.in (libimpl_sed_script): Add processing for __CRT_INLINE
82 declarations; they should be interpreted analogously to __CRT_ALIAS.
83 (libmingwex.a): Remove object file references for functions which are
84 now declared as LIBIMPL, and sort the remainder in ASCII collating
85 order; deleted function references comprise the set consisting of...
86 (carg.$OBJEXT, cargf.$OBJEXT, cargl.$OBJEXT): ...these...
87 (creal.$OBJEXT, crealf.$OBJEXT, creall.$OBJEXT): ...these, and...
88 (cimag.$OBJEXT, cimagf.$OBJEXT, cimagl.$OBJEXT): ...these.
90 * mingwex/complex/carg.c: Replaced by LIBIMPL; delete it.
91 * mingwex/complex/cargf.c mingwex/complex/cargl.c: Likewise.
92 * mingwex/complex/creal.c mingwex/complex/cimag.c: Likewise.
93 * mingwex/complex/crealf.c mingwex/complex/cimagf.c: Likewise.
94 * mingwex/complex/creall.c mingwex/complex/cimagl.c: Likewise.
96 2014-11-24 Keith Marshall <keithmarshall@users.sourceforge.net>
98 Back-port improved asinh() implementation from 4.0-dev branch.
100 * mingwex/math/asinh_generic.c: New file; it replaces...
101 * mingwex/math/asinh.c mingwex/math/asinhf.c mingwex/math/asinhl.c:
102 ...all of these; delete them.
104 2014-11-18 Keith Marshall <keithmarshall@users.sourceforge.net>
106 Enable remake of lost LIBIMPL object files.
108 * Makefile.in (libimpl_remake): New macro; define it, and...
109 (%.libimpl.$OBJEXT) [%.libimpl exists]: ...use it in build rule.
111 2014-11-17 Keith Marshall <keithmarshall@users.sourceforge.net>
113 Implement more robust _get_output_format fallback handling.
115 * mingwex/ofmt.c: New file; it implements...
116 (__mingw_output_format_flag): ...backing store, used by...
117 (__mingw_get_output_format, __mingw_set_output_format): ...these
118 MSVCRT.DLL version agnostic wrappers/emulators for each of these...
119 (_get_output_format, _set_output_format): ...MSVCR80.DLL and later
120 version specific Microsoft APIs, which are also supported by some
121 later versions of MSVCRT.DLL, (excluding WinXP and earlier).
122 (__mingw_get_output_format_fallback): Implement; it is aliased to...
123 (__mingw_set_output_format_fallback): ...this; together they provide
124 the emulation support for the preceding pair of functions, when they
125 are not available within the run-time platform MSVCRT.DLL
126 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
127 Implement them; they wrap, and if necessary emulate...
128 (_get_printf_count_output, _set_printf_count_output): ...these.
129 (__mingw_get_printf_count_output_fallback): Implement; aliased to...
130 (__mingw_set_printf_count_output_fallback): ...this; together they are
131 required to support emulation of the preceding pair of functions, when
132 they are not available within the run-time platform MSVCRT.DLL
134 * include/stdio.h (_TWO_DIGIT_EXPONENT): Define it unconditionally.
135 (_THREE_DIGIT_EXPONENT): New manifest constant; define it orthogonally.
136 (__mingw_get_output_format, __mingw_set_output_format)
137 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
138 Unconditionally declare their prototypes, for subsequent inline use.
139 [_MSVCRT_VERSION__ < 0x800] (_get_output_format): Emulate it inline.
140 [_MSVCRT_VERSION__ < 0x800] (_set_output_format): Likewise.
141 [_MSVCRT_VERSION__ < 0x800] (_get_printf_count_output): Likewise.
142 [_MSVCRT_VERSION__ < 0x800] (_set_printf_count_output): Likewise.
143 (__USE_MINGW_PRINTF): New manifest constant; define it. It is a
144 counterpart to __USE_MINGW_ANSI_STDIO, which is guaranteed to always
145 represent a compilable token.
147 * mingwex/stdio/pformat.c (__pformat_exponent_digits): Do not require
148 _get_output_format; consult __mingw_output_format_flag directly.
150 * ofmt_stub.s: No longer required; delete it.
152 * Makefile.in (ofmt_stub.$OBJEXT): Delete reference.
153 (PFORMAT_CFLAGS) [__MSVCRT_VERSION__ = 0x800]: Remove requirement.
154 (varofmt.$OBJEXT, crtofmt.$OBJEXT, getofmt.$OBJEXT, setofmt.$OBJEXT)
155 (crtnfmt.$OBJEXT, getnfmt.$OBJEXT, setnfmt.$OBJEXT): Add build rule;
156 all are compiled from ofmt.c
158 2014-11-16 Keith Marshall <keithmarshall@users.sourceforge.net>
160 Do some more essential build tree clean up.
162 * Makefile.in (mostly-clean-local): Add *.libimpl; matching files get
163 in the way of a successful rebuild from clean.
165 2014-11-11 Keith Marshall <keithmarshall@users.sourceforge.net>
167 Implement wrappers for emulation of POSIX dlfcn API.
169 * include/dlfcn.h: New file; it declares the API.
170 * mingwex/dlfcn.c: New file; implement it, with access via...
171 (__mingw_dlfcn): ...this publicly addressable vector table.
173 * Makefile.in (dlfcn.$OBJEXT): Add build requisite.
174 (dlopen, dlsym, dlclose, dlerror): Build call stubs, using...
175 (__LIBIMPL__): ...this automatic interface generator; implement it.
176 (libstub_refnames): New macro; it is adapted from and replaces...
177 (jmpstub_refs): ...this; when it is then invoked twice to build...
178 (Makefile.stub): ...this, it handles both JMPSTUB and LIBIMPL.
179 (jmpstub_awk_script): Adapt it to work with 'libstub_refnames'.
180 (libimpl_awk_script): New inline script; it handles automated builds
181 of LIBIMPL interfaces, as 'jmpstub_awk_script' does for JMPSTUB.
182 (libimpl_sed_script): New inline script; it prepares intermediate C
183 source code for LIBIMPL interfaces, as required to satisfy these...
184 (%.libimpl, %.libimpl.$OBJEXT): ...new implicit build objectives.
185 (LIBIMPL_CFLAGS): New macro; define it.
187 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
189 Move libgen functions to __mingw_ pseudo-namespace.
191 * mingwex/dirname.c (dirname): Rename function, as implemented...
192 (__mingwex_dirname): ...to this.
194 * mingwex/basename.c (basename): Rename function, as implemented...
195 (__mingwex_basename): ...to this.
197 * include/libgen.h (__mingw_dirname, __mingw_basename): Declare
198 prototypes, matching and augmenting original declarations for...
199 (dirname, basename): ...these; reimplement as inline aliases, with
200 __JMPSTUB__ references to the renamed implementation entry points.
202 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
204 Implement new command line argument globbing strategy.
206 * include/_mingw.h: Backport feature defines from master...
207 (__CRT_GLOB_USE_MINGW__, __CRT_GLOB_USE_MSVCRT__): New manifest
208 constants; define them. They select the preferred globbing algorithm.
209 [_CRT_glob & __CRT_GLOB_USE_MINGW__] (__CRT_GLOB_USE_SINGLE_QUOTE__)
210 (__CRT_GLOB_BRACKET_GROUPS__, __CRT_GLOB_CASE_SENSITIVE__): New option
211 bit-map constants; define them. When added to __CRT_GLOB_USE_MINGW__,
212 they enable optional additional features supported by this algorithm.
213 (__CRT_GLOB_ESCAPE_CHAR__): New manifest constant; define it.
215 * CRTglob.c (_CRT_glob): Change default to __CRT_GLOB_USE_MINGW__.
217 * Makefile.in (libmingw32.a): Add setargv.$OBJEXT, furnished by...
218 * setargv.c: ...new file; it implements the initialization mechanism
219 for the __CRT_GLOB_USE_MINGW__ globbing algorithm, when invoked by...
220 (_setargv) [_CRT_glob & __CRT_GLOB_USE_MINGW__]: ...this new function;
221 it invokes the algorithm via an API similar to that described by MSDN,
222 while continuing to support our original _CRT_glob interpretation.
223 (_setargv) [! _CRT_glob & __CRT_GLOB_USE_MINGW__]: Invoke Microsoft
224 algorithm, via the MSDN-alike API, by calling back to...
226 * crt1.c (_mingw32_init_mainargs): ...this original function, now
227 relocated to here, as a publicly addressable function; formerly...
228 (__mingw_CRTStartup): ...called directly from here, we now redirect
229 the call through _setargv(), whence it may be called indirectly.
231 * init.c: Redundant file; delete it. It originally provided...
232 (_mingw32_init_mainargs): ...this, now relocated as noted above, with
233 original static attribute removed, to allow global addressing.
235 2014-11-07 Keith Marshall <keithmarshall@users.sourceforge.net>
237 Backport glob implementation from master to legacy.
239 * include/glob.h: New file; copy it from master branch.
240 (__mingw_glob, __mingw_globfree): Add __JMPSTUB__ aliases for...
241 (glob, globfree): ...each of these, respectively.
243 * mingwex/glob.c: New file; copy it from master:src/libcrt/misc.
244 (CRT_GLOB_HARD_ESCAPE) [ifndef __CRT_GLOB_ESCAPE_CHAR__]: Provide a
245 fallback definition; default value is ASCII DEL, a.k.a. RUBOUT, code.
246 (accept_glob_nocheck_match): New static function; it adds support for
247 avoidance of globbing on patterns with no globbing token, so avoiding
248 the case transliteration effect reported as MinGW-Bug #2106.
249 (glob_match): Use it.
251 * Makefile.in: Build glob.$OBJEXT; add it to libmingwex.a
253 2014-11-05 Keith Marshall <keithmarshall@users.sourceforge.net>
255 Implement conventionally named dirent function trampolines.
257 * mingwex/jmpstub.sx: New file; it implements a generic trampoline,
258 which redirects a conventionally named function call to its __mingw_
259 pseudo-namespace implementation.
261 * aclocal.m4 (MINGW_AC_PROG_COMPILE_SX): New macro; define it.
262 * configure.ac (MINGW_AC_PROG_COMPILE_SX): Use it; it identifies the
263 appropriate protocol for compiling *.sx files, (supported natively by
264 GCC >= v4.3, but older versions require `-x assembler-with-cpp').
266 * Makefile.in (COMPILE.sx): New implicit rule; GNU make does not
267 yet provide it, so we define it ourselves; deploy it for *.sx files.
268 (Makefile.stub): New sinclude file; create it dynamically, using...
269 (jmpstub_awk_script): ...this new inline script, which is based on...
270 (jmpstub_refs, jmpstub_prerequisites): ...these new macros, and...
271 (mingwex/jmpstub.sx): ...this new file; add vpath reference.
272 (mostlyclean-local): Remove Makefile.stub; do likewise...
273 (Makefile): ...when remaking this, to ensure that both will be
276 2014-11-03 Keith Marshall <keithmarshall@users.sourceforge.net>
278 Make dirent implementation namespace and time_t clean.
280 * include/_mingw.h (_EXTERN_C, _BEGIN_C_DECLS, _END_C_DECLS): New
281 macros; define them. They facilitate identification of symbols which
282 must be compiled with `extern "C"' binding, when compiling C++ code.
283 (__CRT_ALIAS): New macro; define it. It is intended to replace...
284 (_CRTALIAS): ...this, which is to be considered as deprecated.
285 (__JMPSTUB__, __LIBIMPL__): New macros; define them. They provide
286 __CRT_ALIAS build hints, while remaining transparent to GCC.
287 (UNICODE, _UNICODE) [user defined]: Define consistently.
289 * mingwex/dirent.c: Reimplement; (this is a back-port from the
290 4.0-dev branch, with additional ABI changes to improve stability).
291 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
292 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
293 Add `__mingw_' prefix to all publicly exposed symbol names.
294 (dirent_findfirst, dirent_findnext, dirent_findclose): New locally
295 implemented functions; they replace Microsoft's ambiguously defined
296 _findfirst, _findnext, and _findclose, so avoiding ABI instability
297 resulting from the ambiguous size of Microsoft's time_t.
299 * include/dirent.h (struct dirent, struct _wdirent): Redefine them,
300 removing unnecessary time_t and file size fields; (our replacements
301 for _findfirst, and _findnext do not require them to be present).
302 (DIR, _WDIR): Adjust typedefs; they are now opaque structs.
303 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
304 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
305 Adjust prototypes, making them inline aliases for public symbols which
306 are now qualified by the `__mingw_' prefix; add build hints to support
307 compilation of addressable stubs, with the original symbol names.
308 (DT_REG, DT_DIR, DT_UNKNOWN): New manifest constants; define them.
309 (DT_BLK, DT_CHR, DT_FIFO, DT_LNK, DT_SOCK): Likewise; (these are for
310 BSD compatibility, but are fundamentally unsupported on MS-Windows).
311 (_DIRENT_HAVE_D_TYPE, _DIRENT_HAVE_D_RECLEN, _DIRENT_HAVE_D_NAMLEN):
312 New macros; define them. (These show availability of optional fields
313 within the dirent struct, which client code may wish to access).
315 2014-10-31 Keith Marshall <keithmarshall@users.sourceforge.net>
317 Correct improper naming of assembly language source files.
319 * mingwex/math/*.S: Rename all files with this extension...
320 * mingwex/math/*.s: ...to this; (all are simple assembly language, and
321 not extended `assembler-with-cpp' as implied by the former extension);
322 adjust all internal `.file <name>' references accordingly.
324 * Makefile.in (vpath %.S): Adjust reference to locate files....
325 (vpath %.s): ...now renamed thus.
327 2014-10-29 Keith Marshall <keithmarshall@users.sourceforge.net>
329 Streamline the build system infrastructure.
331 * configure.ac: New file; it replaces...
332 * configure.in: ...this; (name is obsolete); delete it.
334 * aclocal.m4 Makefile.in: Substantially rewritten; avoid recursive
335 make invocations, when processing subdirectories, and add automatic
336 dependency tracking for all generated files.
338 * configure: Delete it; as a generated file, it doesn't belong in SCM.
340 * mingwex/Makefile.in: No longer required; delete it.
341 * profile/Makefile.in: Likewise.
343 * mkinstalldirs: Not required; delete it; (make should use `mkdir -p',
344 or fall back on `install-sh -d', per AC_PROG_MKDIR_P).
346 * jamfile: Delete it; it hasn't been updated in ages, is likely no
347 longer relevant, and I have no desire to maintain it.
349 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
351 * include/_mingw.h: Increment version to 3.20.
353 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
355 * tlsmthread.c: Update to reflect changes in tlssup.c.
356 * tlssup.c: code clean-up.
358 2011-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
360 * include/_mingw.h: Increment version to 3.19.
362 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
364 * include/float.h: Modify guard to accomodate CLang.
366 Thanks to Ruben Van Boxem for the report.
368 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
370 * tlssup.c: Remove mingwm10.dll fallback.
372 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
374 * include/sys/types.h (ssize_t): Defined as int as opposed to long.
376 Thanks to bvassche for the report.
378 2011-05-31 Keith Marshall <keithmarshall@users.sourceforge.net>
380 Correct checking for short option matches in getopt_long_only().
382 * mingwex/getopt.c (getopt_verify): New static inline function.
383 (getopt_parse) [getopt_mode_long_only]: Use it, to validate as a
384 possible short option match after failing to match, or ambiguously
385 matching as a long option.
387 2011-05-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
389 * include/stdlib.h (strtod): Declare as extern to resolve compilation issues.
391 Thanks to cgf for the report.
393 2011-05-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
395 * include/time.h (daylight, timezone, tzname): Rework guards to expose when
396 compiles with __STRICT_ANSI__.
398 Thanks to Felipe Contreras for the report.
400 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
402 * include/stdlib.h (strtod): Remove possible static declaration to resolve
405 Thanks to Tobias Burnus for the report.
407 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
409 * include/stdlib.h (_rotl, _lrotl, _rotr, _lrotr): Resolve conflict with gcc
410 by wrapping the functions in brackets.
412 Thanks to Kai Tietz for the report.
414 2011-05-22 A.B., Khalid <abkhd@users.sourceforge.net>
416 * Makefile.in: Add support for msvcr100.dll.
417 * msvcrt.def.in: Ditto.
419 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
421 * mingwex/mingw-fseek.c: The anonymous union feature for LARGE_INTEGER is
422 not always available, go the long way and use the explicit named union
423 members, which are also declared in winnt.h.
425 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
427 * mingwex/isblank.c: Fix typo in declaration.
429 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
431 * include/_mingw.h: Define GCC system_header only if PCC is not defined.
432 * include/stdlib.h: Fix a long-standing typo which prevented correct use of
433 the MB_CUR_MAX macro/variable when DECLSPEC is not supported and <stdlib.h>
434 is included before <ctype.h>.
436 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
438 * include/wchar.h: Include stdio.h to grab definition of FILENAME_MAX.
440 Thanks to Jim Bell for the report and Greg Chicares for the fix.
442 2011-01-07 Jacky Lai <crazyjacky@users.sourceforge.net>
444 Correct hexadecimal formatting of double and long double values.
446 * mingwex/stdio/pformat.c (__pformat_xdouble): Delete function.
447 (__pformat) [A format]: Cast double values to long double, and use...
448 (__pformat_xldouble): ...this instead, with corrected adjustment of
449 exponent and alignment of mantissa, when formatting subnormals.
451 2010-12-27 Ozkan Sezer <sezero@users.sourceforge.net>
453 * include/dirent.h (dd_handle): Define as intptr_t.
455 2010-11-08 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
457 * tlssup.c (__dyn_tls_init): Use an integer variable to iterate between
460 2010-08-17 Keith Marshall <keithmarshall@users.sourceforge.net>
462 * include/limits.h (PATH_MAX): Make it agree with Microsoft's
463 semantically identical MAX_PATH; correct value is 260.
465 2010-07-25 Keith Marshall <keithmarshall@users.sourceforge.net>
467 Accept that mingwrt headers are not guaranteed to precede GCC's in the
468 system include search path; (issue reported by Mark Brand).
470 * include/float.h: Add multiple inclusion guard around...
471 [! defined _FLOAT_H___]: ...include_next <float.h> for GCC's version,
472 only when this define does not indicate that it has already been seen;
473 update comments to document rationale; move it within the scope of...
474 [! defined _MINGW_FLOAT_H_]: ...this multiple inclusion guard, so that
475 GCC's float.h, after an appropriate complementary modification, need
476 not perform a further include path search when this implementation
477 specific extension has already been processed.
479 2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>
481 * include/io.h (_findfirst, _findnext, _findclose, _findfirst32,
482 _findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32,
483 _findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext,
484 _findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64,
485 _findnexti64): Correct definition.
487 2010-04-27 Danny Smith <dannysmith@users.sourceforge.net>
489 * mingwex/mb_wc_common.h (get_codepage): Revert change of 2006-09-19.
491 2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
493 * include/_mingw.h: Increment version to 3.18.
495 2010-03-02 Daniel Atallah <datallah@users.sourceforge.net>
497 * include/stdio.h: (_vscprintf, _vscwprintf)
498 * include/tchar.h: (_vsctprintf)
500 2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
502 Issue [2134161]: time64 functions and types for msvcrt >= 8.0
503 (initial implementation)
505 * new type: __time32_t
507 * new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
508 __stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
509 __wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t
511 * new functions: _ctime32, _difftime32, _difftime64, _findfirst32
512 _findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
513 _findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
514 _futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
515 _mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
516 _wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
517 _wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
518 _wstat32i64, _wstat64i32,_wutime32
520 * new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
521 ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
522 _fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
523 _stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
524 _wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime
526 2010-01-25 Kai Tietz <kai.tietz@onevision.com>
528 Implement TLS Callback.
530 * tlsmcrt.c: New file.
531 * tlsmthread.c: Ditto.
534 * Makefile.in: Include new files.
535 * crt1.c: Implement TLS Callback.
537 * mthr_stub.c: Remove.
539 2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
541 * include/_mingw.h: Increment version to 3.17.
543 2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
545 * mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa:
546 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
548 2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
550 * include/io.h (_open_osfhandle): Correct definition.
552 Thanks to Alexander Shaduri for the information.
554 2009-11-02 Charles Wilson <mingw@cwilson.fastmail.fm>
556 Final sync of pseudo-reloc.c with mingw64 and cygwin
557 * lib/pseudo-reloc.c (__report_error) [CYGWIN]: Correct size bug
558 regarding error messages.
560 2009-10-29 Charles Wilson <mingw@cwilson.fastmail.fm>
562 Honor DESTDIR for winsup/mingw and winsup/w32api.
563 Detect and report error if installation paths are win32
564 format, but DESTDIR is non-empty.
566 * Makefile.in (DESTDIR): Honor per convention.
567 (need-DESTDIR-compatibility): New macro; define it and a
569 (fail-DESTDIR-compatibility): New dependency goal.
570 (install-dirs): Require need-DESTDIR-compatibility.
571 * mingwex/Makefile.in (DESTDIR): Honor per convention.
572 (need-DESTDIR-compatibility): New macro; define it and a
574 (fail-DESTDIR-compatibility): New dependency goal.
575 (install): Require need-DESTDIR-compatibility.
576 * profile/Makefile.in: Ditto.
578 2009-10-25 Charles Wilson <mingw@cwilson.fastmail.fm>
580 Sync pseudo-reloc.c with mingw64
581 * psuedo-reloc.c: Remove unnecessary includes.
582 Forward declare _pei386_runtime_relocator.
583 Decorate _image_base__ symbol with macro for
584 mingw64 compatibility. Whitespace changes.
585 (__print_reloc_error): Renamed to...
586 (__report_error): This. "Returns" void, and
587 always aborts. Now used on all platforms.
588 (__write_memory): Remove special case error handling
589 for different platforms - always call __report_error.
590 (do_pseudo_reloc): Remove special case error handling
591 for different platforms - always call __report_error.
592 (_pei386_runtime_relocator): Decorate _image_base__
593 symbol with mingw64 compatibility macro.
595 2009-10-23 Charles Wilson <mingw@cwilson.fastmail.fm>
597 Sync pseudo-reloc.c with cygwin/lib/
598 * pseudo-reloc.c [CYGWIN]: Added comments throughout and various
599 whitespace fixes. Exploit cygwin_internal(CW_EXIT_PROCESS,...)
600 for fatal error handling that is consistent with cygwin process
601 life-cycle. Ensure state variable (in _pei386_runtime_relocator)
602 is unique to each address space, across fork().
603 [CYGWIN] (__print_reloc_error): New function for reporting
604 errors in a manner supported by cygwin at this early stage of
605 the process life-cycle.
606 [CYGWIN] (_pei386_runtime_relocator): Ensure relocations
607 performed only once for each address space, but are repeated
608 after fork() in the new address space.
609 [MINGW] (__write_memory): Ensure that b is always initialized
610 by call to VirtualQuery, even if -DNDEBUG.
612 2009-09-29 Keith Marshall <keithmarshall@users.sourceforge.net>
614 Make MinGW printf() "%p" format compatible with MSVCRT scanf().
615 (Based on MinGW-patch 2844514 by Peter Rosin <peda@lysator.liu.se>)
617 * mingwex/stdio/pformat.c (__printf) [%p]: Do not arbitrarily apply...
618 (PFORMAT_HASHED): ...this formatting attribute; honour only user
619 specified format qualifiers, except in special case...
620 [%p && stream.flags == flags && state == PFORMAT_INIT]: Apply...
621 (PFORMAT_ZEROFILL): ...this default formatting attribute...
622 (stream.precision): ...filled to at least 2 * sizeof( uintptr_t )
625 2009-09-01 Keith Marshall <keithmarshall@users.sourceforge.net>
627 Avoid multiple link time definitions of _printf() for C++;
628 (problem reported by Alexander Shaduri, via MinGW-users ML).
630 * include/stdio.h [__USE_MINGW_ANSI_STDIO]:
631 (__mingw_stdio_redirect__) [__cplusplus]: remove `static' keyword.
633 2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
635 * include/_mingw.h: Increment version to 3.16.
637 2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>
639 * include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit,
640 __signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf,
641 __fp_unordered_compare): Add prototypes.
642 * include/stdio.h (vsnwprintf): Add prototype.
643 * include/wchar.h (vsnwprintf): Add prototype.
644 * include/stdlib.h (_Exit): Protect inline definition with !__STRICT_ANSI__.
645 * include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard.
647 2009-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
649 Correct disposition of wchar_t output in printf().
651 * mingwex/stdio/pformat.c (__pformat) [%C]: Create new instance of...
652 (argval): ...this, in inner scope, with singular type `wchar_t'; use
653 it to pass one wchar to __pformat_wputchars(), for output.
655 2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
657 * mingwex/stdio/pformat.c: Implement better fix for type punned warning.
659 2009-07-27 Keith Marshall <keithmarshall@users.sourceforge.net>
661 Convert to monolithic configuration procedure.
663 * configure.in (AC_CHECK_TOOL): All instances; tabulate arguments.
664 (AC_SUBST): Use its 2nd argument to initialise MinGW default settings.
665 (PACKAGE_TARNAME) [target_os ~ cygwin]: Redefine it as appropriate.
666 (W32API_INCLUDE): Redefine; make it relative to `top_srcdir'.
667 (CRT0S): Relocate from `profile'; define it as appropriate.
668 (LIBM_A): Define and AC_SUBST it unconditionally.
669 (AC_CONFIG_SUBDIRS): Remove; none to configure.
670 (AC_OUTPUT_FILES): Add `Makefile' for each of...
671 (mingwex, profile): ...these subdirectories.
673 * configure: Regenerated.
675 * Makefile.in (PACKAGE, host_os): Let AC_SUBST define them.
676 (top_srcdir, top_builddir): New macros; let AC_SUBST define them.
677 (datarootdir): New macro; autoconf > 2.59 wants AC_SUBST to define it.
678 (SUBDIRS): Define explicitly, to run recursive `make' in...
679 (mingwex, profile): ...these; simplify build commands...
680 (rootme, rootsrc): ...without these shell variables.
681 (all, subdirs): Delete redundant build commands.
682 (FIXME): Flag various issues for follow up.
684 * mingwex/Makefile.in (INCLUDES): Redefined macro; refer it to...
685 (top_srcdir): ...this new macro; let AC_SUBST define it.
686 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
687 (Makefile): Make it depend on...
688 (top_builddir/config.status): ...this, itself depending on...
689 (top_srcdir/configure): ...this.
690 (FIXME): Flag various issues for follow up.
692 * mingwex/aclocal.m4: File no longer required; delete it.
693 * mingwex/configure mingwex/configure.in: Likewise.
695 * profile/Makefile.in (INCLUDES): Redefined macro; refer it to...
696 (top_srcdir): ...this new macro; let AC_SUBST define it.
697 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
698 (Makefile): Make it depend on...
699 (top_builddir/config.status): ...this, itself depending on...
700 (top_srcdir/configure): ...this.
701 (FIXME): Flag various issues for follow up.
703 * profile/aclocal.m4: File no longer required; delete it.
704 * profile/configure profile/configure.in: Likewise.
706 2009-07-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
708 * msvcrt.def.in: disable time symbol for libmsvcr90.a and libmsvcr90d.a due
709 to complaints that it causes issues.
711 2009-07-23 Jacky Lai <crazyjacky@users.sourceforge.net>
713 * mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan().
715 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
717 * include/inttypes.h include/math.h include/stdio.h include/stdlib.h
718 include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard
719 to all inline functions.
721 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
723 * CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
726 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
728 * cpu_features.c: replace gcc-specific construct with portable alternative
729 and match the code a few lines above.
730 * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
732 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
734 * include/_mingw.h: Changes required for PCC compiler.
736 2009-07-18 Jeff Lu <jll544@yahoo.com>
738 * mingwex/usleep.c: round up to next ms
740 2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
742 * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
743 mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
744 mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
745 the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
747 2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
749 * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.
751 2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>
753 * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files.
754 * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c
755 mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c
756 mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h
757 mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h
758 mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c
759 mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c
760 mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c
761 mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c
762 mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org
763 sources as of Apr. 20, 2009. Update further to match the sources in
764 the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX
765 code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the
766 double/ulong union from U to dbl_union for better grepping and white-
769 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
771 * include/stdlib.h (_wtof): Define.
773 2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
775 * include/stdint.h (int_fast8_t): Specify as signed char.
776 (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
777 (INT32_C, UINT32_C): Remove 'L' type specifier on constant.
779 2009-03-05 Kai Tietz <kai.tietz@onevision.com>
781 * pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2.
783 2009-02-08 Keith Marshall <keithmarshall@users.sourceforge.net>
785 MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.
786 (Requested by Robert Riebisch)
788 * mingwex/getopt.c (getopt_parse): Track external increments of...
789 (optind): ...this global variable.
791 2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
793 * include/_mingw.h: Increment version to 3.15.2.
795 2009-01-04 Keith Marshall <keithmarshall@users.sourceforge.net>
797 Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
798 Also add tentative support for BSD specific `optreset' feature.
800 * include/getopt.h (optreset) [_BSD_SOURCE]: Define; map it to...
801 (__mingw_optreset): ...this new global variable.
803 * mingwex/getopt.c (__mingw_optreset): Instantiate it...
804 (getopt_parse) [optind < 1]: ...make it true; use it to reset argument
807 2008-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
809 Partial fix for MinGW-Bug [2457778]: (Reported by Sisyphus).
810 Correct mishandling of invalid characters in printf() format specs.
812 * mingwex/stdio/pformat.c (__pformat): Save `fmt' scan position in...
813 (backtrack): ...this new automatic variable, at start of each format
814 conversion specification substring; use it to backtrack, and print the
815 substring literally, if any invalid character is encountered.
817 2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
819 * msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
820 ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
821 ___unguarded_readlc_active_add_func, __crtCompareStringW,
822 __crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
823 __pwctype_func, __iob_func, __uncaught_exception, __wcserror,
824 __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
825 __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
826 __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
827 _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
828 _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
829 _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
830 _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
831 _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
832 _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
834 2008-12-08 Dmitry G. Gorbachev <d.g.gorbachev@gmail.com>
836 * cpu_features.c (__cpu_features_init): Remove erroneous ';'.
838 2008-10-28 Keith Marshall <keithmarshall@users.sourceforge.net>
840 Correct some binary distribution packaging defects.
842 * Makefile.in (bindist): Remove `make' conditionals; segregate into...
843 (bindist-common, bindist-mingwrt, bindist-mingw-runtime): ...these new
844 intermediate goals; they make packages of files, as specified by...
845 (BINDIST_FILES, DEVDIST_FILES, DLLDIST_FILES): ...these new macros.
846 (dist_prefix) [target_alias !~ cygwin]: Leave it undefined.
848 2008-10-18 Keith Marshall <keithmarshall@users.sourceforge.net>
850 Fix MinGW-Bug [2136252]: (Reported by Roumen Petrov).
851 Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5
853 * mingwex/stdio/pformat.c (__pformat_emit_float): Always make output
854 of radix point conditional on precision != 0 or `#' flag specified.
856 2008-10-13 Keith Marshall <keithmarshall@users.sourceforge.net>
858 Fix MinGW-Bug [2160227]
859 Eliminate conflicting declarations and implementations of scalb().
861 * moldname.def.in (scalb): Comment out of EXPORTS list.
862 * include/math.h (scalb): Comment out OLDNAMES prototype; it conflicts
863 with GCC's built-in declaration.
865 2008-10-12 Christopher Faylor <me+cygwin@cgf.cx>
867 * Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
869 * mingwex/Makefile.in: Ditto.
870 * profile/Makefile.in: Ditto.
871 * configure.in: Record mingw front-end for building under Cygwin.
872 * mingwex/configure.in: Ditto.
873 * profile/configure.in: Ditto.
874 * configure: Regenerate.
875 * mingwex/configure: Ditto.
876 * profile/configure: Ditto.
878 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
880 Use de-facto standard Makefile goals to invoke test suite.
882 * Makefile.in: Some minor formatting adjustments.
883 (test_headers): Unconventionally named goal renamed to...
884 (check-headers): ...this; make it a prerequisite of...
885 (check): ...this new conventionally named goal.
887 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
889 Make strtod() inline definition C89 compliant.
890 (Issue reported by Ilya Shestopalov and Ian Puleston)
891 (Correction identified by Danny Smith)
893 * include/stdlib.h (strtod): Declare as `__inline__', not `inline';
894 reformat inline function definition.
896 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
898 * include/_mingw.h: Increment version to 3.15.1 and introduce
899 __MINGW32_PATCHLEVEL variable.
901 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
903 Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
904 (Reported by Christian Franke)
906 * mingwex/getopt.c (optind): Make global variable value conform to
907 behaviour specified by POSIX; do not use it for internal state in...
908 (getopt_parse): ...this static function; use...
909 (optbase): ...this new static local variable instead.
910 (getopt_resolved): Update `optind' as required.
912 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
914 Improve package identification in configure script.
916 * configure.ac (AC_INIT): Redefine parameters...
917 (PACKAGE_NAME): Set to `MinGW Runtime'.
918 (PACKAGE_BUGREPORT): Set to `http://mingw.org/reporting_bugs'
919 (PACKAGE_TARNAME): Set to `mingwrt'.
920 (PACKAGE_VERSION): Set generically to `v3.x'; reassigned by...
921 (MINGW_AC_CONFIG_SRCDIR): ...this macro, which extracts...
922 (__MINGW32_VERSION): ...this, from file `include/_mingw.h'.
924 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): Do not redefine...
925 (PACKAGE_TARNAME): ...this.
927 * configure: Regenerated.
929 2008-09-25 Keith Marshall <keithmarshall@users.sourceforge.net>
931 Fix MinGW-Bug [2125708].
932 (Reported by Alexandr Zamaraev).
934 * include/stdlib.h (intptr_t) [!_INTPTR_T_DEFINED]: Unused typedef;
935 not wanted here; remove it; replace it by...
936 (uintptr_t) [!_UINTPTR_T_DEFINED]: ...this typedef; needed by...
937 (_invalid_parameter_handler): ...this function typedef.
939 2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
941 * Makefile.in: Don't include host_os as part of snapshot filename.
943 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
945 Fix MinGW-Bug [2119504].
946 (Reported by Peiyuan Song).
948 * mingwex/getopt.c (getopt_resolved): Do not overwrite...
949 (*retindex): ...this already correctly assigned return variable...
950 (opt[index].val): ...with this; this should have been assigned to...
951 (*opt[index].flag) [opt[index].flag != NULL]: ...this instead.
953 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
955 Fix MinGW-Bug [2117379].
956 (Reported by Peiyuan Song).
958 * include/stdio.h (__argv): Replace all references in function
959 prototype argument lists and inline function local variables, with ...
960 (__local_argv): ...this, to avoid potential conflict with ...
961 * include/stdlib (__argv): ...this #defined macro.
963 2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
965 * include/_mingw.h: Increment version to 3.15.
967 2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
969 * Makefile.in: Adjust to new naming standard for MinGW while maintaining old
970 naming standard for Cygwin.
972 2008-08-31 Keith Marshall <keithmarshall@users.sourceforge.net>
974 Reimplement getopt.c to add getopt_long_only() function.
976 (N.B. this reimplementation removes support for BSD/Mac-OS-X
977 `optreset' nonsense; user code should set `optind = 0' instead,
978 to reinitialise option scanning).
980 * mingwex/getopt.c: Delete all content; reimplement it.
981 * include/getopt.h: Likewise.
983 * include/unistd.h (__UNISTD_H_SOURCED__): New macro; define it.
984 (__UNISTD_GETOPT__): This macro is no longer required; remove it.
986 2008-08-30 Keith Marshall <keithmarshall@users.sourceforge.net>
988 Implement conditional replacement for printf() family functions.
990 * include/_mingw.h (__USE_MINGW_ANSI_STDIO): New macro; define it.
991 (__MINGW_ANSI_STDIO__): New manifest constant; define as bitmapped
992 flag for use in user specified __MINGW_FEATURES__ attribute.
993 (__MINGW_LC_MESSAGES__, __MINGW_LC_ENVVARS__): New manifest constants;
994 currently unused: reserved as components of...
995 (__MINGW_LC_EXTENSIONS__): ...this new manifest constant; earmarked as
996 a __MINGW_FEATURES__ enhancement to setlocale().
998 * include/stdio.h (__mingw_printf, __mingw_vprintf): Prototype them.
999 (__mingw_fprintf, __mingw_vfprintf): Likewise.
1000 (__mingw_sprintf, __mingw_vsprintf): Likewise.
1001 (__msvcrt_printf, __msvcrt_vprintf): Likewise.
1002 (__msvcrt_fprintf, __msvcrt_vfprintf): Likewise.
1003 (__msvcrt_sprintf, __msvcrt_vsprintf): Likewise.
1004 (printf, vprintf) [!__USE_MINGW_ANSI_STDIO]: Prototype for default
1005 usage; link to DLL import stub, importing from MSVCRT.
1006 (fprintf, vfprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
1007 (sprintf, vsprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
1008 (printf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_printf; use
1009 locally defined static stub implementation.
1010 (fprintf, sprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
1011 __mingw_fprintf and __mingw_sprintf respectively.
1012 (vprintf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_vprintf; use
1013 static inline implementation for C++ and GNU C, or locally defined
1014 static stub otherwise.
1015 (vfprintf, vsprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
1016 __mingw_vfprintf and __mingw_vsprintf respectively.
1018 2008-08-27 Keith Marshall <keithmarshall@users.sourceforge.net>
1020 Avoid access violations, passing NULL to printf( "...%s..." );
1021 (inconsistencency with MSVCRT and glibc, reported by Colin Harrison).
1023 * mingwex/stdio/pformat.c (__pformat_puts): Substitute "(null)"
1024 for argument value, if caller passes a NULL pointer.
1025 (__pformat_wcputs): Likewise, substitute L"(null)".
1027 2008-08-14 Keith Marshall <keithmarshall@users.sourceforge.net>
1029 Add missing dependencies for building libmingwex.a.
1031 * mingwex/Makefile.in (printf.o, fprintf.o, sprintf.o): Make them...
1032 (vprintf.o, vfprintf.o, vsprintf.o): ...and also these, depend on...
1033 (pformat.h): ...this.
1035 2008-08-11 Keith Marshall <keithmarshall@users.sourceforge.net>
1037 Add replacements for remaining members of printf() family.
1039 * mingwex/stdio/printf.c: New file.
1040 * mingwex/stdio/fprintf.c: New file.
1041 * mingwex/stdio/sprintf.c: New file.
1042 * mingwex/stdio/vprintf.c: New file.
1043 * mingwex/stdio/vfprintf.c: New file.
1044 * mingwex/stdio/vsprintf.c: New file.
1046 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
1047 (STDIO_OBJS): Add their corresponding object files.
1049 2008-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
1051 Replace __mingw_snprintf() with new generic family implementation;
1052 likewise, replace __mingw_vsnprintf().
1054 * mingwex/stdio/pformat.c mingwex/stdio/pformat.h: New files.
1055 * mingwex/stdio/snprintf.c mingwex/stdio/vsnprintf.c: New files.
1056 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
1057 (GDTOA_DISTFILES): Remove mingw_snprintf.c
1058 (STDIO_OBJS): Add pformat.o, snprintf.o and vsnprintf.o
1059 (GDTOA_OBJS): Remove mingw_snprintf.o
1060 (PFORMAT_CFLAGS): New macro; define it, as required by...
1061 (pformat.o): ...this new explicit build target.
1062 (snprintf.o, vsnprintf.o): Declare prerequisites.
1064 * mingwex/gdtoa/mingw_snprintf.c: Redundant file; delete it.
1066 2008-07-28 Keith Marshall <keithmarshall@users.sourceforge.net>
1068 Lay foundations for new printf() function family implementation.
1070 * ofmt_stub.s: New file; implement forward compatibility stub for...
1071 (_get_output_format): ...this MSVCR80.DLL and later function.
1073 * Makefile.in (SRCDIST_FILES): Add ofmt_stub.s.
1074 (NM, OBJCOPY): New macros; define them with AC_SUBSTed values.
1075 (sym_prefix, NM_LOOKUP, MINGW_REPL_FUNCS): New macros; define them.
1076 (lib%.a): Include ofmt_stub.o when import library does not already
1077 advertise availability of the _get_output_format() function;
1078 Add alias stubs for MINGW_REPL_FUNCS, such that...
1079 (__msvcrt_printf): ...is an alias for Microsoft's printf().
1080 (__msvcrt_fprintf): ...is an alias for Microsoft's fprintf().
1081 (__msvcrt_sprintf): ...is an alias for Microsoft's sprintf().
1082 (__msvcrt_vprintf): ...is an alias for Microsoft's vprintf().
1083 (__msvcrt_vfprintf): ...is an alias for Microsoft's vfprintf().
1084 (__msvcrt_vsprintf): ...is an alias for Microsoft's vsprintf().
1085 (clean): Add msvcr*.def.
1087 * configure.in (NM, OBJCOPY): Use AC_CHECK_TOOL to specify them.
1088 * configure: Regenerated.
1090 2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
1092 * include/ctype.h (_imp____mb_cur_max): Correct spelling.
1093 (_imp____mb_cur_max_dll): Likewise.
1095 2008-07-04 Danny Smith <dannysmith@users,sourceforge.net>
1097 * include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
1098 * include/wchar.h (swprintf, vswprintf): Likewise.
1100 2008-07-01 Keith Marshall <keithmarshall@users.sourceforge.net>
1102 * msvcrt.def.in [__msvcr80__, __msvcr80d__, __msvcr90__, __msvcr90d__]
1103 (_get_output_format, _set_output_format): Add references.
1105 * include/stdio.h [__MSVCRT_VERSION__ >= 0x800]
1106 (_get_output_format, _set_output_format): Declare prototypes.
1107 (_TWO_DIGIT_EXPONENT): Define.
1108 Some other minor formatting adjustments.
1110 2008-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1112 [mingw-Bugs-1801641]
1113 * include/wchar.h (_wfdopen): Const-ify second arg.
1114 * include/stdio.h (_wfdopen): Likewise.
1115 Thanks to <tdragon at users dot sourceforge net>
1117 2008-06-02 Keith Marshall <keithmarshall@users.sourceforge.net>
1119 Avoid precision errors in round(), lround() and llround() functions.
1121 * mingwex/math/round_generic.c: New file; it replaces...
1122 * mingwex/math/round.c: ...this; delete it.
1123 * mingwex/math/roundf.c: ...and this; ditto.
1124 * mingwex/math/roundl.c: ...and this; ditto.
1126 * mingwex/math/lround_generic.c: New file; it replaces...
1127 * mingwex/math/lround.c: ...this; delete it.
1128 * mingwex/math/lroundf.c: ...and this; ditto.
1129 * mingwex/math/lroundl.c: ...and this; ditto.
1130 * mingwex/math/llround.c: ...and this; ditto.
1131 * mingwex/math/llroundf.c: ...and this; ditto.
1132 * mingwex/math/llroundl.c: ...and this; ditto.
1134 * mingwex/math/round_internal.h: New file; it provides generic common
1135 code, which is shared by `round_generic.c' and `lround_generic.c'; the
1136 implementation is based on techniques suggested by Danny Smith and
1139 * mingwex/Makefile.in (MATH_DISTFILES): Remove `round.c', `roundf.c',
1140 `roundl.c', `lround.c', `lroundf.c', `lroundl.c', `llround.c',
1141 `llroundf.c' and `llroundl.c'; replace by `round_internal.h',
1142 `round_generic.c' and `lround_generic.c'.
1143 (MATH_OBJS): Factor out files listed in...
1144 (MATH_ROUND_OBJS, MATH_LROUND_OBJS, MATH_LLROUND_OBJS): ...these new
1145 macros; define them; specify dependencies and build rules; add to...
1146 (LIB_OBJS): ...this list.
1148 2008-05-22 Danny Smith <dannysmith@users.sourceforge.net>
1150 [ mingw-Bugs-1961893 ]
1151 * mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa
1152 mode to 2 for E format.
1154 2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
1156 * include/stdlib.h: Fix strtod under C++.
1158 2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
1160 * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
1161 * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
1163 2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
1165 * include/sys/types.h (useconds_t): typedef.
1166 * include/unistd.h (usleep): Add prototype.
1167 * mingwex/usleep.c: New file.
1168 * mingwex/makefile.in: Add usleep source and object.
1170 2008-05-02 Ramiro Polla <ramiro@lisha.ufsc.br>
1172 Make strtod() conform to C99.
1174 * include/stdlib.h (strtod): Declare this mingwex function, and...
1175 (_strtod): rename this MSVCRT counterpart.
1177 * mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
1179 2008-04-26 Chuck Wilson <cwilso11@users.sourceforge.net>
1181 * Makefile.in: correct issues with mingw10.dll having multiple relocs.
1183 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1185 * include/process.h: Include stdint.h for intptr_t definition.
1186 (_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
1187 _spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
1188 _spawnvpe): Return intptr_t.
1189 (execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
1190 spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
1192 * include/wchar.h: Guard wide process.h functions with !__STRICT_ANSI__.
1194 [!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
1195 (_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
1196 _wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
1197 _wspawnvp, _wspawnvpe): Return intptr_t.
1199 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1201 * include/wchar.h (fwide): Return success code rather than failure in inline
1203 * mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
1204 code rather than failure.
1206 2008-03-21 Danny Smith
1208 * include/math.h (float_t, double_t): Define.
1210 2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1212 * mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
1213 * mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
1214 (x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
1216 2008-02-28 Joseph Myers <joseph@codesourcery.com>
1218 * include/complex.h: Don't condition contents on C99 or not
1221 2008-02-01 Brian Dessent <brian@dessent.net>
1223 * Makefile.in: Add rules to generate multiple versions of libmoldname.a for
1224 the different runtime versions.
1226 2008-01-19 Danny Smith <dannysmithusers.sourceforge.net
1228 * inclue/wchar.h (fwide): Add prototype and guard inline definition.
1229 (mbsinit): Likewise.
1231 2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1233 * include/_mingw.h: Increment version to 3.14.
1235 2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1237 * Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
1238 * msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
1239 * mingwex/math/log10f.S: Correct issue with comments.
1240 * mingwex/math/log10l.S: Ditto.
1241 * mingwex/math/log1p.S: Ditto.
1242 * mingwex/math/log1pf.S: Ditto.
1243 * mingwex/math/log1pl.S: Ditto.
1244 * mingwex/math/log2.S: Ditto.
1245 * mingwex/math/log2f.S: Ditto.
1246 * mingwex/math/log2l.S: Ditto.
1247 * mingwex/math/logf.S: Ditto.
1248 * mingwex/math/logl.S: Ditto.
1250 2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
1252 * mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
1254 2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
1256 * include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
1257 from '_fsize_t' to '__int64' to be consistent with the other ...64
1258 structures and the value set there is 8 bytes not 4. Add guard for both
1259 as the are only used by functions available from 6.1 on.
1261 * include/malloc.h (_HEAP_MAXREQ): Define.
1262 (_aligned_offset_recalloc): Define.
1263 (_aligned_recalloc()): Define.
1265 * include/math.h: fixed a typo in a comment.
1266 (atanhf): Fixed declaration.
1268 * include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
1269 to '__int64' to be consistent with the other ...64 structures and the value
1270 set there is 8 bytes not 4. Added guard as this function is only used by
1271 functions available from 6.1 on.
1273 * include/sys/stat.h: some members of 'stat' were declared with types with
1274 a prefixed underscore, while the ones without the underscore should have
1275 been used. Added guard to '__stat64' as it is only used by functions
1276 available from 6.1 on. Added the wide character versions of the
1277 exec()/spawn() family for completion
1278 (_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
1281 * include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
1282 from 'long' to 'time_t'
1283 (__timeb64): moved declaration of structure directly before the declaration
1284 of the function '_ftime64()', so it is guarded as well
1286 * include/sys/utime.h (__utimbuf64): moved declaration of structure directly
1287 before the declaration of the functions using it, so it is guarded as well
1289 2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
1291 * mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
1292 case. Add missing break in 's'/LEN_S case.
1294 2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1296 Make snprintf() and vsnprintf() conform to C99.
1298 * include/stdio.h: Add note about incompatibility between...
1299 (snprintf, vsnprintf): These two mingwex functions, and...
1300 (_snprintf, _vsnprintf): these MSVCRT counterparts.
1302 * mingwex/Makefile.in (STDIO_OBJS): Remove snprintf.o and vsnprintf.o
1303 (STDIO_DISTFILES): Remove snprintf.c and vsnprintf.c
1305 * mingwex/stdio/snprintf.c: Delete.
1306 * mingwex/stdio/vsnprintf.c: Delete.
1308 * mingwex/gdtoa/mingw_snprintf.c (snprintf): Alias to __mingw_snprintf
1309 (vsnprintf): Alias to __mingw_vsnprintf.
1311 2007-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1313 * include/_mingw.h: Increment version to 3.13.
1314 * Makefile.in: Reset CYGRELEASE to 1
1316 2007-07-23 Keith Marshall <keithmarshall@users.sourceforge.net>
1318 * Makefile.in (SUBDIRS): Delete stray line continuation artifact,
1319 resulting from incomplete removal of enclosing `for ...; do ...; done'
1320 loop from compound command; (reported by Greg Chicares).
1322 2007-07-19 Danny Smith <dannysmith@users.sourceforge.net>
1324 * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
1327 2007-07-12 Danny Smith <dannysmith@users.sourceforge.net>
1329 [mingw-Bugs-1734142]
1330 * include/wchar.h (_wsystem) Declare.
1332 (_wgetenv): Declare.
1333 (_wsearchenv): Declare.
1334 (_wmakepath): Declare.
1335 (_wsplitpath): Declare.
1336 (_wfullpath): Declare.
1337 * include/stdlib.h (_wsystem) Declare.
1338 (_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath,
1339 _wfullpath): Move into _WSTDLIB_DEFINED guard.
1340 * include/tchar.h (_tsystem): New UNICODE mapping define.
1342 2007-06-29 Danny Smith <dannysmith@users.sourceforge.net>
1344 * mingwex/gdtoa/mingw_snprintf.c: New file.
1345 * mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
1346 (GDTOA_OBJS): Add mingw_snprintf.o.
1348 2007-06-28 Danny Smith <dannysmith@users.sourceforge.net>
1350 * msvcrt.def.in: Update comment.
1351 Exclude _ctype stub if using msvcr71.dll or newer.
1352 * include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
1353 * include/wctype.h: Likewise.
1355 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1357 *include/wctype.h: Qualify all functions with __MINGW_NOTHROW.
1358 *include/dirent.h: Likewise.
1360 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1362 * include/assert.h: Qualify all functions with __MINGW_NOTHROW.
1363 * include/conio.h: Likewise.
1364 * include/ctype.h: Likewise.
1365 * include/direct.h: Likewise.
1366 * include/dos.h: Likewise.
1367 * include/errno.h: Likewise.
1368 * include/fenv.h: Likewise.
1369 * include/float.h: Likewise.
1370 * include/inttypes.h: Likewise.
1371 * include/io.h: Likewise.
1372 * include/libgen.h: Likewise.
1373 * include/locale.h: Likewise.
1374 * include/malloc.h: Likewise.
1375 * include/mbctype.h: Likewise.
1376 * include/mbstring.h: Likewise.
1377 * include/process.h: Likewise.
1378 * include/search.h: Likewise.
1379 * include/setjmp.h: Likewise.
1380 * include/signal.h: Likewise.
1381 * include/stdio.h: Likewise.
1382 * include/stdlib.h: Likewise.
1383 * include/string.h: Likewise.
1384 * include/time.h: Likewise.
1385 * include/wchar.h: Likewise.
1386 * include/sys/stat.h: Likewise.
1387 * include/sys/time.h: Likewise.
1388 * include/sys/timeb.h: Likewise.
1389 * include/sys/utime.h: Likewise.
1391 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1393 * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
1395 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1397 Add POSIX binary tree search API.
1399 * mingwex/tfind.c: New file.
1400 * mingwex/tdelete.c: New file.
1401 * mingwex/tsearch.c: New file.
1402 * mingwex/twalk.c: New file.
1403 * mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
1404 * mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
1405 * include/search.h (tfind): Declare.
1412 (node_t): Define, on condition of _SEARCH_PRIVATE.
1414 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1416 * include/_mingw.h (__MINGW_NOTHROW): Define.
1418 2007-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1420 * include/stdio.h (vsnprintf): Remove inline definition.
1423 2007-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1425 * CRTfmode.c: Nit-pick comment fix.
1427 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1429 * CRTfmode.c: Fix nested comment.
1431 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1433 * include/string.h (strcasecmp): Fix typo in declaration prototype.
1435 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1437 * include/io.h (lseek64) : Add prototype.
1439 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1441 * include/string.h (strcasecmp): Add prototype.
1442 (strncasecmp): Add prototype.
1444 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1446 * Makefile.in (CRT0S): Revert last change.
1447 * CRTfmode.c. Correct comment.
1449 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1451 * Makefile.in (CRT0S): Add back CRTfmode.o.
1453 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1455 * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
1456 * include/io.h: Likewise.
1458 2007-06-11 Danny Smith <dannysmith@users.sourceforge.net>
1460 * crt1.c (__mingw_CRTStartup): Add explicit call to gcc's __main.
1462 2007-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1464 * include/stdint.h (intptr_t): Fix typo.
1465 Thanks to Charles Wilson for report.
1467 2007-05-07 Danny Smith <dannysmith@users.sourceforge.net>
1469 * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
1470 Condition on _WIN64.
1471 (uintptr_t): Protect with _UINTPTR_T_DEFINED. Condition on _WIN64.
1472 (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64.
1473 (PTRDIFF_MIN): Define as INTPTR_MIN.
1474 (PTRDIFF_MAX): Define as INTPTR_MAX.
1475 (SIG_ATOMIC_MIN): Define as INTPTR_MIN.
1476 (SIG_ATOMIC_MAX): Define as INTPTR_MAX.
1478 2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1480 * Makefile.in: Removed mansuffix variable. Changed mansection to support
1481 Cygwin man page location.
1483 2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1485 * Makefile.in: Added mansection and mansuffix variables. Changed mandir to
1486 support Cygwin man page location.
1488 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1490 * Include/_mingw.h: Increment version to 3.12.
1492 2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
1494 * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__.
1496 2007-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1498 * Makefile.in: Tweak srcdist to fix build issue.
1500 2007-03-20 Keith Marshall <keithmarshall@users.sourceforge.net>
1502 Add --enable-mingw-manpage-transform configure option.
1504 * aclocal.m4 (MINGW_AC_MANPAGE_TRANSFORM): New macro.
1505 * configure.in, Makefile.in: Use it.
1506 * configure: Regenerated.
1508 2007-03-18 Danny Smith <dannysmith@users.sourceforge.net>
1510 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ for gcc 4.2.x too.
1512 2007-03-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1514 Add manpages for dirname and basename functions.
1516 * man: New directory.
1517 * man/dirname.man: New file; it sources both manpages.
1518 * Makefile.in: Add provisional rules to distribute them.
1520 2007-03-08 Keith Marshall <keithmarshall@users.sourceforge.net>
1522 * mingwex/basename.c: Make it work with path names containing
1523 multibyte character strings.
1524 * mingwex/dirname.c: Likewise.
1526 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1528 * include/io.h (__mingw_access): New static inline wrapper to restore
1529 pre-Vista 'access (fname, X_OK)' behaviour.
1530 (__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
1532 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1534 * mingwex/fesetround.c (fesetround): Use unsigned int as operand
1536 Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
1538 2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
1540 * include/stdio.h (_unlink, unlink): Add prototypes.
1542 2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
1544 * include/excpt.h: Replace "_try1" in comments with "__try1".
1546 2007-02-15 Danny Smith <dannysmith@users.sourceforge.net>
1548 * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1549 (ALL_CXXFLAGS): Likewise.
1550 * mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1551 (ALL_CXXFLAGS): Likewise.
1552 * profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1553 (ALL_CXXFLAGS): Likewise.
1555 2007-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1557 * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
1559 2007-01-27 Danny Smith <dannysmith@users.sourceforge.net>
1561 Expose some more msvcr80.dll functions.
1562 * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
1563 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
1564 * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
1565 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
1567 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1569 Expose some msvcr80.dll functions.
1570 * include/stdlib.h (_set_abort_behavior): Add prototype.
1571 (_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
1572 _set_abort_behavior mask argument.
1573 (_invalid_parameter_handler): Add typedef.
1574 (_set_invalid_parameter_handler): Add prototype.
1575 * include/stdio.h (_get_printf_count_output): Add prototype.
1576 (_set_printf_count_output): Add prototype.
1577 * msvcrt.def.in (_get_printf_count_output,_set_printf_count_output,
1578 _set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
1580 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1582 * include/_mingw.h (CRT_INLINE): Correct typo.
1584 2007-01-24 Danny Smith <dannysmith@users.sourceforge.net>
1586 * include/io.h (X_OK): Define to F_OK.
1588 2007-01-19 Danny Smith <dannysmith@users.sourceforge.net>
1590 * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1591 unconditionally. Change comment.
1592 * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1594 * include/io.h (rename): Declare.
1597 2006-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
1599 * include/libgen.h: New file; required by...
1600 * mingwex/basename.c, mingwex/dirname.c: New files.
1601 * mingwex/Makefile.in (DISTFILES): Add them...
1602 (POSIX_OBJS): ...with corresponding basename.o, dirname.o
1603 (Dependencies): Typo; s/Dependancies/Dependencies/
1605 2006-11-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1607 * Makefile.in (VERSION): Let configure define it.
1609 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): New macro.
1610 * configure.in: Use it.
1611 Correct quoting of autoconf macro arguments throughout.
1612 (AC_INIT, AC_OUTPUT): Update to autoconf 2.5x preferred syntax.
1613 (AR, AS, RANLIB, LD, DLLTOOL, DLLWRAP): Don't need AC_SUBST.
1614 (AC_ALLOCA): Invalid after GCC_NO_EXECUTABLES; removed.
1615 (AC_CONFIG_FILES): Add, to generate Makefile.
1617 * configure: Regenerated.
1619 2006-11-21 Danny Smith <dannysmith@users.sourceforge.net>
1621 * Makefile.in: Add aclocal.m4 to source release.
1622 * mingwex/Makefile.in: Ditto.
1623 * profile/Makefile.in: Ditto.
1625 2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1627 * Include/_mingw.h: Increment version to 3.11.
1628 * Makefile.in: Ditto.
1630 2006-11-09 Danny Smith <dannysmith@users.sourceforge.net>
1632 [ mingw-Bugs-1590623 ]
1633 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
1636 2006-10-04 Corinna Vinschen <corinna@vinschen.de>
1638 * Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
1639 correctly parenthesized.
1641 2006-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1643 * mingwex/mb_wc_common.h (get_codepage): Get it
1646 2006-09-18 Danny Smith <dannysmith@users.sourceforge.net>
1648 * mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity.
1650 * mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to
1652 * mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with
1655 2006-09-16 Danny Smith <dannysmith@users.sourceforge.net>
1657 * mingwex/gdtoa/strtopx.c (strtopx): Fix long double representation
1660 2006-09-11 Christopher Faylor <cgf@timesys.com>
1662 * Makefile.in: Semi-revert 2006-08-30 change.
1664 2006-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1666 * include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
1667 (__MINGW_IMPORT): Ansify.
1668 * include/stdlib.h (_sleep, _beep, _seterrormode): Add
1669 __MINGW_ATTRIB_DEPRECATED.
1671 2006-09-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1673 * aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
1674 Redundant macros; deleted.
1676 * configure.in (LIB_AC_PROG_CC): Replaced by...
1677 (AC_PROG_CC): ...this.
1679 * configure: Regenerated.
1681 2006-09-06 Danny Smith <dannysmith@users.sourceforge.net>
1683 * mingwex/gdtoa/misc.c (pow5mult): Restore original code.
1684 * mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
1685 * mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
1687 2006-09-01 Danny Smith <dannysmith@users.sourceforge.net>
1689 * mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
1690 g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
1691 gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
1692 README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
1694 * mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
1695 * mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
1696 * mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
1697 * mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
1698 * mingwex/wcstold.c: Avoid using strtold internals.
1699 * mingwex/wcstof.c: Rewrite.
1700 * mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
1701 (GDTOA_OBJS): Add to library.
1702 (DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
1703 (STDLIB_OBJS): Remove.
1704 (STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
1705 (Q8_OBJS): Add wcstof.o wcstold.o.
1706 * include/stdlib.h (strtof): Remove inline definition.
1708 * include/wchar.h (wcstof): Remove inline definition.
1710 2006-08-30 Corinna Vinschen <corinna@vinschen.de>
1712 * Makefile.in: Add with_cross_host to allow more granular checks.
1713 Set installation directories accordingly. Override CC setting only
1714 if building a Cygwin target.
1715 * aclocal.m4: Regenerate.
1716 * configure.in: Move AC_CANONICAL_SYSTEM check up. Add
1717 GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files.
1718 Test AC_ALLOCA only if building on a native system.
1719 * configure: Regenerate.
1721 2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1723 * include/ctype.h: Fix typo.
1725 2006-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1727 * include/ctype.h: Expose iswblank if __cplusplus.
1728 * include/wctype.h: Expose iswblank if __cplusplus.
1730 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1732 * include/ctype.h: Remove stray ')';
1734 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1736 * include/ctype.h (_BLANK): Expand comment.
1737 (isblank): Add prototype and inline definition.
1738 (iswblank): Add prototype and inline definition.
1739 * include/wctype.h (iswblank): Add prototype and inline definition.
1740 * mingwex/isblank.c: New file.
1741 * mingwex/iswblank.c: New file.
1742 * mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
1744 2006-07-06 Danny Smith <dannysmith@users.sourceforge.net>
1746 * include/math.h (__INFF,__INFL): Remove '#'.
1748 2006-07-04 Danny Smith <dannysmith@users.sourceforge.net>
1750 * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
1752 2006-07-03 Danny Smith <dannysmith@users.sourceforge.net>
1754 Support SSE float environment in fenv.h functions.
1755 * cpu_features.c: New file.
1756 * cpu_features.h: New file.
1757 * crt1.c: Include "cpu_features.h".
1758 (__mingw_CRTStartup): Call cpu_features_init().
1759 * Makefile.in (MING_OBJS): Add cpu_features.c.
1760 (SRCDIST_FILES): Add cpu_features.c, cpu_features.h.
1761 * include/fenv,h ( fenv_t;): Append __mxcsr field.
1762 (__MXCSR_EXCEPT_FLAG_SHIFT): New define.
1763 (__MXCSR_EXCEPT_MASK_SHIFT): New define.
1764 (__MXCSR_ROUND_FLAG_SHIFT): New define.
1765 * mingwex/feclearexcept.c: Include "cpu_features.h".
1766 Handle SSE environment.
1767 * mingwex/fegetenv.c: Likewise.
1768 * mingwex/feholdexcept.c: Likewise.
1769 * mingwex/fesetenv.c: Likewise.
1770 * mingwex/fesetexceptflag.c: Likewise.
1771 * mingwex/fesetround.c: Likewise.
1772 * mingwex/fetestexcept.c: Likewise.
1773 * mingwex/feupdateenv.c: Likewise.
1774 * mingwex/fegetround.c: Add comment.
1776 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1778 * Include/_mingw.h: Increment version to 3.10.
1779 * Makefile.in: Ditto.
1781 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1783 * mingwex/math/tgamma.c (SQTPI): Add braces.
1785 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1787 * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
1788 * mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
1790 * mingwex/math/sf_erf.c (erff): Initialize z.
1792 * mingwex/math/tgamma.c (SQTPI): Avoid type punning.
1794 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1796 * Include/_mingw.h: Increment version to 3.10.
1797 * Makefile.in: Ditto.
1799 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1801 * include/sys/time.h (struct timezone): Define.
1802 * include/time.h: Correct comment about timezone.
1804 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1806 * configure.in (AC_CONFIG_AUX_DIR): Remove.
1807 * configure: Regenerate.
1809 2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
1811 * configure: add srcdir as a possible location for install-sh.
1813 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1815 * mingwex/dirent.c (_tGetFileAttributes): New helper function.
1816 (_topendir): Use it.
1818 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1820 * include/sys/time.h: Add header guard. Add extern "C" bracketing
1822 (gettimeofday): Add prototype.
1823 * mingwex/gettimeofday.c: New file.
1824 * mingwex/makefile.in: Add gettimeofday source and object.
1826 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1828 * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
1829 else global library variable.
1830 (HUGEVALF): Likewise.
1831 (HUGEVALL): Likewise.
1832 (INFINITY): Likewise.
1835 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1837 * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
1839 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1841 * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
1843 2006-05-24 Christopher Faylor <cgf@timesys.com>
1845 * configure.in: Update to newer autoconf.
1846 (thanks to Steve Ellcey)
1847 * mingwex/configure.in: Ditto.
1848 * profile/configure.in: Ditto.
1849 * configure: Regenerate.
1850 * mingwex/configure: Ditto.
1851 * profile/configure: Ditto.
1852 * aclocal.m4: New file.
1853 * mingwex/aclocal.m4: Ditto.
1854 * profile/aclocal.m4: Ditto.
1856 2006-05-17 Danny Smith <dannysmith@users.sourceforge.net>
1858 * mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.
1859 Use supplied codepage as arg to WideCharToMultiByte.
1861 2006-02-13 Earnie Boyd <earnie@users.sf.net>
1863 * Makefile.in (libmsvcr80.a): Add import lib.
1864 (libmsvcr80d.a): Ditto.
1866 2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1868 * Makefile.in: Bump cygwin build number.
1870 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1872 * Include/_mingw.h: Increment version to 3.9.
1873 * Makefile.in: Ditto.
1875 2005-10-14 Danny Smith <dannysmith@users.sourceforge.net>
1877 * include/limits.h (SSIZE_MAX): Define.
1878 (LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.
1880 2005-10-13 Wu Yongwei <adah@users.sourceforge.net>
1882 * include/tchar.h: Include <wchar.h> when _UNICODE is defined.
1883 (_TEOF): New macro definition for _UNICODE and non_UNICODE cases.
1885 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1887 * include/stddef.h: Remove.
1888 * include/stdarg.h: Remove.
1890 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1892 * mingwex/complex/csqrt.c (csqrt): The sign of real part
1893 of result is positive when real part of arg == 0;
1894 * mingwex/complex/csqrtf.c (csqrtf): Ditto.
1895 * mingwex/complex/csqrtl.c (csqrtl): Ditto.
1897 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1899 * include/time.h (_time64): Correct prototype.
1901 2005-10-08 Danny Smith <dannysmith@users.sourceforge.net>
1903 * mingwex/fegetenv.c (fegetenv): Restore exception masks.
1904 * mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
1905 to non-stop. Use "fnclex" to clear exception flags.
1907 2005-09-24 Danny Smith <dannysmith@users.sourceforge.net>
1909 * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
1910 Avoid raising FP exceptions.
1912 2005-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1914 * include/stdlib.h (strtof): Add prototype. Uglify
1915 parameter names in inline definition.
1917 (_Exit): Uglify parameter names in inline definition.
1918 (llabs): Add prototype.
1919 (_set_error_mode): Add prototype and input defines.
1921 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1923 * mingwex/fe*.c: Revert previous changes.
1924 * include/fenv.h: Revert previous changes.
1926 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1928 * mingwex/feclearexcept.c (feclearexcept): Change declaration.
1929 Do not return a value.
1930 * mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
1931 * mingwex/feraiseexcept.c (feraiseexcept): Likewise.
1932 * mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
1933 * mingwex/fegetenv.c (fegetenv): Likewise.
1934 * mingwex/fesetenv.c (fesetenv): Likewise.
1935 * mingwex/feupdateenv.c (feupdateenv): Likewise.
1936 * include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
1937 fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
1940 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1942 * mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
1943 getting filelength for SEEK_END.
1945 2005-08-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1947 * Include/_mingw.h: Increment version to 3.8.
1948 * Makefile.in: Ditto.
1950 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1952 * include/wctype.h (towupper, towlower): Change arg and return value
1954 * include/ctype.h (towupper, towlower): Likewise.
1956 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1958 * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
1959 a diagnostic, guarded by #ifdef DEBUG.
1960 (__mingwthr_remove_key_dtor): Likewise.
1962 2005-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1964 * moldname.def.in (sleep, beep, seterrormode): Remove.
1966 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1968 * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
1969 (_MCOUNT_DECL): Use it.
1970 (MCOUNT): Save and restore eax, ecx, edx registers.
1971 * profile/mcount.c (_mcount): ANSI-fy.
1973 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1975 * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
1976 guard __MINGW_ATTRIB macro definitions.
1977 * include/math.h (logb[fl]): Don't define inlines for
1978 GCC-4.0+ && __FAST_MATH__.
1979 (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up
1980 line-continuation backslashes.
1982 2005-06-06 Danny Smith <dannysmith@users.sourceforge.net>
1984 * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
1985 in GNUC version guard.
1987 2005-05-20 Danny Smith <dannysmith@users.sourceforge.net>
1989 * crt1.c (_gnu_exception_handler): Handle illegal instruction
1990 OS exception as a signal if user has defined a SIGILL handler.
1992 2005-05-10 Danny Smith <dannysmith@users.sourceforge.net>
1994 * mingwex/math/nexttoward.c: New file.
1995 * mingwex/math/nexttowardf.c: New file.
1996 * mingwex/math/nextafterl.c: Add nexttowardl alias.
1997 * mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
1999 (MATH_OBJS): Add nexttoward.o, nexttowardf.o,
2000 * include/math.h (nexttoward, nextowardf, nexttowardl): Add
2003 2005-05-09 Danny Smith <dannysmith@users.sourceforge.net>
2005 * mingwex/math/nextafterf.c (nextafterf): Correct
2007 * mingwex/math/nextafterl.c: New file.
2008 * mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
2009 (MATH_OBJS): Add nextafterl.o.
2010 * include/math.h (nextafterl): Uncomment prototype.
2012 2005-05-08 Danny Smith <dannysmith@users.sourceforge.net>
2014 * mingwex/math/erfl.c: New file.
2015 * mingwex/Makefile.in (MATH_DISTFILES): Add erfl.c.
2016 (MATH_OBJS): Add erfl.o.
2017 * include/math.h (erfl, erfcl): Uncomment prototypes.
2019 2005-05-04 Danny Smith <dannysmith@users.sourceforge.net>
2021 * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
2022 #if (WCHAR_MAX <= WCHAR_MIN) is false.
2023 * include/stdint.h (WCHAR_MAX): Likwise.
2024 (WINT_MAX): Likewise.
2026 2005-05-03 Danny Smith <dannysmith@users.sourceforge.net>
2028 * mingwex/math/signbit.c (__signbit): Make return value
2029 consistent with GCC's __builtin_signbit.
2030 * mingwex/math/signbitf.c (__signbitf): Likewise.
2031 * mingwex/math/signbitf.c (__signbitl): Likewise.
2032 * include/math.h (__signbit, __signbitf, __signbitl): Likewise
2035 2005-05-02 Danny Smith <dannysmith@users.sourceforge.net>
2037 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
2039 * mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
2040 Remove unused MBTOWC_FLAGS define.
2042 2005-04-23 Danny Smith <dannysmith@users.sourceforge.net>
2044 * mingwex/mbrtowc.c: New file.
2045 * mingwex/wcrtomb.c: New file.
2046 * mingwex/btowc.c: New file.
2047 * mingwex/wctob.c: New file.
2048 * mingwex/mb_wc_common.h: New file.
2049 * mingwex/Makefile.in (DISTFILES): Add new files.
2050 (Q8_OBJS): Add new objects.
2051 * include/wchar.h: Adjust comment about mbrtowc() and related
2052 funcions. Add __restrict__ to pointer params in prototypes.
2053 (wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
2054 arg names from protototypes.
2056 2005-04-23 Wu Yongwei <adah@sh163.net>
2058 * mingwex/dirent.c: Formatting changes.
2059 * mingwex/dirent.c (_topendir): Make the end-of-path slash check
2062 2005-03-31 Danny Smith <dannysmith@users.sourceforge.net>
2064 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
2066 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
2068 * include/stdio.h (__mingw_fwrite): Change return value to
2070 * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
2072 2005-03-15 Hans Leidekker <hans@it.vu.nl>
2074 * include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
2076 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2078 * include/wctype.h (wctrans): Remove _CRTIMP.
2079 (towctrans): Likewise.
2082 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2084 * include/wctype.h: Add comment on wctrans, towctrans, wctype.
2086 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2088 * mingwex/wctype.c: New file.
2089 * mingwex/wctrans.c: New file.
2090 * mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c.
2091 * mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.
2093 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2095 * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.
2097 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2099 * include/assert.h: Remove header guard. #undef assert macro.
2100 (_assert): Use __MINGW_ATTRIB_NORETURN define.
2102 2005-02-11 Gregory W. Chicares <chicares@cox.net>
2103 Danny Smith <dannysmith@users.sourceforge.net>
2105 * include/math.h (expm1, expm1f, expmll): Add prototypes.
2106 * mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
2108 (MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
2109 * mingwex/math/expm1.c: New file.
2110 * mingwex/math/expm1f.c: New file.
2111 * mingwex/math/expm1l.c: New file.
2113 2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
2115 * include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
2116 * include/wchar.h (struct stat): Likwwise.
2117 Bug reported to Debian by Anand Kumria <wildfire@progsoc.org>
2119 * include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
2121 2005-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2123 * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
2124 string is not valid.
2126 2005-01-26 Oliver Stoeneberg <oliverst@online.de>
2128 * include/malloc.h: Add missing return code defines for
2131 2005-01-17 Danny Smith <dannysmith@users.sourceforge.net>
2133 * include/sys/stat.h (struct __stat64): Change st_size type to
2135 * include/wchar.h (struct __stat64): Change st_size type to __int64.
2137 2005-01-13 Earnie Boyd <earnie@users.sf.net>
2139 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2141 * include/errno.h (ELOOP): Ditto.
2142 * include/_mingw.h: Increment version to 3.7.
2143 * Makefile.in: Ditto.
2145 2005-01-11 Danny Smith <dannysmith@users.sourceforge.net>
2147 * include/tchar.h (_tfreopen): Add UNICODE mappings.
2149 2005-01-11 Earnie Boyd <earnie@users.sf.net>
2151 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2152 lstat): Conditionalize defines for __STRICT_ANSI__.
2154 2005-01-10 Earnie Boyd <earnie@users.sf.net>
2156 * include/errno.h (ELOOP): Add definition.
2158 2005-01-10 Danny Smith <dannysmith@users.sourceforge.net>
2160 * mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
2161 casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
2162 clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
2163 ctanl.c ctanhl.c): New files.
2164 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2165 (COMPLEX_OBJS): Adjust.
2166 * include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
2167 casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
2168 cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
2171 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2173 * include/_mingw.h (__int16): Define as short.
2174 Thanks to: Leo Yuriev <leoyuriev at users dot sf dot net>
2176 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2178 * include/stdio.h (P_tmpdir): Add define.
2180 2005-01-03 Earnie Boyd <earnie@users.sf.net>
2182 * Makefile.in (inst_docdir): For Cygwin target set to share/doc/.
2184 2005-01-02 Earnie Boyd <earnie@users.sf.net>
2186 * include/_mingw.h: Increment version to 3.6
2187 * Makefile.in: Ditto
2189 2004-12-26 Danny Smith <dannysmith@users.sourceforge.net>
2191 * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
2192 casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
2193 clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
2194 ctanf.c ctanhf.c): New files.
2195 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2196 (COMPLEX_OBJS): Adjust.
2197 * include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
2198 casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
2199 cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
2202 2004-12-20 Danny Smith <dannysmith@users.sourceforge.net>
2204 * include/wchar.h (wcsdup): Correct prototype.
2205 * include/string.h (wcsdup): Correct prototype.
2207 2004-10-14 Danny Smith <dannysmith@users.sourceforge.net>
2209 * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
2211 2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
2213 * mingwex/math/fastmath.h: New file.
2214 * mingwex/math/asinh.c: New file.
2215 * mingwex/math/asinhf.c: New file.
2216 * mingwex/math/asinhl.c: New file.
2217 * mingwex/math/acosh.c: New file.
2218 * mingwex/math/acoshf.c: New file.
2219 * mingwex/math/acoshl.c: New file.
2220 * mingwex/math/atanh.c: New file.
2221 * mingwex/math/atanhf.c: New file.
2222 * include/math.h (asinh, asinhf, asinhl, acosh, acoshf, acoshl,
2223 atanh, atanhf, atanhl): Add prototypes.
2224 * mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
2225 (MATH_DISTFILES): Add sources for above and fastmath.h to list.
2226 Specify dependency on fastmath.h for new objects.
2228 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2230 * include/sys/stat.h (_S_IFLNK): Add definition.
2237 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2239 * include/sys/stat.h (_S_ISLNK): Add definition.
2242 2004-09-05 Earnie Boyd <earnie@users.sf.net>
2244 * include/_mingw.h: Increment minor version for 3.5 release.
2245 * Makefile.in: Ditto.
2246 * mingwex/Makefile.in: Correct typo in list of DISTFILES.
2248 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2250 * include/malloc.h (__mingw_aligned_offset_malloc,
2251 __mingw_aligned_offset_realloc, __mingw_aligned_malloc,
2252 __mingw_aligned_realloc, __mingw_aligned_free): Add
2254 * mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
2255 tst-aligned-malloc.c.
2256 (REPLACE_OBJS): Add mingw-aligned-malloc.o.
2258 2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
2260 * mingwex/mingw-aligned-malloc.c: New file.
2261 * mingwex/tst-aligned-malloc.c: New file.
2263 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2265 * crt1.c: (__mingw_CRTStartup): Change return to void. Add
2266 noreturn attribute. Align stack to 16 bytes before passing args
2268 (mainCRTStartup): Change return to void.
2269 (WinMainCRTStartup): Likewise.
2271 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2273 * profile/COPYING: New file.
2274 * profile/CYGWIN_LICENSE: New file.
2275 * profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
2277 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2279 * mingwex/fopen64.c: Move.
2280 * mingwex/fseeko64.c: Move.
2281 * mingwex/ftello64.c: Move.
2282 * mingwex/lseek64.c: Move.
2283 * mingwex/stdio/fopen64.c: To here.
2284 * mingwex/stdio/fseeko64.c: To here.
2285 * mingwex/stdio/ftello64.c: To here.
2286 * mingwex/stdio/lseek64.c: To here.
2288 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2290 * profile/gmon.c [__MINGW32__]: Include string.h for
2293 2004-08-08 Christopher Faylor <cgf@timesys.com>
2295 * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
2297 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2299 * include/complex.h: Remove __attribute__ ((const)) from
2300 transcendantal and trig functions. Replace __attribute__ ((const))
2301 with __MINGW_ATTRIB_CONST on other declarations.
2303 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2305 * include/wchar.h: Reorganize, avoid including other headers.
2307 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2309 * include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
2310 (strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
2313 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2315 * include/dirent.h (struct _wdirent): Remove obsolete comment.
2317 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2319 * include/string.h: Revert 2004-07-26 additions of
2322 2004-07-28 Danny Smith <dannysmith@users.sourceforge.net>
2324 * mingwex/math/powl.c (powl): Revert change of 2004-02-01.
2325 (__convert_inf_to_maxnum): New.static inline.
2326 (reducl): Use it to protect against Inf - Inf.
2327 (__fast_ldexpl): New function. Use in lieu of ldexpl.
2329 2004-07-27 Danny Smith <dannysmith@users.sourceforge.net>
2331 * mingwex/math/expl.c (expl): Move body of code to new static
2332 function __expl, removing tests for +/-Inf. Extern function
2333 expl calls __expl after testing for max, min log thresholds.
2335 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2337 * mingwex/stdio/vsscanf.c: Add "edi" to registers-modified field
2338 * mingwex/stdio/vfscanf.c: Likewise.
2339 * mingwex/stdio/vswscanf.c: Likewise.
2340 * mingwex/stdio/vfwscanf.c: Likewise.
2342 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2344 * include/_mingw.h: Use only two underscores to uglify
2345 __MINGW_ATTRIB_* macros.
2346 * include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
2347 * include/setjmp.h: Likewise.
2349 * include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
2351 (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
2353 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2355 * include/string.h: Group wide string functions together,
2356 and protect with _WSTRING_DEFINED.
2358 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2360 * include/_mingw.h (__MINGW_ATTR_*): Replace with
2362 * include/stdlib.h (_ATTRIB_NORETURN): Replace with
2363 __MINGW_ATTRIB_NORETURN, throughout.
2364 (malloc): Declare with __MINGW_ATTRIB_MALLOC.
2366 (abs): Declare with __MINGW_ATTRIB_CONST.
2375 * include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
2377 2004-07-21 Danny Smith <dannysmith@users.sourceforge.net>
2379 * include/_mingw.h: Undefine __attribute__.
2380 (__MINGW_ATTR_NORETURN): New define.
2381 (__MINGW_ATTR_CONST): New define.
2382 (__MINGW_ATTR_MALLOC): New define.
2383 (__MINGW_ATTR_PURE): New define.
2384 (_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
2387 2004-07-19 Danny Smith <dannysmith@users.sourceforge.net>
2389 * include/time.h (__time64_t): Add missing ';'.
2391 2004-07-17 Danny Smith <dannysmith@users.sourceforge.net>
2393 * include/time.h (wcsftime): Move out of !__STRICT_ANSI
2395 (struct tm): Protect with _TM_DEFINED.
2397 2004-07-17 Christopher Faylor <cgf@timesys.com>
2399 * Makefile.in (CC): Strip inappropriate include file settings from any
2402 2004-07-15 "dgun" <dgun@umpire.com>
2404 * include/complex.h (conj): Correct typo in prototype.
2406 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2408 * include/math.h: Add pragma GCC system_header.
2410 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2412 * mingwex/complex/carg.c: New file.
2413 * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
2415 2004-07-15 Corinna Vinschen <corinna@vinschen.de>
2417 * Makefile.in (INCLUDES): Temporarily revert previous change.
2418 * mingwex/Makefile,in (INCLUDES): Ditto.
2419 * profile/Makefile,in (INCLUDES): Ditto.
2420 * mingwex/Makefile,in: Drop carg.o dependency.
2422 2004-07-14 Christopher Faylor <cgf@timesys.com>
2424 * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
2426 2004-07-14 Danny Smith <dannysmith@users.sourceforge.net>
2428 * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
2430 * mingwex/Makefile,in (INCLUDES): Ditto.
2431 * profile/Makefile,in (INCLUDES): Ditto.
2433 * mingwex/Makefile,in: Add carg.o to libmingwex.a.
2435 2004-07-13 Earnie Boyd <earnie@users.sourcefourge.net>
2437 * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
2439 * mingwex/Makefile.in: Ditto.
2440 * profile/Makefile.in: Ditto.
2441 * include/limits.h: Change to new file header preamble.
2442 * include/_mingw.h: Increment minor version for 3.4 release.
2443 * Makefile.in: Ditto.
2445 2004-07-12 Danny Smith <dannysmith@users.sourceforge.net>
2447 * mingwex/math/cephes_emath.h (__etens): Remove declaration.
2449 2004-07-11 Danny Smith <dannysmith@users.sourceforge.net>
2451 * include/unistd.h (ftruncate): Add inline definition.
2452 * mingwex/ftruncate.c: New file.
2453 * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
2455 2004-07-10 Danny Smith <dannysmith@users.sourceforge.net>
2457 * include/time.h: Do not include sys/types.h.
2459 2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
2461 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
2462 (MATH_OBJS): Remove pow,o.
2463 * include/math.h (pow): Declare with _CRTIMP.
2464 Add comment on how to avoid excess precision problems.
2466 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
2468 * include/stdio.h (__mingw_fseeko64): Add prototype.
2469 * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
2470 (__mingw_fwrite): Handle huge files.
2472 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
2473 Danny Smith <dannysmith@users.sourceforge.net>
2475 * include/stdio.h (fopen64): Add inline function.
2476 (fseeko64): Add prototype.
2477 (ftello64): Add inline function.
2478 * include/io.h (lseek64): Add inline function.
2479 * include/sys/types (off64_t): Add typedef.
2480 (fpos64_t): Add typedef.
2481 * mingwex/fopen64.c: New file.
2482 * mingwex/fseeko64.c: New file.
2483 * mingwex/ftello64.c: New file.
2484 * mingwex/lseek64.c: New file.
2485 * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
2486 fseeko.64.c, ftello64.c, lseek64.c.
2487 (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
2489 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
2491 * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
2493 2004-04-22 Earnie Boyd <earnie@users.sf.net>
2495 * DISCLAIMER: Add words about "free to use".
2496 * README: Modify "Win32 runtime" to "Microsoft C Runtime".
2497 * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
2498 (inst_docdir): New variable.
2500 (FLAGS_TO_PASS): Include inst_docdir.
2501 (install-dirs): Add inst_docdir.
2502 (install): Add loop for INSTDOCS.
2503 * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
2504 section to CONTRIBUTORS file. Remove RCS tags.
2506 2004-04-22 Danny Smith <dannysmith@users.sourceforge.net>
2508 * mingwex/math/lround.c: Rewrite.
2509 * mingwex/math/lroundf.c: Rewrite.
2510 * mingwex/math/lroundl.c: Rewrite.
2511 * mingwex/math/llround.c: Rewrite.
2512 * mingwex/math/llroundf.c: Rewrite.
2513 * mingwex/math/llroundl.c: Rewrite.
2515 2004-04-20 Earnie Boyd <earnie@users.sf.net>
2517 * CONTRIBUTORS: New file.
2518 * DISCLAIMER: Ditto.
2519 * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
2520 section to CONTRIBUTORS file. Remove RCS tags.
2521 * CRTFmode.c: Ditto.
2525 * crtdll.dev: Ditto.
2535 * msvcrt.def.in: Ditto.
2536 * strcasecmp.c: Ditto.
2539 * include/assert.h: Ditto.
2540 * include/conio.h: Ditto.
2541 * include/ctype.h: Ditto.
2542 * include/direct.h: Ditto.
2543 * include/dirent.h: Ditto.
2544 * include/dos.h: Ditto.
2545 * include/errno.h: Ditto.
2546 * include/excpt.h: Ditto.
2547 * include/fcntl.h: Ditto.
2548 * include/float.h: Ditto.
2549 * include/io.h: Ditto.
2550 * include/locale.h: Ditto.
2551 * include/malloc.h: Ditto.
2552 * include/math.h: Ditto.
2553 * include/process.h: Ditto.
2554 * include/setjmp.h: Ditto.
2555 * include/share.h: Ditto.
2556 * include/signal.h: Ditto.
2557 * include/stdio.h: Ditto.
2558 * include/stdlib.h: Ditto.
2559 * include/string.h: Ditto.
2560 * include/tchar.h: Ditto.
2561 * include/time.h: Ditto.
2562 * include/wchar.h: Ditto.
2563 * include/sys/locking.h: Ditto.
2564 * include/sys/param.h: Ditto.
2565 * include/sys/stat.h: Ditto.
2566 * include/sys/timeb.h: Ditto.
2567 * include/sys/types.h: Ditto.
2568 * include/sys/utime.h: Ditto.
2569 * mingwex/dirent.c: Ditto.
2571 2004-04-19 Earnie Boyd <earnie@users.sf.net>
2573 * include/_mingw.h: Revert to primary release 3 and increment minor
2575 * Makefile.in (VERSION): Ditto.
2577 2004-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2579 * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
2580 _fmode if not __MSVCRT__.
2582 2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
2584 * include/io.h: (_findfirst): Correct prototype.
2586 2004-03-30 Hans Leidekker <hans@it.vu.nl>
2588 * include/io.h: (_findnext, _findclose): Correct prototype.
2590 2004-03-28 Hans Leidekker <hans@it.vu.nl>
2592 * include/math.h (FP_*): Add defines.
2594 2004-03-29 Danny Smith <dannysmith@users.sourceforge.net>
2596 * mingwex/math/round.c: Rewrite.
2597 * mingwex/math/roundf.c: Rewrite.
2598 * mingwex/math/roundl.c: Rewrite.
2600 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2602 * include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.
2603 * include/time.h (__time64_t): Add typedef.
2604 (_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2605 (_ctime64): Likewise.
2606 (_wctime64): Likewise.
2607 (_gmtime64): Likewise.
2608 (_localtime64): Likewise.
2609 (wcsftime): Move into _WTIME_DEFINED block.
2610 Regroup non-ANSI prototypes.
2611 * include/io.h: Include <stdint.h>.
2612 (__finddata64_t): Add struct definition.
2613 (__wfinddata64_t): Likewise.
2614 (_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2615 (_findnext64): Likewise.
2616 (_wfindfirst64): Likewise.
2617 (_wfindnext64): Likewise.
2618 * include/sys/timeb.h (__timeb64): Add struct definition.
2619 (_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2620 * include/sys/utime.h (__utimbuf64): Add struct definition.
2621 (_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2622 (_futime64): Likewise.
2623 (_wutime64): Likewise.
2624 * include/sys/stat.h (__stat64): Add struct definition.
2625 (_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2626 (_stat64): Likewise.
2627 (_wstat64): Likwise.
2628 * include/sys/types.h (__time64_t): Add typedef.
2629 * include/wchar.h (__wfinddata64_t): Add structure definition.
2630 (__stat64): Likewise.
2631 (_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2632 (_wfindfirst64): Likewise.
2633 (_wfindnext64): Likewise.
2634 (_wutime64): Likewise.
2635 (_wstat64): Likwise.
2636 * include/malloc.h (_aligned_free): Add prototype for
2637 __MSVCRT_VERSION__ >= 0x0700.
2638 (_aligned_malloc): Likewise.
2639 (_aligned_offset_malloc): Likewise.
2640 (_aligned_offset_realloc): Likewise.
2641 (_aligned_realloc): Likewise.
2642 * include/string.h (_wcserror): Add prototype for
2643 __MSVCRT_VERSION__ >= 0x0700.
2644 (__wcserror): Likewise.
2645 * include/math.h (_set_SSE2_enable): Add prototype for
2646 __MSVCRT_VERSION__ >= 0x0701.
2648 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2650 * include/stdio.h (_fsopen): Add prototype.
2651 * include/tchar.h (_tfsopen): Add defines.
2652 Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
2654 2004-03-19 Danny Smith <dannysmith@users.sourceforge.net>
2656 * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
2657 msvcr70.dll, and msvcr71.dll.
2658 * Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant
2659 using basename of output def file.
2661 2004-03-13 Danny Smith <dannysmith@users.sourceforge.net>
2663 * include/malloc.h: Remove __STRICT_ANSI__ guard.
2665 2004-03-11 Brian Keener <bkeener@thesoftwaresource.com>
2667 * include/process.h: Remove the #endif associated with removal of
2668 __STRICT_ANSI__ guard from non-ANSI header.
2670 2004-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2672 * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
2673 * include/direct.h: Ditto.
2674 * include/dirent.h: Ditto.
2675 * include/dos.h: Ditto.
2676 * include/excpt.h: Ditto.
2678 * include/io.h: Ditto.
2679 * inlude/mem.h: Ditto.
2680 * include/memory.h: Ditto.
2681 * include/process.h: Ditto.
2682 * inlude/search.h: Ditto.
2683 * include/share.h: Ditto.
2684 * include/unistd.h: Ditto.
2685 * include/sys/fcntl.h: Ditto.
2686 * include/file.h: Ditto.
2687 * include/sys/locking.h: Ditto.
2688 * include/sys/param.h: Ditto.
2689 * include/sys/stat,h
2690 * include/sys/time.h: Ditto.
2691 * include/sys/timeb.h: Ditto.
2692 * include/sys/types.h: Ditto.
2693 * include/sys/unistd.h: Ditto.
2694 * include/sys/utime.h: Ditto.
2696 2004-02-21 Danny Smith <dannysmith@users.sourceforge.net>
2698 * include/_mingw.h (__UNUSED_PARAM): Define macro.
2699 * include/wchar.h (fwide): Use it.
2702 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2704 * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
2705 NetBSD getopt_long.c.
2707 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2709 * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
2710 codes and handling of special chars.
2712 2004-02-02 Danny Smith <dannysmith@users.sourceforge.net>
2714 * include/stdio.h (feof): Add inlined definition.
2717 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2719 * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
2720 directly, rather than via scabnl.
2722 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2724 * mingwex/math/powl.c (powl): Return infinity if
2725 extended precision multiplication of x by log2(y)
2728 2004-01-31 Danny Smith <dannysmith@users.sourceforge.net>
2730 * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
2731 (__enan_NI16): Fix another one.
2732 (__enan_NBITS): Tidy.
2734 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
2736 * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
2737 types. (Thanks to John Maddock for report.)
2739 2004-01-14 Greg Chicares <chicares@users.sourceforge.net>
2741 * include/tchar.h (_puttchar): Define.
2743 2003-12-13 Danny Smith <dannysmith@users.sourceforge.net>
2745 * include/stdio.h:(_fileno): Define macro version after both
2746 fileno and _fileno functions declared.
2748 * include/stdio.h (_rmtmp, rmtmp): Add prototypes.
2749 * moldnames.def.in (rmtmp) Add stub.
2751 2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
2753 * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
2755 2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
2757 * include/math.h: Guard ISO C99 additions with __cplusplus
2760 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2762 * include/_mingw.h: Define __attribute__((x)) to nothing
2765 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2767 * include/complex.h: New file.
2768 * mingwex/complex: New directory.
2769 * mingwex/complex/cabs.c: New file.
2770 * mingwex/complex/cacos.c: New file.
2771 * mingwex/complex/cacosh.c: New file.
2772 * mingwex/complex/casin.c: New file.
2773 * mingwex/complex/casinh.c: New file.
2774 * mingwex/complex/catan.c: New file.
2775 * mingwex/complex/catanh.c: New file.
2776 * mingwex/complex/ccos.c: New file.
2777 * mingwex/complex/ccosh.c: New file.
2778 * mingwex/complex/cexp.c: New file.
2779 * mingwex/complex/cimag.c: New file.
2780 * mingwex/complex/clog.c: New file.
2781 * mingwex/complex/cpow.c: New file.
2782 * mingwex/complex/cproj.c: New file.
2783 * mingwex/complex/creal.c: New file.
2784 * mingwex/complex/csin.c: New file.
2785 * mingwex/complex/csinh.c: New file.
2786 * mingwex/complex/csqrt.c: New file.
2787 * mingwex/complex/ctan.c: New file.
2788 * mingwex/complex/ctanh.c: New file.
2789 * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
2792 (COMPLEX_OBJS): New list of objects.
2793 (LIB_OBJS): Include it in the library.
2795 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2797 * include/math.h (cabs): Remove non-ISO prototype.
2799 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2801 * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
2802 Use GCC __builtin's if available.
2803 (INFINITY, INFINITYF, INFINITYL): Likewise.
2805 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2807 * mingwex/math/s_erf.c (erf): Set errno to ERANGE if
2808 beyond approximation limit.
2809 * mingwex/math/sf_erf.c (erff): Likewise.
2811 2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
2813 * include/stdio.h (getc): Cast result to unsigned char before
2816 (getchar): Likewise.
2817 (putchar): Likewise.
2818 Thanks to M.Fujii <boochang@m4.kcn.ne.jp>
2820 2003-10-10 Earnie Boyd <earnie@users.sf.net>
2822 * include/_mingw.h: Increment version to 3.2.
2823 * Makefile.in: Ditto.
2825 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2827 * include/sys/types.h: Revert last change.
2829 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2831 * include/sys/types.h (ssize_t): Correct the definition.
2833 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2835 * include/stdio.h (_filbuf): Add prototype.
2836 (_flsbuf): Add prototype.
2837 (getc): Add inline version.
2839 (getchar): Likewise.
2840 (putchar): Likewise.
2842 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2844 * mingwex/dirent.c (_treaddir): Reset errno to 0 if end
2847 2003-09-29 Danny Smith <dannysmith@users.sourceforge.net>
2849 * include/stdlib.h: Guard non-ISO functions with
2850 !__STRICT_ANSI__, throughout.
2852 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2854 * include/io.h (_fileno): Remove prototype.
2856 (FILENAME_MAX): Define, if needed.
2857 Don't include <stdio.h>.
2858 * include/stdio.h (FILENAME_MAX): Protect against
2860 (_fileno): Define macro implementation.
2863 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2865 * include/inttypes.h: Include _mingw.h.
2867 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2869 * include/_mingw.h (__CRT_INLINE): Define.
2870 * include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
2872 * include/inttypes.h: Likewise.
2873 * include/math.h: Likewise.
2874 * include/stdio.h: Likewise.
2875 * include/stdlib.h: Likewise.
2876 * include/string.h: Likewise.
2877 * include/wchar.h: Likewise.
2878 * include/wctype.h: Likewise.
2880 2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
2882 * mingwex/dirent.c (_topendir): Allocate enough memory for
2883 DIR struct in UNICODE case too.
2885 2003-09-15 Earnie Boyd <earnie@users.sf.net>
2887 * include/_mingw.h: Increment version to 3.2.
2888 * Makefile.in: Ditto.
2890 2003-07-03 Earnie Boyd <earnie@users.sf.net>
2892 * config.guess, config.sub: Update with versions from ftp.gnu.org.
2894 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2896 * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
2897 * mingwex/math/truncf.c (truncf): Likewise.
2898 * mingwex/math/truncl.c (truncl): Likewise.
2899 * mingwex/math/modff.c (modff): Likewise.
2900 * mingwex/math/modfl.c (modfl): Likewise.
2902 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2904 * include/search.h: New file.
2905 * include/stdlib.h: Add comment about qsort, bsearch in
2907 * test_headers.c: Include search.h.
2908 * moldname.def.in (lfind, lsearch): Add.
2910 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2912 * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
2913 _execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
2914 execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
2916 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2918 * include/_mingw.h (small, hyper): Change to __small and __hyper to
2919 avoid user space name conflicts.
2921 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2923 * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
2924 Note: Also added to w32api/include/basetyps.h.
2925 * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
2926 Rename to Small (case difference).
2928 2003-06-18 Earnie Boyd <earnie@users.sf.net>
2930 * include/dirent.h (dirent): Make d_name and array instead of a pointer.
2931 * mingwex/dirent.c: Modifications througout to fill d_name array.
2932 * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
2933 libmsvcr71, including debug versions.
2934 (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
2936 2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
2938 * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
2939 __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
2941 Thanks to: Aaron W LaFramboise <AWLaFramboise@aol.com>
2943 2003-05-30 Sascha Sommer <saschasommer@freenet.de>
2945 * include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
2947 2003-05-15 Danny Smith <dannysmith@users.sourceforge.net>
2949 * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
2950 but still protect inline definition with __STRICT_ANSI__.
2952 2003-05-14 Danny Smith <dannysmith@users.sourceforge.net>
2954 * string_old.c: Remove, splitting into...
2955 * strcasecmp.c: New file.
2956 * strncasecmp.c: New file.
2957 * wscmpi.c : New file.
2958 * ctype_old.c: Remove, splitting into...
2959 * isascii.c: New file.
2960 * iscsym.c: New file.
2961 * iscsymf.c: New file.
2962 * toascii.c: New file.
2963 * Makefile.in (MOLD_OBJS): Adjust.
2964 (SRCDIST_FILES): Adjust.
2966 2003-05-13 Danny Smith <dannysmith@users.sourceforge.net>
2968 * include/math.h (fabs) : Remove inline definition.
2972 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2974 * include/_mingw.h: Change version to 3.0
2975 * Makefile.in: Ditto.
2977 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2979 * configure.in (W32API_INCLUDE): Need the -I switch in the value.
2980 * mingwex/configure.in (W32API_INCLUDE): Ditto.
2981 * profile/configure.in (W32API_INCLUDE): Ditto.
2983 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2985 * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
2986 of multiply defined symbols if the symbols is defined locally. E.G.:
2987 A local definition of malloc causes this problem.
2988 * configure: Regenerate.
2989 * profile/Makefile.in (W32API_INCLUDE): New variable.
2990 (ALL_CFLAGS): Use W32API_INCLUDE value.
2991 (ALL_CXXFLAGS): Ditto.
2992 (gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
2993 Thanks to Jeff Bonggren <jbon@users.sf.net>.
2994 * profile/configure.in (W32API_INCLUDE): Set default value.
2995 * profile/configure: Regenerate.
2996 * mingwex/Makefile.in (W32API_INCLUDE): New variable.
2997 (ALL_CFLAGS): Use W32API-INCLUDE value.
2998 (ALL_CXXFLAGS): Ditto.
2999 * mingwex/configure.in (W32API_INCLUDE): Set default value.
3000 * mingwex/configure: Regenerate.
3002 2003-05-05 Earnie Boyd <earnie@users.sf.net>
3004 * Makefile.in (W32API_INCLUDE): New variable.
3005 (ALL_CFLAGS): Use W32API_INCLUDE value.
3006 (ALL_CXXFLAGS): Ditto.
3007 * configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
3008 (W32API_INCLUDE): Set default value.
3009 * configure: Regenerate.
3011 2003-04-11 Earnie Boyd <earnie@users.sf.net>
3013 * configure.in (LIBM_A): Define for cygwin target.
3014 * configure (LIBM_A): Ditto.
3016 2003-04-07 Danny Smith <dannysmith@users.sourceforge.net>
3018 * include/time.h (strftime): Remove duplicate declaration.
3020 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
3022 * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
3024 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3026 * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
3027 * mingwex/strtoimax.c (strtoimax): Likewise.
3028 * mingwex/wcstoimax.c (wcstoimax): Likewise.
3029 * mingwex/wtoll.c (wtoll): Remove unnecessary ';'
3030 * mingwex/fesentenv.c: Include float.h.
3031 * mingwex/math/powl.c: Eliminate type punning/strict aliasing
3033 * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
3035 * mingwex/math/tgammal.c: Likewise.
3037 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3039 * include/utime.h: New file, forwarding to sys/utime.h.
3041 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3043 * include/sys/param.h (MAXPATHLEN): Define.
3045 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3047 * include/tchar.h: Ansi-fy a comment.
3049 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3051 * profile/profile.h (mcount): Use __builtin_return_address
3052 rather than inline __asm statements.
3053 * profile/Makefile.in: Remove special rule for mcount.o
3054 Specify dependencies for mcount.o profil.o gmon.o.
3056 2003-03-10 Danny Smith <dannysmith@users.sourceforge.net>
3058 * include/stdlib.h (qsort): Remove const from first parm.
3059 Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
3061 2003-03-03 Christopher Faylor <cgf@redhat.com>
3063 * mingwex/getopt.c: Refresh from NetBSD sources.
3065 2003-03-03 Danny Smith <dannysmith@users.sourceforge.net>
3067 * mingwex/getopt.c: New file, copied from cygwin srcs.
3068 * include/getopt.h: New file, copied from cygwin srcs.
3069 * include/unistd.h: Include getopt.h.
3070 * mingwex/Makefile.in (DISTFILES): Add getopt.c.
3071 (POSIX_OBJS): Add getopt.o.
3073 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
3075 * include/stdio.h (vscanf): Add prototype.
3081 * include/wchar.h (vwscanf): Add prototype.
3084 * mingwex/snprintf.c: Move to mingwex/stdio.
3085 * mingwex/vsnprintf.c: Ditto.
3086 * mingwex/snwprintf.c: Ditto.
3087 * mingwex/vsnwprintf.c: Ditto.
3088 * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
3089 (STDIO_DISTFILES): Add.
3090 (DISTFILES): Adjust.
3091 (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
3095 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com>
3097 * mingwex/stdio: New directory
3098 * mingwex/stdio/vfscanf.c: New file.
3099 * mingwex/stdio/vfwscanf.c: New file.
3100 * mingwex/stdio/vscanf.c: New file.
3101 * mingwex/stdio/vsscanf.c: New file.
3102 * mingwex/stdio/vswscanf.c: New file.
3103 * mingwex/stdio/vwscanf.c: New file.
3105 2003-02-25 Earnie Boyd <earnie@users.sf.net>
3107 * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
3108 (libmsvcrt40.a): Ditto.
3110 2003-02-21 Earnie Boyd <earnie@users.sf.net>
3112 Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
3114 * Makefile.in (libmsvcrtd.a): Add target library.
3115 (libmoldnamed.a): Ditto.
3116 (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
3118 ($(srcdir)): Remove explicit reference for depencies of object targets.
3119 * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
3120 msvcrt20.def, msvcrt40.def: Remove.
3121 * msvcrt.def.in: New file (Copy of previous msvcrt.def).
3123 2003-02-20 Corinna Vinschen <corinna@vinschen.de>
3125 * Makefile.in: Make sure libmingwex.a from current build tree is used.
3127 2003-02-14 Christopher Faylor <cgf@redhat.com>
3129 * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
3130 ensure -mno-cygwin where appropriate. Filter out -O2.
3132 2003-02-13 Danny Smith <dannysmith@users.sourceforge.net>
3134 * profile/Makefile.in (mcount.o): Use -O1 optimization
3137 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3139 * include/math.h: Remove _CRTIMP from pow() prototype,
3140 unless __NO_ISOCEXT.
3142 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3144 * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
3146 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3148 * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
3149 __declspec(dllimport) supported.
3150 (__cdecl): Define if not already defined.
3151 (__stdcall): Likewise.
3152 * include/dirent.h: Qualify fuctions with __cdecl.
3153 * include/fenv.h: Likewise.
3154 * include/inttypes.h: Likewise.
3155 * include/assert.h: Qualify fuctions with __cdecl. Qualify
3156 CRT dll imports with _CRTIMP.
3157 * include/conio.h: Likewise.
3158 * include/ctype.h: Likewise.
3159 * include/direct.h: Likewise.
3160 * include/dos.h: Likewise.
3161 * include/errno.h: Likewise.
3162 * include/float.h: Likewise.
3163 * include/io.h: Likewise.
3164 * include/locale.h: Likewise.
3165 * include/malloc.h: Likewise.
3166 * include/math.h: Likewise.
3167 * include/mbctype.h: Likewise.
3168 * include/mbstring.h: Likewise.
3169 * include/process.h: Likewise.
3170 * include/setjmp.h: Likewise.
3171 * include/signal.h: Likewise.
3172 * include/stdio.h: Likewise.
3173 * include/stdlib.h: Likewise.
3174 * include/string.h: Likewise.
3175 * include/time.h: Likewise.
3176 * include/wchar.h: Likewise.
3177 * include/wctype.h: Likewise.
3178 * include/sys/stat.h: Likewise.
3179 * include/sys/timeb.h: Likewise.
3180 * include/sys/utime.h: Likewise.
3182 * include/ctype.h: Guard ctype inlines with __NO_INLINE__.
3183 * include/wctype.h: Guard wctype inlines with __NO_INLINE__.
3185 * include/stdio.h (__VALIST): Guard against prior definition.
3187 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3189 * include/_mingw.h: Change version to 3.0
3190 * Makefile.in: Ditto.
3192 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3194 * include/stdlib.h: Make words after #endif a comment.
3196 2003-02-07 Danny Smith <dannysmith@users.sourceforge.net>
3198 * include/locale.h: Include stddef.h for definition of NULL.
3200 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3202 * include/math.h (tgamma): Correct typo in comment.
3204 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3206 * mingwex/mingw-fseek.c (INLINE): Remove define.
3207 (__mingw_is_win9x): Remove static inline function.
3208 (_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
3210 2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
3212 * mingwex/math/llround.c: Correct function name and
3213 change return value to long long.
3215 2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
3217 * include/ctype.h (__isascii): Don't cast arg to unsigned.
3218 (iswascii): Likewise. Correct mask.
3219 * include/wctype.h (iswascii): Don't cast arg to unsigned.
3222 2003-01-03 Danny Smith <dannysmith@users.sourceforge.net>
3224 * include/stdlib.h (_osver, _winver, _winmajor,
3225 _winminor): Declare as direct imports from dll if
3226 __DECLSPEC_SUPPORTED.
3228 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
3230 * pseudo-reloc.c (do_pseudo_reloc): Make static.
3231 * pseudo-reloc-list.c: New file.
3232 * crt1.c (_pei386_runtime_relocator): Declare.
3233 (__mingw_CRTStartup): Call it.
3234 * dllcrt1.c (_pei386_runtime_relocator): Declare.
3235 (DllMainCRTStartup): Call it.
3236 * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to
3239 2003-01-01 Egor Duda <deo@logos-m.ru>
3241 * pseudo-reloc.c: New file.
3243 2002-12-20 Earnie Boyd <earnie@users.sf.net>
3245 * include/_mingw.h: Increment version to 2.4.
3248 2002-12-12 Earnie Boyd <earnie@users.sf.net>
3250 * include/malloc.h (_alloca): Add definition.
3253 2002-12-08 Danny Smith <dannysmith@users.sourceforge.net>
3255 * mingwex/math/s_erf.c: New file.
3256 * mingwex/math/sf_erf.c: New file.
3257 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3258 (MATH_OBJS): Add new objects.
3259 * include/math.h (erf[f]): Add prototypes.
3260 (erfc[f]): Add prototypes.
3262 2002-12-07 Danny Smith <dannysmith@users.sourceforge.net>
3264 * include/math.h: Add traditional/XOPEN math constants.
3266 2002-11-27 Danny Smith <dannysmith@users.sourceforge.net>
3268 * mingwex/math/lgamma.c: New file.
3269 * mingwex/math/lgammaf.c: New file.
3270 * mingwex/math/lgammal.c: New file.
3271 * mingwex/math/tgamma.c: New file.
3272 * mingwex/math/tgammaf.c: New file.
3273 * mingwex/math/tgammal.c: New file.
3274 * mingwex/math/cephes_mconf (polevlf): Add float version.
3276 Define _CEPHES_USE_ERRNO.
3277 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3278 (MATH_OBJS): Add new objects.
3279 * include/math.h (lgamma[fl]): Add prototypes.
3280 (tgamma[fl]): Add prototypes.
3282 2002-11-26 Danny Smith <dannysmith@users.sourceforge.net>
3284 * mingwex/strtold.c: New file.
3285 * mingwex/wcstold.c: New file.
3286 * mingwex/ldtoa.c: New file.
3287 * mingwex/math/cephes_emath.h: New file.
3288 * mingwex/math/cephes_emath.c: New file.
3289 * mingwex/Makefile.in (DISTFILES): Add new files.
3290 (MATH_DISTFILES): Ditto.
3291 (STDLIB_OBJS): New. Define as strtold.c wcstold.c.
3292 (MATH_OBJS): Add cephes_emath.o.
3293 (LIB_OBJS): Add $(STDLIB_OBJS).
3294 * include/stdlib.h (strtold, wcstold): Add prototypes.
3295 * include/wchar.h (wcstold): Add prototype.
3297 2002-11-09 Danny Smith <dannysmith@users.sourceforge.net>
3299 * include/math.h (sqrt): Remove inline definition.
3300 (sqrtf): Replace inline definition with prototype.
3302 * mingwex/math/sqrtf.c (sqrtf): Set domain error if
3303 argument less than zero.
3304 * mingwex/math/sqrtf.c (sqrtl): Likewise.
3306 2002-10-30 Guido Serassio <serassio@libero.it>
3308 * include/stdio.h (_getmaxstdio): Add prototype.
3309 (_setmaxstdio): Likewise.
3311 2002-10-19 Kang Li <rubylith@users.sourceforge.net>
3313 * include/fcntl.h (O_SEQUENTIAL): Correct typo.
3315 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3317 * crt1.c: Define new macro __IN_MINGW_RUNTIME before including
3319 Define WIN32_MEAN_AND_LEAN before including windows.h
3320 * include/stdlib.h (_fmode): Protect declaration as dllimported
3321 variable with __IN_MINGW_RUNTIME.
3323 2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu>
3325 * crt1.c: Include stdlib.h.
3327 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3329 * Makefile.in (CRT0S): Add txtmode.o binmode.o.
3330 (MINGW_OBJS): Add txtmode.o.
3331 (SRCDIST_FILES): Add txtmode.c binmode.c.
3332 crt1.c: Don't include fcntrl.h, stdlib.h.
3333 (_fmode): Declare, without dllimport attribute.
3334 (__p__fmode): Declare access function for dll's _fmode.
3335 (_mingw32_init_fmode): Sync dll _fmode with staticly linked
3337 * txtmode.c: New file.
3338 * binmode.c: New file.
3339 * samples/fmode/test2.c: New file.
3340 * samples/fmode/jamfile: Add test2.exe target.
3342 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3344 * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
3345 macros work with C89.
3346 (INTMAX_C, UINTMAX_C): Likewise.
3348 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3350 * include/string.h (strcasecmp): Make extern __inline__.
3351 (strncasecmp): Likewise.
3352 (wcscmpi): Likewise.
3354 2002-10-08 Heiko Gerdau <hg@technosis.de>
3356 * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
3357 _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
3360 2002-10-07 Danny Smith <dannysmith@users.sourceforge.net>
3362 * mingwex/math/powil.c: Rename powil to __powil.
3363 * mingwex/math/powl.c: Adjust declaration and call
3364 to __powil. Remove comment on powil.
3365 * mingwex/math/powi.c: New file.
3366 * mingwex/math/powif.c: New file.
3367 * mingwex/math/pow.c: New file.
3368 * mingwex/math/cephes_mconf.h. Add double and float
3369 versions of constants.
3370 (polevl): Add double precision function.
3372 * mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
3374 (MATH_OBJS): Add pow.o, powi.o, powif.o.
3376 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3378 * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
3379 (_imp____mbcur_max_dll): Likewise.
3381 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3383 * include/fcntl.h (_fmode): Remove declarations and
3384 compatibility defines.
3385 (_setmode, setmode): Remove prototypes.
3386 * include/stdlib (_fmode): Add declarations and
3387 compatibility defines. Change type to int.
3388 * include/io.h (_setmode, setmode): Add prototypes.
3389 * samples/fmode/all.c: Adjust includes.
3390 * samples/fmode/test.c: Likewise.
3391 * crt1.c (_CRT_fmode): Declare as int.
3392 * CRTfmode.c (_CRT_fmode): Likewise.
3394 * include/stdlib: Remove comment about MB_CUR_MAX.
3396 2002-10-02 Danny Smith <dannysmith@users.sourceforge.net>
3398 * include/stdlib.h (_imp____mbcur_max): Add missing ';'.
3399 (_imp____mbcur_max_dll): Likewise.
3401 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3403 * mingwex/math/files.txt: Remove inadvertantly added file.
3405 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3407 * include/string.h (_strerror): Move into #ifndef
3408 __STRICT_ANSI__ block.
3410 2002-09-17 Danny Smith <dannysmith@users.sourceforge.net>
3412 * include/time.h (__need_NULL): Define before including
3413 stddef.h. Thanks to: Rüdiger Dehmel <de@lmnet.de>.
3415 2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
3417 * include/stdio.h: Correct comment about directory separator.
3419 2002-09-12 Danny Smith <dannysmith@users.sourceforge.net>
3421 * include/sys/time.h (timeval): Add struct definition and
3422 associated macros (copied from w32api/include/winsock.h).
3424 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3426 * include/_mingw.h: Increment version to 2.3.
3429 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3431 * mingwex/fegetenv.c: Change to \n line endings.
3432 * mingwex/vsnprintf.c: Ditto.
3433 * mingwex/vsnwprintf.c: Ditto.
3435 2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
3437 * mingwex/math/hypotl.c: Replace with version based on cephes
3440 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3442 * include/sys/param.h: Add ENDIAN defines.
3443 * test_headers.c: Include sys/param.h.
3445 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3447 * test_headers.c: Don't include varargs.h.
3448 * Makefile.in (test_headers): Don't use -std=xx
3451 2002-08-21 Earnie Boyd <earnie@users.sf.net>
3453 * include/sys/param.h: New File.
3455 2002-08-21 Danny Smith <dannysmith@users.sourceforge.net>
3457 * include/math.h (asm): Change to __asm__ throughout.
3458 Expose ISO C99 functions if __GLIPCPP__.
3459 (hypotf): Use hypot, not _hypot in stub.
3461 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3463 * include/tchar.h: Ansi-fy another comment.
3465 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3467 * include/tchar.h: Ansi-fy comment.
3469 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3471 * test_headers.c : New file.
3472 * Makefile.in (test_headers): New target, using it,
3473 (SRCDIST_FILES): Distribute it.
3475 2002-08-20 Earnie Boyd <earnie@users.sf.net>
3477 * include/_mingw.h: Increment version to 2.2.
3480 2002-08-14 Earnie Boyd <earnie@users.sf.net>
3482 * include/unistd.h: Add include of process.h.
3484 2002-08-03 Danny Smith <dannysmith@users.sourceforge.net>
3486 * include/stdio.h (_fcloseall): Add prototype.
3488 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3490 * include/tchar.h (_tfdopen): Correct typo.
3492 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3494 * moldname.def.in (chgsign,scalb,finite,fpclass,logb,
3495 nextafter): Add non-underscored stubs.
3496 * moldname-msvcrt.def: Regenerate.
3497 * moldname-crtdll.def: Regenerate.
3498 * mingwex/math: New directory.
3499 * mingwex/rint.c: Move to mingwex/math.
3500 * mingwex/rintf.c: Ditto.
3501 * mingwex/rintl.c: Ditto.
3502 * mingwex/round.c: Ditto.
3503 * mingwex/roundf.c: Ditto.
3504 * mingwex/roundl.c: Ditto.
3505 * mingwex/rint.c: Ditto.
3506 * mingwex/rintf.c: Ditto.
3507 * mingwex/rintl.c: Ditto.
3508 * mingwex/trunc.c: Ditto.
3509 * mingwex/truncf.c: Ditto.
3510 * mingwex/truncl.c: Ditto.
3511 * mingwex/signbit.c: Ditto.
3512 * mingwex/signbitf.c: Ditto.
3513 * mingwex/signbitl.c: Ditto.
3514 * mingwex/copysignl.S: Ditto.
3515 * mingwex/fdim.c: Ditto.
3516 * mingwex/fdimf.c: Ditto.
3517 * mingwex/fdiml.c: Ditto.
3518 * mingwex/fmin.c: Ditto.
3519 * mingwex/fminf.c: Ditto.
3520 * mingwex/fminl.c: Ditto.
3521 * mingwex/fmax.c: Ditto.
3522 * mingwex/fmaxf.c: Ditto.
3523 * mingwex/fmaxl.c: Ditto.
3524 * mingwex/fma.c: Ditto.
3525 * mingwex/fmaf.c: Ditto.
3526 * mingwex/fmal.c: Ditto.
3527 * mingwex/fpclassify.c: Ditto.
3528 * mingwex/fpclassifyl.c: Ditto.
3529 * mingwex/fpclassifyl.c: Ditto.
3530 * mingwex/isnan.c: Ditto.
3531 * mingwex/isnanf.c: Ditto.
3532 * mingwex/isnanl.c: Ditto.
3533 * mingwex/fucom.c: Ditto.
3534 * mingwex/fp_consts.c: Ditto. Split out float and long double
3536 * mingwex/math_stubs.c: Remove.
3537 * mingwex/log2.c: Remove. Replaced by math/log2.S
3538 * mingwex/log2f.c: Remove. Replaced by math/log2f.S
3539 * mingwex/log2l.c: Remove. Replaced by math/log2l.S
3540 * mingwex/math/acosf.c : New file.
3541 * mingwex/math/acosl.c: New file.
3542 * mingwex/math/asinf.c: New file.
3543 * mingwex/math/asinl.c: New file.
3544 * mingwex/math/atan2f.c: New file.
3545 * mingwex/math/atan2l.c: New file.
3546 * mingwex/math/atanf.c: New file.
3547 * mingwex/math/atanl.c: New file.
3548 * mingwex/math/cbrt.c: New file.
3549 * mingwex/math/cbrtf.c: New file.
3550 * mingwex/math/cbrtl.c: New file.
3551 * mingwex/math/ceilf.S: New file.
3552 * mingwex/math/ceill.S: New file.
3553 * mingwex/math/cephes_ld.h: New file.
3554 * mingwex/math/copysign.S: New file.
3555 * mingwex/math/copysignf.S: New file.
3556 * mingwex/math/cosf.S: New file.
3557 * mingwex/math/coshf.c: New file.
3558 * mingwex/math/coshl.c: New file.
3559 * mingwex/math/cosl.S: New file.
3560 * mingwex/math/exp2.S: New file.
3561 * mingwex/math/exp2f.S: New file.
3562 * mingwex/math/exp2l.S: New file.
3563 * mingwex/math/expf.c: New file.
3564 * mingwex/math/expl.c: New file.
3565 * mingwex/math/fabs.c: New file.
3566 * mingwex/math/fabsf.c: New file.
3567 * mingwex/math/fabsl.c: New file.
3568 * mingwex/math/floorf.S: New file.
3569 * mingwex/math/floorl.S: New file.
3570 * mingwex/math/fmodf.c: New file.
3571 * mingwex/math/fmodl.c: New file.
3572 * mingwex/math/fp_consts.h: Ditto.
3573 * mingwex/math/fp_constsf.c: Ditto.
3574 * mingwex/math/fp_constsl.c: Ditto.
3575 * mingwex/math/frexpf.c: New file.
3576 * mingwex/math/frexpl.S: New file.
3577 * mingwex/math/hypotf.c: New file.
3578 * mingwex/math/hypotl.c: New file.
3579 * mingwex/math/ilogb.S: New file.
3580 * mingwex/math/ilogbf.S: New file.
3581 * mingwex/math/ilogbl.S: New file.
3582 * mingwex/math/ldexpf.c: New file.
3583 * mingwex/math/ldexpl.c: New file.
3584 * mingwex/math/llrint.c: New file.
3585 * mingwex/math/llrintf.c: New file.
3586 * mingwex/math/llrintl.c: New file.
3587 * mingwex/math/llround.c: New file.
3588 * mingwex/math/llroundf.c: New file.
3589 * mingwex/math/llroundl.c: New file.
3590 * mingwex/math/log10f.S: New file.
3591 * mingwex/math/log10l.S: New file.
3592 * mingwex/math/log1p.S: New file.
3593 * mingwex/math/log1pf.S: New file.
3594 * mingwex/math/log1pl.S: New file.
3595 * mingwex/math/log2.S: New file.
3596 * mingwex/math/log2f.S: New file.
3597 * mingwex/math/log2l.S: New file.
3598 * mingwex/math/logb.c: New file.
3599 * mingwex/math/logbf.c: New file.
3600 * mingwex/math/logbl.c: New file.
3601 * mingwex/math/logf.S: New file.
3602 * mingwex/math/logl.S: New file.
3603 * mingwex/math/lrint.c: New file.
3604 * mingwex/math/lrintf.c: New file.
3605 * mingwex/math/lrintl.c: New file.
3606 * mingwex/math/lround.c: New file.
3607 * mingwex/math/lroundf.c: New file.
3608 * mingwex/math/lroundl.c: New file.
3609 * mingwex/math/modff.c: New file.
3610 * mingwex/math/modfl.c: New file.
3611 * mingwex/math/nearbyint.S: New file.
3612 * mingwex/math/nearbyintf.S: New file.
3613 * mingwex/math/nearbyintl.S: New file.
3614 * mingwex/math/nextafterf.c: New file.
3615 * mingwex/math/powf.c: New file.
3616 * mingwex/math/powl.c: New file.
3617 * mingwex/math/powil.c: New file.
3618 * mingwex/math/remainder.S: New file.
3619 * mingwex/math/remainderf.S: New file.
3620 * mingwex/math/remainderl.S: New file.
3621 * mingwex/math/remquo.S: New file.
3622 * mingwex/math/remquof.S: New file.
3623 * mingwex/math/remquol.S: New file.
3624 * mingwex/math/scalbn.S: New file.
3625 * mingwex/math/scalbnf.S: New file.
3626 * mingwex/math/scalbnl.S: New file.
3627 * mingwex/math/sinf.S: New file.
3628 * mingwex/math/sinhf.c: New file.
3629 * mingwex/math/sinhl.c: New file.
3630 * mingwex/math/sinl.S: New file.
3631 * mingwex/math/sqrt.c: New file.
3632 * mingwex/math/sqrtf.c: New file.
3633 * mingwex/math/sqrtl.c: New file.
3634 * mingwex/math/tanf.S: New file.
3635 * mingwex/math/tanhf.c: New file.
3636 * mingwex/math/tanhl.c: New file.
3637 * mingwex/math/tanl.S: New file.
3638 * mingwex/Makefile.in: Adjust VPATH for source files in
3641 Add MATH_DISTFILES and use it to build source distro.
3642 * include/ math.h: Add protypes for new functions and
3643 reorganise to reflect ANSI,C99 status.
3645 2002-06-19 Danny Smith <dannysmith@users.sourceforge.net>
3647 * include/tchar.h (_getts): Define as _getws for _UNICODE.
3648 (_putts): Define as _putws for _UNICODE.
3649 Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report.
3651 2002-06-18 Danny Smith <dannysmith@users.sourceforge.net>
3653 * include/float.h: #include_next<float.h> before header guard.
3655 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
3657 * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
3659 * include/excpt.h (): Include windef.h not windows.h.
3660 * include/fcntl.h (_O_SHORT_LIVED): Add define.
3661 (_chmod): Add prototype.
3662 (_creat): Correct prototype.
3663 (SH_DENY*): Rename defines to _SH_DENY*.
3664 (SH_DENY*): Add Non-ANSI names for _SH_DENY*.
3665 include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
3666 _IOAPPEND): Add defines.
3667 (_wfindfirst): Correct prototype.
3668 (_wfdopen): Add prototype.
3669 * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
3671 * include/string.h (_mbschr, _mbstok, _mbsncat): Remove
3673 (_wcsdup): Correct prototype.
3674 * include/mbstring.h: Remove comments about _mbschr, _mbstok,
3675 _mbsncat being in string.h.
3676 * include/wchar.h (_wfindfirst): Correct prototype.
3677 * include/tchar.h (_tfdopen): Add _UNICODE mappings.
3679 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3681 * include/_mingw.h: Increment to version 2.1.
3682 * Makefile.in: Ditto.
3684 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3686 * Makefile.in (conf_prefix): New variable.
3687 (dist_prefix): Ditto. Conditionally set to $(conf_prefix).
3688 (bindist): Use dist_prefix.
3690 2002-06-13 Danny Smith <dannysmith@users.sourceforge.net>
3692 * include/_mingw.h: Increment version to 2.0.
3693 * Makefile.in: Ditto.
3695 Merge in mingwex branch.
3697 2002-06-11 Danny Smith <dannysmith@users.sourceforge.net>
3698 * include/math.h (fdim, fdimf, fdiml): Add prototypes.
3699 * mingwex/fdim.c: New file.
3700 * mingwex/fdimf.c: New file.
3701 * mingwex/fdiml.c: New file.
3702 * mingwex/Makefile.in (DISTFILES): Add fdim.c, fdimf.c,
3704 (MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
3706 2002-05-23 Danny Smith <dannysmith@users.sourceforge.net>
3707 * mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c.
3709 2002-05-22 Danny Smith <dannysmith@users.sourceforge.net>
3710 * mingwex/isnanl.c: New file.
3712 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3713 * include/stdint.h: Include stddef.h to get
3715 (WINT_MAX): Define to ((wint_t)-1).
3717 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3718 * include/wctype.h: Replace 'inline' with '__inline__'.
3719 * include/inttypes.h: Likewise.
3721 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3722 * include/_mingw.h (__MINGW_IMPORT): Put extern at start
3723 to avoid warnings. Thanks to: Oscar Fuentes <ofv@wanadoo.es>.
3725 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3726 * mingwex/snprintf.c: Split out vsnprintf to....
3727 * mingwex/vsnprintf.c: New file.
3728 * mingwex/snwprintf.c: Split out vsnwprintf to...
3729 * mingwex/vsnwprintf.c: New file.
3730 * mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
3732 2002-05-15 Pascal Obry <obry@gnat.com>
3733 * include/dirent.h (DIR): Change dd_stat type to int.
3736 2002-05-07 Danny Smith <dannysmith@users.sourceforge.net>
3737 * include/stdio.h (vsnprintf): Change inline to __inline__;
3738 (vsnwprintf): Likewise.
3739 * include/wchar.h (vsnwprintf): Likewise.
3742 (mbsinit): Likewise.
3744 2002-04-29 Danny Smith <dannysmith@users.sourceforge.net>
3745 Change FP default precison from 53 to 64-bit mantissa.
3746 * Makefile.in (CRT0S): Add CRT_fp8.o.
3747 (MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o.
3748 * include/float.h: Replace standard float.h defines with
3749 #include_next<float.h> to use GCC's defines. Adjust comments
3752 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3753 * include/dos.h: Change prefix "__imp_" to "_imp__" for
3754 __GNUC__ without __DECLSPEC_SUPPORTED.
3755 * include/fnctl.h: Likewise.
3756 * include/math.h: Likewise.
3757 * include/stdio.h: Likewise.
3758 * include/stdlib.h: Likewise.
3759 * include/time.h: Likewise.
3760 * include/wctype.h: Likewise.
3761 * include/ctype.h: Likewise.
3763 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3764 Add atexit support for dlls.
3765 * crt1.c (atexit): Force thunk to _imp__atexit.
3766 (_onexit): Force thunk to _imp___onexit.
3767 * dllcrt1.c (DllMainCRTStartup): Initialise private atexit
3768 table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
3769 (__dll_exit): New function to run atexit-registered functions
3770 and flush output buffers on DLL_PROCESS_DETACH or failed
3772 (atexit): Force use of private atexit table via _dllonexit,
3773 (_onexit): New function. Force use of private atexit table via
3775 * msvcrt.def (atexit, _onexit): Add DATA keyword so that only
3776 _imp_<_symbol> is visible in import lib.
3777 * msvcrt20.def: Likewise.
3778 * msvcrt40.def: Likewise.
3779 * crtdll.def: Likewise.
3781 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3782 * include/fenv.h: Change header guard macro to _FENV_H_.
3783 (fenv_t, fexcept_t): Move into block protected by
3785 Cleanup some whitespace.
3786 * include/inttypes.h: Change header guard macro to
3789 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3790 * include/math.h (copysignl): Declare.
3791 * mingwex/Makefile.in (DISTFILES): Add copysignl.S.
3792 (MATHOBJS):Add copysignl.o.
3794 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3795 * include/math.h (__signbitl, __isnanl): Declare.
3797 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3798 * include/math.h (nanl, __fpcassifyl, fminl, fmaxl, rintl,
3799 roundl, truncl, fmal, log2l): Declare.
3800 Protect C99 declarations with _STDC_VERSION__ >= 199901L)
3801 || !defined __STRICT_ANSI__.
3802 * mingwex/fmax.c (fmax): Call __isnan, not _isnan.
3803 * mingwex/fmin.c (fmin): Likewise.
3804 * mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan.
3805 * mingwex/fminf.c (fminf): Likewise.
3806 * mingwex/fmaxl.c: New file.
3807 * mingwex/fminl.c: New file.
3808 * mingwex/fpclassify.c (__fpclassifyf): Split out to ...
3809 * mingwex/fpclassifyf.c: New file.
3810 * mingwex/fpclassifyl.c: New file.
3811 * mingwex/rint.c (rintf): Split out to...
3812 * mingwex/rintf.c: New file.
3813 * mingwex/rintl.c: New file.
3814 * mingwex/round.c (roundf): Split out to...
3815 * mingwex/roundf.c: New file.
3816 * mingwex/roundl.c: New file.
3817 * mingwex/trunc.c (truncf): Split out to...
3818 * mingwex/truncf.c: New file.
3819 * mingwex/truncl.c: New file.
3820 * mingwex/signbit.c (signbitf): Split out to...
3821 * mingwex/signbitf.c: New file.
3822 * mingwex/signbitl.c: New file.
3823 * mingwex/fmal.c: New file.
3824 * mingwex/copysignl.S: New file.
3825 * mingwex/log2l.c: New file.
3826 * mingwex/fp_consts.c: Add nanl definition.
3827 Comment out unused constants.
3828 * mingwex/Makefile.in (DISTFILES): Add fmaxl.c, fminl.c,
3829 fpclassifyf.c, fpclassifyl.c, rintf.c, rintl.c, roundf.c,
3830 roundl.c, truncf.c truncl.c, signbitf.c signbitl.c,
3832 (MATHOBJS): Add fmaxl.o, fminl.o, fpclassifyf.o,
3833 fpclassifyl.o, rintf.o, rintl.o, roundf.o, roundl.o,
3834 truncf.o truncl.o, signbitf.o signbitl.o, fmal.o,
3836 * mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo.
3838 2002-04-23 Danny Smith <dannysmith@users.sourceforge.net>
3839 Make wide char versions of opendir and friends.
3840 * include/dirent.h (_wdirent, _WDIR): Define wide versions of
3842 (_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
3843 _wseekdir): Add prototypes for wide versions of corresponding
3845 * include/tchar.h; Add _UNICODE mappings for dirent.h
3846 structures and functions.
3847 * mingwex/dirent.c: Make _UNICODE neutral.
3848 * mingwex/wdirent.c: New file to define _UNICODE before
3850 * mingwex/Makefile.in (DISTFILES): Add wdirent.c.
3851 (POSIX_OBJS): Add wdirent.o.
3852 (wdirent.o): Specify dependency on dirent.c as well as
3854 * samples/dirent/wtest.c: New file, wide version of test.c.
3856 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3857 * Makefile.in (INCLUDES): Add "-iwithprefixbefore include" to
3858 ensure gcc include dir is searched despite -nostdinc.
3859 * profile/Makefile.in (INCLUDES): Likewise.
3860 * mingwex/Makefile.in (INCLUDES): Likewise.
3861 * include/stdarg.h: Replace with stub that just guards the
3862 real gcc system header with #ifndef RC_INVOKED
3863 * include/varargs.h: Likewise.
3864 * include/stddef.h: Likewise.
3865 * include/stdio.h: Include stdarg.h after defining
3867 (__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
3868 Replace va_list with __VALIST throughout.
3870 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3871 * crt1.c: Revert changes of 2002-04-16. Use _fpreset again.
3872 * msvcrt.def (_fpreset): Mark as DATA so that only
3873 _imp___fpreset is exported.
3874 * msvcrt20.def (_fpreset): Likewise.
3875 * msvcrt40.def (_fpreset): Likewise.
3876 * crtdll.def (_fpreset): Likewise.
3877 * CRT_fp10.c (_fpreset): Overide library _fpreset with one
3879 (fpreset): Add alias.
3880 (__CRT_PC): Delete definition. _fpreset does it now.
3881 * CRT_fp8.c (_fpreset): Force use of library _imp___fpreset.
3882 (fpreset): Add alias.
3883 (__CRT_PC): Delete definition.
3884 * moldname.def.in: Comment out fpreset.
3885 * moldname-msvcrt.def: Regenerate.
3886 * moldname-crtdll.def: Regenerate.
3887 * include/fenv.h (FE_DFL_ENV): Define as (fenv_t*)0.
3888 * mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment
3889 with the _fpreset determined by startup CRT_fp object.
3891 2002-04-16 Danny Smith <dannysmith@users.sourceforge.net>
3892 * CRT_fp8.c: New file.
3893 * CRT_fp10.c: New file.
3894 * crt1.c (__CRT_PC) Declare.
3895 (__CRT_fesetenv): New static function, using _CRT_PC.
3896 (__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset.
3897 (_gnu_exception_handler): Likewise.
3898 * Makefile.in (CRT0S): Add CRT_fp10.o.
3899 (MINGW_OBJS): Add CRT_fp8.o.
3900 (SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c.
3901 Add CRT_fp8.o, CRT_fp10.o dependancies.
3902 * include/float.h (_fpreset): Expand comment.
3903 * include/fenv.h (FE_PC64_ENV): New define for Intel x87
3904 (extended precison) environmemt.
3905 (FE_PC53_ENV): New define for MSVCRT default environmemt.
3906 (FE_DFL_ENV): Define as FE_PC53_ENV.
3907 * mingwex/fesetenv.c: Use FE_PC53_ENV, FE_PC64_ENV to determine
3908 precision control for default environment.
3910 * include/math.h: Fix long comment line.
3911 * profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
3913 * profile/configure: Regenerate.
3915 2002-04-12 Danny Smith <dannysmith@users.sourceforge.net>
3916 * mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c.
3918 2002-04-10 Danny Smith <dannysmith@users.sourceforge.net>
3919 * mingwex/mingw-fseek.c: New file, based on Mumit Khan
3920 mingw-local patch to binutils.
3921 Sun Nov 7 04:27:07 1999 Mumit Khan <khan@xraylith.wisc.edu>
3922 (__mingw_fseek): New function to work around Win9x f/lseek bug.
3923 (__mingw_fwrite): Likewise.
3924 (__mingw_is_win9x): New helper function.
3925 * include/stdio.h (__USE_MINGW_FSEEK): New define,guarding...
3926 (__mingw_fseek): New prototype and define to replace fseek.
3927 (__mingw_fwrite): New prototype and define to replace fwrite.
3928 * mingwex/Makefile.in: Add mingw-fseek.o to libmingwex.a.
3929 * moldname-crtdll.def: Remove CR from end of line.
3930 * moldname-msvcrt.def: Ditto.
3932 2002-04-09 Danny Smith <dannysmith@users.sourceforge.net>
3933 * profile/configure.in (CRT0S): Configure name of gcrt?.o
3934 based on target, building gcrt0.o for cygwin -mno-cygwin.
3935 * profile/configure: Regenerate.
3936 * profile/Makefile.in (CRT0S): Use name from configure.
3937 (gcrt0.o): New rule.
3938 (ALL_CRT0S): New define, used to cleanup all gcrt?.o's.
3940 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3941 * include/math.h (_controlfp, _control87, _clearfp, _statusfp, _fpreset,
3942 _fpecode): Remove prototypes copied from float.h.
3943 (nan, nanf): Move into block protected against RC_INVOKED
3945 * include/stdlib.h (_Exit): Change from static inline to
3947 * mingwex/_Exit.c : New file.
3948 * mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
3950 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3951 Add libgmon.a and libmingwex.a for cygwin -mno-cygwin.
3952 * configure.in (SUBDIRS): Add profile and mingwex to cygwin target.
3953 (configdirs): Likewise.
3954 (LIBGMON_A): Define for cygwin target as well.
3955 * configure: Regenerate.
3956 * profile/configure.in (THREAD_DLL): Remove define.
3957 (LIBM_A): Remove define.
3958 (LIBGMON_A): Define for cygwin target as well.
3959 * profile/configure: Regenerate.
3960 * profile/makefile.in (install): Install to inst_libdir and
3962 * mingwex/makefile.in (CFLAGS): Move -fomit-frame-pointer to...
3963 (OPTFLAGS): New define.
3964 (ALL_CFLAGS): Add $(OPTFLAGS).
3965 (ALL_CXXFLAGS): Same.
3966 (.c.o:): Remove ALL_CXXFLAGS.
3968 2002-03-29 Danny Smith <dannysmith@users.sourceforge.net>
3969 * include/stdint.h: Add missing newline at eof.
3970 * include/stdio.h (snprintf): Add prototype.
3971 (vsnprintf): Add prototype and inline definition.
3972 (snwprintf): Add prototype.
3973 (vsnwprintf): Add prototype and inline definition.
3974 * include/wchar.h (snwprintf): Add prototype.
3975 (vsnwprintf): Add prototype and inline definition.
3976 * mingwex/Makefile.in: Add snprintf.o, snwprintf.o
3978 * mingwex/snprintf.c: New file.
3979 * mingwex/snwprintf.c: New file.
3981 2002-03-22 Danny Smith <dannysmith@users.sourceforge.net>
3982 * configure.in: Add mingwex as SUBDIRS and configdirs.
3983 * configure: Regenerate.
3984 * Makefile.in (MINGW_OBJS): Remove dirent.o.
3985 (SRC_DIST_FILES): Remove dirent.c.
3987 * include/stdlib.h (_Exit): Add static inline
3989 (struct lldiv_t): Define.
3990 (lldiv): Add prototype.
3991 (llabs): Add extern inline function.
3992 (strtoll,strtoull): Add prototypes.
3993 (wcstol, wcstoul, wcstod): Group together.
3994 (strtof, wcstof): Add extern inline definitions.
3995 (atoll,lltoa,ulltoa, wtoll, lltow ulltow): Add prototypes
3996 and extern inline definitions.
3997 * include/wchar.h (fwide, wcstoll,wcstoull, wmemchr
3998 wmemcmp, wmemcpy, wmemmove, wmemset. mbsinit): Add
4000 (wcstol, wcstoul,wcstod): Copy prototypes from stdlib.h.
4001 (wcstof): Add extern inline definition.
4002 * include/math.h (nan, nanf): Add prototypes.
4003 (NAN, INFINITE): Define constants.
4004 (fpclassify, isnan ,signbit): Add macros and supporting float
4005 and double functions.
4006 (isfinite, isinf, isnormal): Add macros.
4007 (isgreater, isless, isgreaterequal, islessequal,islessgreater):
4009 (rint, rintf, round, roundf, trunc. truncf, fmax, fmaxf,
4010 fmin, fminf, fma, fmaf, log2, log2f): Add prototypes.
4011 (copysign, logb, nextafter, scalb): Add prototypes and
4012 inline stubs for underscored versions in msvcrt.dll.
4013 * include/inttypes.h: New file.
4014 * include/fenv.h: New file
4016 Add new mingwex subdir and files.
4017 * mingwex: New directory.
4018 * mingwex/Makefile.in: New file.
4019 * mingwex/configure.in: New file.
4020 * mingwex/configure: Generate.
4021 * mingwex/dirent.c: Moved here from parent dir.
4022 * mingwex/atoll.c: New file.
4023 * mingwex/feclearexcept.c: New file.
4024 * mingwex/fegetenv.c: New file.
4025 * mingwex/fegetexceptflag.c: New file.
4026 * mingwex/fegetround.c: New file.
4027 * mingwex/feholdexcept.c: New file.
4028 * mingwex/feraiseexcept.c: New file.
4029 * mingwex/fesetenv.c: New file.
4030 * mingwex/fesetexceptflag.c: New file.
4031 * mingwex/fesetround.o: New file.
4032 * mingwex/fetestexcept.c: New file.
4033 * mingwex/feupdateenv.c: New file.
4034 * mingwex/fma.S: New file.
4035 * mingwex/fmaf.S: New file.
4036 * mingwex/fmax.c: New file.
4037 * mingwex/fmaxf.c: New file.
4038 * mingwex/fmin.c: New file.
4039 * mingwex/fminf.c: New file.
4040 * mingwex/fp_consts.c: New file.
4041 * mingwex/fpclassify.c: New file.
4042 * mingwex/fucom.c: New file.
4043 * mingwex/fwide.c: New file.
4044 * mingwex/imaxabs.c: New file.
4045 * mingwex/imaxdiv.c: New file.
4046 * mingwex/isnan.c: New file.
4047 * mingwex/isnanf.c: New file.
4048 * mingwex/lltoa.c: New file.
4049 * mingwex/lltow.c: New file.
4050 * mingwex/log2.c: New file.
4051 * mingwex/log2f.c: New file.
4052 * mingwex/math_stubs.c: New file.
4053 * mingwex/mbsinit.c: New file.
4054 * mingwex/rint.c: New file.
4055 * mingwex/round.c: New file.
4056 * mingwex/signbit.c: New file.
4057 * mingwex/sitest.c: New file.
4058 * mingwex/strtof.c: New file.
4059 * mingwex/strtoimax.c: New file.
4060 * mingwex/strtoumax.c: New file.
4061 * mingwex/testwmem.c: New file.
4062 * mingwex/trunc.c: New file.
4063 * mingwex/ulltoa.c: New file.
4064 * mingwex/ulltow.c: New file.
4065 * mingwex/wcstof.c: New file.
4066 * mingwex/wcstoimax.c: New file.
4067 * mingwex/wcstoumax.c: New file.
4068 * mingwex/wmemchr.c: New file.
4069 * mingwex/wmemcmp.c: New file.
4070 * mingwex/wmemcpy.c: New file.
4071 * mingwex/wmemmove.c: New file.
4072 * mingwex/wmemset.c: New file.
4073 * mingwex/wtoll.c: New file.
4075 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4077 * include/mbstring.h: New file.
4078 * include/mbctype.h: New file.
4080 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4082 * include/tchar.h (__TEXT): Make same as define in
4083 w32api/include/winnt.h.
4085 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4087 * include/tchar.h (_tputenv): Add UNICODE mappings.
4088 (_tsearchenv): Likewise.
4089 (_tmakepath): Likewise.
4090 (_tsplitpath): Likewise.
4091 (_tfullpath): Likewise.
4093 2002-04-18 Pascal Obry <obry@gnat.com>
4095 * dirent.c (opendir): Convert given pathname to
4098 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4100 * include/_mingw.h: Increment version.
4101 * Makefile.in: Ditto.
4103 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4105 * moldname-crtdll.def: Remove CR from end of line.
4106 * moldname-msvcrt.def: Ditto.
4107 * Makefile.in: Use bzip2 compression for Cygwin target.
4109 2002-04-04 Danny Smith <dannysmith@sourceforge.users.net>
4111 * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
4112 TLOSS, PLOSS): Move oldname defines back, following
4113 the underscored names.
4115 2002-03-29 Danny Smith <dannysmith@sourceforge.users.net>
4117 * include/stdio.h (_snwprintf): Correct spelling.
4118 (_vsnwprintf): Likewise.
4119 * include/wchar.h (_snwprintf): Correct spelling.
4120 (_vsnwprintf): Likewise.
4122 2002-03-26 Danny Smith <dannysmith@users.sourceforge.net>
4124 * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__).
4125 (wpopen): Add if !(__CRTDLL__).
4126 * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
4128 (moldname-crtdll.def rule): Likewise.
4129 * moldname-msvcrt.def: Regenerate.
4130 * moldname-crtdll.def: Regenerate.
4131 * include/stdio.h (wpopen):Use prototype, not a define.
4132 (_swnprintf): Add prototype.
4133 (_vswnprintf): Likewise.
4135 * include/wchar.h (_swnprintf): Add prototype.
4136 (_vswnprintf): Likewise.
4139 2002-01-28 Danny Smith <dannysmith@users.sourceforge.net>
4141 * include/malloc.h (_heapinfo): Correct structure definition.
4142 (_USEDENTRY,_FREEENTRY): Add defines.
4143 Add comment on platform support for _heap* functions.
4144 (_get_sbh_threshold): Add prototype.
4145 (_set_sbh_threshold): Likewise.
4146 (_expand): Likewise.
4148 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4150 * profile/profil.c: Update copyright info.
4151 * profile/profil.h: Likewise.
4152 * profile/gcrt0.c: Likewise.
4154 2002-01-25 Pascal Obry <obry@gnat.com>
4156 * profile/profil.h (PROFADDR): Cast idx to unsigned long long to
4158 * profile/gmon.c: Define bzero as memset if mingw32.
4159 (monstartup): Use it.
4161 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4163 * include/tchar.h (_TCHAR): Add missing ;.
4165 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4167 * include/tchar.h (_TCHAR): Add typedefs.
4169 2002-01-16 Danny Smith <dannysmith@users.sourceforge.net>
4171 * include/stdlib.h (_onexit_t): Add typedef.
4172 (_onexit): Add prototype.
4174 2002-01-12 Danny Smith <dannysmith@users.sourceforge.net>
4176 * msvcrt.def: Revert accidental change.
4177 * include/stdlib.h: Ditto.
4179 2001-12-07 Earnie Boyd <earnie@users.sf.net>
4181 * Makefile.in: Increment VERSION.
4182 * include/_mingw.h: Ditto.
4184 2001-12-05 Earnie Boyd <earnie@users.sf.net>
4186 * include/strings.h: New File.
4188 2001-12-02 Danny Smith <dannysmith@users.sourceforge.net>
4191 2001-06-21 Mumit Khan <khan@nanotech.wisc.edu>
4193 * include/math.h (_FPCLASS* ): Add defines from float.h.
4194 (IEEE recommended functions): Add declarations from float.h.
4195 * include/float.h (_FPCLASS* ): Protect against redefinition.
4197 2001-11-29 Wu Yongwei <adah@netstd.com>
4199 * include/_mingw.h,assert.h,conio.h,ctype.h,dir.h,direct.h
4200 dirent.h,dos.h,errno.h,excpt.h,fcntl.h,float.h,io.h,
4201 limits.h,locale.h,malloc.h,math.h,process.h,setjmp.h,
4202 share.h,signal.h,stdarg.h,stddef.h,stdint.h,stdio.h,
4203 stdlib.h,string.h,tchar.h,time.h,varargs.h,wchar.h,
4204 wctype.h,sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h:
4205 Correct spelling of "disclaimed" in comments.
4206 * include/excpt.h: Another spelling correction.
4208 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
4210 * include/errno.h: Fix "errno is not a prototype" warning.
4212 2001-11-07 Danny Smith <dannysmith@users.sourceforge.net>
4214 * include/ctype.h (tolower, toupper,_tolower,_toupper): Comment
4215 differences between ANSI and non-ANSI versions.
4216 (_ctype[],_pctype): Declare vars.
4217 (__ISCTYPE): New helper macro using _pctype.
4218 (is* ctype functions): Use __ISCTYPE to define inline versions.
4219 (_toupper, _tolower, __isascii, __toascii, __iscsym, __iscsymf):
4221 (isw* ctype functions): Inline definitions.
4222 * include/wctype.h (_ctype[],_pctype): Declare vars.
4223 (isw* ctype functions): Inline definitions.
4226 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4228 * include/float.h (_clearfp, _statusfp, _fpreset, fpreset,
4229 __fpecode): Use __STDC__ prototypes.
4232 2001-11-06 Thomas Pfaff <tpfaff@gmx.net>
4234 * mthr_stub.c (__mingwthr_remove_key_dtor) New.
4235 * mthr_init.c (DllMain) Run dtors if a process terminates.
4236 * mthr.c (__mingwthr_add_key_dtor) Removed.
4237 (___mingwthr_add_key_dtor) New.
4238 (___mingwthr_remove_key_dtor) New.
4239 (__mingwthr_run_key_dtors) Complete rewrite.
4240 (__mingwthr_remove_key_dtor) New.
4242 2001-11-05 Egor Duda <deo@logos-m.ru>
4244 * Makefile.in: Delete unused executable after creating base-files.
4246 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4248 * include/errno.h (_errno): Use __STDC__ prototype.
4249 Thanks to: Jim Barton.
4251 2001-11-04 "stefan" <stefan@lkcc.org>
4253 * include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names.
4255 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4257 * include/io.h (_commit): Add declaration.
4258 Thanks to: "stefan" <stefan@lkcc.org>
4260 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4262 * include/sys/stat.h: Make S_IS* macros safer.
4264 2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
4266 * include/stdlib.h (EXIT_FAILURE): Change value to 1.
4268 2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
4270 * include/stdlib.h (__p__environ, __p__wenviron): Use
4271 __STDC__ prototypes.
4273 2001-09-19 Earnie Boyd <earnie@SF.net>
4275 * Makefile.in: Remove the /usr from the install target.
4276 (VERSION): Increment.
4277 include/_mingw.h: Ditto.
4279 2001-09-17 Earnie Boyd <earnie@SF.net>
4281 * Makefile.in: Increment version.
4282 * include/_mingw.h: Ditto.
4284 2001-09-10 Earnie Boyd <earnie@SF.net>
4286 * dossh: Remove inadvertantly imported file.
4288 2001-09-10 Danny Smith <dannysmith@users.sourceforge.net>
4290 * dirent.c (opendir): Use GetFileAttributes rather than stat
4291 to determine if input arg is dir.
4293 2001-08-29 Danny Smith <dannysmith@users.sourceforge.net>
4295 * include/stdarg.h (va_list): Typedef as __builtin_va_list if
4297 * include/varargs.h (va_list): Ditto.
4298 * include/stdio.h (va_list): Ditto.
4300 2001-08-01 Danny Smith <dannysmith@users.sourceforge.net>
4302 * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
4303 * include/stdio.h (_IORW): Change constant to 0x0080.
4304 (TMP_MAX): Add new define.
4306 (_wP_tmpdir): Ditto.
4307 (L_tmpnam): Change constant to 16.
4309 2001-06-28 Danny Smith <dannysmith@users.sourceforge.net>
4311 * include/malloc.h: Fix non-ANSI comment after #endif.
4313 2001-06-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4315 * profile/configure.in: Make msvcrt.dll version default.
4316 * profile/makefile.in: Build both gcrt1.o and gcrt2.o.
4317 * provile/configure: Regenerate.
4319 2001-06-11 Mattia Barbon <mbarbon@dsi.unive.it>
4321 * include/stdio.h (swscanf): Make first arugument const.
4322 * include/wchar.h (swscanf): Ditto.
4323 * include/tchar.h (_tfopen): New _UNICODE define.
4325 (_tsetlocale): Ditto.
4327 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4329 * profile/Makefile.in (mkinstalldirs): Correct relative path.
4331 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4333 * include/_mingw.h: Change version to 1.0.
4336 2000-02-21 Earnie Boyd <earnie@users.sourceforge.net>
4338 * include/tchar.h: (__TEXT): Remove undef.
4342 Fri Feb 2 10:34:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
4344 * include/tchar.h: (__TEXT): Add private macro.
4345 (_TEXT): Modify definition to use __TEXT.
4347 This change allows the passing of a MACRO as an argument and have that
4348 MACRO resolved first.
4349 Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
4351 Wed Jan 31 17:12:51 2001 Earnie Boyd <earnie@users.sourceforge.net>
4353 * Makefile.in: Increment version to 0.5
4354 * include/_mingw.h: Increment minor version
4356 Tue Jan 30 13:01:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
4358 * include/assert.h: (assert): Remove ; from end of definition
4359 Thanks to: AJ Reins <tbisp@qwest.net>
4361 Tue Jan 30 07:31:22 2001 Earnie Boyd <earnie@users.sourceforge.net>
4363 * include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
4364 Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
4366 Mon Jan 29 14:03:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
4368 * time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
4370 Sun Jan 28 13:01:08 2001 Earnie Boyd <earnie@users.sourceforge.net>
4372 * include/wchar.h: The 2001.01.18 Change was incorrect. The functions
4373 are actually C functions. These functions are resolved via the
4374 -lmsvcp60 library and comments were placed in the header.
4376 2001-01-28 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4378 * include/stdlib.h (__p__pgmptr): add prototype.
4379 (__p__wpgmptr): likewise.
4380 (_pgmptr_dll): move declaration from dos.h.
4381 (_wpgmptr_dll): likewise.
4382 (_pgmptr): conditional define (MSVCT/CRTDLL).
4383 (_wpgmptr): likewise.
4384 * include/dos.h (_base*_dll variables): declare only for CRTDLL.
4385 (_os*_dll variables): likewise.
4386 (_pgmptr_dll): remove declaration and associated defines to stdlib.h.
4387 (_wpgmptr_dll): likewise.
4389 2001-01-22 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4391 * include/stdint.h: New file.
4393 Thu Jan 18 10:33:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
4395 * include/wchar.h: Protect prototypes only declared in the C++ STL
4396 from being declared unless __cplusplus is defined.
4398 Tue Jan 16 11:37:31 2001 Earnie Boyd <earnie@users.sourceforge.net>
4400 * include/stdlib.h: Apply Danny Smith patch 102730
4401 2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4402 (_wgetenv) Correction to return type.
4404 Tue Jan 16 09:41:41 2001 Earnie Boyd <earnie@users.sourceforge.net>
4406 * include/locale.h: Apply Danny Smith patch 101834
4407 2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4408 (LC_MIN) Add definition.
4410 (_wsetlocale) Add prototype.
4412 2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
4414 * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
4415 Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
4416 Create a libcoldname.a for the oldname library for CRTDLL.
4417 Restrict libmoldname.a for the oldname library for MSVCRT.
4418 * configure.in: eliminate setting RUNTIME and CRT_ID variables.
4419 Restructure the $target_os case logic.
4420 Always name the MinGW thread dll helper mingwm.
4421 Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
4422 * configure: regenerate.
4424 2000-11-22 Earnie Boyd <earnie_boyd@yahoo.com>
4426 * Makefile.in: Fix bindist target to distribute the correct files.
4427 Remove the use of SNAPSHOT variable and test SNAPDATE instead.
4428 Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
4430 2000-11-21 Earnie Boyd <earnie_boyd@yahoo.com>
4432 * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
4433 Add variables and targets to control binary and source distributions.
4434 Add variables and targets to control snapshot distribution.
4435 * profile/gmon.h: Add missing #endif for #ifndef.
4436 * profile/ChangeLog: Merge entries here and remove.
4437 * profile/Makefile.in: Add variables and targets to control
4441 * config.guess: ditto.
4442 * config.sub: ditto.
4443 * mkinstalldirs: ditto.
4444 * install-sh: ditto.
4445 * configure: regenerate.
4446 * profile/configure: ditto.
4448 2000-11-20 Earnie Boyd <earnie_boyd@yahoo.com>
4450 * Merge in changes from
4451 2000-10-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4452 * include/direct.h: add guard around MSVCRT-only prototytpes
4453 * include/io.h: add __int64 struct definitions and function prototypes;
4454 add guard for MSVCRT-only prototypes
4455 * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
4456 * include/stdio.h: add wchar function prototypes (__MSVCRT__);
4457 put wchar functions together to make sync with wchar.h easier
4458 * include/stdlib.h: add wide char functions (__MSVCRT__)
4459 * include/string.h: add string collation functions ( __MSVCRT__)
4460 * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
4461 * include/tchar.h: add macros and macro function definitions
4462 * include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
4463 enclose more functions in __MSVCRT__ guard;
4464 some oldname wide char function prototypes #if (0)'d
4465 * profile/gmon.h: add guard around BSD-ish typedefs
4467 Mon Nov 20 18:58:12 2000 Christopher Faylor <cgf@cygnus.com>
4469 * Makefile.in: Use a different variable name for subdirectory since the
4470 previous one was used by the top level make.
4472 Sun Nov 19 20:50:51 2000 Christopher Faylor <cgf@cygnus.com>
4474 * Makefile.in: Install mingw stuff in a subdirectory if building under
4477 Sat Jun 17 21:48:23 2000 Christopher Faylor <cgf@cygnus.com>
4479 * Makefile.in (subdirs): Eliminate for loop.
4481 Sat Jun 17 18:27:59 2000 Christopher Faylor <cgf@cygnus.com>
4483 * Makefile.in (subdirs): Previous change did not fix problem in
4486 Sat Jun 17 13:49:12 2000 Christopher Faylor <cgf@cygnus.com>
4488 * Makefile.in: Avoid installing dll if we're cross building and the
4489 cross-host system isn't a Windows system.
4490 * configure.in: Detect cross-hosting situation and set appropriate
4491 variables in Makefile.in.
4492 * configure: Regenerate.
4494 Wed Apr 19 13:10:54 2000 Christopher Faylor <cgf@cygnus.com>
4496 * configure.in: Change HEADER_SUBDIR to mingw32.
4497 * configure: Regenerate.
4499 Mon Apr 10 17:24:28 2000 Christopher Faylor <cgf@cygnus.com>
4501 * include/string.h: Use proper prototype for _strerror.
4503 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
4505 * Makefile.in (subdirs): Workaround for broken shells.
4507 2000-02-03 Mumit Khan <khan@xraylith.wisc.edu>
4509 * Snapshot 2000-02-03.
4511 * include/{assert.h, conio.h, ctype.h, direct.h, dirent.h, fcntl.h,
4512 float.h, io.h, locale.h, malloc.h, math.h, process.h, signal.h,
4513 stdio.h, stdlib.h, string.h, time.h, wctype.h, sys/stat.h,
4514 sys/timeb.h, sys/utime.h}: Remove parameter names to avoid namespace
4517 * Makefile.in (all): Build CRT0S first.
4518 (libmingwthrd.a): Remove thread support DLL from dependency.
4520 2000-01-21 Mumit Khan <khan@xraylith.wisc.edu>
4522 * Snapshot 2000-01-21.
4524 2000-01-20 Mumit Khan <khan@xraylith.wisc.edu>
4526 Merge in changes from Cygwin:
4527 * configure.in (HEADER_SUBDIRS): New variable. Substitute.
4528 (SUBDIRS): Likewise.
4529 * Makefile.in (HEADER_SUBDIRS): New variable.
4530 (install): Use to install Mingw headers to a subdirectory if building
4532 (DLL_CC_STUFF): Add DLL entry point.
4533 * configure: Regenerate.
4535 2000-01-19 Mumit Khan <khan@xraylith.wisc.edu>
4537 * include/stdio.h (fsetpos): Fix prototype.
4538 (fpos_t): Fix for MSVCRT.
4539 * include/float.h (fpreset): Add prototype.
4540 * include/limits.h: Define UINT_MAX, USHRT_MAX and ULONG_MAX with
4542 * include/time.h: Don't define tzname as a macro for CRTDLL, and
4543 export using libmoldname.a.
4544 * crtdll.def: Add DATA tags.
4545 * msvcrt.def: Likewise.
4546 * moldname.def.in: Likewise. Add fpreset. Export tzname for
4547 both MSVCRT and CRTDLL.
4548 * moldname-crtdll.def: Regenerate.
4549 * moldname-msvcrt.def: Regenerate.
4551 Tue Dec 21 02:22:14 1999 Mumit Khan <khan@xraylith.wisc.edu>
4553 * Snapshot 1999-12-21.
4555 * include/wctype.h: New file.
4556 * include/ctype.h (MB_CUR_MAX): Define.
4558 * include/stdlib.h (MB_CUR_MAX): Define.
4559 * include/wchar.h: Define stat, _stat structures here as well.
4560 * include/float.h: Add invalid subconditions (_SW) and floating
4561 point error (_FPE) macros.
4562 * include/time.h (_CLOCK_T): Rename macro to _CLOCK_T_DEFINED.
4563 (_TIME_T): Rename macro to _TIME_T_DEFINED.
4564 * include/sys/types.h: Likewise.
4566 Thu Nov 18 00:22:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4568 * profile/profil.c (profile_on): Set the profiler thread priority to
4569 be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
4570 * Snapshot 1999-11-18.
4572 Sun Nov 7 02:50:09 1999 Mumit Khan <khan@xraylith.wisc.edu>
4574 Released 1999-11-07.
4576 * Makefile.in (CRT0S): Add crtst.o.
4577 (install): Install in subdirs as well.
4578 * dirent.h (struct _stat): Rename from struct stat.
4579 * include/tchar.h: Add some new macros. Thanks to
4580 Eric Kohl <ekohl@abo.rhein-zeitung.de>.
4581 * profile/Makefile.in (install): Fix target.
4583 Thu Nov 4 14:32:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
4585 * Makefile.in: Add support for profile directory.
4586 * configure.in: Likewise.
4587 * configure: Regenerate.
4589 * profile: Imported profiling sources from winsup-19991026 snapshot.
4590 * profile/Makefile.in: New file.
4591 * profile/configure.in: New file.
4592 * profile/configure: Generate.
4593 * profile/gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
4594 * profile/gmon.h (u_char, u_short, u_int, u_long): Likewise.
4595 * profile/gmon.c (unistd.h): Include conditionally.
4596 (sys/param.h): Likewise.
4597 * profile/mcount.c (sys/param.h): Likewise.
4598 * profile/profil.c (profile_on): thread id is DWORD, not int.
4601 Wed Nov 3 16:26:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
4603 * include/stdlib.h: Add wide character version of argv/environ.
4605 * include/wchar.h: More wide character prototypes.
4606 * include/sys/stat.h: Likewise. Add struct stat as well as _stat.
4608 * dllcrt1.c (init.c): Don't include.
4609 (DllMainCRTStartup): Don't call _mingw32_init_mainargs().
4610 * Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists.
4612 Sat Oct 30 03:06:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4614 * moldname.def: Remove file.
4615 * moldname.def.in: And add this.
4616 * moldname-msvcrt.def: Generate from moldname.def.in.
4617 * moldname-crtdll.def: Likewise.
4619 * mthr.c: New file for -mthread (thread-safe C++ EH) support.
4620 * mthr_init.c: New file for -mthread (thread-safe C++ EH) support.
4621 * mthr_stub.c: New file for -mthread (thread-safe C++ EH) support.
4623 * Makefile.in: Update.
4624 * configure.in: Likewise. Also add *cygwin* target for building
4625 under Cygwin winsup.
4626 * configure: Regenerate.
4628 Fri Oct 1 11:10:30 1999 Mumit Khan <khan@xraylith.wisc.edu>
4630 * include/_mingw.h: Add version macros.
4631 * include/direct.h (_diskfree_t, getdiskfree, getdrives): Add.
4632 Also add wide character versions shared with wchar.h.
4633 * include/dos.h (_diskfree_t, getdiskfree, getdrives): Add.
4634 * include/io.h (sopen, _sopen): Fix prototype.
4635 Add wide character prototypes.
4636 * include/wchar.h: Likewise.
4637 * include/stdlib.h (beep, seterrormode, sleep): Remove non-
4638 underscored versions. Potential incompatibility.
4639 * include/time.h (daylight, timezone, tzname): Fix MSVCRT cases.
4640 Add wide character prototypes.
4641 * include/sys/timeb.h (struct _timeb): Don't use macro, but real
4644 Wed Aug 18 18:38:39 1999 Mumit Khan <khan@xraylith.wisc.edu>
4646 * configure.in (RUNTIME, CRT_ID): Add to differentiate between
4647 crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
4649 * configure: Rengerate.
4650 * Makefile.in (RUNTIME, CRT_ID): Use to generate the correct
4651 dll name and crt's. CRTDLL and MSVCRT are meant to created
4652 separately, so remove all the *-msvcrt* targets.
4653 (libmingwthr.a): New target. Dummy thread support archive.
4654 (LIBS): Add libmingwthr.a.
4655 (CRT0S): Use CRT_ID. Add crtmt.o.
4656 (MINGW_OBJS): Add crtst.o.
4657 * main.c (WinMain): Fix prototype.
4658 * crtmt.c: New file.
4659 * crtst.c: New file.
4661 * include/process.h (_beginthreadex): Fix prototype.
4662 * include/_mingw.h (__int64): Define for __GNUC__.
4663 * include/tchar.h (_ttol): Add macro.
4664 * include/stdlib.h (_wtoi, _wtol, _i64toa, _ui64toa, _atoi64,
4665 _i64tow, _ui64tow, _wtoi64): Add prototypes.
4667 Reported by Emanuele Aliberti <ea@iol.it>:
4668 * include/tchar.h (_ttoi): Add macro.
4670 Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
4671 * include/stdio.h (_snprintf): Add prototype.
4672 (_vsnprintf): Likewise.
4674 Sat Aug 7 18:00:00 1999 Mumit Khan <khan@xraylith.wisc.edu>
4676 Reported by Tor Lillqvist <tml@iki.fi>:
4677 * include/stdlib.h (__p___argv): Fix return type.
4679 Fri Jul 30 22:07:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
4682 * include/errno.h (errno): It's linked in from startup, not imported.
4683 * include/stdlib.h (errno): Likewise.
4684 * include/io.h: Guard against conflicting macros and prototypes in
4686 * include/stdlib.h: Likewise.
4687 * include/string.h: Likewise.
4688 * include/time.h: Likewise.
4690 Fri Jul 30 13:47:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
4692 * include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans.
4693 * include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT.
4694 * Makefile.in (INCLUDES): Remove old windows32 include directory.
4696 * crt1.c (_gnu_exception_handler): Fix prototype.
4697 (__mingw_CRTStartup): New function based on mainCRTStartup.
4698 (mainCRTStartup): Set the app type for MSVCRT and call
4700 (WinMainCRTStartup): Likewise.
4701 * init.c (_startupinfo): Define.
4702 (_getmainargs): Add 5th parameter.
4703 (_mingw32_init_mainargs): Use.
4705 * ALL *.c files: Reformat according to GNU coding style.
4707 Fri Jul 16 00:46:04 1999 Mumit Khan <khan@xraylith.wisc.edu>
4709 * Makefile.in (INCLUDES): Add w32api include directory.
4711 * include/_mingw.h: New file.
4712 * include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h,
4713 errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h,
4714 math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h,
4715 stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h,
4716 sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and
4717 use the macros __DECLSPEC_SUPPORTED and __MINGW_IMPORT.
4719 * include/stdlib.h (atexit): Fix prototype.
4721 Mon Jun 14 18:38:49 1999 Mumit Khan <khan@xraylith.wisc.edu>
4723 * include/stdio.h (_tempnam): Fix prototype.
4724 (tempnam): Likewise.
4725 * include/stdlib.h: Replace with GCC's version, and guard
4728 From Anders Norlander <anorland@hem2.passagen.se>:
4729 * include/stdlib.h (__argc): Declare.
4732 Mon Apr 5 13:49:17 1999 Mumit Khan <khan@xraylith.wisc.edu>
4734 * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
4736 * Makefile.in (_libm_dummy.o): New target.
4739 Tue Mar 16 18:15:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4741 * Released 1999-03-16 along with egcs-1.1.2.
4743 Wed Feb 17 17:15:56 1999 Mumit Khan <khan@xraylith.wisc.edu>
4745 * Makefile.in (LIBS): Add libm.a.
4746 (libm.a): Dummy libm.a.
4748 * Makefile.in: Update from winsup 1999-02-08 snapshot.
4749 Preserve local changes.
4750 (mkinstalldirs): In ../, not ../../.
4751 (INCLUDES): Point to local windows32api headers and use -nostdinc.
4753 (LIBS): Add libmoldname-msvc.a.
4754 (libmoldname-msvc.a): Add target.
4755 (distclean): Add target.
4757 Tue Feb 9 00:26:05 1999 Mumit Khan <khan@xraylith.wisc.edu>
4759 * include/dir.h: Reintroduce as an obsolescent header.
4760 * crt1.c (signal.h): Include.
4761 (_gnu_exception_handler): New function to properly handle win32
4762 asynchronous signals.
4763 (mainCRTStartup): Use.
4765 Sun Jan 3 23:52:25 1999 Mumit Khan <khan@xraylith.wisc.edu>
4767 * include/direct.h: Include io.h instead of dir.h
4768 * include/dirent.h: Likewise.
4769 * include/dos.h: Likewise.
4770 * include/stdio.h: Replace reference to dir.h with io.h.
4772 Thu Dec 31 16:04:55 1998 Mumit Khan <khan@xraylith.wisc.edu>
4774 * 1999-01-01 release bundled with egcs-1.1.1.
4776 * include/io.h: Incorporate dir.h.
4777 * include/dir.h: Remove.
4778 * include/signal.h: Move RC_INVOKED up a bit.
4780 Tue Dec 29 15:04:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
4782 * include/signal.h (sig_atomic_t): Define.
4784 * include/malloc.h: Import defs from deprecated alloc.h.
4785 * include/alloc.h: Remove.
4787 From "Daniel J. Rodriksson" <djr@dit.upm.es>:
4788 * include/sys/types.h (_dev_t): Should be unsigned int for MSVCRT.
4789 * include/sys/stat.h (struct stat): st_uid is of type short. Use
4790 _off_t instead of long for st_size.
4792 Thu Sep 10 22:28:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4794 * include/errno.h (sys_errlist, sys_nerr): Move from here ...
4795 * include/stdlib.h: Here.
4797 * include/netdb.h: Remove.
4798 * include/arpa/inet.h: Remove.
4799 * include/netinet/in.h: Remove.
4800 * include/sys/socket.h: Remove.
4802 Fri Sep 4 15:09:11 1998 Mumit Khan <khan@xraylith.wisc.edu>
4806 * include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h,
4807 sys/utime.h}: Protect stddef.h in RC_INVOKED macro.
4809 Thu Sep 3 10:43:29 1998 Mumit Khan <khan@xraylith.wisc.edu>
4811 * setjmp.h (_JBTYPE, _JBLEN): Define correctly.
4812 (jmpbuf): typedef using above.
4813 (setjmp, longjmp): Prototype using jmpbuf.
4815 Merge with Colin Peters' 980701 snapshot. I've ignored changes to
4816 obsolescent imported names, ie., from __imp__ to _imp___.
4818 Also ignored empty include/sys/param.h and incorrect
4819 include/sys/times.h.
4821 * CRTinit.c: New file.
4822 * include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef
4824 * include/io.h (umask): Fix prototype.
4825 * include/stdlib.h (OS constants): Replace with Colin's.
4826 * include/time.h (tzset, daylight, timezone): Replace with Colin's.
4827 * include/sys/state.h: Merge.
4829 Thu Sep 3 09:49:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
4831 * include/assert.h (assert): Lose the trailing semicolon.
4833 Thu Jul 30 21:18:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4835 * include/math.h (matherr): Declare.
4836 * include/stdio.h (fileno, _fileno): Declare.
4837 * include/stdlib.h (environ, _environ): Fix to use runtime DLL.
4840 * include/stdio.h (fdopen, _fdopen): Add const.
4841 (getw, putw): Declare.
4842 * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix.
4844 Sat Jun 13 18:19:41 1998 Mumit Khan <khan@xraylith.wisc.edu>
4846 * include/time.h (_timezone): Undefine.
4847 * include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
4849 * include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
4851 * include/stdlib.h (environ): Use DLL version.
4852 * init.c (environ): Undefine it before use.
4854 Sun Mar 22 19:59:30 1998 Mumit Khan <khan@xraylith.wisc.edu>
4856 * Update to 980309 snapshot from Colin Peters.
4858 * include/utime.h: remove
4859 * include/stdlib.h (__imp__osver_dll, __imp__winver_dll,
4860 __imp__winmajor_dll, __imp__winminor_dll): Apply Jan-Jaap's
4861 patches to define these.
4862 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4863 (_daylight, _timezone, _tzname, _tzset): Define.
4865 * include/netdb.h: Add from Colin's windows32api changes.
4866 * include/sys/socket.h: Likewise.
4867 * include/arpa/inet.h: Likewise.
4868 * include/netinet/in.h: Likewise.
4870 Wed Feb 4 14:16:44 1998 Mumit Khan <khan@xraylith.wisc.edu>
4872 * Update to 980128 snapshot from Colin Peters.
4874 Sat Dec 6 21:30:35 1997 Mumit Khan <khan@xraylith.wisc.edu>
4876 * configure.in (AC_INIT): Use dllmain.c instead of defunct
4878 * configure: Regenerate.
4880 Fri Dec 5 15:57:36 1997 Mumit Khan <khan@xraylith.wisc.edu>
4882 * Update to 971205 snapshot from Colin Peters. Lots of changes.
4883 Files renamed and include hierarchy loses directories named
4886 * include/dos.h: from Jan-Jaap.
4888 Thu Dec 4 21:48:13 1997 Mumit Khan <khan@xraylith.wisc.edu>
4890 Changes to conform to FSF tree.
4892 * crt1.c: Renamed from mcrt0.c.
4893 * dllcrt1.c: Renamed from dllcrt0.c.
4894 * Makefile.in: Update above. Also renamed libmoldnames.a to
4897 Mon Dec 1 16:51:30 1997 Mumit Khan <khan@xraylith.wisc.edu>
4899 * crtdll.def: Export all functions but the ones with funny names.
4900 * moldnames.def: Add fdopen since fileno is already there.
4901 * include/nonansi/dos.h: New file from Jan-Jaap.
4902 * include/errno.h: Add extern decl + various additions from JJ.
4903 * include/stdio.h: Likewise.
4904 * include/stdlib.h: Likewise.
4905 * include/nonansi/io.h: Likewise.
4906 * include/nonansi/process.h: Likewise.
4907 * include/sys/types.h: Likewise.
4909 Tue Nov 4 14:51:01 1997 Mumit Khan <khan@xraylith.wisc.edu>
4911 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4913 * include/stdlib.h (free): Fix prototype to return void, not void*.
4914 * include/nonansi/process.h: Add P_* and WAIT_* defs.
4916 * dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
4917 * mcrt0.c: Likewise.
4919 * Makefile.in (LIBS): Delete moldnames.dll from target libs.
4920 (libmoldnames.a): Add explicit rule to create it.
4922 Fri Aug 15 18:23:43 1997 Rob Savoye <rob@cygnus.com>
4924 New directory for the minimalist cygwin environment.
4926 * crtglob.c: New file. Turn on file globbing support.
4927 * crt_noglob.c: New file. Turn off file globbing support.
4928 * ctype_old.c: New file. Wrappers for functions that don't
4930 * dirent.c: New file. Directory routines readdir, opendir, closedir.
4931 * dllcrt0.c: New file. Initialization code to use crtdll.dll.
4932 * dllmain.c: New file. A stub DllMain function.
4933 * hugeval.c: New file. A gross hack to define HUGE_VAL.
4934 * init.c: New file. Common code to initialize standard file
4935 handles and command line arguments.
4936 * main.c: New file. A main for programs that only call WinMain.
4937 * mcrt0.c: New file. Default crt0 for mingw32.
4938 * oldnames.c: New File. Wrappers for functions that don't
4940 * string_old.c: New File.
4941 * include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h
4942 math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h
4943 string.h,tchar.h,time.h,wchar.h}: New header files for mingw.
4944 * include/sys/types.h: New header file for mingw.
4945 * include/nonansi/{alloc.h,conio.h,dir.h,direct.h,dirent.h
4946 fcntl.h,io.h,malloc.h,mem.h,memory.h,process.h,share.h,unistd.h
4947 utime.h,values.h,varargs.h}: New header files for mingw.
4948 * include/nonansi/sys/{fcntl.h,locking.h,stat.h,time.h
4949 timeb.h,unistd.h}: New header files for mingw.
4950 * Makefile.in,configure.in: Build and configure support.
4951 * configure: Generated from autoconf 2.12 with Cygnus patches.