1 2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
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.
18 2004-09-08 Earnie Boyd <earnie@users.sf.net>
20 * include/sys/stat.h (_S_IFLNK): Add definition.
27 2004-09-08 Earnie Boyd <earnie@users.sf.net>
29 * include/sys/stat.h (_S_ISLNK): Add definition.
32 2004-09-05 Earnie Boyd <earnie@users.sf.net>
34 * include/_mingw.h: Increment minor version for 3.5 release.
36 * mingwex/Makefile.in: Correct typo in list of DISTFILES.
38 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
40 * include/malloc.h (__mingw_aligned_offset_malloc,
41 __mingw_aligned_offset_realloc, __mingw_aligned_malloc,
42 __mingw_aligned_realloc, __mingw_aligned_free): Add
44 * mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
46 (REPLACE_OBJS): Add mingw-aligned-malloc.o.
48 2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
50 * mingwex/mingw-aligned-malloc.c: New file.
51 * mingwex/tst-aligned-malloc.c: New file.
53 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
55 * crt1.c: (__mingw_CRTStartup): Change return to void. Add
56 noreturn attribute. Align stack to 16 bytes before passing args
58 (mainCRTStartup): Change return to void.
59 (WinMainCRTStartup): Likewise.
62 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
64 * profile/COPYING: New file.
65 * profile/CYGWIN_LICENSE: New file.
66 * profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
68 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
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.
79 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
81 * profile/gmon.c [__MINGW32__]: Include string.h for
84 2004-08-08 Christopher Faylor <cgf@timesys.com>
86 * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
88 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
90 * include/complex.h: Remove __attribute__ ((const)) from
91 transcendantal and trig functions. Replace __attribute__ ((const))
92 with __MINGW_ATTRIB_CONST on other declarations.
94 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
96 * include/wchar.h: Reorganize, avoid including other headers.
98 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
100 * include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
101 (strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
104 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
106 * include/dirent.h (struct _wdirent): Remove obsolete comment.
108 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
110 * include/string.h: Revert 2004-07-26 additions of
113 2004-07-28 Danny Smith <dannysmith@users.sourceforge.net>
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.
120 2004-07-27 Danny Smith <dannysmith@users.sourceforge.net>
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.
126 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
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.
133 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
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.
140 * include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
142 (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
144 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
146 * include/string.h: Group wide string functions together,
147 and protect with _WSTRING_DEFINED.
149 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
151 * include/_mingw.h (__MINGW_ATTR_*): Replace with
153 * include/stdlib.h (_ATTRIB_NORETURN): Replace with
154 __MINGW_ATTRIB_NORETURN, throughout.
155 (malloc): Declare with __MINGW_ATTRIB_MALLOC.
157 (abs): Declare with __MINGW_ATTRIB_CONST.
166 * include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
168 2004-07-21 Danny Smith <dannysmith@users.sourceforge.net>
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
178 2004-07-19 Danny Smith <dannysmith@users.sourceforge.net>
180 * include/time.h (__time64_t): Add missing ';'.
182 2004-07-17 Danny Smith <dannysmith@users.sourceforge.net>
184 * include/time.h (wcsftime): Move out of !__STRICT_ANSI
186 (struct tm): Protect with _TM_DEFINED.
188 2004-07-17 Christopher Faylor <cgf@timesys.com>
190 * Makefile.in (CC): Strip inappropriate include file settings from any
193 2004-07-15 "dgun" <dgun@umpire.com>
195 * include/complex.h (conj): Correct typo in prototype.
197 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
199 * include/math.h: Add pragma GCC system_header.
201 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
203 * mingwex/complex/cargs.c: New file.
204 * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
206 2004-07-15 Corinna Vinschen <corinna@vinschen.de>
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.
213 2004-07-14 Christopher Faylor <cgf@timesys.com>
215 * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
217 2004-07-14 Danny Smith <dannysmith@users.sourceforge.net>
219 * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
221 * mingwex/Makefile,in (INCLUDES): Ditto.
222 * profile/Makefile,in (INCLUDES): Ditto.
224 * mingwex/Makefile,in: Add carg.o to libmingwex.a.
226 2004-07-13 Earnie Boyd <earnie@users.sourcefourge.net>
228 * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
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.
236 2004-07-12 Danny Smith <dannysmith@users.sourceforge.net>
238 * mingwex/math/cephes_emath.h (__etens): Remove declaration.
240 2004-07-11 Danny Smith <dannysmith@users.sourceforge.net>
242 * include/unistd.h (ftruncate): Add inline definition.
243 * mingwex/ftruncate.c: New file.
244 * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
246 2004-07-10 Danny Smith <dannysmith@users.sourceforge.net>
248 * include/time.h: Do not include sys/types.h.
250 2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
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.
257 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
259 * include/stdio.h (__mingw_fseeko64): Add prototype.
260 * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
261 (__mingw_fwrite): Handle huge files.
263 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
264 Danny Smith <dannysmith@users.sourceforge.net>
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.
280 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
282 * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
284 2004-04-22 Earnie Boyd <earnie@users.sf.net>
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.
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.
297 2004-04-22 Danny Smith <dannysmith@users.sourceforge.net>
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.
306 2004-04-20 Earnie Boyd <earnie@users.sf.net>
308 * CONTRIBUTORS: New file.
310 * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
311 section to CONTRIBUTORS file. Remove RCS tags.
326 * msvcrt.def.in: Ditto.
327 * strcasecmp.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.
362 2004-04-19 Earnie Boyd <earnie@users.sf.net>
364 * include/_mingw.h: Revert to primary release 3 and increment minor
366 * Makefile.in (VERSION): Ditto.
368 2004-04-01 Danny Smith <dannysmith@users.sourceforge.net>
370 * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
371 _fmode if not __MSVCRT__.
373 2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
375 * include/io.h: (_findfirst): Correct prototype.
377 2004-03-30 Hans Leidekker <hans@it.vu.nl>
379 * include/io.h: (_findnext, _findclose): Correct prototype.
381 2004-03-28 Hans Leidekker <hans@it.vu.nl>
383 * include/math.h (FP_*): Add defines.
385 2004-03-29 Danny Smith <dannysmith@users.sourceforge.net>
387 * mingwex/math/round.c: Rewrite.
388 * mingwex/math/roundf.c: Rewrite.
389 * mingwex/math/roundl.c: Rewrite.
391 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
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.
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.
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.
439 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
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>
445 2004-03-19 Danny Smith <dannysmith@users.sourceforge.net>
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.
452 2004-03-13 Danny Smith <dannysmith@users.sourceforge.net>
454 * include/malloc.h: Remove __STRICT_ANSI__ guard.
456 2004-03-11 Brian Keener <bkeener@thesoftwaresource.com>
458 * include/process.h: Remove the #endif associated with removal of
459 __STRICT_ANSI__ guard from non-ANSI header.
461 2004-03-10 Danny Smith <dannysmith@users.sourceforge.net>
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.
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.
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.
487 2004-02-21 Danny Smith <dannysmith@users.sourceforge.net>
489 * include/_mingw.h (__UNUSED_PARAM): Define macro.
490 * include/wchar.h (fwide): Use it.
493 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
495 * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
496 NetBSD getopt_long.c.
498 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
500 * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
501 codes and handling of special chars.
503 2004-02-02 Danny Smith <dannysmith@users.sourceforge.net>
505 * include/stdio.h (feof): Add inlined definition.
508 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
510 * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
511 directly, rather than via scabnl.
513 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
515 * mingwex/math/powl.c (powl): Return infinity if
516 extended precision multiplication of x by log2(y)
519 2004-01-31 Danny Smith <dannysmith@users.sourceforge.net>
521 * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
522 (__enan_NI16): Fix another one.
523 (__enan_NBITS): Tidy.
525 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
527 * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
528 types. (Thanks to John Maddock for report.)
530 2004-01-14 Greg Chicares <chicares@users.sourceforge.net>
532 * include/tchar.h (_puttchar): Define.
534 2003-12-13 Danny Smith <dannysmith@users.sourceforge.net>
536 * include/stdio.h:(_fileno): Define macro version after both
537 fileno and _fileno functions declared.
539 * include/stdio.h (_rmtmp, rmtmp): Add prototypes.
540 * moldnames.def.in (rmtmp) Add stub.
542 2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
544 * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
546 2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
548 * include/math.h: Guard ISO C99 additions with __cplusplus
551 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
553 * include/_mingw.h: Define __attribute__((x)) to nothing
556 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
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
583 (COMPLEX_OBJS): New list of objects.
584 (LIB_OBJS): Include it in the library.
586 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
588 * include/math.h (cabs): Remove non-ISO prototype.
590 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
592 * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
593 Use GCC __builtin's if available.
594 (INFINITY, INFINITYF, INFINITYL): Likewise.
596 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
598 * mingwex/math/s_erf.c (erf): Set errno to ERANGE if
599 beyond approximation limit.
600 * mingwex/math/sf_erf.c (erff): Likewise.
602 2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
604 * include/stdio.h (getc): Cast result to unsigned char before
609 Thanks to M.Fujii <boochang@m4.kcn.ne.jp>
611 2003-10-10 Earnie Boyd <earnie@users.sf.net>
613 * include/_mingw.h: Increment version to 3.2.
614 * Makefile.in: Ditto.
616 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
618 * include/sys/types.h: Revert last change.
620 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
622 * include/sys/types.h (ssize_t): Correct the definition.
624 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
626 * include/stdio.h (_filbuf): Add prototype.
627 (_flsbuf): Add prototype.
628 (getc): Add inline version.
633 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
635 * mingwex/dirent.c (_treaddir): Reset errno to 0 if end
638 2003-09-29 Danny Smith <dannysmith@users.sourceforge.net>
640 * include/stdlib.h: Guard non-ISO functions with
641 !__STRICT_ANSI__, throughout.
643 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
645 * include/io.h (_fileno): Remove prototype.
647 (FILENAME_MAX): Define, if needed.
648 Don't include <stdio.h>.
649 * include/stdio.h (FILENAME_MAX): Protect against
651 (_fileno): Define macro implementation.
654 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
656 * include/inttypes.h: Include _mingw.h.
658 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
660 * include/_mingw.h (__CRT_INLINE): Define.
661 * include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
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.
671 2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
673 * mingwex/dirent.c (_topendir): Allocate enough memory for
674 DIR struct in UNICODE case too.
676 2003-09-15 Earnie Boyd <earnie@users.sf.net>
678 * include/_mingw.h: Increment version to 3.2.
679 * Makefile.in: Ditto.
681 2003-07-03 Earnie Boyd <earnie@users.sf.net>
683 * config.guess, config.sub: Update with versions from ftp.gnu.org.
685 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
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.
693 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
695 * include/search.h: New file.
696 * include/stdlib.h: Add comment about qsort, bsearch in
698 * test_headers.c: Include search.h.
699 * moldname.def.in (lfind, lsearch): Add.
701 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
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.
707 2003-07-01 Earnie Boyd <earnie@users.sf.net>
709 * include/_mingw.h (small, hyper): Change to __small and __hyper to
710 avoid user space name conflicts.
712 2003-07-01 Earnie Boyd <earnie@users.sf.net>
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).
719 2003-06-18 Earnie Boyd <earnie@users.sf.net>
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.
727 2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
729 * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
730 __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
732 Thanks to: Aaron W LaFramboise <AWLaFramboise@aol.com>
734 2003-05-30 Sascha Sommer <saschasommer@freenet.de>
736 * include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
738 2003-05-15 Danny Smith <dannysmith@users.sourceforge.net>
740 * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
741 but still protect inline definition with __STRICT_ANSI__.
743 2003-05-14 Danny Smith <dannysmith@users.sourceforge.net>
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.
757 2003-05-13 Danny Smith <dannysmith@users.sourceforge.net>
759 * include/math.h (fabs) : Remove inline definition.
763 2003-05-06 Earnie Boyd <earnie@users.sf.net>
765 * include/_mingw.h: Change version to 3.0
766 * Makefile.in: Ditto.
768 2003-05-06 Earnie Boyd <earnie@users.sf.net>
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.
774 2003-05-06 Earnie Boyd <earnie@users.sf.net>
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.
793 2003-05-05 Earnie Boyd <earnie@users.sf.net>
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.
802 2003-04-11 Earnie Boyd <earnie@users.sf.net>
804 * configure.in (LIBM_A): Define for cygwin target.
805 * configure (LIBM_A): Ditto.
807 2003-04-07 Danny Smith <dannysmith@users.sourceforge.net>
809 * include/time.h (strftime): Remove duplicate declaration.
811 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
813 * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
815 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
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
824 * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
826 * mingwex/math/tgammal.c: Likewise.
828 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
830 * include/utime.h: New file, forwarding to sys/utime.h.
832 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
834 * include/sys/param.h (MAXPATHLEN): Define.
836 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
838 * include/tchar.h: Ansi-fy a comment.
840 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
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.
847 2003-03-10 Danny Smith <dannysmith@users.sourceforge.net>
849 * include/stdlib.h (qsort): Remove const from first parm.
850 Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
852 2003-03-03 Christopher Faylor <cgf@redhat.com>
854 * mingwex/getopt.c: Refresh from NetBSD sources.
856 2003-03-03 Danny Smith <dannysmith@users.sourceforge.net>
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.
864 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
866 * include/stdio.h (vscanf): Add prototype.
872 * include/wchar.h (vwscanf): Add prototype.
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.
882 (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
886 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com>
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.
896 2003-02-25 Earnie Boyd <earnie@users.sf.net>
898 * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
899 (libmsvcrt40.a): Ditto.
901 2003-02-21 Earnie Boyd <earnie@users.sf.net>
903 Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
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
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).
914 2003-02-20 Corinna Vinschen <corinna@vinschen.de>
916 * Makefile.in: Make sure libmingwex.a from current build tree is used.
918 2003-02-14 Christopher Faylor <cgf@redhat.com>
920 * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
921 ensure -mno-cygwin where appropriate. Filter out -O2.
923 2003-02-13 Danny Smith <dannysmith@users.sourceforge.net>
925 * profile/Makefile.in (mcount.o): Use -O1 optimization
928 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
930 * include/math.h: Remove _CRTIMP from pow() prototype,
933 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
935 * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
937 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
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.
973 * include/ctype.h: Guard ctype inlines with __NO_INLINE__.
974 * include/wctype.h: Guard wctype inlines with __NO_INLINE__.
976 * include/stdio.h (__VALIST): Guard against prior definition.
978 2003-02-08 Earnie Boyd <earnie@users.sf.net>
980 * include/_mingw.h: Change version to 3.0
981 * Makefile.in: Ditto.
983 2003-02-08 Earnie Boyd <earnie@users.sf.net>
985 * include/stdlib.h: Make words after #endif a comment.
987 2003-02-07 Danny Smith <dannysmith@users.sourceforge.net>
989 * include/locale.h: Include stddef.h for definition of NULL.
991 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
993 * include/math.h (tgamma): Correct typo in comment.
995 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
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.
1001 2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
1003 * mingwex/math/llround.c: Correct function name and
1004 change return value to long long.
1006 2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
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.
1013 2003-01-03 Danny Smith <dannysmith@users.sourceforge.net>
1015 * include/stdlib.h (_osver, _winver, _winmajor,
1016 _winminor): Declare as direct imports from dll if
1017 __DECLSPEC_SUPPORTED.
1019 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
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
1030 2003-01-01 Egor Duda <deo@logos-m.ru>
1032 * pseudo-reloc.c: New file.
1034 2002-12-20 Earnie Boyd <earnie@users.sf.net>
1036 * include/_mingw.h: Increment version to 2.4.
1039 2002-12-12 Earnie Boyd <earnie@users.sf.net>
1041 * include/malloc.h (_alloca): Add definition.
1044 2002-12-08 Danny Smith <dannysmith@users.sourceforge.net>
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.
1053 2002-12-07 Danny Smith <dannysmith@users.sourceforge.net>
1055 * include/math.h: Add traditional/XOPEN math constants.
1057 2002-11-27 Danny Smith <dannysmith@users.sourceforge.net>
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.
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.
1073 2002-11-26 Danny Smith <dannysmith@users.sourceforge.net>
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.
1088 2002-11-09 Danny Smith <dannysmith@users.sourceforge.net>
1090 * include/math.h (sqrt): Remove inline definition.
1091 (sqrtf): Replace inline definition with prototype.
1093 * mingwex/math/sqrtf.c (sqrtf): Set domain error if
1094 argument less than zero.
1095 * mingwex/math/sqrtf.c (sqrtl): Likewise.
1097 2002-10-30 Guido Serassio <serassio@libero.it>
1099 * include/stdio.h (_getmaxstdio): Add prototype.
1100 (_setmaxstdio): Likewise.
1102 2002-10-19 Kang Li <rubylith@users.sourceforge.net>
1104 * include/fcntl.h (O_SEQUENTIAL): Correct typo.
1106 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
1108 * crt1.c: Define new macro __IN_MINGW_RUNTIME before including
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.
1114 2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu>
1116 * crt1.c: Include stdlib.h.
1118 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
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
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.
1133 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
1135 * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
1136 macros work with C89.
1137 (INTMAX_C, UINTMAX_C): Likewise.
1139 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
1141 * include/string.h (strcasecmp): Make extern __inline__.
1142 (strncasecmp): Likewise.
1143 (wcscmpi): Likewise.
1145 2002-10-08 Heiko Gerdau <hg@technosis.de>
1147 * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
1148 _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
1151 2002-10-07 Danny Smith <dannysmith@users.sourceforge.net>
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.
1163 * mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
1165 (MATH_OBJS): Add pow.o, powi.o, powif.o.
1167 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
1169 * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
1170 (_imp____mbcur_max_dll): Likewise.
1172 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
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.
1185 * include/stdlib: Remove comment about MB_CUR_MAX.
1187 2002-10-02 Danny Smith <dannysmith@users.sourceforge.net>
1189 * include/stdlib.h (_imp____mbcur_max): Add missing ';'.
1190 (_imp____mbcur_max_dll): Likewise.
1192 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
1194 * mingwex/math/files.txt: Remove inadvertantly added file.
1196 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
1198 * include/string.h (_strerror): Move into #ifndef
1199 __STRICT_ANSI__ block.
1201 2002-09-17 Danny Smith <dannysmith@users.sourceforge.net>
1203 * include/time.h (__need_NULL): Define before including
1204 stddef.h. Thanks to: Rüdiger Dehmel <de@lmnet.de>.
1206 2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
1208 * include/stdio.h: Correct comment about directory separator.
1210 2002-09-12 Danny Smith <dannysmith@users.sourceforge.net>
1212 * include/sys/time.h (timeval): Add struct definition and
1213 associated macros (copied from w32api/include/winsock.h).
1215 2002-09-05 Earnie Boyd <earnie@users.sf.net>
1217 * include/_mingw.h: Increment version to 2.3.
1220 2002-09-05 Earnie Boyd <earnie@users.sf.net>
1222 * mingwex/fegetenv.c: Change to \n line endings.
1223 * mingwex/vsnprintf.c: Ditto.
1224 * mingwex/vsnwprintf.c: Ditto.
1226 2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
1228 * mingwex/math/hypotl.c: Replace with version based on cephes
1231 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
1233 * include/sys/param.h: Add ENDIAN defines.
1234 * test_headers.c: Include sys/param.h.
1236 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
1238 * test_headers.c: Don't include varargs.h.
1239 * Makefile.in (test_headers): Don't use -std=xx
1242 2002-08-21 Earnie Boyd <earnie@users.sf.net>
1244 * include/sys/param.h: New File.
1246 2002-08-21 Danny Smith <dannysmith@users.sourceforge.net>
1248 * include/math.h (asm): Change to __asm__ throughout.
1249 Expose ISO C99 functions if __GLIPCPP__.
1250 (hypotf): Use hypot, not _hypot in stub.
1252 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
1254 * include/tchar.h: Ansi-fy another comment.
1256 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
1258 * include/tchar.h: Ansi-fy comment.
1260 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
1262 * test_headers.c : New file.
1263 * Makefile.in (test_headers): New target, using it,
1264 (SRCDIST_FILES): Distribute it.
1266 2002-08-20 Earnie Boyd <earnie@users.sf.net>
1268 * include/_mingw.h: Increment version to 2.2.
1271 2002-08-14 Earnie Boyd <earnie@users.sf.net>
1273 * include/unistd.h: Add include of process.h.
1275 2002-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1277 * include/stdio.h (_fcloseall): Add prototype.
1279 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
1281 * include/tchar.h (_tfdopen): Correct typo.
1283 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
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
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
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.
1436 2002-06-19 Danny Smith <dannysmith@users.sourceforge.net>
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.
1442 2002-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1444 * include/float.h: #include_next<float.h> before header guard.
1446 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
1448 * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
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
1462 * include/string.h (_mbschr, _mbstok, _mbsncat): Remove
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.
1470 2002-06-15 Earnie Boyd <earnie@users.sf.net>
1472 * include/_mingw.h: Increment to version 2.1.
1473 * Makefile.in: Ditto.
1475 2002-06-15 Earnie Boyd <earnie@users.sf.net>
1477 * Makefile.in (conf_prefix): New variable.
1478 (dist_prefix): Ditto. Conditionally set to $(conf_prefix).
1479 (bindist): Use dist_prefix.
1481 2002-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1483 * include/_mingw.h: Increment version to 2.0.
1484 * Makefile.in: Ditto.
1486 Merge in mingwex branch.
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,
1495 (MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
1497 2002-05-23 Danny Smith <dannysmith@users.sourceforge.net>
1498 * mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c.
1500 2002-05-22 Danny Smith <dannysmith@users.sourceforge.net>
1501 * mingwex/isnanl.c: New file.
1503 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
1504 * include/stdint.h: Include stddef.h to get
1506 (WINT_MAX): Define to ((wint_t)-1).
1508 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
1509 * include/wctype.h: Replace 'inline' with '__inline__'.
1510 * include/inttypes.h: Likewise.
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>.
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.
1523 2002-05-15 Pascal Obry <obry@gnat.com>
1524 * include/dirent.h (DIR): Change dd_stat type to int.
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.
1533 (mbsinit): Likewise.
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
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.
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
1563 (atexit): Force use of private atexit table via _dllonexit,
1564 (_onexit): New function. Force use of private atexit table via
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.
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
1576 Cleanup some whitespace.
1577 * include/inttypes.h: Change header guard macro to
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.
1585 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
1586 * include/math.h (__signbitl, __isnanl): Declare.
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,
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,
1627 * mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo.
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
1633 (_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
1634 _wseekdir): Add prototypes for wide versions of corresponding
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
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
1645 * samples/dirent/wtest.c: New file, wide version of test.c.
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
1658 (__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
1659 Replace va_list with __VALIST throughout.
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
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.
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.
1701 * include/math.h: Fix long comment line.
1702 * profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
1704 * profile/configure: Regenerate.
1706 2002-04-12 Danny Smith <dannysmith@users.sourceforge.net>
1707 * mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c.
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.
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.
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
1736 * include/stdlib.h (_Exit): Change from static inline to
1738 * mingwex/_Exit.c : New file.
1739 * mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
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
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.
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
1769 * mingwex/snprintf.c: New file.
1770 * mingwex/snwprintf.c: New file.
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.
1778 * include/stdlib.h (_Exit): Add static inline
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
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):
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
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.
1866 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
1868 * include/mbstring.h: New file.
1869 * include/mbctype.h: New file.
1871 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
1873 * include/tchar.h (__TEXT): Make same as define in
1874 w32api/include/winnt.h.
1876 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
1878 * include/tchar.h (_tputenv): Add UNICODE mappings.
1879 (_tsearchenv): Likewise.
1880 (_tmakepath): Likewise.
1881 (_tsplitpath): Likewise.
1882 (_tfullpath): Likewise.
1884 2002-04-18 Pascal Obry <obry@gnat.com>
1886 * dirent.c (opendir): Convert given pathname to
1889 2002-04-09 Earnie Boyd <earnie@users.sf.net>
1891 * include/_mingw.h: Increment version.
1892 * Makefile.in: Ditto.
1894 2002-04-09 Earnie Boyd <earnie@users.sf.net>
1896 * moldname-crtdll.def: Remove CR from end of line.
1897 * moldname-msvcrt.def: Ditto.
1898 * Makefile.in: Use bzip2 compression for Cygwin target.
1900 2002-04-04 Danny Smith <dannysmith@sourceforge.users.net>
1902 * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
1903 TLOSS, PLOSS): Move oldname defines back, following
1904 the underscored names.
1906 2002-03-29 Danny Smith <dannysmith@sourceforge.users.net>
1908 * include/stdio.h (_snwprintf): Correct spelling.
1909 (_vsnwprintf): Likewise.
1910 * include/wchar.h (_snwprintf): Correct spelling.
1911 (_vsnwprintf): Likewise.
1913 2002-03-26 Danny Smith <dannysmith@users.sourceforge.net>
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
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.
1926 * include/wchar.h (_swnprintf): Add prototype.
1927 (_vswnprintf): Likewise.
1930 2002-01-28 Danny Smith <dannysmith@users.sourceforge.net>
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.
1939 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
1941 * profile/profil.c: Update copyright info.
1942 * profile/profil.h: Likewise.
1943 * profile/gcrt0.c: Likewise.
1945 2002-01-25 Pascal Obry <obry@gnat.com>
1947 * profile/profil.h (PROFADDR): Cast idx to unsigned long long to
1949 * profile/gmon.c: Define bzero as memset if mingw32.
1950 (monstartup): Use it.
1952 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
1954 * include/tchar.h (_TCHAR): Add missing ;.
1956 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
1958 * include/tchar.h (_TCHAR): Add typedefs.
1960 2002-01-16 Danny Smith <dannysmith@users.sourceforge.net>
1962 * include/stdlib.h (_onexit_t): Add typedef.
1963 (_onexit): Add prototype.
1965 2002-01-12 Danny Smith <dannysmith@users.sourceforge.net>
1967 * msvcrt.def: Revert accidental change.
1968 * include/stdlib.h: Ditto.
1970 2001-12-07 Earnie Boyd <earnie@users.sf.net>
1972 * Makefile.in: Increment VERSION.
1973 * include/_mingw.h: Ditto.
1975 2001-12-05 Earnie Boyd <earnie@users.sf.net>
1977 * include/strings.h: New File.
1979 2001-12-02 Danny Smith <dannysmith@users.sourceforge.net>
1982 2001-06-21 Mumit Khan <khan@nanotech.wisc.edu>
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.
1988 2001-11-29 Wu Yongwei <adah@netstd.com>
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.
1999 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
2001 * include/errno.h: Fix "errno is not a prototype" warning.
2003 2001-11-07 Danny Smith <dannysmith@users.sourceforge.net>
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):
2012 (isw* ctype functions): Inline definitions.
2013 * include/wctype.h (_ctype[],_pctype): Declare vars.
2014 (isw* ctype functions): Inline definitions.
2017 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
2019 * include/float.h (_clearfp, _statusfp, _fpreset, fpreset,
2020 __fpecode): Use __STDC__ prototypes.
2023 2001-11-06 Thomas Pfaff <tpfaff@gmx.net>
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.
2033 2001-11-05 Egor Duda <deo@logos-m.ru>
2035 * Makefile.in: Delete unused executable after creating base-files.
2037 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
2039 * include/errno.h (_errno): Use __STDC__ prototype.
2040 Thanks to: Jim Barton.
2042 2001-11-04 "stefan" <stefan@lkcc.org>
2044 * include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names.
2046 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
2048 * include/io.h (_commit): Add declaration.
2049 Thanks to: "stefan" <stefan@lkcc.org>
2051 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
2053 * include/sys/stat.h: Make S_IS* macros safer.
2055 2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
2057 * include/stdlib.h (EXIT_FAILURE): Change value to 1.
2059 2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
2061 * include/stdlib.h (__p__environ, __p__wenviron): Use
2062 __STDC__ prototypes.
2064 2001-09-19 Earnie Boyd <earnie@SF.net>
2066 * Makefile.in: Remove the /usr from the install target.
2067 (VERSION): Increment.
2068 include/_mingw.h: Ditto.
2070 2001-09-17 Earnie Boyd <earnie@SF.net>
2072 * Makefile.in: Increment version.
2073 * include/_mingw.h: Ditto.
2075 2001-09-10 Earnie Boyd <earnie@SF.net>
2077 * dossh: Remove inadvertantly imported file.
2079 2001-09-10 Danny Smith <dannysmith@users.sourceforge.net>
2081 * dirent.c (opendir): Use GetFileAttributes rather than stat
2082 to determine if input arg is dir.
2084 2001-08-29 Danny Smith <dannysmith@users.sourceforge.net>
2086 * include/stdarg.h (va_list): Typedef as __builtin_va_list if
2088 * include/varargs.h (va_list): Ditto.
2089 * include/stdio.h (va_list): Ditto.
2091 2001-08-01 Danny Smith <dannysmith@users.sourceforge.net>
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.
2097 (_wP_tmpdir): Ditto.
2098 (L_tmpnam): Change constant to 16.
2100 2001-06-28 Danny Smith <dannysmith@users.sourceforge.net>
2102 * include/malloc.h: Fix non-ANSI comment after #endif.
2104 2001-06-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2106 * profile/configure.in: Make msvcrt.dll version default.
2107 * profile/makefile.in: Build both gcrt1.o and gcrt2.o.
2108 * provile/configure: Regenerate.
2110 2001-06-11 Mattia Barbon <mbarbon@dsi.unive.it>
2112 * include/stdio.h (swscanf): Make first arugument const.
2113 * include/wchar.h (swscanf): Ditto.
2114 * include/tchar.h (_tfopen): New _UNICODE define.
2116 (_tsetlocale): Ditto.
2118 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
2120 * profile/Makefile.in (mkinstalldirs): Correct relative path.
2122 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
2124 * include/_mingw.h: Change version to 1.0.
2127 2000-02-21 Earnie Boyd <earnie@users.sourceforge.net>
2129 * include/tchar.h: (__TEXT): Remove undef.
2133 Fri Feb 2 10:34:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
2135 * include/tchar.h: (__TEXT): Add private macro.
2136 (_TEXT): Modify definition to use __TEXT.
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>
2142 Wed Jan 31 17:12:51 2001 Earnie Boyd <earnie@users.sourceforge.net>
2144 * Makefile.in: Increment version to 0.5
2145 * include/_mingw.h: Increment minor version
2147 Tue Jan 30 13:01:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
2149 * include/assert.h: (assert): Remove ; from end of definition
2150 Thanks to: AJ Reins <tbisp@qwest.net>
2152 Tue Jan 30 07:31:22 2001 Earnie Boyd <earnie@users.sourceforge.net>
2154 * include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
2155 Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
2157 Mon Jan 29 14:03:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
2159 * time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
2161 Sun Jan 28 13:01:08 2001 Earnie Boyd <earnie@users.sourceforge.net>
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.
2167 2001-01-28 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
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.
2180 2001-01-22 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2182 * include/stdint.h: New file.
2184 Thu Jan 18 10:33:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
2186 * include/wchar.h: Protect prototypes only declared in the C++ STL
2187 from being declared unless __cplusplus is defined.
2189 Tue Jan 16 11:37:31 2001 Earnie Boyd <earnie@users.sourceforge.net>
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.
2195 Tue Jan 16 09:41:41 2001 Earnie Boyd <earnie@users.sourceforge.net>
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.
2201 (_wsetlocale) Add prototype.
2203 2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
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.
2215 2000-11-22 Earnie Boyd <earnie_boyd@yahoo.com>
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).
2221 2000-11-21 Earnie Boyd <earnie_boyd@yahoo.com>
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
2232 * config.guess: ditto.
2233 * config.sub: ditto.
2234 * mkinstalldirs: ditto.
2235 * install-sh: ditto.
2236 * configure: regenerate.
2237 * profile/configure: ditto.
2239 2000-11-20 Earnie Boyd <earnie_boyd@yahoo.com>
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
2258 Mon Nov 20 18:58:12 2000 Christopher Faylor <cgf@cygnus.com>
2260 * Makefile.in: Use a different variable name for subdirectory since the
2261 previous one was used by the top level make.
2263 Sun Nov 19 20:50:51 2000 Christopher Faylor <cgf@cygnus.com>
2265 * Makefile.in: Install mingw stuff in a subdirectory if building under
2268 Sat Jun 17 21:48:23 2000 Christopher Faylor <cgf@cygnus.com>
2270 * Makefile.in (subdirs): Eliminate for loop.
2272 Sat Jun 17 18:27:59 2000 Christopher Faylor <cgf@cygnus.com>
2274 * Makefile.in (subdirs): Previous change did not fix problem in
2277 Sat Jun 17 13:49:12 2000 Christopher Faylor <cgf@cygnus.com>
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.
2285 Wed Apr 19 13:10:54 2000 Christopher Faylor <cgf@cygnus.com>
2287 * configure.in: Change HEADER_SUBDIR to mingw32.
2288 * configure: Regenerate.
2290 Mon Apr 10 17:24:28 2000 Christopher Faylor <cgf@cygnus.com>
2292 * include/string.h: Use proper prototype for _strerror.
2294 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
2296 * Makefile.in (subdirs): Workaround for broken shells.
2298 2000-02-03 Mumit Khan <khan@xraylith.wisc.edu>
2300 * Snapshot 2000-02-03.
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
2308 * Makefile.in (all): Build CRT0S first.
2309 (libmingwthrd.a): Remove thread support DLL from dependency.
2311 2000-01-21 Mumit Khan <khan@xraylith.wisc.edu>
2313 * Snapshot 2000-01-21.
2315 2000-01-20 Mumit Khan <khan@xraylith.wisc.edu>
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
2323 (DLL_CC_STUFF): Add DLL entry point.
2324 * configure: Regenerate.
2326 2000-01-19 Mumit Khan <khan@xraylith.wisc.edu>
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
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.
2342 Tue Dec 21 02:22:14 1999 Mumit Khan <khan@xraylith.wisc.edu>
2344 * Snapshot 1999-12-21.
2346 * include/wctype.h: New file.
2347 * include/ctype.h (MB_CUR_MAX): Define.
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.
2357 Thu Nov 18 00:22:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
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.
2363 Sun Nov 7 02:50:09 1999 Mumit Khan <khan@xraylith.wisc.edu>
2365 Released 1999-11-07.
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.
2374 Thu Nov 4 14:32:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2376 * Makefile.in: Add support for profile directory.
2377 * configure.in: Likewise.
2378 * configure: Regenerate.
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.
2392 Wed Nov 3 16:26:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
2394 * include/stdlib.h: Add wide character version of argv/environ.
2396 * include/wchar.h: More wide character prototypes.
2397 * include/sys/stat.h: Likewise. Add struct stat as well as _stat.
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.
2403 Sat Oct 30 03:06:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
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.
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.
2414 * Makefile.in: Update.
2415 * configure.in: Likewise. Also add *cygwin* target for building
2416 under Cygwin winsup.
2417 * configure: Regenerate.
2419 Fri Oct 1 11:10:30 1999 Mumit Khan <khan@xraylith.wisc.edu>
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
2435 Wed Aug 18 18:38:39 1999 Mumit Khan <khan@xraylith.wisc.edu>
2437 * configure.in (RUNTIME, CRT_ID): Add to differentiate between
2438 crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
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.
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.
2458 Reported by Emanuele Aliberti <ea@iol.it>:
2459 * include/tchar.h (_ttoi): Add macro.
2461 Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
2462 * include/stdio.h (_snprintf): Add prototype.
2463 (_vsnprintf): Likewise.
2465 Sat Aug 7 18:00:00 1999 Mumit Khan <khan@xraylith.wisc.edu>
2467 Reported by Tor Lillqvist <tml@iki.fi>:
2468 * include/stdlib.h (__p___argv): Fix return type.
2470 Fri Jul 30 22:07:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
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
2477 * include/stdlib.h: Likewise.
2478 * include/string.h: Likewise.
2479 * include/time.h: Likewise.
2481 Fri Jul 30 13:47:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
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.
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
2491 (WinMainCRTStartup): Likewise.
2492 * init.c (_startupinfo): Define.
2493 (_getmainargs): Add 5th parameter.
2494 (_mingw32_init_mainargs): Use.
2496 * ALL *.c files: Reformat according to GNU coding style.
2498 Fri Jul 16 00:46:04 1999 Mumit Khan <khan@xraylith.wisc.edu>
2500 * Makefile.in (INCLUDES): Add w32api include directory.
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.
2510 * include/stdlib.h (atexit): Fix prototype.
2512 Mon Jun 14 18:38:49 1999 Mumit Khan <khan@xraylith.wisc.edu>
2514 * include/stdio.h (_tempnam): Fix prototype.
2515 (tempnam): Likewise.
2516 * include/stdlib.h: Replace with GCC's version, and guard
2519 From Anders Norlander <anorland@hem2.passagen.se>:
2520 * include/stdlib.h (__argc): Declare.
2523 Mon Apr 5 13:49:17 1999 Mumit Khan <khan@xraylith.wisc.edu>
2525 * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
2527 * Makefile.in (_libm_dummy.o): New target.
2530 Tue Mar 16 18:15:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
2532 * Released 1999-03-16 along with egcs-1.1.2.
2534 Wed Feb 17 17:15:56 1999 Mumit Khan <khan@xraylith.wisc.edu>
2536 * Makefile.in (LIBS): Add libm.a.
2537 (libm.a): Dummy libm.a.
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.
2544 (LIBS): Add libmoldname-msvc.a.
2545 (libmoldname-msvc.a): Add target.
2546 (distclean): Add target.
2548 Tue Feb 9 00:26:05 1999 Mumit Khan <khan@xraylith.wisc.edu>
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.
2556 Sun Jan 3 23:52:25 1999 Mumit Khan <khan@xraylith.wisc.edu>
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.
2563 Thu Dec 31 16:04:55 1998 Mumit Khan <khan@xraylith.wisc.edu>
2565 * 1999-01-01 release bundled with egcs-1.1.1.
2567 * include/io.h: Incorporate dir.h.
2568 * include/dir.h: Remove.
2569 * include/signal.h: Move RC_INVOKED up a bit.
2571 Tue Dec 29 15:04:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
2573 * include/signal.h (sig_atomic_t): Define.
2575 * include/malloc.h: Import defs from deprecated alloc.h.
2576 * include/alloc.h: Remove.
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.
2583 Thu Sep 10 22:28:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
2585 * include/errno.h (sys_errlist, sys_nerr): Move from here ...
2586 * include/stdlib.h: Here.
2588 * include/netdb.h: Remove.
2589 * include/arpa/inet.h: Remove.
2590 * include/netinet/in.h: Remove.
2591 * include/sys/socket.h: Remove.
2593 Fri Sep 4 15:09:11 1998 Mumit Khan <khan@xraylith.wisc.edu>
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.
2600 Thu Sep 3 10:43:29 1998 Mumit Khan <khan@xraylith.wisc.edu>
2602 * setjmp.h (_JBTYPE, _JBLEN): Define correctly.
2603 (jmpbuf): typedef using above.
2604 (setjmp, longjmp): Prototype using jmpbuf.
2606 Merge with Colin Peters' 980701 snapshot. I've ignored changes to
2607 obsolescent imported names, ie., from __imp__ to _imp___.
2609 Also ignored empty include/sys/param.h and incorrect
2610 include/sys/times.h.
2612 * CRTinit.c: New file.
2613 * include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef
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.
2620 Thu Sep 3 09:49:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
2622 * include/assert.h (assert): Lose the trailing semicolon.
2624 Thu Jul 30 21:18:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
2626 * include/math.h (matherr): Declare.
2627 * include/stdio.h (fileno, _fileno): Declare.
2628 * include/stdlib.h (environ, _environ): Fix to use runtime DLL.
2631 * include/stdio.h (fdopen, _fdopen): Add const.
2632 (getw, putw): Declare.
2633 * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix.
2635 Sat Jun 13 18:19:41 1998 Mumit Khan <khan@xraylith.wisc.edu>
2637 * include/time.h (_timezone): Undefine.
2638 * include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
2640 * include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
2642 * include/stdlib.h (environ): Use DLL version.
2643 * init.c (environ): Undefine it before use.
2645 Sun Mar 22 19:59:30 1998 Mumit Khan <khan@xraylith.wisc.edu>
2647 * Update to 980309 snapshot from Colin Peters.
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.
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.
2661 Wed Feb 4 14:16:44 1998 Mumit Khan <khan@xraylith.wisc.edu>
2663 * Update to 980128 snapshot from Colin Peters.
2665 Sat Dec 6 21:30:35 1997 Mumit Khan <khan@xraylith.wisc.edu>
2667 * configure.in (AC_INIT): Use dllmain.c instead of defunct
2669 * configure: Regenerate.
2671 Fri Dec 5 15:57:36 1997 Mumit Khan <khan@xraylith.wisc.edu>
2673 * Update to 971205 snapshot from Colin Peters. Lots of changes.
2674 Files renamed and include hierarchy loses directories named
2677 * include/dos.h: from Jan-Jaap.
2679 Thu Dec 4 21:48:13 1997 Mumit Khan <khan@xraylith.wisc.edu>
2681 Changes to conform to FSF tree.
2683 * crt1.c: Renamed from mcrt0.c.
2684 * dllcrt1.c: Renamed from dllcrt0.c.
2685 * Makefile.in: Update above. Also renamed libmoldnames.a to
2688 Mon Dec 1 16:51:30 1997 Mumit Khan <khan@xraylith.wisc.edu>
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.
2700 Tue Nov 4 14:51:01 1997 Mumit Khan <khan@xraylith.wisc.edu>
2702 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
2704 * include/stdlib.h (free): Fix prototype to return void, not void*.
2705 * include/nonansi/process.h: Add P_* and WAIT_* defs.
2707 * dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
2708 * mcrt0.c: Likewise.
2710 * Makefile.in (LIBS): Delete moldnames.dll from target libs.
2711 (libmoldnames.a): Add explicit rule to create it.
2713 Fri Aug 15 18:23:43 1997 Rob Savoye <rob@cygnus.com>
2715 New directory for the minimalist cygwin environment.
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
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
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.