2002-12-12 Earnie Boyd * include/malloc.h (_alloca): Add definition. (alloca): Ditto. 2002-12-08 Danny Smith * mingwex/math/s_erf.c: New file. * mingwex/math/sf_erf.c: New file. * mingwex/Makefile.in (MATH_DISTFILES): Add new files. (MATH_OBJS): Add new objects. * include/math.h (erf[f]): Add prototypes. (erfc[f]): Add prototypes. 2002-12-07 Danny Smith * include/math.h: Add traditional/XOPEN math constants. 2002-11-27 Danny Smith * mingwex/math/lgamma.c: New file. * mingwex/math/lgammaf.c: New file. * mingwex/math/lgammal.c: New file. * mingwex/math/tgamma.c: New file. * mingwex/math/tgammaf.c: New file. * mingwex/math/tgammal.c: New file. * mingwex/math/cephes_mconf (polevlf): Add float version. (p1evlf): Likewise. Define _CEPHES_USE_ERRNO. * mingwex/Makefile.in (MATH_DISTFILES): Add new files. (MATH_OBJS): Add new objects. * include/math.h (lgamma[fl]): Add prototypes. (tgamma[fl]): Add prototypes. 2002-11-26 Danny Smith * mingwex/strtold.c: New file. * mingwex/wcstold.c: New file. * mingwex/ldtoa.c: New file. * mingwex/math/cephes_emath.h: New file. * mingwex/math/cephes_emath.c: New file. * mingwex/Makefile.in (DISTFILES): Add new files. (MATH_DISTFILES): Ditto. (STDLIB_OBJS): New. Define as strtold.c wcstold.c. (MATH_OBJS): Add cephes_emath.o. (LIB_OBJS): Add $(STDLIB_OBJS). * include/stdlib.h (strtold, wcstold): Add prototypes. * include/wchar.h (wcstold): Add prototype. 2002-11-09 Danny Smith * include/math.h (sqrt): Remove inline definition. (sqrtf): Replace inline definition with prototype. (sqrtl): Likewise. * mingwex/math/sqrtf.c (sqrtf): Set domain error if argument less than zero. * mingwex/math/sqrtf.c (sqrtl): Likewise. 2002-10-30 Guido Serassio * include/stdio.h (_getmaxstdio): Add prototype. (_setmaxstdio): Likewise. 2002-10-19 Kang Li * include/fcntl.h (O_SEQUENTIAL): Correct typo. 2002-10-19 Danny Smith * crt1.c: Define new macro __IN_MINGW_RUNTIME before including stdlib.h. Define WIN32_MEAN_AND_LEAN before including windows.h * include/stdlib.h (_fmode): Protect declaration as dllimported variable with __IN_MINGW_RUNTIME. 2002-10-19 Igor Pechtchanski * crt1.c: Include stdlib.h. 2002-10-19 Danny Smith * Makefile.in (CRT0S): Add txtmode.o binmode.o. (MINGW_OBJS): Add txtmode.o. (SRCDIST_FILES): Add txtmode.c binmode.c. crt1.c: Don't include fcntrl.h, stdlib.h. (_fmode): Declare, without dllimport attribute. (__p__fmode): Declare access function for dll's _fmode. (_mingw32_init_fmode): Sync dll _fmode with staticly linked _fmode for app. * txtmode.c: New file. * binmode.c: New file. * samples/fmode/test2.c: New file. * samples/fmode/jamfile: Add test2.exe target. 2002-10-11 Danny Smith * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let macros work with C89. (INTMAX_C, UINTMAX_C): Likewise. 2002-10-11 Danny Smith * include/string.h (strcasecmp): Make extern __inline__. (strncasecmp): Likewise. (wcscmpi): Likewise. 2002-10-08 Heiko Gerdau * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd. _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE mappings. 2002-10-07 Danny Smith * mingwex/math/powil.c: Rename powil to __powil. * mingwex/math/powl.c: Adjust declaration and call to __powil. Remove comment on powil. * mingwex/math/powi.c: New file. * mingwex/math/powif.c: New file. * mingwex/math/pow.c: New file. * mingwex/math/cephes_mconf.h. Add double and float versions of constants. (polevl): Add double precision function. (p1evl): Likewise. * mingwex/Makefile.in (MATH_DISTFILES): Add pow.c, powi.c, powif.c. (MATH_OBJS): Add pow.o, powi.o, powif.o. 2002-10-03 Danny Smith * include/cytpe.h (_imp____mbcur_max): Add missing ';'. (_imp____mbcur_max_dll): Likewise. 2002-10-03 Danny Smith * include/fcntl.h (_fmode): Remove declarations and compatibility defines. (_setmode, setmode): Remove prototypes. * include/stdlib (_fmode): Add declarations and compatibility defines. Change type to int. * include/io.h (_setmode, setmode): Add prototypes. * samples/fmode/all.c: Adjust includes. * samples/fmode/test.c: Likewise. * crt1.c (_CRT_fmode): Declare as int. * CRTfmode.c (_CRT_fmode): Likewise. * include/stdlib: Remove comment about MB_CUR_MAX. 2002-10-02 Danny Smith * include/stdlib.h (_imp____mbcur_max): Add missing ';'. (_imp____mbcur_max_dll): Likewise. 2002-09-18 Danny Smith * mingwex/math/files.txt: Remove inadvertantly added file. 2002-09-18 Danny Smith * include/string.h (_strerror): Move into #ifndef __STRICT_ANSI__ block. 2002-09-17 Danny Smith * include/time.h (__need_NULL): Define before including stddef.h. Thanks to: Rüdiger Dehmel . 2002-09-16 Ranjit Matthew * include/stdio.h: Correct comment about directory separator. 2002-09-12 Danny Smith * include/sys/time.h (timeval): Add struct definition and associated macros (copied from w32api/include/winsock.h).