OSDN Git Service

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