OSDN Git Service

* include/math.h (ashinh, asinhf, asinhl, acosh, acoshf, acoshl,
[pf3gnuchains/pf3gnuchains3x.git] / winsup / mingw / ChangeLog
1 2004-10-07  Danny Smith  <dannysmith@users.sourceforge.net>
2
3         * mingwex/math/fastmath.h: New file.
4         * mingwex/math/asinh.c: New file.
5         * mingwex/math/asinhf.c: New file.
6         * mingwex/math/asinhl.c: New file.
7         * mingwex/math/acosh.c: New file.
8         * mingwex/math/acoshf.c: New file.
9         * mingwex/math/acoshl.c: New file.
10         * mingwex/math/atanh.c: New file.
11         * mingwex/math/atanhf.c: New file.
12         * include/math.h (asinh, asinhf, asinhl, acosh, acoshf, acoshl,
13         atanh, atanhf, atanhl): Add prototypes.
14         * mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
15         (MATH_DISTFILES): Add sources for above and fastmath.h to list.
16         Specify dependency on fastmath.h for new objects.
17
18 2004-09-08  Earnie Boyd  <earnie@users.sf.net>
19
20         * include/sys/stat.h (_S_IFLNK): Add definition.
21         (S_IFLNK) Ditto.
22         (_lstat) Ditto.
23         (lstat) Ditto.
24         (_S_ISLNK) Recode.
25         (S_ISLNK) Ditto.
26
27 2004-09-08  Earnie Boyd  <earnie@users.sf.net>
28
29         * include/sys/stat.h (_S_ISLNK): Add definition.
30         (S_ISLNK): Ditto.
31
32 2004-09-05  Earnie Boyd  <earnie@users.sf.net>
33
34         * include/_mingw.h: Increment minor version for 3.5 release.
35         * Makefile.in: Ditto.
36         * mingwex/Makefile.in: Correct typo in list of DISTFILES.
37
38 2004-08-24  Danny Smith  <dannysmith@users.sourceforge.net>
39
40         * include/malloc.h (__mingw_aligned_offset_malloc,
41         __mingw_aligned_offset_realloc, __mingw_aligned_malloc,
42         __mingw_aligned_realloc, __mingw_aligned_free): Add
43         prototypes.
44         * mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
45         tst-aligned-malloc.c.
46         (REPLACE_OBJS): Add mingw-aligned-malloc.o.
47
48 2004-08-24  Steven G. Johnson  <stevenj@alum.mit.edu>
49
50         * mingwex/mingw-aligned-malloc.c: New file.
51         * mingwex/tst-aligned-malloc.c: New file.       
52
53 2004-08-24  Danny Smith  <dannysmith@users.sourceforge.net>
54
55         * crt1.c: (__mingw_CRTStartup): Change return to void.  Add
56         noreturn attribute. Align stack to 16 bytes before passing args
57         to main.
58         (mainCRTStartup): Change return to void.
59         (WinMainCRTStartup): Likewise.
60
61
62 2004-08-15  Danny Smith  <dannysmith@users.sourceforge.net>
63
64         * profile/COPYING: New file.
65         * profile/CYGWIN_LICENSE: New file.
66         * profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
67
68 2004-08-15  Danny Smith  <dannysmith@users.sourceforge.net>
69
70         * mingwex/fopen64.c: Move.
71         * mingwex/fseeko64.c: Move.
72         * mingwex/ftello64.c: Move.
73         * mingwex/lseek64.c: Move.
74         * mingwex/stdio/fopen64.c: To here.
75         * mingwex/stdio/fseeko64.c: To here.
76         * mingwex/stdio/ftello64.c: To here.
77         * mingwex/stdio/lseek64.c: To here.
78
79 2004-08-15  Danny Smith  <dannysmith@users.sourceforge.net>
80
81         * profile/gmon.c [__MINGW32__]: Include  string.h for
82         memset prototype.
83
84 2004-08-08  Christopher Faylor  <cgf@timesys.com>
85
86         * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
87
88 2004-08-07  Danny Smith  <dannysmith@users.sourceforge.net>
89
90         * include/complex.h:  Remove __attribute__ ((const)) from
91         transcendantal and trig functions.  Replace __attribute__ ((const))
92         with __MINGW_ATTRIB_CONST on other declarations.
93
94 2004-08-07  Danny Smith  <dannysmith@users.sourceforge.net>
95
96         * include/wchar.h: Reorganize, avoid including other headers.
97
98 2004-08-07  Danny Smith  <dannysmith@users.sourceforge.net>
99
100         * include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
101         (strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
102         attribute.
103
104 2004-07-30  Danny Smith  <dannysmith@users.sourceforge.net>
105
106         * include/dirent.h (struct _wdirent): Remove obsolete comment.
107
108 2004-07-30  Danny Smith  <dannysmith@users.sourceforge.net>
109
110         * include/string.h: Revert 2004-07-26 additions of
111         __ATTRIBUTE_PURE.
112
113 2004-07-28  Danny Smith  <dannysmith@users.sourceforge.net>
114
115         * mingwex/math/powl.c (powl): Revert change of 2004-02-01.
116         (__convert_inf_to_maxnum): New.static inline.
117         (reducl): Use it to protect against Inf - Inf.
118         (__fast_ldexpl): New function.  Use in lieu of ldexpl.
119
120 2004-07-27  Danny Smith  <dannysmith@users.sourceforge.net>
121         
122         * mingwex/math/expl.c (expl): Move body of code to new static
123         function __expl, removing tests for +/-Inf. Extern function
124         expl calls __expl after testing for max, min log thresholds.
125
126 2004-07-26  Danny Smith  <dannysmith@users.sourceforge.net>
127
128         * mingwex/stdio/vsscanf.c: Add "edi" to registers-modified field
129         * mingwex/stdio/vfscanf.c: Likewise.
130         * mingwex/stdio/vswscanf.c: Likewise.
131         * mingwex/stdio/vfwscanf.c: Likewise.
132
133 2004-07-26  Danny Smith  <dannysmith@users.sourceforge.net>
134
135         * include/_mingw.h: Use only two underscores to uglify
136         __MINGW_ATTRIB_* macros.
137         * include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
138         * include/setjmp.h: Likewise.
139
140         * include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
141         string functions.
142         (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
143
144 2004-07-25  Danny Smith  <dannysmith@users.sourceforge.net>
145
146         * include/string.h: Group wide string functions together,
147         and protect with _WSTRING_DEFINED.
148
149 2004-07-25  Danny Smith  <dannysmith@users.sourceforge.net>
150
151         * include/_mingw.h (__MINGW_ATTR_*):  Replace with
152         __MINGW_ATTRIB_*.
153         * include/stdlib.h (_ATTRIB_NORETURN): Replace with
154         __MINGW_ATTRIB_NORETURN, throughout.
155         (malloc): Declare with __MINGW_ATTRIB_MALLOC.
156         (calloc): Likewise.
157         (abs): Declare with __MINGW_ATTRIB_CONST.
158         (labs): Likewise.
159         (div): Likewise.
160         (ldiv): Likewise.
161         (lldiv): Likewise.
162         (_rotl): Likewise.
163         (_rotr): Likewise.
164         (_lrotl): Likewise.
165         (_lrotr): Likewise.
166         * include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
167
168 2004-07-21  Danny Smith  <dannysmith@users.sourceforge.net>
169
170         * include/_mingw.h: Undefine __attribute__.
171         (__MINGW_ATTR_NORETURN): New define.
172         (__MINGW_ATTR_CONST): New define.
173         (__MINGW_ATTR_MALLOC): New define.
174         (__MINGW_ATTR_PURE): New define.
175         (_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
176         expansions.
177
178 2004-07-19  Danny Smith  <dannysmith@users.sourceforge.net>
179
180         * include/time.h (__time64_t): Add missing ';'. 
181
182 2004-07-17  Danny Smith  <dannysmith@users.sourceforge.net>
183
184         * include/time.h (wcsftime): Move out of !__STRICT_ANSI
185         block.
186         (struct tm): Protect with _TM_DEFINED.
187
188 2004-07-17  Christopher Faylor  <cgf@timesys.com>
189
190         * Makefile.in (CC): Strip inappropriate include file settings from any
191         passed-in CC.
192
193 2004-07-15  "dgun"  <dgun@umpire.com>
194
195         * include/complex.h (conj): Correct typo in prototype.
196
197 2004-07-15  Danny Smith  <dannysmith@users.sourceforge.net>
198
199         * include/math.h: Add pragma GCC system_header.
200
201 2004-07-15  Danny Smith  <dannysmith@users.sourceforge.net>
202
203         * mingwex/complex/cargs.c: New file.
204         * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
205
206 2004-07-15  Corinna Vinschen  <corinna@vinschen.de>
207
208         * Makefile.in (INCLUDES): Temporarily revert previous change.
209         * mingwex/Makefile,in (INCLUDES): Ditto.
210         * profile/Makefile,in (INCLUDES): Ditto.
211         * mingwex/Makefile,in: Drop carg.o dependency.
212
213 2004-07-14  Christopher Faylor  <cgf@timesys.com>
214
215         * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
216
217 2004-07-14  Danny Smith  <dannysmith@users.sourceforge.net>
218
219         * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
220         system dir.
221         * mingwex/Makefile,in (INCLUDES): Ditto.
222         * profile/Makefile,in (INCLUDES): Ditto.
223
224         * mingwex/Makefile,in: Add carg.o to libmingwex.a.
225
226 2004-07-13  Earnie Boyd  <earnie@users.sourcefourge.net>
227
228         * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
229         for C modules.
230         * mingwex/Makefile.in: Ditto.
231         * profile/Makefile.in: Ditto.
232         * include/limits.h: Change to new file header preamble.
233         * include/_mingw.h: Increment minor version for 3.4 release.
234         * Makefile.in: Ditto.
235
236 2004-07-12  Danny Smith  <dannysmith@users.sourceforge.net>
237
238         * mingwex/math/cephes_emath.h (__etens): Remove declaration.
239
240 2004-07-11  Danny Smith  <dannysmith@users.sourceforge.net>
241
242         * include/unistd.h (ftruncate): Add inline definition.
243         * mingwex/ftruncate.c: New file.
244         * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
245
246 2004-07-10  Danny Smith  <dannysmith@users.sourceforge.net>
247
248         * include/time.h: Do not include sys/types.h.
249
250 2004-07-02  Danny Smith  <dannysmith@users.sourceforge.net>
251
252         * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
253         (MATH_OBJS): Remove pow,o.
254         * include/math.h (pow): Declare with _CRTIMP.
255         Add comment on how to avoid excess precision problems.
256
257 2004-06-30  Danny Smith  <dannysmith@users.sourceforge.net>
258
259         * include/stdio.h (__mingw_fseeko64): Add prototype.
260         * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
261         (__mingw_fwrite): Handle huge files.
262
263 2004-06-30  Kees Zeelenberg  <kzlg@users.sourceforge.net>
264             Danny Smith  <dannysmith@users.sourceforge.net>
265
266         * include/stdio.h (fopen64): Add inline function.
267         (fseeko64): Add prototype.
268         (ftello64): Add inline function.
269         * include/io.h (lseek64): Add inline function.
270         * include/sys/types (off64_t): Add typedef.
271         (fpos64_t): Add typedef.
272         * mingwex/fopen64.c: New file.
273         * mingwex/fseeko64.c: New file.
274         * mingwex/ftello64.c: New file.
275         * mingwex/lseek64.c: New file.
276         * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
277         fseeko.64.c, ftello64.c, lseek64.c. 
278         (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
279
280 2004-04-24  Luke Dunstan  <infidel@users.sourceforge.net>
281
282         * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
283
284 2004-04-22  Earnie Boyd  <earnie@users.sf.net>
285
286         * DISCLAIMER: Add words about "free to use".
287         * README: Modify "Win32 runtime" to "Microsoft C Runtime".
288         * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
289         (inst_docdir): New variable.
290         (INSTDOCS): Ditto.
291         (FLAGS_TO_PASS): Include inst_docdir.
292         (install-dirs): Add inst_docdir.
293         (install): Add loop for INSTDOCS.
294         * strncasecmp.c: Reword copyright and disclaimer.  Move Contributors
295         section to CONTRIBUTORS file.  Remove RCS tags.
296         
297 2004-04-22  Danny Smith  <dannysmith@users.sourceforge.net>
298
299         * mingwex/math/lround.c: Rewrite.
300         * mingwex/math/lroundf.c: Rewrite.
301         * mingwex/math/lroundl.c: Rewrite.
302         * mingwex/math/llround.c: Rewrite.
303         * mingwex/math/llroundf.c: Rewrite.
304         * mingwex/math/llroundl.c: Rewrite.
305
306 2004-04-20  Earnie Boyd  <earnie@users.sf.net>
307
308         * CONTRIBUTORS: New file.
309         * DISCLAIMER: Ditto.
310         * CRT_noglob.c: Reword copyright and disclaimer.  Move Contributors
311         section to CONTRIBUTORS file.  Remove RCS tags.
312         * CRTFmode.c: Ditto.
313         * CRTglob.c: Ditto.
314         * CRTinit.c: Ditto.
315         * crt1.c: Ditto.
316         * crtdll.dev: Ditto.
317         * dllcrt1.c: Ditto.
318         * dllmain.c: Ditto.
319         * gccmain.c: Ditto.
320         * init.c: Ditto.
321         * isascii.c: Ditto.
322         * iscsym.c: Ditto.
323         * iscsymf.c: Ditto.
324         * jamfile: Ditto.
325         * main.c: Ditto.
326         * msvcrt.def.in: Ditto.
327         * strcasecmp.c: Ditto.
328         * toascii.c: Ditto.
329         * wcscmpi.c: Ditto.
330         * include/assert.h: Ditto.
331         * include/conio.h: Ditto.
332         * include/ctype.h: Ditto.
333         * include/direct.h: Ditto.
334         * include/dirent.h: Ditto.
335         * include/dos.h: Ditto.
336         * include/errno.h: Ditto.
337         * include/excpt.h: Ditto.
338         * include/fcntl.h: Ditto.
339         * include/float.h: Ditto.
340         * include/io.h: Ditto.
341         * include/locale.h: Ditto.
342         * include/malloc.h: Ditto.
343         * include/math.h: Ditto.
344         * include/process.h: Ditto.
345         * include/setjmp.h: Ditto.
346         * include/share.h: Ditto.
347         * include/signal.h: Ditto.
348         * include/stdio.h: Ditto.
349         * include/stdlib.h: Ditto.
350         * include/string.h: Ditto.
351         * include/tchar.h: Ditto.
352         * include/time.h: Ditto.
353         * include/wchar.h: Ditto.
354         * include/sys/locking.h: Ditto.
355         * include/sys/param.h: Ditto.
356         * include/sys/stat.h: Ditto.
357         * include/sys/timeb.h: Ditto.
358         * include/sys/types.h: Ditto.
359         * include/sys/utime.h: Ditto.
360         * mingwex/dirent.c: Ditto.
361
362 2004-04-19  Earnie Boyd  <earnie@users.sf.net>
363
364         * include/_mingw.h: Revert to primary release 3 and increment minor
365         release to 3.
366         * Makefile.in (VERSION): Ditto.
367
368 2004-04-01  Danny Smith  <dannysmith@users.sourceforge.net>
369
370         * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
371         _fmode if not __MSVCRT__.
372
373 2004-03-30  Danny Smith  <dannysmith@users.sourceforge.net>
374
375         * include/io.h: (_findfirst): Correct prototype.
376
377 2004-03-30  Hans Leidekker  <hans@it.vu.nl>
378
379         * include/io.h: (_findnext, _findclose): Correct prototype.
380
381 2004-03-28  Hans Leidekker  <hans@it.vu.nl>
382
383         * include/math.h (FP_*): Add defines.
384
385 2004-03-29  Danny Smith  <dannysmith@users.sourceforge.net>
386
387         * mingwex/math/round.c: Rewrite.
388         * mingwex/math/roundf.c: Rewrite.
389         * mingwex/math/roundl.c: Rewrite.
390
391 2004-03-25  Danny Smith  <dannysmith@users.sourceforge.net>
392
393         * include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.
394         * include/time.h (__time64_t): Add typedef.
395         (_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
396         (_ctime64): Likewise.
397         (_wctime64): Likewise.
398         (_gmtime64): Likewise.
399         (_localtime64): Likewise.
400         (wcsftime): Move into _WTIME_DEFINED block.
401         Regroup non-ANSI prototypes.
402         * include/io.h: Include <stdint.h>.
403         (__finddata64_t): Add struct definition.
404         (__wfinddata64_t): Likewise.
405         (_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
406         (_findnext64): Likewise.
407         (_wfindfirst64): Likewise.
408         (_wfindnext64): Likewise.
409         * include/sys/timeb.h (__timeb64): Add struct definition.
410         (_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
411         * include/sys/utime.h (__utimbuf64): Add struct definition.
412         (_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
413         (_futime64): Likewise.
414         (_wutime64): Likewise.
415         * include/sys/stat.h (__stat64):  Add struct definition.
416         (_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
417         (_stat64): Likewise.
418         (_wstat64): Likwise.
419         * include/sys/types.h (__time64_t):  Add typedef.
420         * include/wchar.h (__wfinddata64_t): Add structure definition.
421         (__stat64): Likewise.
422         (_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
423         (_wfindfirst64): Likewise.
424         (_wfindnext64): Likewise.
425         (_wutime64): Likewise.
426         (_wstat64): Likwise.
427         * include/malloc.h (_aligned_free): Add prototype for
428         __MSVCRT_VERSION__ >= 0x0700.
429         (_aligned_malloc): Likewise.
430         (_aligned_offset_malloc): Likewise.
431         (_aligned_offset_realloc): Likewise.
432         (_aligned_realloc): Likewise.
433         * include/string.h (_wcserror): Add prototype for
434         __MSVCRT_VERSION__ >= 0x0700.
435         (__wcserror): Likewise.
436         * include/math.h (_set_SSE2_enable): Add prototype for
437         __MSVCRT_VERSION__ >= 0x0701.
438
439 2004-03-25  Danny Smith  <dannysmith@users.sourceforge.net>
440
441         * include/stdio.h (_fsopen): Add prototype.
442         * include/tchar.h (_tfsopen): Add defines.
443         Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
444
445 2004-03-19  Danny Smith  <dannysmith@users.sourceforge.net>
446
447         * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
448         msvcr70.dll, and msvcr71.dll.
449         * Makefile.in (msvcr*.def): Define preprocessor  __msvcr*__ constant
450         using basename of output def file.
451
452 2004-03-13  Danny Smith  <dannysmith@users.sourceforge.net>
453
454         * include/malloc.h: Remove __STRICT_ANSI__ guard.
455
456 2004-03-11  Brian Keener  <bkeener@thesoftwaresource.com>
457
458         * include/process.h: Remove the #endif associated with removal of
459         __STRICT_ANSI__ guard from non-ANSI header.
460
461 2004-03-10  Danny Smith  <dannysmith@users.sourceforge.net>
462
463         * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
464         * include/direct.h:  Ditto.
465         * include/dirent.h:  Ditto.
466         * include/dos.h:  Ditto.
467         * include/excpt.h:  Ditto.
468         * inlude/fcntl,h
469         * include/io.h:  Ditto.
470         * inlude/mem.h:  Ditto.
471         * include/memory.h:  Ditto.
472         * include/process.h:  Ditto.
473         * inlude/search.h:  Ditto.
474         * include/share.h:  Ditto.
475         * include/unistd.h:  Ditto.
476         * include/sys/fcntl.h:  Ditto.
477         * include/file.h:  Ditto.
478         * include/sys/locking.h:  Ditto.
479         * include/sys/param.h:  Ditto.
480         * include/sys/stat,h
481         * include/sys/time.h:  Ditto.
482         * include/sys/timeb.h:  Ditto.
483         * include/sys/types.h:  Ditto.
484         * include/sys/unistd.h:  Ditto.
485         * include/sys/utime.h:  Ditto.
486
487 2004-02-21  Danny Smith  <dannysmith@users.sourceforge.net>
488
489         * include/_mingw.h (__UNUSED_PARAM): Define macro.
490         * include/wchar.h (fwide): Use it.
491         (mbsinit): Ditto.
492
493 2004-02-05  Danny Smith  <dannysmith@users.sourceforge.net>
494
495         * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
496         NetBSD getopt_long.c.
497
498 2004-02-05  Danny Smith  <dannysmith@users.sourceforge.net>
499
500         * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
501         codes and handling of special chars.
502
503 2004-02-02  Danny Smith  <dannysmith@users.sourceforge.net>
504
505         * include/stdio.h (feof): Add inlined definition.
506         (ferror): Ditto.
507
508 2004-02-01  Danny Smith  <dannysmith@users.sourceforge.net>
509
510         * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
511         directly, rather than via scabnl.
512
513 2004-02-01  Danny Smith  <dannysmith@users.sourceforge.net>
514
515         * mingwex/math/powl.c (powl): Return infinity if
516         extended precision multiplication of x by log2(y)
517         overflows.
518
519 2004-01-31  Danny Smith  <dannysmith@users.sourceforge.net>
520
521         * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
522         (__enan_NI16): Fix another one.
523         (__enan_NBITS): Tidy.
524
525 2004-01-16  Danny Smith  <dannysmith@users.sourceforge.net>
526
527         * include/stdint.h  Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
528         types. (Thanks to John Maddock for report.)
529
530 2004-01-14  Greg Chicares  <chicares@users.sourceforge.net>
531
532         * include/tchar.h (_puttchar): Define.
533
534 2003-12-13  Danny Smith  <dannysmith@users.sourceforge.net>
535
536         * include/stdio.h:(_fileno): Define macro version after both
537         fileno and _fileno functions declared.
538
539         * include/stdio.h (_rmtmp, rmtmp): Add prototypes.
540         * moldnames.def.in (rmtmp) Add stub.
541
542 2003-11-27  Dimitry Sibiryakov  <aafemt@users.sourceforge.net>
543
544         * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
545
546 2003-10-27  Danny Smith  <dannysmith@users.sourceforge.net>
547
548         * include/math.h: Guard ISO C99 additions with __cplusplus
549         not __GLIBCPP__.
550
551 2003-10-21  Danny Smith  <dannysmith@users.sourceforge.net>
552
553         * include/_mingw.h: Define __attribute__((x)) to nothing
554         if not __GNUC__.
555
556 2003-10-21  Danny Smith  <dannysmith@users.sourceforge.net>
557
558         * include/complex.h: New file.
559         * mingwex/complex: New directory.
560         * mingwex/complex/cabs.c: New file.
561         * mingwex/complex/cacos.c: New file.
562         * mingwex/complex/cacosh.c: New file.
563         * mingwex/complex/casin.c: New file.
564         * mingwex/complex/casinh.c: New file.
565         * mingwex/complex/catan.c: New file.
566         * mingwex/complex/catanh.c: New file.
567         * mingwex/complex/ccos.c: New file.
568         * mingwex/complex/ccosh.c: New file.
569         * mingwex/complex/cexp.c: New file.
570         * mingwex/complex/cimag.c: New file.
571         * mingwex/complex/clog.c: New file.
572         * mingwex/complex/cpow.c: New file.
573         * mingwex/complex/cproj.c: New file.
574         * mingwex/complex/creal.c: New file.
575         * mingwex/complex/csin.c: New file.
576         * mingwex/complex/csinh.c: New file.
577         * mingwex/complex/csqrt.c: New file.
578         * mingwex/complex/ctan.c: New file.
579         * mingwex/complex/ctanh.c: New file.
580         * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
581         files.
582         (dist): Use it.
583         (COMPLEX_OBJS): New list of objects.
584         (LIB_OBJS): Include it in the library.
585
586 2003-10-21  Danny Smith  <dannysmith@users.sourceforge.net>
587
588         * include/math.h (cabs): Remove non-ISO prototype.
589
590 2003-10-21  Danny Smith  <dannysmith@users.sourceforge.net>
591
592         * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
593         Use GCC __builtin's if available.
594         (INFINITY, INFINITYF, INFINITYL): Likewise.
595
596 2003-10-21  Danny Smith  <dannysmith@users.sourceforge.net>
597
598         * mingwex/math/s_erf.c (erf): Set errno to ERANGE if
599         beyond approximation limit.
600         * mingwex/math/sf_erf.c (erff): Likewise.
601
602 2003-10-17  Danny Smith  <dannysmith@users.sourceforge.net>
603
604         * include/stdio.h (getc): Cast result to unsigned char before
605         return.
606         (putc): Likewise
607         (getchar): Likewise.
608         (putchar): Likewise.
609         Thanks to M.Fujii  <boochang@m4.kcn.ne.jp>
610
611 2003-10-10  Earnie Boyd  <earnie@users.sf.net>
612
613         * include/_mingw.h: Increment version to 3.2.
614         * Makefile.in: Ditto.
615
616 2003-10-10  Earnie Boyd  <earnie@users.sourceforge.net>
617
618         * include/sys/types.h: Revert last change.
619
620 2003-10-10  Earnie Boyd  <earnie@users.sourceforge.net>
621
622         * include/sys/types.h (ssize_t): Correct the definition.
623
624 2003-10-03  Danny Smith  <dannysmith@users.sourceforge.net>
625
626         * include/stdio.h (_filbuf): Add prototype.
627         (_flsbuf): Add prototype.
628         (getc): Add inline version.
629         (putc): Likewise.
630         (getchar): Likewise.
631         (putchar): Likewise.
632
633 2003-10-03  Danny Smith  <dannysmith@users.sourceforge.net>
634
635         * mingwex/dirent.c (_treaddir): Reset errno to 0 if end
636         of directory.
637
638 2003-09-29  Danny Smith  <dannysmith@users.sourceforge.net>
639
640         * include/stdlib.h: Guard non-ISO functions with
641         !__STRICT_ANSI__, throughout.
642
643 2003-09-24  Danny Smith  <dannysmith@users.sourceforge.net>
644
645         * include/io.h (_fileno): Remove prototype.
646         (fileno): Likewise.
647         (FILENAME_MAX): Define, if needed.
648         Don't include <stdio.h>.
649         * include/stdio.h (FILENAME_MAX): Protect against
650         prior definition.
651         (_fileno): Define macro implementation.
652         (fileno): Likewise.
653
654 2003-09-24  Danny Smith  <dannysmith@users.sourceforge.net>
655
656         * include/inttypes.h: Include _mingw.h.
657
658 2003-09-24  Danny Smith  <dannysmith@users.sourceforge.net>
659
660         * include/_mingw.h (__CRT_INLINE): Define.
661         * include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
662         throughout
663         * include/inttypes.h: Likewise.
664         * include/math.h: Likewise.
665         * include/stdio.h: Likewise.
666         * include/stdlib.h: Likewise.
667         * include/string.h: Likewise.
668         * include/wchar.h: Likewise.
669         * include/wctype.h: Likewise.
670
671 2003-09-22  Roland Schwingel  <rolandschwingel@users.sourceforge.net>
672
673         * mingwex/dirent.c (_topendir): Allocate enough memory for
674         DIR struct in UNICODE case too.
675
676 2003-09-15  Earnie Boyd  <earnie@users.sf.net>
677
678         * include/_mingw.h: Increment version to 3.2.
679         * Makefile.in: Ditto.
680
681 2003-07-03  Earnie Boyd  <earnie@users.sf.net>
682
683         * config.guess, config.sub: Update with versions from ftp.gnu.org.
684
685 2003-07-03  Danny Smith  <dannysmith@users.sourceforge.net>
686
687         * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint. 
688         * mingwex/math/truncf.c (truncf): Likewise.
689         * mingwex/math/truncl.c (truncl): Likewise.
690         * mingwex/math/modff.c (modff): Likewise.
691         * mingwex/math/modfl.c (modfl): Likewise.
692
693 2003-07-03  Danny Smith  <dannysmith@users.sourceforge.net>
694
695         * include/search.h: New file.
696         * include/stdlib.h: Add comment about qsort, bsearch in
697         search.h.
698         * test_headers.c: Include search.h.
699         * moldname.def.in (lfind, lsearch): Add. 
700
701 2003-07-03  Danny Smith  <dannysmith@users.sourceforge.net>
702
703         * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
704         _execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
705         execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
706
707 2003-07-01  Earnie Boyd  <earnie@users.sf.net>
708
709         * include/_mingw.h (small, hyper): Change to __small and __hyper to
710         avoid user space name conflicts.
711
712 2003-07-01  Earnie Boyd  <earnie@users.sf.net>
713
714         * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
715         Note: Also added to w32api/include/basetyps.h.
716         * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small): 
717         Rename to Small (case difference).
718
719 2003-06-18  Earnie Boyd  <earnie@users.sf.net>
720
721         * include/dirent.h (dirent): Make d_name and array instead of a pointer.
722         * mingwex/dirent.c: Modifications througout to fill d_name array.
723         * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
724         libmsvcr71, including debug versions.
725         (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
726
727 2003-06-17  Danny Smith  <dannysmith@users.sourceforge.net>
728
729         * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
730         __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
731         Mark as DATA.
732         Thanks to: Aaron W  LaFramboise   <AWLaFramboise@aol.com>
733
734 2003-05-30  Sascha Sommer  <saschasommer@freenet.de>
735
736         * include/sys/types.h (_ssize_t, ssize_t):  Add typedefs.
737
738 2003-05-15  Danny Smith  <dannysmith@users.sourceforge.net>
739
740         * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
741         but still protect inline definition with __STRICT_ANSI__.
742
743 2003-05-14  Danny Smith  <dannysmith@users.sourceforge.net>
744
745         * string_old.c: Remove, splitting into...
746         * strcasecmp.c: New file.
747         * strncasecmp.c: New file.
748         * wscmpi.c : New file.
749         * ctype_old.c: Remove, splitting into...
750         * isascii.c: New file.
751         * iscsym.c: New file.
752         * iscsymf.c: New file.
753         * toascii.c: New file.
754         * Makefile.in (MOLD_OBJS): Adjust.
755         (SRCDIST_FILES): Adjust.
756
757 2003-05-13  Danny Smith  <dannysmith@users.sourceforge.net>
758
759         * include/math.h (fabs) : Remove inline definition.
760         (fabsf): Likewise.
761         (fabsl): Likewise. 
762
763 2003-05-06  Earnie Boyd  <earnie@users.sf.net>
764
765         * include/_mingw.h: Change version to 3.0
766         * Makefile.in: Ditto.
767
768 2003-05-06  Earnie Boyd  <earnie@users.sf.net>
769
770         * configure.in (W32API_INCLUDE): Need the -I switch in the value.
771         * mingwex/configure.in (W32API_INCLUDE): Ditto.
772         * profile/configure.in (W32API_INCLUDE): Ditto.
773
774 2003-05-06  Earnie Boyd  <earnie@users.sf.net>
775
776         * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
777         of multiply defined symbols if the symbols is defined locally.  E.G.:
778         A local definition of malloc causes this problem.
779         * configure: Regenerate.
780         * profile/Makefile.in (W32API_INCLUDE): New variable.
781         (ALL_CFLAGS): Use W32API_INCLUDE value.
782         (ALL_CXXFLAGS): Ditto.
783         (gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
784         Thanks to Jeff Bonggren <jbon@users.sf.net>.
785         * profile/configure.in (W32API_INCLUDE): Set default value.
786         * profile/configure: Regenerate.
787         * mingwex/Makefile.in (W32API_INCLUDE): New variable.
788         (ALL_CFLAGS): Use W32API-INCLUDE value.
789         (ALL_CXXFLAGS): Ditto.
790         * mingwex/configure.in (W32API_INCLUDE): Set default value.
791         * mingwex/configure: Regenerate.
792
793 2003-05-05  Earnie Boyd  <earnie@users.sf.net>
794
795         * Makefile.in (W32API_INCLUDE): New variable.
796         (ALL_CFLAGS): Use W32API_INCLUDE value.
797         (ALL_CXXFLAGS): Ditto.
798         * configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
799         (W32API_INCLUDE): Set default value.
800         * configure: Regenerate.
801         
802 2003-04-11  Earnie Boyd  <earnie@users.sf.net>
803
804         * configure.in (LIBM_A): Define for cygwin target.
805         * configure (LIBM_A): Ditto.
806
807 2003-04-07  Danny Smith  <dannysmith@users.sourceforge.net>
808
809         * include/time.h (strftime): Remove duplicate declaration.
810
811 2003-04-01  Danny Smith  <dannysmith@users.sourceforge.net>
812
813         * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
814
815 2003-03-16  Danny Smith  <dannysmith@users.sourceforge.net>
816
817         * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
818         * mingwex/strtoimax.c (strtoimax): Likewise.
819         * mingwex/wcstoimax.c (wcstoimax): Likewise.
820         * mingwex/wtoll.c (wtoll): Remove unnecessary ';'
821         * mingwex/fesentenv.c: Include float.h.
822         * mingwex/math/powl.c: Eliminate type punning/strict aliasing 
823         warning.
824         * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
825         constants.
826         * mingwex/math/tgammal.c: Likewise.
827
828 2003-03-16  Danny Smith  <dannysmith@users.sourceforge.net>
829
830         * include/utime.h: New file, forwarding to sys/utime.h.
831
832 2003-03-16  Danny Smith  <dannysmith@users.sourceforge.net>
833
834         * include/sys/param.h (MAXPATHLEN): Define.
835
836 2003-03-16  Danny Smith  <dannysmith@users.sourceforge.net>
837
838         * include/tchar.h: Ansi-fy a comment.
839
840 2003-03-16  Danny Smith  <dannysmith@users.sourceforge.net>
841
842         * profile/profile.h (mcount): Use __builtin_return_address
843         rather than inline __asm statements.
844         * profile/Makefile.in: Remove special rule for mcount.o
845         Specify dependencies for mcount.o profil.o gmon.o.
846
847 2003-03-10  Danny Smith  <dannysmith@users.sourceforge.net>
848
849         * include/stdlib.h (qsort): Remove const from first parm.
850         Thanks to: Tien-Ren Chen  <trchen@sourceforge.users.net>
851
852 2003-03-03  Christopher Faylor  <cgf@redhat.com>
853
854         * mingwex/getopt.c: Refresh from NetBSD sources.
855
856 2003-03-03  Danny Smith  <dannysmith@users.sourceforge.net>
857
858         * mingwex/getopt.c: New file, copied from cygwin srcs.
859         * include/getopt.h: New file, copied from cygwin srcs.
860         * include/unistd.h: Include getopt.h.
861         * mingwex/Makefile.in (DISTFILES): Add getopt.c.
862         (POSIX_OBJS): Add getopt.o.
863
864 2003-03-02  Danny Smith  <dannysmith@users.sourceforge.net>
865
866         * include/stdio.h (vscanf): Add prototype.
867         (vfscanf): Ditto.
868         (vsscanf): Ditto.
869         (vwscanf): Ditto.
870         (vfwscanf): Ditto.
871         (vswscanf): Ditto.
872         * include/wchar.h (vwscanf): Add prototype.
873         (vfwscanf): Ditto.
874         (vswscanf): Ditto.
875         * mingwex/snprintf.c: Move to mingwex/stdio.
876         * mingwex/vsnprintf.c: Ditto.
877         * mingwex/snwprintf.c: Ditto.
878         * mingwex/vsnwprintf.c: Ditto.
879         * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
880         (STDIO_DISTFILES): Add.
881         (DISTFILES): Adjust.
882         (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
883         (LIB_OBJS): Adjust.
884         (dist): Adjust.
885
886 2003-03-02  Aaron W  LaFramboise   <AWLaFramboise@aol.com>
887
888         * mingwex/stdio: New directory
889         * mingwex/stdio/vfscanf.c: New file.
890         * mingwex/stdio/vfwscanf.c:  New file.
891         * mingwex/stdio/vscanf.c:  New file.
892         * mingwex/stdio/vsscanf.c:  New file.
893         * mingwex/stdio/vswscanf.c:  New file.
894         * mingwex/stdio/vwscanf.c:  New file.
895
896 2003-02-25  Earnie Boyd  <earnie@users.sf.net>
897
898         * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
899         (libmsvcrt40.a): Ditto.
900
901 2003-02-21  Earnie Boyd  <earnie@users.sf.net>
902
903         Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
904         this patch.
905         * Makefile.in (libmsvcrtd.a): Add target library.
906         (libmoldnamed.a): Ditto.
907         (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
908         template to create.
909         ($(srcdir)): Remove explicit reference for depencies of object targets.
910         * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
911         msvcrt20.def, msvcrt40.def: Remove.
912         * msvcrt.def.in: New file (Copy of previous msvcrt.def).
913
914 2003-02-20  Corinna Vinschen  <corinna@vinschen.de>
915
916         * Makefile.in: Make sure libmingwex.a from current build tree is used.
917
918 2003-02-14  Christopher Faylor  <cgf@redhat.com>
919
920         * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
921         ensure -mno-cygwin where appropriate.  Filter out -O2.
922
923 2003-02-13  Danny Smith  <dannysmith@users.sourceforge.net>
924
925         * profile/Makefile.in (mcount.o): Use -O1 optimization
926         switch to compile.
927
928 2003-02-10  Danny Smith  <dannysmith@users.sourceforge.net>
929
930         * include/math.h: Remove _CRTIMP from pow() prototype,
931         unless __NO_ISOCEXT.
932
933 2003-02-10  Danny Smith  <dannysmith@users.sourceforge.net>
934
935         * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
936
937 2003-02-10  Danny Smith  <dannysmith@users.sourceforge.net>
938
939         * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
940         __declspec(dllimport)  supported.
941         (__cdecl): Define if not already defined.
942         (__stdcall): Likewise.
943         * include/dirent.h: Qualify fuctions with __cdecl.
944         * include/fenv.h: Likewise.
945         * include/inttypes.h: Likewise.
946         * include/assert.h: Qualify fuctions with __cdecl. Qualify
947         CRT dll imports with _CRTIMP.
948         * include/conio.h: Likewise.
949         * include/ctype.h: Likewise.
950         * include/direct.h: Likewise.
951         * include/dos.h: Likewise.
952         * include/errno.h: Likewise.
953         * include/float.h: Likewise.
954         * include/io.h: Likewise.
955         * include/locale.h: Likewise.
956         * include/malloc.h: Likewise.
957         * include/math.h: Likewise.
958         * include/mbctype.h: Likewise.
959         * include/mbstring.h: Likewise.
960         * include/process.h: Likewise.
961         * include/setjmp.h: Likewise.
962         * include/signal.h: Likewise.
963         * include/stdio.h: Likewise.
964         * include/stdlib.h: Likewise.
965         * include/string.h: Likewise.
966         * include/time.h: Likewise.
967         * include/wchar.h: Likewise.
968         * include/wctype.h: Likewise.
969         * include/sys/stat.h: Likewise.
970         * include/sys/timeb.h: Likewise.
971         * include/sys/utime.h: Likewise.
972
973         * include/ctype.h: Guard ctype inlines with __NO_INLINE__.
974         * include/wctype.h: Guard wctype inlines with __NO_INLINE__.
975
976         * include/stdio.h (__VALIST): Guard against prior definition.
977
978 2003-02-08  Earnie Boyd  <earnie@users.sf.net>
979
980         * include/_mingw.h: Change version to 3.0
981         * Makefile.in: Ditto.
982
983 2003-02-08  Earnie Boyd  <earnie@users.sf.net>
984
985         * include/stdlib.h: Make words after #endif a comment.
986
987 2003-02-07  Danny Smith  <dannysmith@users.sourceforge.net>
988
989         * include/locale.h: Include stddef.h for definition of NULL.
990
991 2003-01-26  Danny Smith  <dannysmith@users.sourceforge.net>
992
993         * include/math.h (tgamma): Correct typo in comment.
994
995 2003-01-26  Danny Smith  <dannysmith@users.sourceforge.net>
996
997         * mingwex/mingw-fseek.c (INLINE): Remove define.
998         (__mingw_is_win9x): Remove static inline function.
999         (_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
1000
1001 2003-01-11  Danny Smith  <dannysmith@users.sourceforge.net>
1002
1003         * mingwex/math/llround.c: Correct function name and
1004         change return value to long long.
1005
1006 2003-01-07  Danny Smith  <dannysmith@users.sourceforge.net>
1007
1008         * include/ctype.h (__isascii): Don't cast arg to unsigned.
1009         (iswascii): Likewise.  Correct mask.
1010         * include/wctype.h (iswascii): Don't cast arg to unsigned.
1011         Correct mask
1012
1013 2003-01-03  Danny Smith  <dannysmith@users.sourceforge.net>
1014
1015         * include/stdlib.h (_osver, _winver, _winmajor,
1016         _winminor): Declare as direct imports from dll if
1017         __DECLSPEC_SUPPORTED.
1018
1019 2003-01-01  Danny Smith  <dannysmith@users.sourceforge.net>
1020
1021         * pseudo-reloc.c (do_pseudo_reloc): Make static.
1022         * pseudo-reloc-list.c: New file.
1023         * crt1.c (_pei386_runtime_relocator): Declare.
1024         (__mingw_CRTStartup): Call it.
1025         * dllcrt1.c (_pei386_runtime_relocator): Declare.
1026         (DllMainCRTStartup): Call it.
1027         * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to
1028         libmingw32.a.
1029
1030 2003-01-01  Egor Duda  <deo@logos-m.ru>
1031
1032         * pseudo-reloc.c: New file.
1033
1034 2002-12-20  Earnie Boyd  <earnie@users.sf.net>
1035
1036         * include/_mingw.h: Increment version to 2.4.
1037         Makefile.in: Ditto.
1038
1039 2002-12-12  Earnie Boyd  <earnie@users.sf.net>
1040
1041         * include/malloc.h (_alloca): Add definition.
1042         (alloca): Ditto.
1043
1044 2002-12-08  Danny Smith  <dannysmith@users.sourceforge.net>
1045
1046         * mingwex/math/s_erf.c: New file.
1047         * mingwex/math/sf_erf.c: New file.
1048         * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
1049         (MATH_OBJS): Add new objects.
1050         * include/math.h (erf[f]): Add prototypes.
1051         (erfc[f]): Add prototypes.
1052
1053 2002-12-07  Danny Smith  <dannysmith@users.sourceforge.net>
1054
1055         * include/math.h: Add traditional/XOPEN math constants.
1056
1057 2002-11-27  Danny Smith  <dannysmith@users.sourceforge.net>
1058
1059         * mingwex/math/lgamma.c: New file.
1060         * mingwex/math/lgammaf.c: New file.
1061         * mingwex/math/lgammal.c: New file.
1062         * mingwex/math/tgamma.c: New file.
1063         * mingwex/math/tgammaf.c: New file.
1064         * mingwex/math/tgammal.c: New file.
1065         * mingwex/math/cephes_mconf (polevlf): Add float version.
1066         (p1evlf): Likewise.
1067         Define _CEPHES_USE_ERRNO.
1068         * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
1069         (MATH_OBJS): Add new objects.
1070         * include/math.h (lgamma[fl]): Add prototypes.
1071         (tgamma[fl]): Add prototypes.
1072
1073 2002-11-26  Danny Smith  <dannysmith@users.sourceforge.net>
1074
1075         * mingwex/strtold.c: New file.
1076         * mingwex/wcstold.c: New file.
1077         * mingwex/ldtoa.c: New file.
1078         * mingwex/math/cephes_emath.h: New file.
1079         * mingwex/math/cephes_emath.c: New file.
1080         * mingwex/Makefile.in (DISTFILES): Add new files.
1081         (MATH_DISTFILES): Ditto.
1082         (STDLIB_OBJS): New. Define as strtold.c wcstold.c.
1083         (MATH_OBJS): Add cephes_emath.o.
1084         (LIB_OBJS): Add $(STDLIB_OBJS).
1085         * include/stdlib.h (strtold, wcstold): Add prototypes.
1086         * include/wchar.h (wcstold): Add prototype.
1087
1088 2002-11-09  Danny Smith  <dannysmith@users.sourceforge.net>
1089
1090         * include/math.h (sqrt): Remove inline definition.
1091         (sqrtf): Replace inline definition with prototype.
1092         (sqrtl): Likewise.
1093         * mingwex/math/sqrtf.c (sqrtf): Set domain error if
1094         argument less than zero.
1095         * mingwex/math/sqrtf.c (sqrtl): Likewise.
1096
1097 2002-10-30  Guido Serassio  <serassio@libero.it>
1098
1099         * include/stdio.h (_getmaxstdio): Add prototype.
1100          (_setmaxstdio): Likewise.
1101
1102 2002-10-19  Kang Li  <rubylith@users.sourceforge.net>
1103
1104         * include/fcntl.h (O_SEQUENTIAL): Correct typo.
1105
1106 2002-10-19  Danny Smith  <dannysmith@users.sourceforge.net>
1107
1108         * crt1.c: Define new macro __IN_MINGW_RUNTIME before including
1109         stdlib.h.
1110         Define WIN32_MEAN_AND_LEAN before including windows.h
1111         * include/stdlib.h (_fmode): Protect declaration as dllimported
1112         variable with __IN_MINGW_RUNTIME.
1113
1114 2002-10-19  Igor Pechtchanski  <pechtcha@cs.nyu.edu>
1115
1116         * crt1.c: Include stdlib.h.
1117
1118 2002-10-19  Danny Smith  <dannysmith@users.sourceforge.net>
1119
1120         * Makefile.in (CRT0S): Add txtmode.o binmode.o.
1121         (MINGW_OBJS): Add txtmode.o.
1122         (SRCDIST_FILES): Add txtmode.c binmode.c.
1123         crt1.c: Don't include fcntrl.h, stdlib.h.
1124         (_fmode): Declare, without dllimport attribute.
1125         (__p__fmode): Declare access function for dll's _fmode.
1126         (_mingw32_init_fmode): Sync dll _fmode with staticly linked
1127         _fmode for app.
1128         * txtmode.c: New file.
1129         * binmode.c: New file.
1130         * samples/fmode/test2.c: New file.
1131         * samples/fmode/jamfile: Add test2.exe target.
1132
1133 2002-10-11  Danny Smith  <dannysmith@users.sourceforge.net>
1134
1135         * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
1136         macros work with C89.
1137         (INTMAX_C, UINTMAX_C): Likewise.
1138
1139 2002-10-11  Danny Smith  <dannysmith@users.sourceforge.net>
1140
1141         * include/string.h (strcasecmp): Make extern __inline__.
1142         (strncasecmp): Likewise.
1143         (wcscmpi): Likewise.
1144
1145 2002-10-08  Heiko Gerdau  <hg@technosis.de>
1146
1147         * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
1148         _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
1149         mappings.
1150
1151 2002-10-07  Danny Smith  <dannysmith@users.sourceforge.net>
1152
1153         * mingwex/math/powil.c: Rename powil to __powil.
1154         * mingwex/math/powl.c: Adjust declaration and call
1155         to __powil. Remove comment on powil.
1156         * mingwex/math/powi.c: New file.
1157         * mingwex/math/powif.c: New file.
1158         * mingwex/math/pow.c: New file.
1159         * mingwex/math/cephes_mconf.h. Add double and float
1160         versions of constants.
1161         (polevl): Add double precision function.
1162         (p1evl): Likewise.
1163         * mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
1164         powi.c, powif.c.
1165         (MATH_OBJS): Add pow.o, powi.o, powif.o.
1166
1167 2002-10-03  Danny Smith  <dannysmith@users.sourceforge.net>
1168
1169         * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
1170         (_imp____mbcur_max_dll): Likewise.
1171
1172 2002-10-03  Danny Smith  <dannysmith@users.sourceforge.net>
1173
1174         * include/fcntl.h (_fmode): Remove declarations and
1175         compatibility defines.
1176         (_setmode, setmode): Remove prototypes.
1177         * include/stdlib (_fmode): Add declarations and
1178         compatibility defines.  Change type to int.
1179         * include/io.h (_setmode, setmode): Add prototypes.
1180         * samples/fmode/all.c: Adjust includes.
1181         * samples/fmode/test.c: Likewise.
1182         * crt1.c (_CRT_fmode): Declare as int.
1183         * CRTfmode.c (_CRT_fmode): Likewise.
1184
1185         * include/stdlib: Remove comment about MB_CUR_MAX.
1186
1187 2002-10-02  Danny Smith  <dannysmith@users.sourceforge.net>
1188
1189         * include/stdlib.h (_imp____mbcur_max): Add missing ';'.
1190         (_imp____mbcur_max_dll): Likewise.
1191
1192 2002-09-18  Danny Smith  <dannysmith@users.sourceforge.net>
1193
1194         * mingwex/math/files.txt: Remove inadvertantly added file.
1195
1196 2002-09-18  Danny Smith  <dannysmith@users.sourceforge.net>
1197
1198         * include/string.h (_strerror): Move into #ifndef
1199         __STRICT_ANSI__ block.
1200
1201 2002-09-17  Danny Smith  <dannysmith@users.sourceforge.net>
1202
1203         * include/time.h (__need_NULL): Define before including
1204         stddef.h.  Thanks to: Rüdiger Dehmel  <de@lmnet.de>.
1205
1206 2002-09-16  Ranjit Matthew  <rmathew@hotmail.com>
1207
1208         * include/stdio.h: Correct comment about directory separator.
1209
1210 2002-09-12  Danny Smith  <dannysmith@users.sourceforge.net>
1211
1212         * include/sys/time.h (timeval): Add struct definition and
1213         associated macros (copied from w32api/include/winsock.h).
1214
1215 2002-09-05  Earnie Boyd  <earnie@users.sf.net>
1216
1217         * include/_mingw.h: Increment version to 2.3.
1218         Makefile.in: Ditto.
1219
1220 2002-09-05  Earnie Boyd  <earnie@users.sf.net>
1221
1222         * mingwex/fegetenv.c: Change to \n line endings.
1223         * mingwex/vsnprintf.c: Ditto.
1224         * mingwex/vsnwprintf.c: Ditto.
1225
1226 2002-09-02  Danny Smith  <dannysmith@users.sourceforge.net>
1227
1228         * mingwex/math/hypotl.c: Replace with version based on cephes
1229         library.
1230
1231 2002-08-28  Danny Smith  <dannysmith@users.sourceforge.net>
1232
1233         * include/sys/param.h: Add ENDIAN defines.
1234         * test_headers.c: Include sys/param.h.
1235
1236 2002-08-28  Danny Smith  <dannysmith@users.sourceforge.net>
1237
1238         * test_headers.c: Don't include varargs.h.
1239         * Makefile.in (test_headers): Don't use -std=xx
1240         with -xc++.
1241
1242 2002-08-21  Earnie Boyd  <earnie@users.sf.net>
1243
1244         * include/sys/param.h: New File.
1245
1246 2002-08-21  Danny Smith  <dannysmith@users.sourceforge.net>
1247
1248         * include/math.h (asm): Change to __asm__ throughout.
1249         Expose ISO C99 functions if __GLIPCPP__.
1250         (hypotf): Use hypot, not _hypot in stub.
1251
1252 2002-08-20  Danny Smith  <dannysmith@users.sourceforge.net>
1253
1254         * include/tchar.h: Ansi-fy another comment.
1255
1256 2002-08-20  Danny Smith  <dannysmith@users.sourceforge.net>
1257
1258         * include/tchar.h: Ansi-fy comment.
1259
1260 2002-08-20  Danny Smith  <dannysmith@users.sourceforge.net>
1261
1262         * test_headers.c : New file.
1263         * Makefile.in (test_headers): New target, using it,
1264         (SRCDIST_FILES): Distribute it.
1265
1266 2002-08-20  Earnie Boyd  <earnie@users.sf.net>
1267
1268         * include/_mingw.h: Increment version to 2.2.
1269         Makefile.in: Ditto.
1270
1271 2002-08-14  Earnie Boyd  <earnie@users.sf.net>
1272
1273         * include/unistd.h: Add include of process.h.
1274
1275 2002-08-03  Danny Smith  <dannysmith@users.sourceforge.net>
1276
1277         * include/stdio.h (_fcloseall): Add prototype.
1278
1279 2002-07-29  Danny Smith  <dannysmith@users.sourceforge.net>
1280
1281         * include/tchar.h (_tfdopen): Correct typo.
1282
1283 2002-07-29  Danny Smith  <dannysmith@users.sourceforge.net>
1284
1285         * moldname.def.in (chgsign,scalb,finite,fpclass,logb,
1286         nextafter): Add non-underscored stubs.
1287         * moldname-msvcrt.def: Regenerate.
1288         * moldname-crtdll.def: Regenerate.
1289         * mingwex/math: New directory.
1290         * mingwex/rint.c: Move to mingwex/math.
1291         * mingwex/rintf.c: Ditto.
1292         * mingwex/rintl.c: Ditto.
1293         * mingwex/round.c: Ditto.
1294         * mingwex/roundf.c: Ditto.
1295         * mingwex/roundl.c: Ditto.
1296         * mingwex/rint.c: Ditto.
1297         * mingwex/rintf.c: Ditto.
1298         * mingwex/rintl.c: Ditto.
1299         * mingwex/trunc.c: Ditto.
1300         * mingwex/truncf.c: Ditto.
1301         * mingwex/truncl.c: Ditto.
1302         * mingwex/signbit.c: Ditto.
1303         * mingwex/signbitf.c: Ditto.
1304         * mingwex/signbitl.c: Ditto.
1305         * mingwex/copysignl.S: Ditto.
1306         * mingwex/fdim.c: Ditto.
1307         * mingwex/fdimf.c: Ditto.
1308         * mingwex/fdiml.c: Ditto.
1309         * mingwex/fmin.c: Ditto.
1310         * mingwex/fminf.c: Ditto.
1311         * mingwex/fminl.c: Ditto.
1312         * mingwex/fmax.c: Ditto.
1313         * mingwex/fmaxf.c: Ditto.
1314         * mingwex/fmaxl.c: Ditto.
1315         * mingwex/fma.c: Ditto.
1316         * mingwex/fmaf.c: Ditto.
1317         * mingwex/fmal.c: Ditto.
1318         * mingwex/fpclassify.c: Ditto.
1319         * mingwex/fpclassifyl.c: Ditto.
1320         * mingwex/fpclassifyl.c: Ditto.
1321         * mingwex/isnan.c: Ditto.
1322         * mingwex/isnanf.c: Ditto.
1323         * mingwex/isnanl.c: Ditto.
1324         * mingwex/fucom.c: Ditto.
1325         * mingwex/fp_consts.c: Ditto. Split out float and long double
1326         definitions.
1327         * mingwex/math_stubs.c: Remove.
1328         * mingwex/log2.c: Remove. Replaced by math/log2.S
1329         * mingwex/log2f.c: Remove.  Replaced by math/log2f.S
1330         * mingwex/log2l.c: Remove.  Replaced by math/log2l.S
1331         * mingwex/math/acosf.c : New file.
1332         * mingwex/math/acosl.c: New file.
1333         * mingwex/math/asinf.c: New file.
1334         * mingwex/math/asinl.c: New file.
1335         * mingwex/math/atan2f.c: New file.
1336         * mingwex/math/atan2l.c: New file.
1337         * mingwex/math/atanf.c: New file.
1338         * mingwex/math/atanl.c: New file.
1339         * mingwex/math/cbrt.c: New file.
1340         * mingwex/math/cbrtf.c: New file.
1341         * mingwex/math/cbrtl.c: New file.
1342         * mingwex/math/ceilf.S: New file.
1343         * mingwex/math/ceill.S: New file.
1344         * mingwex/math/cephes_ld.h: New file.
1345         * mingwex/math/copysign.S: New file.
1346         * mingwex/math/copysignf.S: New file.
1347         * mingwex/math/cosf.S: New file.
1348         * mingwex/math/coshf.c: New file.
1349         * mingwex/math/coshl.c: New file.
1350         * mingwex/math/cosl.S: New file.
1351         * mingwex/math/exp2.S: New file.
1352         * mingwex/math/exp2f.S: New file.
1353         * mingwex/math/exp2l.S: New file.
1354         * mingwex/math/expf.c: New file.
1355         * mingwex/math/expl.c: New file.
1356         * mingwex/math/fabs.c: New file.
1357         * mingwex/math/fabsf.c: New file.
1358         * mingwex/math/fabsl.c: New file.
1359         * mingwex/math/floorf.S: New file.
1360         * mingwex/math/floorl.S: New file.
1361         * mingwex/math/fmodf.c: New file.
1362         * mingwex/math/fmodl.c: New file.
1363         * mingwex/math/fp_consts.h: Ditto.
1364         * mingwex/math/fp_constsf.c: Ditto.
1365         * mingwex/math/fp_constsl.c: Ditto.
1366         * mingwex/math/frexpf.c: New file.
1367         * mingwex/math/frexpl.S: New file.
1368         * mingwex/math/hypotf.c: New file.
1369         * mingwex/math/hypotl.c: New file.
1370         * mingwex/math/ilogb.S: New file.
1371         * mingwex/math/ilogbf.S: New file.
1372         * mingwex/math/ilogbl.S: New file.
1373         * mingwex/math/ldexpf.c: New file.
1374         * mingwex/math/ldexpl.c: New file.
1375         * mingwex/math/llrint.c: New file.
1376         * mingwex/math/llrintf.c: New file.
1377         * mingwex/math/llrintl.c: New file.
1378         * mingwex/math/llround.c: New file.
1379         * mingwex/math/llroundf.c: New file.
1380         * mingwex/math/llroundl.c: New file.
1381         * mingwex/math/log10f.S: New file.
1382         * mingwex/math/log10l.S: New file.
1383         * mingwex/math/log1p.S: New file.
1384         * mingwex/math/log1pf.S: New file.
1385         * mingwex/math/log1pl.S: New file.
1386         * mingwex/math/log2.S: New file.
1387         * mingwex/math/log2f.S: New file.
1388         * mingwex/math/log2l.S: New file.
1389         * mingwex/math/logb.c: New file.
1390         * mingwex/math/logbf.c: New file.
1391         * mingwex/math/logbl.c: New file.
1392         * mingwex/math/logf.S: New file.
1393         * mingwex/math/logl.S: New file.
1394         * mingwex/math/lrint.c: New file.
1395         * mingwex/math/lrintf.c: New file.
1396         * mingwex/math/lrintl.c: New file.
1397         * mingwex/math/lround.c: New file.
1398         * mingwex/math/lroundf.c: New file.
1399         * mingwex/math/lroundl.c: New file.
1400         * mingwex/math/modff.c: New file.
1401         * mingwex/math/modfl.c: New file.
1402         * mingwex/math/nearbyint.S: New file.
1403         * mingwex/math/nearbyintf.S: New file.
1404         * mingwex/math/nearbyintl.S: New file.
1405         * mingwex/math/nextafterf.c: New file.
1406         * mingwex/math/powf.c: New file.
1407         * mingwex/math/powl.c: New file.
1408         * mingwex/math/powil.c: New file.
1409         * mingwex/math/remainder.S: New file.
1410         * mingwex/math/remainderf.S: New file.
1411         * mingwex/math/remainderl.S: New file.
1412         * mingwex/math/remquo.S: New file.
1413         * mingwex/math/remquof.S: New file.
1414         * mingwex/math/remquol.S: New file.
1415         * mingwex/math/scalbn.S: New file.
1416         * mingwex/math/scalbnf.S: New file.
1417         * mingwex/math/scalbnl.S: New file.
1418         * mingwex/math/sinf.S: New file.
1419         * mingwex/math/sinhf.c: New file.
1420         * mingwex/math/sinhl.c: New file.
1421         * mingwex/math/sinl.S: New file.
1422         * mingwex/math/sqrt.c: New file.
1423         * mingwex/math/sqrtf.c: New file.
1424         * mingwex/math/sqrtl.c: New file.
1425         * mingwex/math/tanf.S: New file.
1426         * mingwex/math/tanhf.c: New file.
1427         * mingwex/math/tanhl.c: New file.
1428         * mingwex/math/tanl.S: New file.
1429         * mingwex/Makefile.in: Adjust VPATH for source files in
1430         mingwex/math.
1431         Adjust MATH_OBJS.
1432         Add MATH_DISTFILES and use it to build source distro.
1433         * include/ math.h: Add protypes for new functions and
1434         reorganise to reflect ANSI,C99 status.
1435
1436 2002-06-19  Danny Smith  <dannysmith@users.sourceforge.net>
1437
1438         * include/tchar.h (_getts): Define as _getws for _UNICODE.
1439         (_putts): Define as _putws for _UNICODE.
1440         Thanks to: Tomasz Pona  <cochisek@poczta.onet.pl>  for report.
1441
1442 2002-06-18  Danny Smith  <dannysmith@users.sourceforge.net>
1443
1444         * include/float.h: #include_next<float.h> before header guard.
1445
1446 2002-06-18  Casper S. Hornstrup  <chorns@users.sourceforge.net>
1447
1448         * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
1449         defining.
1450         * include/excpt.h (): Include windef.h not windows.h.
1451         * include/fcntl.h (_O_SHORT_LIVED): Add define.
1452         (_chmod): Add prototype.
1453         (_creat): Correct prototype.
1454         (SH_DENY*): Rename defines to _SH_DENY*.
1455         (SH_DENY*): Add Non-ANSI names for _SH_DENY*.
1456         include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
1457         _IOAPPEND): Add defines.
1458         (_wfindfirst): Correct prototype.
1459         (_wfdopen): Add prototype.
1460         * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
1461         prototypes.
1462         * include/string.h (_mbschr, _mbstok, _mbsncat): Remove
1463          prototypes.
1464         (_wcsdup): Correct prototype.
1465         * include/mbstring.h: Remove comments about _mbschr, _mbstok,
1466          _mbsncat being in string.h.
1467         * include/wchar.h (_wfindfirst): Correct prototype.
1468         * include/tchar.h (_tfdopen): Add _UNICODE mappings.
1469
1470 2002-06-15  Earnie Boyd  <earnie@users.sf.net>
1471
1472         * include/_mingw.h: Increment to version 2.1.
1473         * Makefile.in: Ditto.
1474
1475 2002-06-15  Earnie Boyd  <earnie@users.sf.net>
1476
1477         * Makefile.in (conf_prefix): New variable.
1478         (dist_prefix): Ditto. Conditionally set to $(conf_prefix).
1479         (bindist): Use dist_prefix.
1480
1481 2002-06-13  Danny Smith  <dannysmith@users.sourceforge.net>
1482
1483         * include/_mingw.h: Increment version to 2.0.
1484         * Makefile.in: Ditto.
1485
1486         Merge in mingwex branch.
1487
1488         2002-06-11  Danny Smith  <dannysmith@users.sourceforge.net>
1489         * include/math.h (fdim, fdimf, fdiml): Add prototypes.
1490         * mingwex/fdim.c: New file.
1491         * mingwex/fdimf.c: New file.
1492         * mingwex/fdiml.c: New file.
1493         * mingwex/Makefile.in (DISTFILES): Add fdim.c, fdimf.c,
1494         fdiml.c.
1495         (MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
1496
1497         2002-05-23  Danny Smith  <dannysmith@users.sourceforge.net>
1498         * mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c.
1499
1500         2002-05-22  Danny Smith  <dannysmith@users.sourceforge.net>
1501         * mingwex/isnanl.c: New file.
1502
1503         2002-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
1504         * include/stdint.h: Include stddef.h to get
1505         wchar_t and wint_t.
1506         (WINT_MAX): Define to ((wint_t)-1).
1507
1508         2002-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
1509         * include/wctype.h: Replace 'inline' with '__inline__'.
1510         * include/inttypes.h: Likewise.
1511
1512         2002-05-16  Danny Smith  <dannysmith@users.sourceforge.net>
1513         * include/_mingw.h (__MINGW_IMPORT): Put extern at start 
1514         to avoid warnings.  Thanks to: Oscar Fuentes  <ofv@wanadoo.es>.
1515
1516         2002-05-16  Danny Smith  <dannysmith@users.sourceforge.net>
1517         * mingwex/snprintf.c: Split out vsnprintf to....
1518         * mingwex/vsnprintf.c: New file.
1519         * mingwex/snwprintf.c: Split out vsnwprintf to...
1520         * mingwex/vsnwprintf.c: New file.
1521         * mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
1522
1523         2002-05-15  Pascal Obry  <obry@gnat.com>
1524         * include/dirent.h (DIR): Change dd_stat type to int.
1525         (_WDIR): Likewise.
1526
1527         2002-05-07  Danny Smith  <dannysmith@users.sourceforge.net>
1528         * include/stdio.h (vsnprintf): Change inline to __inline__;
1529         (vsnwprintf): Likewise.
1530         * include/wchar.h (vsnwprintf): Likewise.
1531         (wcstof): Likewise.
1532         (fwide): Likewise.
1533         (mbsinit): Likewise.
1534
1535         2002-04-29  Danny Smith  <dannysmith@users.sourceforge.net>
1536         Change FP default precison from 53 to 64-bit mantissa.
1537         * Makefile.in (CRT0S): Add CRT_fp8.o.
1538         (MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o.
1539         * include/float.h: Replace standard float.h defines with
1540         #include_next<float.h> to use GCC's defines. Adjust comments
1541         to reflect change.      
1542
1543         2002-04-26  Danny Smith  <dannysmith@users.sourceforge.net>
1544         * include/dos.h: Change  prefix "__imp_"  to "_imp__" for
1545         __GNUC__ without __DECLSPEC_SUPPORTED.
1546         * include/fnctl.h: Likewise.
1547         * include/math.h: Likewise.
1548         * include/stdio.h: Likewise.
1549         * include/stdlib.h: Likewise.
1550         * include/time.h: Likewise.
1551         * include/wctype.h: Likewise.
1552         * include/ctype.h: Likewise.
1553
1554         2002-04-26  Danny Smith  <dannysmith@users.sourceforge.net>
1555         Add atexit support for dlls.
1556         * crt1.c (atexit): Force thunk to _imp__atexit.
1557         (_onexit): Force thunk to _imp___onexit.
1558         * dllcrt1.c (DllMainCRTStartup): Initialise private atexit
1559         table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
1560         (__dll_exit): New function to run atexit-registered functions
1561          and flush output buffers on DLL_PROCESS_DETACH or failed
1562         DLL_PROCESS_ATTACH. 
1563         (atexit): Force use of private atexit table via _dllonexit,
1564         (_onexit): New function. Force use of private atexit table via
1565         _dllonexit,
1566         * msvcrt.def (atexit, _onexit): Add DATA keyword so that only
1567         _imp_<_symbol> is visible in import lib.
1568         * msvcrt20.def: Likewise.
1569         * msvcrt40.def: Likewise.
1570         * crtdll.def: Likewise.
1571
1572         2002-04-26  Danny Smith  <dannysmith@users.sourceforge.net>
1573         * include/fenv.h: Change header guard macro to _FENV_H_.
1574         (fenv_t, fexcept_t): Move into block protected by
1575         #ifndef RC_INVOKED.
1576         Cleanup some whitespace.
1577         * include/inttypes.h: Change header guard macro to
1578         _INTTYPES_H_.
1579
1580         2002-04-26  Danny Smith  <dannysmith@users.sourceforge.net>
1581         * include/math.h (copysignl): Declare.
1582         * mingwex/Makefile.in (DISTFILES): Add copysignl.S.
1583         (MATHOBJS):Add copysignl.o.
1584
1585         2002-04-24  Danny Smith  <dannysmith@users.sourceforge.net>
1586         * include/math.h (__signbitl, __isnanl): Declare.
1587
1588         2002-04-24  Danny Smith  <dannysmith@users.sourceforge.net>
1589         * include/math.h (nanl, __fpcassifyl, fminl, fmaxl, rintl,
1590         roundl, truncl, fmal, log2l): Declare.
1591         Protect C99 declarations with _STDC_VERSION__ >= 199901L)
1592         || !defined  __STRICT_ANSI__.
1593         * mingwex/fmax.c (fmax): Call __isnan, not _isnan.
1594         * mingwex/fmin.c (fmin): Likewise.
1595         * mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan.
1596         * mingwex/fminf.c (fminf): Likewise.
1597         * mingwex/fmaxl.c: New file.
1598         * mingwex/fminl.c: New file.
1599         * mingwex/fpclassify.c (__fpclassifyf): Split out to ...
1600         * mingwex/fpclassifyf.c: New file. 
1601         * mingwex/fpclassifyl.c: New file. 
1602         * mingwex/rint.c (rintf): Split out to...
1603         * mingwex/rintf.c: New file.
1604         * mingwex/rintl.c: New file.
1605         * mingwex/round.c (roundf): Split out to...
1606         * mingwex/roundf.c: New file.
1607         * mingwex/roundl.c: New file.
1608         * mingwex/trunc.c (truncf): Split out to...
1609         * mingwex/truncf.c: New file.
1610         * mingwex/truncl.c: New file.
1611         * mingwex/signbit.c (signbitf): Split out to...
1612         * mingwex/signbitf.c: New file.
1613         * mingwex/signbitl.c: New file.
1614         * mingwex/fmal.c: New file.
1615         * mingwex/copysignl.S: New file.
1616         * mingwex/log2l.c: New file.
1617         * mingwex/fp_consts.c: Add nanl definition.
1618         Comment out unused constants.
1619         * mingwex/Makefile.in (DISTFILES): Add fmaxl.c, fminl.c,
1620         fpclassifyf.c, fpclassifyl.c, rintf.c, rintl.c, roundf.c,
1621         roundl.c, truncf.c truncl.c, signbitf.c signbitl.c,
1622         fmal.c, log2l.c
1623         (MATHOBJS): Add fmaxl.o, fminl.o, fpclassifyf.o,
1624         fpclassifyl.o, rintf.o, rintl.o, roundf.o, roundl.o,
1625         truncf.o truncl.o, signbitf.o signbitl.o, fmal.o,
1626         log2l.o.
1627         * mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo.
1628         
1629         2002-04-23  Danny Smith  <dannysmith@users.sourceforge.net>
1630         Make wide char versions of opendir and friends.
1631         * include/dirent.h (_wdirent, _WDIR): Define wide versions of
1632         struct dirent, DIR.
1633         (_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
1634         _wseekdir): Add prototypes for wide versions of corresponding
1635         standard functions.
1636         * include/tchar.h; Add _UNICODE mappings for dirent.h
1637         structures and functions.
1638         * mingwex/dirent.c: Make _UNICODE neutral.
1639         * mingwex/wdirent.c: New file to define _UNICODE before
1640         including dirent.c.  
1641         * mingwex/Makefile.in (DISTFILES): Add wdirent.c.
1642         (POSIX_OBJS): Add wdirent.o.
1643         (wdirent.o): Specify dependency on dirent.c as well as
1644         wdirent.c.
1645         * samples/dirent/wtest.c: New file, wide version of test.c.
1646
1647         2002-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
1648         * Makefile.in (INCLUDES): Add "-iwithprefixbefore include" to
1649         ensure gcc include dir is searched despite -nostdinc.
1650         * profile/Makefile.in (INCLUDES): Likewise.
1651         * mingwex/Makefile.in (INCLUDES): Likewise.
1652         * include/stdarg.h: Replace with stub that just guards the
1653         real gcc system header with #ifndef RC_INVOKED
1654         * include/varargs.h: Likewise.
1655         * include/stddef.h: Likewise.
1656         * include/stdio.h: Include stdarg.h after defining
1657          __need___va_list.
1658         (__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
1659         Replace va_list with __VALIST throughout.
1660
1661         2002-04-17  Danny Smith  <dannysmith@users.sourceforge.net>
1662         * crt1.c: Revert changes of 2002-04-16. Use _fpreset again.
1663         * msvcrt.def (_fpreset): Mark as DATA so that only
1664         _imp___fpreset is exported.
1665         * msvcrt20.def (_fpreset): Likewise.
1666         * msvcrt40.def (_fpreset): Likewise.
1667         * crtdll.def (_fpreset): Likewise.
1668         * CRT_fp10.c (_fpreset): Overide library _fpreset with one
1669         that calls fninit.
1670         (fpreset): Add alias.
1671         (__CRT_PC): Delete definition. _fpreset does it now.
1672         *  CRT_fp8.c (_fpreset): Force use of library _imp___fpreset.
1673         (fpreset): Add alias.
1674         (__CRT_PC): Delete definition.
1675         * moldname.def.in: Comment out fpreset.
1676         * moldname-msvcrt.def: Regenerate.
1677         * moldname-crtdll.def: Regenerate.
1678         * include/fenv.h (FE_DFL_ENV): Define as (fenv_t*)0.
1679         * mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment
1680         with the _fpreset determined by startup CRT_fp object.
1681
1682         2002-04-16  Danny Smith  <dannysmith@users.sourceforge.net>
1683         * CRT_fp8.c: New file.
1684         * CRT_fp10.c: New file.
1685         * crt1.c (__CRT_PC) Declare.
1686         (__CRT_fesetenv): New static function, using _CRT_PC.
1687         (__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset.
1688         (_gnu_exception_handler): Likewise.
1689         * Makefile.in (CRT0S): Add CRT_fp10.o.
1690         (MINGW_OBJS): Add  CRT_fp8.o.
1691         (SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c.
1692         Add CRT_fp8.o, CRT_fp10.o dependancies.
1693         * include/float.h (_fpreset): Expand comment.
1694         * include/fenv.h (FE_PC64_ENV): New define for Intel x87
1695         (extended precison) environmemt.
1696         (FE_PC53_ENV): New define for MSVCRT default environmemt.
1697         (FE_DFL_ENV): Define as FE_PC53_ENV.
1698         * mingwex/fesetenv.c: Use FE_PC53_ENV, FE_PC64_ENV to determine
1699         precision control for default environment.
1700
1701         * include/math.h: Fix long comment line.
1702         * profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
1703         for mingw.
1704         * profile/configure: Regenerate.
1705
1706         2002-04-12  Danny Smith  <dannysmith@users.sourceforge.net>
1707         * mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c.
1708
1709         2002-04-10  Danny Smith  <dannysmith@users.sourceforge.net>
1710         * mingwex/mingw-fseek.c: New file, based on Mumit Khan
1711         mingw-local patch to binutils.
1712         Sun Nov  7 04:27:07 1999  Mumit Khan  <khan@xraylith.wisc.edu>
1713         (__mingw_fseek): New function to work around Win9x f/lseek bug.
1714         (__mingw_fwrite): Likewise.
1715         (__mingw_is_win9x): New helper function.
1716         * include/stdio.h (__USE_MINGW_FSEEK): New define,guarding...
1717         (__mingw_fseek): New prototype and define to replace fseek.
1718         (__mingw_fwrite): New prototype and define to replace fwrite.
1719         * mingwex/Makefile.in: Add mingw-fseek.o to libmingwex.a.
1720         * moldname-crtdll.def: Remove CR from end of line.
1721         * moldname-msvcrt.def: Ditto.
1722
1723         2002-04-09  Danny Smith  <dannysmith@users.sourceforge.net>
1724         * profile/configure.in (CRT0S): Configure name of gcrt?.o
1725         based on target, building gcrt0.o for cygwin -mno-cygwin.
1726         * profile/configure: Regenerate.
1727         * profile/Makefile.in (CRT0S): Use name from configure.
1728         (gcrt0.o): New rule.   
1729         (ALL_CRT0S): New define, used to cleanup all gcrt?.o's.
1730
1731         2002-04-04  Danny Smith  <dannysmith@users.sourceforge.net>
1732         * include/math.h (_controlfp, _control87, _clearfp, _statusfp, _fpreset,
1733         _fpecode): Remove prototypes copied from float.h.
1734         (nan, nanf): Move into block protected against RC_INVOKED
1735         and __cplusplus.
1736         * include/stdlib.h (_Exit): Change from static inline to
1737         extern inline.
1738         * mingwex/_Exit.c : New file.
1739         * mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
1740
1741         2002-04-04  Danny Smith  <dannysmith@users.sourceforge.net>
1742         Add libgmon.a and libmingwex.a for cygwin -mno-cygwin.
1743         * configure.in (SUBDIRS): Add  profile and mingwex to cygwin target.
1744         (configdirs): Likewise.
1745         (LIBGMON_A): Define for cygwin target as well.
1746         * configure: Regenerate.
1747         * profile/configure.in (THREAD_DLL): Remove define.
1748         (LIBM_A): Remove define.
1749         (LIBGMON_A): Define for cygwin target as well.
1750         * profile/configure: Regenerate.
1751         * profile/makefile.in (install): Install to inst_libdir and
1752         inst_includedir.
1753         * mingwex/makefile.in (CFLAGS): Move -fomit-frame-pointer to...
1754         (OPTFLAGS): New define.
1755         (ALL_CFLAGS): Add $(OPTFLAGS).
1756         (ALL_CXXFLAGS): Same.
1757         (.c.o:): Remove ALL_CXXFLAGS. 
1758
1759         2002-03-29  Danny Smith  <dannysmith@users.sourceforge.net>
1760         * include/stdint.h: Add missing newline at eof. 
1761         * include/stdio.h (snprintf): Add prototype.
1762         (vsnprintf): Add prototype and inline definition.
1763         (snwprintf): Add prototype.
1764         (vsnwprintf): Add prototype and inline definition.
1765         * include/wchar.h (snwprintf): Add prototype.
1766         (vsnwprintf): Add prototype and inline definition.
1767         * mingwex/Makefile.in: Add snprintf.o, snwprintf.o
1768         to libmingwex.a.
1769         * mingwex/snprintf.c: New file.
1770         * mingwex/snwprintf.c: New file.
1771
1772         2002-03-22  Danny Smith   <dannysmith@users.sourceforge.net>
1773         * configure.in: Add mingwex as SUBDIRS and configdirs.
1774         * configure: Regenerate.
1775         * Makefile.in (MINGW_OBJS): Remove dirent.o.
1776         (SRC_DIST_FILES): Remove dirent.c.
1777         * dirent.c: Remove.
1778         * include/stdlib.h (_Exit): Add static inline
1779         function.
1780         (struct lldiv_t): Define.
1781         (lldiv): Add prototype.
1782         (llabs): Add extern inline function.
1783         (strtoll,strtoull): Add prototypes.
1784         (wcstol, wcstoul, wcstod): Group together.
1785         (strtof, wcstof): Add extern inline definitions.
1786         (atoll,lltoa,ulltoa, wtoll, lltow ulltow): Add prototypes
1787         and extern inline definitions.
1788         * include/wchar.h (fwide, wcstoll,wcstoull, wmemchr
1789         wmemcmp, wmemcpy, wmemmove, wmemset. mbsinit): Add
1790         prototypes.
1791         (wcstol, wcstoul,wcstod): Copy prototypes from stdlib.h.
1792         (wcstof): Add extern inline definition.
1793         * include/math.h (nan, nanf): Add prototypes.
1794         (NAN, INFINITE): Define constants.
1795         (fpclassify, isnan ,signbit): Add macros and supporting float
1796         and double functions.
1797         (isfinite, isinf, isnormal): Add macros.
1798         (isgreater, isless, isgreaterequal, islessequal,islessgreater):
1799         Add macros.
1800         (rint, rintf, round, roundf, trunc. truncf, fmax, fmaxf,
1801         fmin, fminf, fma, fmaf, log2, log2f): Add prototypes.
1802         (copysign, logb, nextafter, scalb): Add prototypes and
1803         inline stubs for underscored versions in msvcrt.dll.    
1804         * include/inttypes.h: New file.
1805         * include/fenv.h: New file
1806
1807         Add new mingwex subdir and files.
1808         * mingwex: New directory.
1809         * mingwex/Makefile.in: New file.
1810         * mingwex/configure.in: New file.
1811         * mingwex/configure: Generate.
1812         * mingwex/dirent.c: Moved here from parent dir.
1813         * mingwex/atoll.c: New file.
1814         * mingwex/feclearexcept.c: New file.
1815         * mingwex/fegetenv.c: New file.
1816         * mingwex/fegetexceptflag.c: New file.
1817         * mingwex/fegetround.c: New file.
1818         * mingwex/feholdexcept.c: New file.
1819         * mingwex/feraiseexcept.c: New file.
1820         * mingwex/fesetenv.c: New file.
1821         * mingwex/fesetexceptflag.c: New file.
1822         * mingwex/fesetround.o: New file.
1823         * mingwex/fetestexcept.c: New file.
1824         * mingwex/feupdateenv.c: New file.
1825         * mingwex/fma.S: New file.
1826         * mingwex/fmaf.S: New file.
1827         * mingwex/fmax.c: New file.
1828         * mingwex/fmaxf.c: New file.
1829         * mingwex/fmin.c: New file.
1830         * mingwex/fminf.c: New file.
1831         * mingwex/fp_consts.c: New file.
1832         * mingwex/fpclassify.c: New file.
1833         * mingwex/fucom.c: New file.
1834         * mingwex/fwide.c: New file.
1835         * mingwex/imaxabs.c: New file.
1836         * mingwex/imaxdiv.c: New file.
1837         * mingwex/isnan.c: New file.
1838         * mingwex/isnanf.c: New file.
1839         * mingwex/lltoa.c: New file.
1840         * mingwex/lltow.c: New file.
1841         * mingwex/log2.c: New file.
1842         * mingwex/log2f.c: New file.
1843         * mingwex/math_stubs.c: New file.
1844         * mingwex/mbsinit.c: New file.
1845         * mingwex/rint.c: New file.
1846         * mingwex/round.c: New file.
1847         * mingwex/signbit.c: New file.
1848         * mingwex/sitest.c: New file.
1849         * mingwex/strtof.c: New file.
1850         * mingwex/strtoimax.c: New file.
1851         * mingwex/strtoumax.c: New file.
1852         * mingwex/testwmem.c: New file.
1853         * mingwex/trunc.c: New file.
1854         * mingwex/ulltoa.c: New file.
1855         * mingwex/ulltow.c: New file.
1856         * mingwex/wcstof.c: New file.
1857         * mingwex/wcstoimax.c: New file.
1858         * mingwex/wcstoumax.c: New file.
1859         * mingwex/wmemchr.c: New file.
1860         * mingwex/wmemcmp.c: New file.
1861         * mingwex/wmemcpy.c: New file.
1862         * mingwex/wmemmove.c: New file.
1863         * mingwex/wmemset.c: New file.
1864         * mingwex/wtoll.c: New file.
1865
1866 2002-04-20  Danny Smith  <dannysmith@users.sourceforge.net>
1867
1868         * include/mbstring.h: New file.
1869         * include/mbctype.h: New file.
1870
1871 2002-04-20  Danny Smith  <dannysmith@users.sourceforge.net>
1872
1873         * include/tchar.h (__TEXT): Make same as define in
1874         w32api/include/winnt.h.
1875
1876 2002-04-20  Danny Smith  <dannysmith@users.sourceforge.net>
1877
1878         * include/tchar.h (_tputenv): Add UNICODE mappings.
1879         (_tsearchenv): Likewise.
1880         (_tmakepath): Likewise.
1881         (_tsplitpath): Likewise.
1882         (_tfullpath): Likewise.
1883
1884 2002-04-18  Pascal Obry  <obry@gnat.com>
1885
1886         * dirent.c (opendir): Convert given pathname to
1887         absolute pathname.
1888
1889 2002-04-09  Earnie Boyd  <earnie@users.sf.net>
1890
1891         * include/_mingw.h: Increment version.
1892         * Makefile.in: Ditto.
1893
1894 2002-04-09  Earnie Boyd  <earnie@users.sf.net>
1895
1896         * moldname-crtdll.def: Remove CR from end of line.
1897         * moldname-msvcrt.def: Ditto.
1898         * Makefile.in: Use bzip2 compression for Cygwin target.
1899
1900 2002-04-04  Danny Smith  <dannysmith@sourceforge.users.net>
1901
1902         * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
1903         TLOSS, PLOSS): Move oldname defines back, following
1904         the underscored names.
1905
1906 2002-03-29  Danny Smith  <dannysmith@sourceforge.users.net>
1907
1908         * include/stdio.h (_snwprintf): Correct spelling.
1909         (_vsnwprintf): Likewise.
1910         * include/wchar.h (_snwprintf): Correct spelling.
1911         (_vsnwprintf): Likewise.
1912
1913 2002-03-26  Danny Smith  <dannysmith@users.sourceforge.net>
1914
1915         * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__).
1916         (wpopen): Add if !(__CRTDLL__).
1917         * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
1918         preserve comments.
1919         (moldname-crtdll.def rule): Likewise.
1920         * moldname-msvcrt.def: Regenerate.
1921         * moldname-crtdll.def: Regenerate.
1922         * include/stdio.h (wpopen):Use prototype, not a define.
1923         (_swnprintf): Add prototype.
1924         (_vswnprintf): Likewise.
1925         Tidy up whitespace.
1926         * include/wchar.h (_swnprintf): Add prototype.
1927         (_vswnprintf): Likewise.
1928         Tidy up whitespace.
1929
1930 2002-01-28  Danny Smith  <dannysmith@users.sourceforge.net>
1931
1932         * include/malloc.h (_heapinfo): Correct structure definition.
1933         (_USEDENTRY,_FREEENTRY): Add defines.
1934         Add comment on platform support for _heap* functions.
1935         (_get_sbh_threshold): Add prototype.
1936         (_set_sbh_threshold): Likewise.
1937         (_expand): Likewise.
1938
1939 2002-01-25  Danny Smith  <dannysmith@users.sourceforge.net>
1940
1941         * profile/profil.c: Update copyright info.
1942         * profile/profil.h: Likewise.
1943         * profile/gcrt0.c: Likewise.
1944
1945 2002-01-25  Pascal Obry  <obry@gnat.com>
1946
1947         * profile/profil.h (PROFADDR): Cast idx to unsigned long long to
1948         avoid overflow.
1949         * profile/gmon.c: Define bzero as memset if mingw32.
1950         (monstartup): Use it.
1951
1952 2002-01-25  Danny Smith  <dannysmith@users.sourceforge.net> 
1953
1954         * include/tchar.h (_TCHAR): Add missing ;.
1955
1956 2002-01-25  Danny Smith  <dannysmith@users.sourceforge.net> 
1957
1958         * include/tchar.h (_TCHAR): Add typedefs.
1959
1960 2002-01-16  Danny Smith  <dannysmith@users.sourceforge.net>
1961
1962         * include/stdlib.h (_onexit_t): Add typedef.
1963         (_onexit): Add prototype.
1964
1965 2002-01-12  Danny Smith  <dannysmith@users.sourceforge.net>
1966
1967         * msvcrt.def: Revert accidental change.
1968         * include/stdlib.h: Ditto. 
1969
1970 2001-12-07  Earnie Boyd  <earnie@users.sf.net>
1971
1972         * Makefile.in: Increment VERSION.
1973         * include/_mingw.h: Ditto.
1974
1975 2001-12-05  Earnie Boyd  <earnie@users.sf.net>
1976
1977         * include/strings.h: New File.
1978
1979 2001-12-02  Danny Smith  <dannysmith@users.sourceforge.net> 
1980
1981         Apply patches from:
1982         2001-06-21  Mumit Khan  <khan@nanotech.wisc.edu>
1983
1984         * include/math.h (_FPCLASS* ): Add defines from float.h.
1985         (IEEE recommended functions): Add declarations from float.h.
1986         * include/float.h (_FPCLASS* ): Protect against redefinition.
1987
1988 2001-11-29   Wu Yongwei  <adah@netstd.com>
1989  
1990         * include/_mingw.h,assert.h,conio.h,ctype.h,dir.h,direct.h
1991         dirent.h,dos.h,errno.h,excpt.h,fcntl.h,float.h,io.h,
1992         limits.h,locale.h,malloc.h,math.h,process.h,setjmp.h,
1993         share.h,signal.h,stdarg.h,stddef.h,stdint.h,stdio.h,
1994         stdlib.h,string.h,tchar.h,time.h,varargs.h,wchar.h,
1995         wctype.h,sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h:
1996         Correct spelling of "disclaimed" in comments.
1997         * include/excpt.h: Another spelling correction. 
1998
1999 2001-11-08  Robert Collins  <rbtcollins@hotmail.com>
2000
2001         * include/errno.h: Fix "errno is not a prototype" warning.
2002
2003 2001-11-07  Danny Smith  <dannysmith@users.sourceforge.net> 
2004
2005         * include/ctype.h (tolower, toupper,_tolower,_toupper): Comment 
2006         differences between ANSI and non-ANSI versions. 
2007         (_ctype[],_pctype): Declare vars. 
2008         (__ISCTYPE): New helper macro using _pctype. 
2009         (is* ctype functions): Use __ISCTYPE to define inline versions. 
2010         (_toupper, _tolower, __isascii, __toascii, __iscsym, __iscsymf):
2011         Inline definitions. 
2012         (isw* ctype functions): Inline definitions. 
2013         * include/wctype.h (_ctype[],_pctype): Declare vars. 
2014         (isw* ctype functions): Inline definitions. 
2015
2016
2017 2001-11-06  Danny Smith  <dannysmith@users.sourceforge.net>
2018
2019         * include/float.h (_clearfp, _statusfp, _fpreset, fpreset,
2020         __fpecode): Use __STDC__ prototypes.
2021  
2022
2023 2001-11-06 Thomas Pfaff <tpfaff@gmx.net>
2024
2025         * mthr_stub.c (__mingwthr_remove_key_dtor) New.
2026         * mthr_init.c (DllMain) Run dtors if a process terminates.
2027         * mthr.c  (__mingwthr_add_key_dtor)  Removed.
2028         (___mingwthr_add_key_dtor)  New.
2029         (___mingwthr_remove_key_dtor) New.
2030         (__mingwthr_run_key_dtors) Complete rewrite.
2031         (__mingwthr_remove_key_dtor) New.
2032
2033 2001-11-05  Egor Duda  <deo@logos-m.ru>
2034
2035         * Makefile.in: Delete unused executable after creating base-files.
2036
2037 2001-11-06  Danny Smith  <dannysmith@users.sourceforge.net>
2038
2039         * include/errno.h (_errno): Use __STDC__ prototype.
2040         Thanks to: Jim Barton.
2041
2042 2001-11-04  "stefan" <stefan@lkcc.org>
2043
2044         * include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names.
2045
2046 2001-10-30  Danny Smith  <dannysmith@users.sourceforge.net>
2047
2048         * include/io.h (_commit): Add declaration.
2049         Thanks to: "stefan" <stefan@lkcc.org>  
2050
2051 2001-10-30  Danny Smith  <dannysmith@users.sourceforge.net>
2052
2053         * include/sys/stat.h: Make S_IS* macros safer.
2054
2055 2001-10-27  Danny Smith  <dannysmith@users.sourceforge.net>
2056
2057         * include/stdlib.h (EXIT_FAILURE): Change value to 1.
2058
2059 2001-10-12  Danny Smith  <dannysmith@users.sourceforge.net>
2060
2061         * include/stdlib.h (__p__environ, __p__wenviron): Use
2062         __STDC__ prototypes.
2063         
2064 2001-09-19  Earnie Boyd  <earnie@SF.net>
2065
2066         * Makefile.in: Remove the /usr from the install target.
2067         (VERSION): Increment.
2068         include/_mingw.h: Ditto.
2069
2070 2001-09-17  Earnie Boyd  <earnie@SF.net>
2071
2072         * Makefile.in: Increment version.
2073         * include/_mingw.h: Ditto.
2074
2075 2001-09-10  Earnie Boyd  <earnie@SF.net>
2076
2077         * dossh: Remove inadvertantly imported file.
2078
2079 2001-09-10  Danny Smith  <dannysmith@users.sourceforge.net>
2080
2081         * dirent.c (opendir): Use GetFileAttributes rather than stat
2082         to determine if input arg is dir.
2083
2084 2001-08-29  Danny Smith  <dannysmith@users.sourceforge.net>
2085
2086         * include/stdarg.h (va_list): Typedef as __builtin_va_list if
2087         __GNUC__ >= 3. 
2088         * include/varargs.h (va_list): Ditto.
2089         * include/stdio.h (va_list): Ditto.
2090
2091 2001-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
2092
2093         * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
2094         * include/stdio.h (_IORW): Change constant to 0x0080.
2095         (TMP_MAX): Add new define.
2096         (_P_tmpdir): Ditto.
2097         (_wP_tmpdir): Ditto.
2098         (L_tmpnam): Change constant to 16.
2099
2100 2001-06-28  Danny Smith  <dannysmith@users.sourceforge.net>
2101
2102         * include/malloc.h: Fix non-ANSI comment after #endif.
2103
2104 2001-06-11  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
2105
2106         * profile/configure.in: Make msvcrt.dll version default.
2107         * profile/makefile.in: Build both gcrt1.o and gcrt2.o.  
2108         * provile/configure: Regenerate.
2109
2110 2001-06-11  Mattia Barbon  <mbarbon@dsi.unive.it>
2111
2112         * include/stdio.h (swscanf): Make first arugument const. 
2113         * include/wchar.h (swscanf): Ditto. 
2114         * include/tchar.h (_tfopen): New _UNICODE define.
2115         (_tgetenv): Ditto.
2116         (_tsetlocale): Ditto.
2117
2118 2001-06-04  Earnie Boyd  <earnie@users.sourceforge.net>
2119
2120         * profile/Makefile.in (mkinstalldirs): Correct relative path.
2121
2122 2001-06-04  Earnie Boyd  <earnie@users.sourceforge.net>
2123
2124         * include/_mingw.h: Change version to 1.0.
2125         Makefile.in: Ditto.
2126
2127 2000-02-21  Earnie Boyd  <earnie@users.sourceforge.net>
2128
2129         * include/tchar.h: (__TEXT): Remove undef.
2130         (_TEXT): Ditto.
2131         (_T): Ditto.
2132
2133 Fri Feb  2 10:34:07  2001  Earnie Boyd  <earnie@users.sourceforge.net>
2134
2135         * include/tchar.h: (__TEXT): Add private macro.
2136         (_TEXT): Modify definition to use __TEXT.
2137         (_T): Ditto.
2138         This change allows the passing of a MACRO as an argument and have that
2139         MACRO resolved first.
2140         Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
2141
2142 Wed Jan 31 17:12:51  2001  Earnie Boyd  <earnie@users.sourceforge.net>
2143
2144         * Makefile.in: Increment version to 0.5
2145         * include/_mingw.h: Increment minor version
2146
2147 Tue Jan 30 13:01:01  2001  Earnie Boyd  <earnie@users.sourceforge.net>
2148
2149         * include/assert.h: (assert): Remove ; from end of definition
2150         Thanks to: AJ Reins <tbisp@qwest.net>
2151
2152 Tue Jan 30 07:31:22  2001  Earnie Boyd  <earnie@users.sourceforge.net>
2153
2154         * include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
2155         Thanks to: Cosmin Truta  <cosmin@cs.toronto.edu>
2156
2157 Mon Jan 29 14:03:07  2001  Earnie Boyd  <earnie@users.sourceforge.net>
2158
2159         * time.h: (CLOCKS_PER_SEC) Change from FP to  integer constant.
2160
2161 Sun Jan 28 13:01:08  2001  Earnie Boyd  <earnie@users.sourceforge.net>
2162
2163         * include/wchar.h: The 2001.01.18 Change was incorrect.  The functions
2164         are actually C functions.  These functions are resolved via the
2165         -lmsvcp60 library and comments were placed in the header.
2166
2167 2001-01-28  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
2168
2169         *include/stdlib.h (__p__pgmptr): add prototype.
2170         (__p__wpgmptr): likewise.
2171         (_pgmptr_dll): move declaration from dos.h.
2172         (_wpgmptr_dll): likewise.
2173         (_pgmptr): conditional define (MSVCT/CRTDLL).
2174         (_wpgmptr): likewise.
2175         *include/dos.h (_base*_dll variables): declare only for CRTDLL.
2176         (_os*_dll variables): likewise.
2177         (_pgmptr_dll): remove declaration and associated defines to stdlib.h.
2178         (_wpgmptr_dll): likewise.
2179
2180 2001-01-22  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
2181
2182         * include/stdint.h: New file.
2183
2184 Thu Jan 18 10:33:01  2001  Earnie Boyd  <earnie@users.sourceforge.net>
2185
2186         * include/wchar.h: Protect prototypes only declared in the C++ STL
2187         from being declared unless __cplusplus is defined.
2188
2189 Tue Jan 16 11:37:31  2001  Earnie Boyd  <earnie@users.sourceforge.net>
2190
2191         * include/stdlib.h: Apply Danny Smith patch 102730
2192         2000-12-09  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
2193         (_wgetenv) Correction to return type.
2194
2195 Tue Jan 16 09:41:41  2001  Earnie Boyd  <earnie@users.sourceforge.net>
2196
2197         * include/locale.h: Apply Danny Smith patch 101834
2198         2000-11-23  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
2199         (LC_MIN) Add definition.
2200         (LC_MAX) ditto. 
2201         (_wsetlocale) Add prototype.
2202
2203 2000-11-29  Earnie Boyd  <earnie_boyd@yahoo.com>
2204
2205         * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
2206         Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
2207         Create a libcoldname.a for the oldname library for CRTDLL.
2208         Restrict libmoldname.a for the oldname library for MSVCRT.
2209         * configure.in: eliminate setting RUNTIME and CRT_ID variables.
2210         Restructure the $target_os case logic.
2211         Always name the MinGW thread dll helper mingwm.
2212         Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
2213         * configure: regenerate.
2214
2215 2000-11-22  Earnie Boyd  <earnie_boyd@yahoo.com>
2216
2217         * Makefile.in: Fix bindist target to distribute the correct files.
2218         Remove the use of SNAPSHOT variable and test SNAPDATE instead.
2219         Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
2220
2221 2000-11-21  Earnie Boyd  <earnie_boyd@yahoo.com>
2222
2223         * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
2224         Add variables and targets to control binary and source distributions.
2225         Add variables and targets to control snapshot distribution.
2226         * profile/gmon.h: Add missing #endif for #ifndef.
2227         * profile/ChangeLog: Merge entries here and remove.
2228         * profile/Makefile.in: Add variables and targets to control 
2229         distribution.
2230         * README: Add.
2231         * TODO: ditto.
2232         * config.guess: ditto.
2233         * config.sub: ditto.
2234         * mkinstalldirs: ditto.
2235         * install-sh: ditto.
2236         * configure: regenerate.
2237         * profile/configure: ditto.
2238
2239 2000-11-20  Earnie Boyd  <earnie_boyd@yahoo.com>
2240
2241         * Merge in changes from
2242         2000-10-23  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
2243         * include/direct.h: add guard around MSVCRT-only prototytpes
2244         * include/io.h: add __int64 struct definitions and function prototypes;
2245                  add guard for MSVCRT-only prototypes
2246         * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
2247         * include/stdio.h: add wchar function prototypes (__MSVCRT__);
2248                  put wchar functions together to make sync with wchar.h easier
2249         * include/stdlib.h: add wide char functions (__MSVCRT__)
2250         * include/string.h: add string collation functions ( __MSVCRT__)
2251         * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
2252         * include/tchar.h: add macros and macro function definitions
2253         * include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
2254                 enclose more functions in __MSVCRT__ guard;
2255                 some oldname wide char function prototypes #if (0)'d
2256         * profile/gmon.h: add guard around BSD-ish typedefs
2257
2258 Mon Nov 20 18:58:12 2000  Christopher Faylor <cgf@cygnus.com>
2259
2260         * Makefile.in: Use a different variable name for subdirectory since the
2261         previous one was used by the top level make.
2262
2263 Sun Nov 19 20:50:51 2000  Christopher Faylor <cgf@cygnus.com>
2264
2265         * Makefile.in: Install mingw stuff in a subdirectory if building under
2266         cygwin.
2267
2268 Sat Jun 17 21:48:23 2000  Christopher Faylor <cgf@cygnus.com>
2269
2270         * Makefile.in (subdirs): Eliminate for loop.
2271
2272 Sat Jun 17 18:27:59 2000  Christopher Faylor <cgf@cygnus.com>
2273
2274         * Makefile.in (subdirs): Previous change did not fix problem in
2275         broken shells.
2276
2277 Sat Jun 17 13:49:12 2000  Christopher Faylor <cgf@cygnus.com>
2278
2279         * Makefile.in: Avoid installing dll if we're cross building and the
2280         cross-host system isn't a Windows system.
2281         * configure.in: Detect cross-hosting situation and set appropriate
2282         variables in Makefile.in.
2283         * configure: Regenerate.
2284
2285 Wed Apr 19 13:10:54 2000  Christopher Faylor <cgf@cygnus.com>
2286
2287         * configure.in: Change HEADER_SUBDIR to mingw32.
2288         * configure: Regenerate.
2289
2290 Mon Apr 10 17:24:28 2000  Christopher Faylor <cgf@cygnus.com>
2291
2292         * include/string.h: Use proper prototype for _strerror.
2293
2294 2000-03-30  Mumit Khan  <khan@xraylith.wisc.edu>
2295
2296         * Makefile.in (subdirs): Workaround for broken shells.
2297
2298 2000-02-03  Mumit Khan  <khan@xraylith.wisc.edu>
2299
2300         * Snapshot 2000-02-03.
2301
2302         * include/{assert.h, conio.h, ctype.h, direct.h, dirent.h, fcntl.h, 
2303         float.h, io.h, locale.h, malloc.h, math.h, process.h, signal.h, 
2304         stdio.h, stdlib.h, string.h, time.h, wctype.h, sys/stat.h, 
2305         sys/timeb.h, sys/utime.h}: Remove parameter names to avoid namespace
2306         pollution.
2307
2308         * Makefile.in (all): Build CRT0S first.
2309         (libmingwthrd.a): Remove thread support DLL from dependency.
2310
2311 2000-01-21  Mumit Khan  <khan@xraylith.wisc.edu>
2312
2313         * Snapshot 2000-01-21.
2314
2315 2000-01-20  Mumit Khan  <khan@xraylith.wisc.edu>
2316
2317         Merge in changes from Cygwin:
2318         * configure.in (HEADER_SUBDIRS): New variable. Substitute.
2319         (SUBDIRS): Likewise.
2320         * Makefile.in (HEADER_SUBDIRS): New variable.
2321         (install): Use to install Mingw headers to a subdirectory if building
2322         under Cygwin.
2323         (DLL_CC_STUFF): Add DLL entry point.
2324         * configure: Regenerate.
2325
2326 2000-01-19  Mumit Khan  <khan@xraylith.wisc.edu>
2327
2328         * include/stdio.h (fsetpos): Fix prototype.
2329         (fpos_t): Fix for MSVCRT.
2330         * include/float.h (fpreset): Add prototype.
2331         * include/limits.h: Define UINT_MAX, USHRT_MAX and ULONG_MAX with
2332         constant values.
2333         * include/time.h: Don't define tzname as a macro for CRTDLL, and
2334         export using libmoldname.a.
2335         * crtdll.def: Add DATA tags.
2336         * msvcrt.def: Likewise.
2337         * moldname.def.in: Likewise. Add fpreset. Export tzname for
2338         both MSVCRT and CRTDLL.
2339         * moldname-crtdll.def: Regenerate.
2340         * moldname-msvcrt.def: Regenerate.
2341
2342 Tue Dec 21 02:22:14 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2343         
2344         * Snapshot 1999-12-21.
2345
2346         * include/wctype.h: New file.
2347         * include/ctype.h (MB_CUR_MAX): Define.
2348         (wctype_t): Guard.
2349         * include/stdlib.h (MB_CUR_MAX): Define.
2350         * include/wchar.h: Define stat, _stat structures here as well.
2351         * include/float.h: Add invalid subconditions (_SW) and floating
2352         point error (_FPE) macros.
2353         * include/time.h (_CLOCK_T): Rename macro to _CLOCK_T_DEFINED.
2354         (_TIME_T): Rename macro to _TIME_T_DEFINED.
2355         * include/sys/types.h: Likewise.
2356
2357 Thu Nov 18 00:22:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2358
2359         * profile/profil.c (profile_on): Set the profiler thread priority to
2360         be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
2361         * Snapshot 1999-11-18.
2362
2363 Sun Nov  7 02:50:09 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2364
2365         Released 1999-11-07.
2366
2367         * Makefile.in (CRT0S): Add crtst.o.
2368         (install): Install in subdirs as well.
2369         * dirent.h (struct _stat): Rename from struct stat.
2370         * include/tchar.h: Add some new macros. Thanks to
2371         Eric Kohl <ekohl@abo.rhein-zeitung.de>.
2372         * profile/Makefile.in (install): Fix target.
2373
2374 Thu Nov  4 14:32:58 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2375
2376         * Makefile.in: Add support for profile directory.
2377         * configure.in: Likewise.
2378         * configure: Regenerate.
2379
2380         * profile: Imported profiling sources from winsup-19991026 snapshot.
2381         * profile/Makefile.in: New file.
2382         * profile/configure.in: New file.
2383         * profile/configure: Generate.
2384         * profile/gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
2385         * profile/gmon.h (u_char, u_short, u_int, u_long): Likewise.
2386         * profile/gmon.c (unistd.h): Include conditionally.
2387         (sys/param.h): Likewise.
2388         * profile/mcount.c (sys/param.h): Likewise.
2389         * profile/profil.c (profile_on): thread id is DWORD, not int.
2390
2391
2392 Wed Nov  3 16:26:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2393
2394         * include/stdlib.h: Add wide character version of argv/environ.
2395         Formatting changes.
2396         * include/wchar.h: More wide character prototypes.
2397         * include/sys/stat.h: Likewise. Add struct stat as well as _stat.
2398
2399         * dllcrt1.c (init.c): Don't include.
2400         (DllMainCRTStartup): Don't call _mingw32_init_mainargs().
2401         * Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists.
2402
2403 Sat Oct 30 03:06:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2404
2405         * moldname.def: Remove file.
2406         * moldname.def.in: And add this.
2407         * moldname-msvcrt.def: Generate from moldname.def.in.
2408         * moldname-crtdll.def: Likewise.
2409
2410         * mthr.c: New file for -mthread (thread-safe C++ EH) support.
2411         * mthr_init.c: New file for -mthread (thread-safe C++ EH) support.
2412         * mthr_stub.c: New file for -mthread (thread-safe C++ EH) support.
2413
2414         * Makefile.in: Update.
2415         * configure.in: Likewise. Also add *cygwin* target for building
2416         under Cygwin winsup.
2417         * configure: Regenerate.
2418
2419 Fri Oct  1 11:10:30 1999 Mumit Khan  <khan@xraylith.wisc.edu>
2420
2421         * include/_mingw.h: Add version macros.
2422         * include/direct.h (_diskfree_t, getdiskfree, getdrives):  Add.
2423         Also add wide character versions shared with wchar.h.
2424         * include/dos.h (_diskfree_t, getdiskfree, getdrives):  Add.
2425         * include/io.h (sopen, _sopen): Fix prototype.
2426         Add wide character prototypes.
2427         * include/wchar.h: Likewise.
2428         * include/stdlib.h (beep, seterrormode, sleep): Remove non-
2429         underscored versions. Potential incompatibility.
2430         * include/time.h (daylight, timezone, tzname): Fix MSVCRT cases.
2431         Add wide character prototypes.
2432         * include/sys/timeb.h (struct _timeb): Don't use macro, but real
2433         definition.
2434
2435 Wed Aug 18 18:38:39 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2436
2437         * configure.in (RUNTIME, CRT_ID): Add to differentiate between
2438         crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
2439         macros.
2440         * configure: Rengerate.
2441         * Makefile.in (RUNTIME, CRT_ID): Use to generate the correct
2442         dll name and crt's. CRTDLL and MSVCRT are meant to created
2443         separately, so remove all the *-msvcrt* targets.
2444         (libmingwthr.a): New target. Dummy thread support archive.
2445         (LIBS): Add libmingwthr.a.
2446         (CRT0S): Use CRT_ID. Add crtmt.o.
2447         (MINGW_OBJS): Add crtst.o.
2448         * main.c (WinMain): Fix prototype.
2449         * crtmt.c: New file.
2450         * crtst.c: New file.
2451
2452         * include/process.h (_beginthreadex): Fix prototype.
2453         * include/_mingw.h (__int64): Define for __GNUC__.
2454         * include/tchar.h (_ttol): Add macro.
2455         * include/stdlib.h (_wtoi, _wtol, _i64toa, _ui64toa, _atoi64,
2456         _i64tow, _ui64tow, _wtoi64): Add prototypes.
2457
2458         Reported by Emanuele Aliberti <ea@iol.it>:
2459         * include/tchar.h (_ttoi): Add macro.
2460
2461         Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
2462         * include/stdio.h (_snprintf): Add prototype.
2463         (_vsnprintf): Likewise.
2464
2465 Sat Aug  7 18:00:00 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2466
2467         Reported by Tor Lillqvist <tml@iki.fi>:
2468         * include/stdlib.h (__p___argv): Fix return type.
2469
2470 Fri Jul 30 22:07:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2471         
2472         Add UWIN support.
2473         * include/errno.h (errno): It's linked in from startup, not imported.
2474         * include/stdlib.h (errno): Likewise.
2475         * include/io.h: Guard against conflicting macros and prototypes in 
2476         system headers.
2477         * include/stdlib.h: Likewise.
2478         * include/string.h: Likewise.
2479         * include/time.h: Likewise.
2480
2481 Fri Jul 30 13:47:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2482
2483         * include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans.
2484         * include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT.
2485         * Makefile.in (INCLUDES): Remove old windows32 include directory.
2486
2487         * crt1.c (_gnu_exception_handler): Fix prototype.
2488         (__mingw_CRTStartup): New function based on mainCRTStartup.
2489         (mainCRTStartup): Set the app type for MSVCRT and call
2490         __mingw_CRTStartup.
2491         (WinMainCRTStartup): Likewise.
2492         * init.c (_startupinfo): Define.
2493         (_getmainargs): Add 5th parameter.
2494         (_mingw32_init_mainargs): Use.
2495
2496         * ALL *.c files: Reformat according to GNU coding style.
2497
2498 Fri Jul 16 00:46:04 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2499
2500         * Makefile.in (INCLUDES): Add w32api include directory.
2501
2502         * include/_mingw.h: New file.
2503         * include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h,
2504           errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h,
2505           math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h,
2506           stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h,
2507           sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and
2508           use the macros __DECLSPEC_SUPPORTED  and __MINGW_IMPORT.
2509         
2510         * include/stdlib.h (atexit): Fix prototype.
2511
2512 Mon Jun 14 18:38:49 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2513
2514         * include/stdio.h (_tempnam): Fix prototype.
2515         (tempnam): Likewise.
2516         * include/stdlib.h: Replace with GCC's version, and guard
2517         with RC_INVOKED.
2518
2519         From Anders Norlander <anorland@hem2.passagen.se>:
2520         * include/stdlib.h (__argc): Declare.
2521         (__argv): Likewise.
2522
2523 Mon Apr  5 13:49:17 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2524
2525         * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
2526         contribution.
2527         * Makefile.in (_libm_dummy.o): New target.
2528         (libm.a): Use. 
2529
2530 Tue Mar 16 18:15:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2531
2532         * Released 1999-03-16 along with egcs-1.1.2.
2533
2534 Wed Feb 17 17:15:56 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2535
2536         * Makefile.in (LIBS): Add libm.a.
2537         (libm.a): Dummy libm.a.
2538
2539         * Makefile.in: Update from winsup 1999-02-08 snapshot.
2540         Preserve local changes.
2541         (mkinstalldirs): In ../, not ../../.
2542         (INCLUDES): Point to local windows32api headers and use -nostdinc.
2543         (LIBGCC): Delete.
2544         (LIBS): Add libmoldname-msvc.a.
2545         (libmoldname-msvc.a): Add target.
2546         (distclean): Add target.
2547
2548 Tue Feb  9 00:26:05 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2549
2550         * include/dir.h: Reintroduce as an obsolescent header.
2551         * crt1.c (signal.h): Include.
2552         (_gnu_exception_handler): New function to properly handle win32
2553         asynchronous signals.
2554         (mainCRTStartup): Use.
2555
2556 Sun Jan  3 23:52:25 1999  Mumit Khan  <khan@xraylith.wisc.edu>
2557         
2558         * include/direct.h: Include io.h instead of dir.h
2559         * include/dirent.h: Likewise.
2560         * include/dos.h: Likewise.
2561         * include/stdio.h: Replace reference to dir.h with io.h.
2562
2563 Thu Dec 31 16:04:55 1998  Mumit Khan  <khan@xraylith.wisc.edu>
2564
2565         * 1999-01-01 release bundled with egcs-1.1.1.
2566
2567         * include/io.h: Incorporate dir.h.
2568         * include/dir.h: Remove.
2569         * include/signal.h: Move RC_INVOKED up a bit.
2570
2571 Tue Dec 29 15:04:38 1998  Mumit Khan  <khan@xraylith.wisc.edu>
2572
2573         * include/signal.h (sig_atomic_t): Define.
2574         (NSIG): Define.
2575         * include/malloc.h: Import defs from deprecated alloc.h.
2576         * include/alloc.h: Remove.
2577
2578         From "Daniel J. Rodriksson" <djr@dit.upm.es>:
2579         * include/sys/types.h (_dev_t): Should be unsigned int for MSVCRT.
2580         * include/sys/stat.h (struct stat): st_uid is of type short. Use
2581         _off_t instead of long for st_size.
2582
2583 Thu Sep 10 22:28:49 1998  Mumit Khan  <khan@xraylith.wisc.edu>
2584         
2585         * include/errno.h (sys_errlist, sys_nerr): Move from here ...
2586         * include/stdlib.h: Here.
2587
2588         * include/netdb.h: Remove.
2589         * include/arpa/inet.h: Remove.
2590         * include/netinet/in.h: Remove.
2591         * include/sys/socket.h: Remove.
2592
2593 Fri Sep  4 15:09:11 1998  Mumit Khan  <khan@xraylith.wisc.edu>
2594
2595         * Release egcs-1.1.
2596
2597         * include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h,
2598         sys/utime.h}: Protect stddef.h in RC_INVOKED macro.
2599
2600 Thu Sep  3 10:43:29 1998  Mumit Khan  <khan@xraylith.wisc.edu>
2601
2602         * setjmp.h (_JBTYPE, _JBLEN): Define correctly.
2603         (jmpbuf): typedef using above. 
2604         (setjmp, longjmp): Prototype using jmpbuf.
2605
2606         Merge with Colin Peters' 980701 snapshot. I've ignored changes to
2607         obsolescent imported names, ie., from __imp__ to _imp___. 
2608
2609         Also ignored empty include/sys/param.h and incorrect
2610         include/sys/times.h.
2611
2612         * CRTinit.c: New file.
2613         * include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef 
2614         instead of #if.
2615         * include/io.h (umask): Fix prototype.
2616         * include/stdlib.h (OS constants): Replace with Colin's.
2617         * include/time.h (tzset, daylight, timezone): Replace with Colin's.
2618         * include/sys/state.h: Merge.
2619
2620 Thu Sep  3 09:49:07 1998  Mumit Khan  <khan@xraylith.wisc.edu>
2621
2622         * include/assert.h (assert): Lose the trailing semicolon.
2623
2624 Thu Jul 30 21:18:49 1998  Mumit Khan  <khan@xraylith.wisc.edu>
2625
2626         * include/math.h (matherr): Declare.
2627         * include/stdio.h (fileno, _fileno): Declare.
2628         * include/stdlib.h (environ, _environ): Fix to use runtime DLL.
2629
2630         From Earnie Boyd:
2631         * include/stdio.h (fdopen, _fdopen): Add const.
2632         (getw, putw): Declare.
2633         * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix. 
2634
2635 Sat Jun 13 18:19:41 1998  Mumit Khan  <khan@xraylith.wisc.edu>
2636
2637         * include/time.h (_timezone): Undefine.
2638         * include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
2639
2640         * include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
2641         __cdecl for MSVCRT.
2642         * include/stdlib.h (environ): Use DLL version.
2643         * init.c (environ): Undefine it before use.
2644
2645 Sun Mar 22 19:59:30 1998  Mumit Khan  <khan@xraylith.wisc.edu>
2646
2647         * Update to 980309 snapshot from Colin Peters.
2648
2649         * include/utime.h: remove
2650         * include/stdlib.h (__imp__osver_dll, __imp__winver_dll,
2651         __imp__winmajor_dll, __imp__winminor_dll): Apply Jan-Jaap's 
2652         patches to define these.
2653         * include/time.h (CLK_TCK): Renamed from CLK_TICK.
2654         (_daylight, _timezone, _tzname, _tzset): Define.
2655
2656         * include/netdb.h: Add from Colin's windows32api changes.
2657         * include/sys/socket.h: Likewise.
2658         * include/arpa/inet.h: Likewise.
2659         * include/netinet/in.h: Likewise.
2660
2661 Wed Feb  4 14:16:44 1998  Mumit Khan  <khan@xraylith.wisc.edu>
2662
2663         * Update to 980128 snapshot from Colin Peters. 
2664
2665 Sat Dec  6 21:30:35 1997  Mumit Khan  <khan@xraylith.wisc.edu>
2666
2667         * configure.in (AC_INIT): Use dllmain.c instead of defunct
2668         oldnames.c
2669         * configure: Regenerate.
2670
2671 Fri Dec  5 15:57:36 1997  Mumit Khan  <khan@xraylith.wisc.edu>
2672
2673         * Update to 971205 snapshot from Colin Peters. Lots of changes.
2674         Files renamed and include hierarchy loses directories named
2675         nonansi.
2676
2677         * include/dos.h: from Jan-Jaap.
2678
2679 Thu Dec  4 21:48:13 1997  Mumit Khan  <khan@xraylith.wisc.edu>
2680
2681         Changes to conform to FSF tree.
2682
2683         * crt1.c: Renamed from mcrt0.c.
2684         * dllcrt1.c: Renamed from dllcrt0.c.
2685         * Makefile.in: Update above. Also renamed libmoldnames.a to
2686         libmoldname.a.
2687
2688 Mon Dec  1 16:51:30 1997  Mumit Khan  <khan@xraylith.wisc.edu>
2689
2690         * crtdll.def: Export all functions but the ones with funny names.
2691         * moldnames.def: Add fdopen since fileno is already there.
2692         * include/nonansi/dos.h: New file from Jan-Jaap.
2693         * include/errno.h: Add extern decl + various additions from JJ.
2694         * include/stdio.h: Likewise.
2695         * include/stdlib.h: Likewise.
2696         * include/nonansi/io.h: Likewise.
2697         * include/nonansi/process.h: Likewise.
2698         * include/sys/types.h: Likewise.
2699
2700 Tue Nov  4 14:51:01 1997  Mumit Khan  <khan@xraylith.wisc.edu>
2701         
2702         * include/time.h (CLK_TCK): Renamed from CLK_TICK.
2703         (CLK_TICK): Delete.
2704         * include/stdlib.h (free): Fix prototype to return void, not void*.
2705         * include/nonansi/process.h: Add P_* and WAIT_* defs.
2706
2707         * dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
2708         * mcrt0.c: Likewise.
2709
2710         * Makefile.in (LIBS): Delete moldnames.dll from target libs.
2711         (libmoldnames.a): Add explicit rule to create it.
2712
2713 Fri Aug 15 18:23:43 1997  Rob Savoye  <rob@cygnus.com>
2714
2715         New directory for the minimalist cygwin environment.
2716         
2717         * crtglob.c: New file. Turn on file globbing support. 
2718         * crt_noglob.c: New file. Turn off file globbing support. 
2719         * ctype_old.c: New file. Wrappers for functions that don't
2720         have an underscore.
2721         * dirent.c: New file. Directory routines readdir, opendir, closedir.
2722         * dllcrt0.c: New file. Initialization code to use crtdll.dll.
2723         * dllmain.c: New file. A stub DllMain function.
2724         * hugeval.c: New file. A gross hack to define HUGE_VAL.
2725         * init.c: New file. Common code to initialize standard file
2726         handles and command line arguments.
2727         * main.c: New file. A main for programs that only call WinMain.
2728         * mcrt0.c: New file. Default crt0 for mingw32.
2729         * oldnames.c: New File. Wrappers for functions that don't
2730         have an underscore.
2731         * string_old.c:  New File.
2732         * include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h
2733         math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h
2734         string.h,tchar.h,time.h,wchar.h}: New header files for mingw.
2735         * include/sys/types.h: New header file for mingw.
2736         * include/nonansi/{alloc.h,conio.h,dir.h,direct.h,dirent.h
2737         fcntl.h,io.h,malloc.h,mem.h,memory.h,process.h,share.h,unistd.h
2738         utime.h,values.h,varargs.h}: New header files for mingw.
2739         * include/nonansi/sys/{fcntl.h,locking.h,stat.h,time.h
2740         timeb.h,unistd.h}: New header files for mingw.
2741         * Makefile.in,configure.in: Build and configure support.
2742         * configure: Generated from autoconf 2.12 with Cygnus patches.