OSDN Git Service

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