OSDN Git Service

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