OSDN Git Service

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