From 26e8e4befff225f93ed71f0f3182647cea975ecc Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Sat, 23 Jun 2007 07:54:58 +0000 Subject: [PATCH] *include/wctpe.h: Likewise. *include/wdirent.h: Likewise. Changelog: Whitespace Further: http://www.lib.virginia.edu/cgi-bin/imgload.cgi/53 --- winsup/mingw/ChangeLog | 1126 +++++++++++++++++---------------- winsup/mingw/include/dirent.h | 24 +- winsup/mingw/include/wctype.h | 70 +- 3 files changed, 628 insertions(+), 592 deletions(-) diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 1d9bd735f..b9af074b4 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,8 +1,44 @@ -2007-06-22 Danny Smith +2007-06-23 Danny Smith + + *include/wctype.h: Qualify all functions with __MINGW_NOTHROW. + *include/dirent.h: Likewise. + +2007-06-23 Danny Smith + + * include/assert.h: Qualify all functions with __MINGW_NOTHROW. + * include/conio.h: Likewise. + * include/ctype.h: Likewise. + * include/direct.h: Likewise. + * include/dos.h: Likewise. + * include/errno.h: Likewise. + * include/fenv.h: Likewise. + * include/float.h: Likewise. + * include/inttypes.h: Likewise. + * include/io.h: Likewise. + * include/libgen.h: Likewise. + * include/locale.h: Likewise. + * include/malloc.h: Likewise. + * include/mbctype.h: Likewise. + * include/mbstring.h: Likewise. + * include/process.h: Likewise. + * include/search.h: Likewise. + * include/setjmp.h: Likewise. + * include/signal.h: Likewise. + * include/stdio.h: Likewise. + * include/stdlib.h: Likewise. + * include/string.h: Likewise. + * include/time.h: Likewise. + * include/wchar.h: Likewise. + * include/sys/stat.h: Likewise. + * include/sys/time.h: Likewise. + * include/sys/timeb.h: Likewise. + * include/sys/utime.h: Likewise. + +2007-06-22 Danny Smith * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal. -2007-06-22 Danny Smith +2007-06-22 Danny Smith Add POSIX binary tree search API. @@ -21,93 +57,93 @@ (VISIT): Define. (node_t): Define, on condition of _SEARCH_PRIVATE. -2007-06-22 Danny Smith +2007-06-22 Danny Smith * include/_mingw.h (__MINGW_NOTHROW): Define. -2007-06-18 Danny Smith +2007-06-18 Danny Smith * include/stdio.h (vsnprintf): Remove inline definition. Add prototype. -2007-06-16 Danny Smith +2007-06-16 Danny Smith * CRTfmode.c: Nit-pick comment fix. -2007-06-16 Christopher Faylor +2007-06-16 Christopher Faylor * CRTfmode.c: Fix nested comment. -2007-06-16 Christopher Faylor +2007-06-16 Christopher Faylor * include/string.h (strcasecmp): Fix typo in declaration prototype. -2007-06-14 Danny Smith +2007-06-14 Danny Smith * include/io.h (lseek64) : Add prototype. -2007-06-14 Danny Smith +2007-06-14 Danny Smith * include/string.h (strcasecmp): Add prototype. (strncasecmp): Add prototype. -2007-06-13 Danny Smith +2007-06-13 Danny Smith * Makefile.in (CRT0S): Revert last change. * CRTfmode.c. Correct comment. -2007-06-13 Danny Smith +2007-06-13 Danny Smith * Makefile.in (CRT0S): Add back CRTfmode.o. -2007-06-13 Danny Smith +2007-06-13 Danny Smith - * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t. + * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t. * include/io.h: Likewise. -2007-06-11 Danny Smith +2007-06-11 Danny Smith * crt1.c (__mingw_CRTStartup): Add explicit call to gcc's __main. -2007-05-08 Danny Smith +2007-05-08 Danny Smith * include/stdint.h (intptr_t): Fix typo. Thanks to Charles Wilson for report. -2007-05-07 Danny Smith +2007-05-07 Danny Smith * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED. Condition on _WIN64. - (uintptr_t): Protect with _UINTPTR_T_DEFINED. Condition on _WIN64. + (uintptr_t): Protect with _UINTPTR_T_DEFINED. Condition on _WIN64. (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64. (PTRDIFF_MIN): Define as INTPTR_MIN. (PTRDIFF_MAX): Define as INTPTR_MAX. (SIG_ATOMIC_MIN): Define as INTPTR_MIN. (SIG_ATOMIC_MAX): Define as INTPTR_MAX. -2007-04-07 Chris Sutcliffe +2007-04-07 Chris Sutcliffe - * Makefile.in: Removed mansuffix variable. Changed mansection to support + * Makefile.in: Removed mansuffix variable. Changed mansection to support Cygwin man page location. -2007-04-05 Chris Sutcliffe +2007-04-05 Chris Sutcliffe - * Makefile.in: Added mansection and mansuffix variables. Changed mandir to + * Makefile.in: Added mansection and mansuffix variables. Changed mandir to support Cygwin man page location. -2007-03-25 Chris Sutcliffe +2007-03-25 Chris Sutcliffe * Include/_mingw.h: Increment version to 3.12. -2007-03-22 Brian Ripley +2007-03-22 Brian Ripley * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__. -2007-03-20 Chris Sutcliffe +2007-03-20 Chris Sutcliffe * Makefile.in: Tweak srcdist to fix build issue. -2007-03-20 Keith Marshall +2007-03-20 Keith Marshall Add --enable-mingw-manpage-transform configure option. @@ -115,11 +151,11 @@ * configure.in, Makefile.in: Use it. * configure: Regenerated. -2007-03-18 Danny Smith +2007-03-18 Danny Smith * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ for gcc 4.2.x too. -2007-03-10 Keith Marshall +2007-03-10 Keith Marshall Add manpages for dirname and basename functions. @@ -127,33 +163,33 @@ * man/dirname.man: New file; it sources both manpages. * Makefile.in: Add provisional rules to distribute them. -2007-03-08 Keith Marshall +2007-03-08 Keith Marshall * mingwex/basename.c: Make it work with path names containing multibyte character strings. * mingwex/dirname.c: Likewise. -2007-03-05 Danny Smith +2007-03-05 Danny Smith * include/io.h (__mingw_access): New static inline wrapper to restore - pre-Vista 'access (fname, X_OK)' behaviour. + pre-Vista 'access (fname, X_OK)' behaviour. (__USE_MINGW_ACCESS): Use to map access() to __mingw_access(). -2007-03-05 Danny Smith +2007-03-05 Danny Smith * mingwex/fesetround.c (fesetround): Use unsigned int as operand - to stmxcsr. - Thanks to Alexey Kuznetsov + to stmxcsr. + Thanks to Alexey Kuznetsov -2007-02-27 Thorsten Dahlheimer +2007-02-27 Thorsten Dahlheimer * include/stdio.h (_unlink, unlink): Add prototypes. -2007-02-18 Aurimas Cernius +2007-02-18 Aurimas Cernius - * include/excpt.h: Replace "_try1" in comments with "__try1". + * include/excpt.h: Replace "_try1" in comments with "__try1". -2007-02-15 Danny Smith +2007-02-15 Danny Smith * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES. (ALL_CXXFLAGS): Likewise. @@ -162,11 +198,11 @@ * profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES. (ALL_CXXFLAGS): Likewise. -2007-02-08 Danny Smith +2007-02-08 Danny Smith - * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment. + * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment. -2007-01-27 Danny Smith +2007-01-27 Danny Smith Expose some more msvcr80.dll functions. * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64, @@ -174,7 +210,7 @@ * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64, _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs. -2007-01-26 Danny Smith +2007-01-26 Danny Smith Expose some msvcr80.dll functions. * include/stdlib.h (_set_abort_behavior): Add prototype. @@ -187,24 +223,24 @@ * msvcrt.def.in (_get_printf_count_output,_set_printf_count_output, _set_abort_behavior, _set_invalid_parameter_handler): Add stubs. -2007-01-26 Danny Smith +2007-01-26 Danny Smith - * include/_mingw.h (CRT_INLINE): Correct typo. + * include/_mingw.h (CRT_INLINE): Correct typo. -2007-01-24 Danny Smith +2007-01-24 Danny Smith - * include/io.h (X_OK): Define to F_OK. + * include/io.h (X_OK): Define to F_OK. -2007-01-19 Danny Smith +2007-01-19 Danny Smith * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define - unconditionally. Change comment. + unconditionally. Change comment. * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define here too. * include/io.h (rename): Declare. (remove): Declare. -2006-12-31 Keith Marshall +2006-12-31 Keith Marshall * include/libgen.h: New file; required by... * mingwex/basename.c, mingwex/dirname.c: New files. @@ -212,7 +248,7 @@ (POSIX_OBJS): ...with corresponding basename.o, dirname.o (Dependencies): Typo; s/Dependancies/Dependencies/ -2006-11-25 Keith Marshall +2006-11-25 Keith Marshall * Makefile.in (VERSION): Let configure define it. @@ -226,34 +262,34 @@ * configure: Regenerated. -2006-11-21 Danny Smith +2006-11-21 Danny Smith * Makefile.in: Add aclocal.m4 to source release. * mingwex/Makefile.in: Ditto. * profile/Makefile.in: Ditto. -2006-11-18 Chris Sutcliffe +2006-11-18 Chris Sutcliffe * Include/_mingw.h: Increment version to 3.11. * Makefile.in: Ditto. -2006-11-09 Danny Smith +2006-11-09 Danny Smith [ mingw-Bugs-1590623 ] * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute in C99 mode. -2006-10-04 Corinna Vinschen +2006-10-04 Corinna Vinschen * Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now correctly parenthesized. -2006-09-19 Danny Smith +2006-09-19 Danny Smith * mingwex/mb_wc_common.h (get_codepage): Get it from __lc_codepage. -2006-09-18 Danny Smith +2006-09-18 Danny Smith * mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity. Use fpclassify. @@ -262,23 +298,23 @@ * mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with others. -2006-09-16 Danny Smith +2006-09-16 Danny Smith * mingwex/gdtoa/strtopx.c (strtopx): Fix long double representation of infinity. -2006-09-11 Christopher Faylor +2006-09-11 Christopher Faylor * Makefile.in: Semi-revert 2006-08-30 change. -2006-09-10 Danny Smith +2006-09-10 Danny Smith * include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define. (__MINGW_IMPORT): Ansify. * include/stdlib.h (_sleep, _beep, _seterrormode): Add __MINGW_ATTRIB_DEPRECATED. -2006-09-10 Keith Marshall +2006-09-10 Keith Marshall * aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX): Redundant macros; deleted. @@ -288,13 +324,13 @@ * configure: Regenerated. -2006-09-06 Danny Smith +2006-09-06 Danny Smith * mingwex/gdtoa/misc.c (pow5mult): Restore original code. * mingwex/gdtoa/gdtoa.h. Add comment that files have been modified. * mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets. -2006-09-01 Danny Smith +2006-09-01 Danny Smith * mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c, g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h, @@ -304,7 +340,7 @@ * mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files. * mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files. * mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage(). - * mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage(). + * mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage(). * mingwex/wcstold.c: Avoid using strtold internals. * mingwex/wcstof.c: Rewrite. * mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution. @@ -317,31 +353,31 @@ (wcstof): Likewise. * include/wchar.h (wcstof): Remove inline definition. -2006-08-30 Corinna Vinschen +2006-08-30 Corinna Vinschen * Makefile.in: Add with_cross_host to allow more granular checks. - Set installation directories accordingly. Override CC setting only + Set installation directories accordingly. Override CC setting only if building a Cygwin target. * aclocal.m4: Regenerate. - * configure.in: Move AC_CANONICAL_SYSTEM check up. Add - GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files. + * configure.in: Move AC_CANONICAL_SYSTEM check up. Add + GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files. Test AC_ALLOCA only if building on a native system. * configure: Regenerate. -2006-08-27 Chris Sutcliffe +2006-08-27 Chris Sutcliffe * include/ctype.h: Fix typo. -2006-08-25 Danny Smith +2006-08-25 Danny Smith * include/ctype.h: Expose iswblank if __cplusplus. * include/wctype.h: Expose iswblank if __cplusplus. -2006-08-03 Danny Smith +2006-08-03 Danny Smith * include/ctype.h: Remove stray ')'; -2006-08-03 Danny Smith +2006-08-03 Danny Smith * include/ctype.h (_BLANK): Expand comment. (isblank): Add prototype and inline definition. @@ -351,15 +387,15 @@ * mingwex/iswblank.c: New file. * mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a -2006-07-06 Danny Smith +2006-07-06 Danny Smith * include/math.h (__INFF,__INFL): Remove '#'. -2006-07-04 Danny Smith +2006-07-04 Danny Smith * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES. -2006-07-03 Danny Smith +2006-07-03 Danny Smith Support SSE float environment in fenv.h functions. * cpu_features.c: New file. @@ -368,7 +404,7 @@ (__mingw_CRTStartup): Call cpu_features_init(). * Makefile.in (MING_OBJS): Add cpu_features.c. (SRCDIST_FILES): Add cpu_features.c, cpu_features.h. - * include/fenv,h ( fenv_t;): Append __mxcsr field. + * include/fenv,h ( fenv_t;): Append __mxcsr field. (__MXCSR_EXCEPT_FLAG_SHIFT): New define. (__MXCSR_EXCEPT_MASK_SHIFT): New define. (__MXCSR_ROUND_FLAG_SHIFT): New define. @@ -383,57 +419,57 @@ * mingwex/feupdateenv.c: Likewise. * mingwex/fegetround.c: Add comment. -2006-06-25 Chris Sutcliffe +2006-06-25 Chris Sutcliffe * Include/_mingw.h: Increment version to 3.10. * Makefile.in: Ditto. -2006-06-26 Danny Smith +2006-06-26 Danny Smith * mingwex/math/tgamma.c (SQTPI): Add braces. -2006-06-26 Danny Smith +2006-06-26 Danny Smith * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko. * mingwex/math/lgamma.c: (LOGPI) Avoid type punning. (LS2PI): Likewise. - * mingwex/math/sf_erf.c (erff): Initialize z. - (erfcf): Likewise. + * mingwex/math/sf_erf.c (erff): Initialize z. + (erfcf): Likewise. * mingwex/math/tgamma.c (SQTPI): Avoid type punning. -2006-06-25 Chris Sutcliffe +2006-06-25 Chris Sutcliffe * Include/_mingw.h: Increment version to 3.10. * Makefile.in: Ditto. -2006-06-23 Danny Smith +2006-06-23 Danny Smith * include/sys/time.h (struct timezone): Define. * include/time.h: Correct comment about timezone. -2006-06-18 Danny Smith +2006-06-18 Danny Smith * configure.in (AC_CONFIG_AUX_DIR): Remove. * configure: Regenerate. -2006-06-18 Chris Sutcliffe +2006-06-18 Chris Sutcliffe * configure: add srcdir as a possible location for install-sh. -2006-06-18 Danny Smith +2006-06-18 Danny Smith * mingwex/dirent.c (_tGetFileAttributes): New helper function. (_topendir): Use it. -2006-06-18 Danny Smith +2006-06-18 Danny Smith - * include/sys/time.h: Add header guard. Add extern "C" bracketing + * include/sys/time.h: Add header guard. Add extern "C" bracketing for __cplusplus. (gettimeofday): Add prototype. * mingwex/gettimeofday.c: New file. * mingwex/makefile.in: Add gettimeofday source and object. -2006-06-13 Danny Smith +2006-06-13 Danny Smith * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3, else global library variable. @@ -442,15 +478,15 @@ (INFINITY): Likewise. (NAN): LiKewise. -2006-06-13 Danny Smith +2006-06-13 Danny Smith * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo. -2006-06-13 Danny Smith +2006-06-13 Danny Smith * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59. -2006-05-24 Christopher Faylor +2006-05-24 Christopher Faylor * configure.in: Update to newer autoconf. (thanks to Steve Ellcey) @@ -463,77 +499,77 @@ * mingwex/aclocal.m4: Ditto. * profile/aclocal.m4: Ditto. -2006-05-17 Danny Smith +2006-05-17 Danny Smith * mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale. Use supplied codepage as arg to WideCharToMultiByte. -2006-02-13 Earnie Boyd +2006-02-13 Earnie Boyd * Makefile.in (libmsvcr80.a): Add import lib. (libmsvcr80d.a): Ditto. -2006-01-18 Chris Sutcliffe +2006-01-18 Chris Sutcliffe * Makefile.in: Bump cygwin build number. -2005-10-27 Chris Sutcliffe +2005-10-27 Chris Sutcliffe * Include/_mingw.h: Increment version to 3.9. * Makefile.in: Ditto. -2005-10-14 Danny Smith +2005-10-14 Danny Smith * include/limits.h (SSIZE_MAX): Define. (LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names. -2005-10-13 Wu Yongwei +2005-10-13 Wu Yongwei * include/tchar.h: Include when _UNICODE is defined. (_TEOF): New macro definition for _UNICODE and non_UNICODE cases. -2005-10-12 Danny Smith +2005-10-12 Danny Smith * include/stddef.h: Remove. * include/stdarg.h: Remove. -2005-10-12 Danny Smith +2005-10-12 Danny Smith * mingwex/complex/csqrt.c (csqrt): The sign of real part of result is positive when real part of arg == 0; * mingwex/complex/csqrtf.c (csqrtf): Ditto. * mingwex/complex/csqrtl.c (csqrtl): Ditto. -2005-10-12 Danny Smith +2005-10-12 Danny Smith * include/time.h (_time64): Correct prototype. -2005-10-08 Danny Smith +2005-10-08 Danny Smith * mingwex/fegetenv.c (fegetenv): Restore exception masks. * mingwex/feholdexcept.c (feholdexcept): Don't set exceptions to non-stop. Use "fnclex" to clear exception flags. -2005-09-24 Danny Smith +2005-09-24 Danny Smith * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN) Avoid raising FP exceptions. -2005-09-19 Danny Smith +2005-09-19 Danny Smith - * include/stdlib.h (strtof): Add prototype. Uglify + * include/stdlib.h (strtof): Add prototype. Uglify parameter names in inline definition. (wcstof): Likewise. (_Exit): Uglify parameter names in inline definition. (llabs): Add prototype. (_set_error_mode): Add prototype and input defines. -2005-08-25 Danny Smith +2005-08-25 Danny Smith * mingwex/fe*.c: Revert previous changes. * include/fenv.h: Revert previous changes. -2005-08-25 Danny Smith +2005-08-25 Danny Smith * mingwex/feclearexcept.c (feclearexcept): Change declaration. Do not return a value. @@ -547,70 +583,70 @@ fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct prototypes. -2005-08-25 Danny Smith +2005-08-25 Danny Smith * mingwex/stdio/fseeko64.c (fseeko64): Flush stream before getting filelength for SEEK_END. -2005-08-13 Chris Sutcliffe +2005-08-13 Chris Sutcliffe * Include/_mingw.h: Increment version to 3.8. * Makefile.in: Ditto. -2005-08-10 Danny Smith +2005-08-10 Danny Smith * include/wctype.h (towupper, towlower): Change arg and return value types to wint_t. * include/ctype.h (towupper, towlower): Likewise. -2005-08-10 Danny Smith +2005-08-10 Danny Smith * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with a diagnostic, guarded by #ifdef DEBUG. (__mingwthr_remove_key_dtor): Likewise. -2005-08-08 Danny Smith +2005-08-08 Danny Smith * moldname.def.in (sleep, beep, seterrormode): Remove. -2005-06-16 Danny Smith +2005-06-16 Danny Smith * profile/profile.h (_MCOUNT_CALL): Define as regparm(2) (_MCOUNT_DECL): Use it. (MCOUNT): Save and restore eax, ecx, edx registers. * profile/mcount.c (_mcount): ANSI-fy. -2005-06-16 Danny Smith +2005-06-16 Danny Smith * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to guard __MINGW_ATTRIB macro definitions. - * include/math.h (logb[fl]): Don't define inlines for + * include/math.h (logb[fl]): Don't define inlines for GCC-4.0+ && __FAST_MATH__. - (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up + (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up line-continuation backslashes. -2005-06-06 Danny Smith +2005-06-06 Danny Smith * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo in GNUC version guard. -2005-05-20 Danny Smith +2005-05-20 Danny Smith * crt1.c (_gnu_exception_handler): Handle illegal instruction OS exception as a signal if user has defined a SIGILL handler. -2005-05-10 Danny Smith +2005-05-10 Danny Smith * mingwex/math/nexttoward.c: New file. * mingwex/math/nexttowardf.c: New file. * mingwex/math/nextafterl.c: Add nexttowardl alias. * mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c, mexttowardf.c, - (MATH_OBJS): Add nexttoward.o, nexttowardf.o, + (MATH_OBJS): Add nexttoward.o, nexttowardf.o, * include/math.h (nexttoward, nextowardf, nexttowardl): Add prototypes. -2005-05-09 Danny Smith +2005-05-09 Danny Smith * mingwex/math/nextafterf.c (nextafterf): Correct handling of -0.0. @@ -619,37 +655,37 @@ (MATH_OBJS): Add nextafterl.o. * include/math.h (nextafterl): Uncomment prototype. -2005-05-08 Danny Smith +2005-05-08 Danny Smith * mingwex/math/erfl.c: New file. * mingwex/Makefile.in (MATH_DISTFILES): Add erfl.c. (MATH_OBJS): Add erfl.o. * include/math.h (erfl, erfcl): Uncomment prototypes. -2005-05-04 Danny Smith +2005-05-04 Danny Smith * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor #if (WCHAR_MAX <= WCHAR_MIN) is false. * include/stdint.h (WCHAR_MAX): Likwise. (WINT_MAX): Likewise. -2005-05-03 Danny Smith +2005-05-03 Danny Smith - * mingwex/math/signbit.c (__signbit): Make return value + * mingwex/math/signbit.c (__signbit): Make return value consistent with GCC's __builtin_signbit. - * mingwex/math/signbitf.c (__signbitf): Likewise. - * mingwex/math/signbitf.c (__signbitl): Likewise. + * mingwex/math/signbitf.c (__signbitf): Likewise. + * mingwex/math/signbitf.c (__signbitl): Likewise. * include/math.h (__signbit, __signbitf, __signbitl): Likewise for inlines. -2005-05-02 Danny Smith +2005-05-02 Danny Smith * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as variadic macro. * mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL. Remove unused MBTOWC_FLAGS define. -2005-04-23 Danny Smith +2005-04-23 Danny Smith * mingwex/mbrtowc.c: New file. * mingwex/wcrtomb.c: New file. @@ -663,54 +699,54 @@ (wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove arg names from protototypes. -2005-04-23 Wu Yongwei +2005-04-23 Wu Yongwei * mingwex/dirent.c: Formatting changes. * mingwex/dirent.c (_topendir): Make the end-of-path slash check MBCS-safe. -2005-03-31 Danny Smith +2005-03-31 Danny Smith * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define. -2005-03-24 Danny Smith +2005-03-24 Danny Smith * include/stdio.h (__mingw_fwrite): Change return value to size_t. * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise. -2005-03-15 Hans Leidekker +2005-03-15 Hans Leidekker * include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines. -2005-02-25 Danny Smith +2005-02-25 Danny Smith * include/wctype.h (wctrans): Remove _CRTIMP. (towctrans): Likewise. (wctype): Likewise, -2005-02-25 Danny Smith +2005-02-25 Danny Smith - * include/wctype.h: Add comment on wctrans, towctrans, wctype. + * include/wctype.h: Add comment on wctrans, towctrans, wctype. -2005-02-25 Danny Smith +2005-02-25 Danny Smith * mingwex/wctype.c: New file. * mingwex/wctrans.c: New file. * mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c. * mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o. -2005-02-11 Danny Smith +2005-02-11 Danny Smith * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings. -2005-02-11 Danny Smith +2005-02-11 Danny Smith - * include/assert.h: Remove header guard. #undef assert macro. + * include/assert.h: Remove header guard. #undef assert macro. (_assert): Use __MINGW_ATTRIB_NORETURN define. -2005-02-11 Gregory W. Chicares - Danny Smith +2005-02-11 Gregory W. Chicares + Danny Smith * include/math.h (expm1, expm1f, expmll): Add prototypes. * mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c, @@ -720,31 +756,31 @@ * mingwex/math/expm1f.c: New file. * mingwex/math/expm1l.c: New file. -2005-02-07 Danny Smith +2005-02-07 Danny Smith * include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES. * include/wchar.h (struct stat): Likwwise. - Bug reported to Debian by Anand Kumria + Bug reported to Debian by Anand Kumria * include/sys/stat.h: Remove empty __STRICT_ANSI__ guard. -2005-02-01 Danny Smith +2005-02-01 Danny Smith * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent string is not valid. -2005-01-26 Oliver Stoeneberg +2005-01-26 Oliver Stoeneberg * include/malloc.h: Add missing return code defines for _heapwalk() -2005-01-17 Danny Smith +2005-01-17 Danny Smith * include/sys/stat.h (struct __stat64): Change st_size type to __int64. * include/wchar.h (struct __stat64): Change st_size type to __int64. -2005-01-13 Earnie Boyd +2005-01-13 Earnie Boyd * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat, lstat): Remove. @@ -752,20 +788,20 @@ * include/_mingw.h: Increment version to 3.7. * Makefile.in: Ditto. -2005-01-11 Danny Smith +2005-01-11 Danny Smith * include/tchar.h (_tfreopen): Add UNICODE mappings. -2005-01-11 Earnie Boyd +2005-01-11 Earnie Boyd * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat, lstat): Conditionalize defines for __STRICT_ANSI__. -2005-01-10 Earnie Boyd +2005-01-10 Earnie Boyd * include/errno.h (ELOOP): Add definition. -2005-01-10 Danny Smith +2005-01-10 Danny Smith * mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c @@ -778,25 +814,25 @@ cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl): Declare. -2005-01-06 Danny Smith +2005-01-06 Danny Smith * include/_mingw.h (__int16): Define as short. - Thanks to: Leo Yuriev + Thanks to: Leo Yuriev -2005-01-06 Danny Smith +2005-01-06 Danny Smith * include/stdio.h (P_tmpdir): Add define. -2005-01-03 Earnie Boyd +2005-01-03 Earnie Boyd * Makefile.in (inst_docdir): For Cygwin target set to share/doc/. -2005-01-02 Earnie Boyd +2005-01-02 Earnie Boyd * include/_mingw.h: Increment version to 3.6 * Makefile.in: Ditto -2004-12-26 Danny Smith +2004-12-26 Danny Smith * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c @@ -809,16 +845,16 @@ cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf): Declare. -2004-12-20 Danny Smith +2004-12-20 Danny Smith * include/wchar.h (wcsdup): Correct prototype. * include/string.h (wcsdup): Correct prototype. -2004-10-14 Danny Smith +2004-10-14 Danny Smith * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90. -2004-10-07 Danny Smith +2004-10-07 Danny Smith * mingwex/math/fastmath.h: New file. * mingwex/math/asinh.c: New file. @@ -835,7 +871,7 @@ (MATH_DISTFILES): Add sources for above and fastmath.h to list. Specify dependency on fastmath.h for new objects. -2004-09-08 Earnie Boyd +2004-09-08 Earnie Boyd * include/sys/stat.h (_S_IFLNK): Add definition. (S_IFLNK) Ditto. @@ -844,18 +880,18 @@ (_S_ISLNK) Recode. (S_ISLNK) Ditto. -2004-09-08 Earnie Boyd +2004-09-08 Earnie Boyd * include/sys/stat.h (_S_ISLNK): Add definition. (S_ISLNK): Ditto. -2004-09-05 Earnie Boyd +2004-09-05 Earnie Boyd * include/_mingw.h: Increment minor version for 3.5 release. * Makefile.in: Ditto. * mingwex/Makefile.in: Correct typo in list of DISTFILES. -2004-08-24 Danny Smith +2004-08-24 Danny Smith * include/malloc.h (__mingw_aligned_offset_malloc, __mingw_aligned_offset_realloc, __mingw_aligned_malloc, @@ -865,26 +901,26 @@ tst-aligned-malloc.c. (REPLACE_OBJS): Add mingw-aligned-malloc.o. -2004-08-24 Steven G. Johnson +2004-08-24 Steven G. Johnson * mingwex/mingw-aligned-malloc.c: New file. * mingwex/tst-aligned-malloc.c: New file. -2004-08-24 Danny Smith +2004-08-24 Danny Smith - * crt1.c: (__mingw_CRTStartup): Change return to void. Add + * crt1.c: (__mingw_CRTStartup): Change return to void. Add noreturn attribute. Align stack to 16 bytes before passing args to main. (mainCRTStartup): Change return to void. (WinMainCRTStartup): Likewise. -2004-08-15 Danny Smith +2004-08-15 Danny Smith * profile/COPYING: New file. * profile/CYGWIN_LICENSE: New file. * profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE. -2004-08-15 Danny Smith +2004-08-15 Danny Smith * mingwex/fopen64.c: Move. * mingwex/fseeko64.c: Move. @@ -895,61 +931,61 @@ * mingwex/stdio/ftello64.c: To here. * mingwex/stdio/lseek64.c: To here. -2004-08-15 Danny Smith +2004-08-15 Danny Smith - * profile/gmon.c [__MINGW32__]: Include string.h for + * profile/gmon.c [__MINGW32__]: Include string.h for memset prototype. -2004-08-08 Christopher Faylor +2004-08-08 Christopher Faylor * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change. -2004-08-07 Danny Smith +2004-08-07 Danny Smith - * include/complex.h: Remove __attribute__ ((const)) from - transcendantal and trig functions. Replace __attribute__ ((const)) + * include/complex.h: Remove __attribute__ ((const)) from + transcendantal and trig functions. Replace __attribute__ ((const)) with __MINGW_ATTRIB_CONST on other declarations. -2004-08-07 Danny Smith +2004-08-07 Danny Smith * include/wchar.h: Reorganize, avoid including other headers. -2004-08-07 Danny Smith +2004-08-07 Danny Smith * include/string.h (memchr, memcmp, strchr, strcmp, strcspn) (strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure attribute. -2004-07-30 Danny Smith +2004-07-30 Danny Smith * include/dirent.h (struct _wdirent): Remove obsolete comment. -2004-07-30 Danny Smith +2004-07-30 Danny Smith * include/string.h: Revert 2004-07-26 additions of __ATTRIBUTE_PURE. -2004-07-28 Danny Smith +2004-07-28 Danny Smith * mingwex/math/powl.c (powl): Revert change of 2004-02-01. (__convert_inf_to_maxnum): New.static inline. (reducl): Use it to protect against Inf - Inf. - (__fast_ldexpl): New function. Use in lieu of ldexpl. + (__fast_ldexpl): New function. Use in lieu of ldexpl. -2004-07-27 Danny Smith +2004-07-27 Danny Smith * mingwex/math/expl.c (expl): Move body of code to new static function __expl, removing tests for +/-Inf. Extern function expl calls __expl after testing for max, min log thresholds. -2004-07-26 Danny Smith +2004-07-26 Danny Smith * mingwex/stdio/vsscanf.c: Add "edi" to registers-modified field * mingwex/stdio/vfscanf.c: Likewise. * mingwex/stdio/vswscanf.c: Likewise. * mingwex/stdio/vfwscanf.c: Likewise. -2004-07-26 Danny Smith +2004-07-26 Danny Smith * include/_mingw.h: Use only two underscores to uglify __MINGW_ATTRIB_* macros. @@ -960,14 +996,14 @@ string functions. (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC. -2004-07-25 Danny Smith +2004-07-25 Danny Smith * include/string.h: Group wide string functions together, and protect with _WSTRING_DEFINED. -2004-07-25 Danny Smith +2004-07-25 Danny Smith - * include/_mingw.h (__MINGW_ATTR_*): Replace with + * include/_mingw.h (__MINGW_ATTR_*): Replace with __MINGW_ATTRIB_*. * include/stdlib.h (_ATTRIB_NORETURN): Replace with __MINGW_ATTRIB_NORETURN, throughout. @@ -984,7 +1020,7 @@ (_lrotr): Likewise. * include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN. -2004-07-21 Danny Smith +2004-07-21 Danny Smith * include/_mingw.h: Undefine __attribute__. (__MINGW_ATTR_NORETURN): New define. @@ -994,46 +1030,46 @@ (_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy expansions. -2004-07-19 Danny Smith +2004-07-19 Danny Smith * include/time.h (__time64_t): Add missing ';'. -2004-07-17 Danny Smith +2004-07-17 Danny Smith * include/time.h (wcsftime): Move out of !__STRICT_ANSI block. (struct tm): Protect with _TM_DEFINED. -2004-07-17 Christopher Faylor +2004-07-17 Christopher Faylor * Makefile.in (CC): Strip inappropriate include file settings from any passed-in CC. -2004-07-15 "dgun" +2004-07-15 "dgun" * include/complex.h (conj): Correct typo in prototype. -2004-07-15 Danny Smith +2004-07-15 Danny Smith * include/math.h: Add pragma GCC system_header. -2004-07-15 Danny Smith +2004-07-15 Danny Smith * mingwex/complex/carg.c: New file. * mingwex/Makefile.in: Really add carg.o to libmingwex.a. -2004-07-15 Corinna Vinschen +2004-07-15 Corinna Vinschen * Makefile.in (INCLUDES): Temporarily revert previous change. * mingwex/Makefile,in (INCLUDES): Ditto. * profile/Makefile,in (INCLUDES): Ditto. * mingwex/Makefile,in: Drop carg.o dependency. -2004-07-14 Christopher Faylor +2004-07-14 Christopher Faylor * mingwex/fwide.c: Include to resolve FILE usage. -2004-07-14 Danny Smith +2004-07-14 Danny Smith * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a system dir. @@ -1042,7 +1078,7 @@ * mingwex/Makefile,in: Add carg.o to libmingwex.a. -2004-07-13 Earnie Boyd +2004-07-13 Earnie Boyd * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it for C modules. @@ -1052,35 +1088,35 @@ * include/_mingw.h: Increment minor version for 3.4 release. * Makefile.in: Ditto. -2004-07-12 Danny Smith +2004-07-12 Danny Smith * mingwex/math/cephes_emath.h (__etens): Remove declaration. -2004-07-11 Danny Smith +2004-07-11 Danny Smith * include/unistd.h (ftruncate): Add inline definition. * mingwex/ftruncate.c: New file. * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a. -2004-07-10 Danny Smith +2004-07-10 Danny Smith * include/time.h: Do not include sys/types.h. -2004-07-02 Danny Smith +2004-07-02 Danny Smith * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c, (MATH_OBJS): Remove pow,o. * include/math.h (pow): Declare with _CRTIMP. Add comment on how to avoid excess precision problems. -2004-06-30 Danny Smith +2004-06-30 Danny Smith * include/stdio.h (__mingw_fseeko64): Add prototype. * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition. (__mingw_fwrite): Handle huge files. -2004-06-30 Kees Zeelenberg - Danny Smith +2004-06-30 Kees Zeelenberg + Danny Smith * include/stdio.h (fopen64): Add inline function. (fseeko64): Add prototype. @@ -1096,11 +1132,11 @@ fseeko.64.c, ftello64.c, lseek64.c. (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o. -2004-04-24 Luke Dunstan +2004-04-24 Luke Dunstan * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines. -2004-04-22 Earnie Boyd +2004-04-22 Earnie Boyd * DISCLAIMER: Add words about "free to use". * README: Modify "Win32 runtime" to "Microsoft C Runtime". @@ -1110,10 +1146,10 @@ (FLAGS_TO_PASS): Include inst_docdir. (install-dirs): Add inst_docdir. (install): Add loop for INSTDOCS. - * strncasecmp.c: Reword copyright and disclaimer. Move Contributors - section to CONTRIBUTORS file. Remove RCS tags. + * strncasecmp.c: Reword copyright and disclaimer. Move Contributors + section to CONTRIBUTORS file. Remove RCS tags. -2004-04-22 Danny Smith +2004-04-22 Danny Smith * mingwex/math/lround.c: Rewrite. * mingwex/math/lroundf.c: Rewrite. @@ -1122,12 +1158,12 @@ * mingwex/math/llroundf.c: Rewrite. * mingwex/math/llroundl.c: Rewrite. -2004-04-20 Earnie Boyd +2004-04-20 Earnie Boyd * CONTRIBUTORS: New file. * DISCLAIMER: Ditto. - * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors - section to CONTRIBUTORS file. Remove RCS tags. + * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors + section to CONTRIBUTORS file. Remove RCS tags. * CRTFmode.c: Ditto. * CRTglob.c: Ditto. * CRTinit.c: Ditto. @@ -1178,36 +1214,36 @@ * include/sys/utime.h: Ditto. * mingwex/dirent.c: Ditto. -2004-04-19 Earnie Boyd +2004-04-19 Earnie Boyd * include/_mingw.h: Revert to primary release 3 and increment minor release to 3. * Makefile.in (VERSION): Ditto. -2004-04-01 Danny Smith +2004-04-01 Danny Smith * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to _fmode if not __MSVCRT__. -2004-03-30 Danny Smith +2004-03-30 Danny Smith * include/io.h: (_findfirst): Correct prototype. -2004-03-30 Hans Leidekker +2004-03-30 Hans Leidekker * include/io.h: (_findnext, _findclose): Correct prototype. -2004-03-28 Hans Leidekker +2004-03-28 Hans Leidekker * include/math.h (FP_*): Add defines. -2004-03-29 Danny Smith +2004-03-29 Danny Smith * mingwex/math/round.c: Rewrite. * mingwex/math/roundf.c: Rewrite. * mingwex/math/roundl.c: Rewrite. -2004-03-25 Danny Smith +2004-03-25 Danny Smith * include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600. * include/time.h (__time64_t): Add typedef. @@ -1231,11 +1267,11 @@ (_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601. (_futime64): Likewise. (_wutime64): Likewise. - * include/sys/stat.h (__stat64): Add struct definition. + * include/sys/stat.h (__stat64): Add struct definition. (_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601. (_stat64): Likewise. (_wstat64): Likwise. - * include/sys/types.h (__time64_t): Add typedef. + * include/sys/types.h (__time64_t): Add typedef. * include/wchar.h (__wfinddata64_t): Add structure definition. (__stat64): Likewise. (_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601. @@ -1255,102 +1291,102 @@ * include/math.h (_set_SSE2_enable): Add prototype for __MSVCRT_VERSION__ >= 0x0701. -2004-03-25 Danny Smith +2004-03-25 Danny Smith * include/stdio.h (_fsopen): Add prototype. * include/tchar.h (_tfsopen): Add defines. Thanks to "Gerik" -2004-03-19 Danny Smith +2004-03-19 Danny Smith * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10), msvcr70.dll, and msvcr71.dll. - * Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant + * Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant using basename of output def file. -2004-03-13 Danny Smith +2004-03-13 Danny Smith * include/malloc.h: Remove __STRICT_ANSI__ guard. -2004-03-11 Brian Keener +2004-03-11 Brian Keener * include/process.h: Remove the #endif associated with removal of __STRICT_ANSI__ guard from non-ANSI header. -2004-03-10 Danny Smith +2004-03-10 Danny Smith * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header. - * include/direct.h: Ditto. - * include/dirent.h: Ditto. - * include/dos.h: Ditto. - * include/excpt.h: Ditto. + * include/direct.h: Ditto. + * include/dirent.h: Ditto. + * include/dos.h: Ditto. + * include/excpt.h: Ditto. * inlude/fcntl,h - * include/io.h: Ditto. - * inlude/mem.h: Ditto. - * include/memory.h: Ditto. - * include/process.h: Ditto. - * inlude/search.h: Ditto. - * include/share.h: Ditto. - * include/unistd.h: Ditto. - * include/sys/fcntl.h: Ditto. - * include/file.h: Ditto. - * include/sys/locking.h: Ditto. - * include/sys/param.h: Ditto. + * include/io.h: Ditto. + * inlude/mem.h: Ditto. + * include/memory.h: Ditto. + * include/process.h: Ditto. + * inlude/search.h: Ditto. + * include/share.h: Ditto. + * include/unistd.h: Ditto. + * include/sys/fcntl.h: Ditto. + * include/file.h: Ditto. + * include/sys/locking.h: Ditto. + * include/sys/param.h: Ditto. * include/sys/stat,h - * include/sys/time.h: Ditto. - * include/sys/timeb.h: Ditto. - * include/sys/types.h: Ditto. - * include/sys/unistd.h: Ditto. - * include/sys/utime.h: Ditto. + * include/sys/time.h: Ditto. + * include/sys/timeb.h: Ditto. + * include/sys/types.h: Ditto. + * include/sys/unistd.h: Ditto. + * include/sys/utime.h: Ditto. -2004-02-21 Danny Smith +2004-02-21 Danny Smith * include/_mingw.h (__UNUSED_PARAM): Define macro. * include/wchar.h (fwide): Use it. (mbsinit): Ditto. -2004-02-05 Danny Smith +2004-02-05 Danny Smith * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per NetBSD getopt_long.c. -2004-02-05 Danny Smith +2004-02-05 Danny Smith * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error codes and handling of special chars. -2004-02-02 Danny Smith +2004-02-02 Danny Smith * include/stdio.h (feof): Add inlined definition. (ferror): Ditto. -2004-02-01 Danny Smith +2004-02-01 Danny Smith * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale") directly, rather than via scabnl. -2004-02-01 Danny Smith +2004-02-01 Danny Smith * mingwex/math/powl.c (powl): Return infinity if extended precision multiplication of x by log2(y) overflows. -2004-01-31 Danny Smith +2004-01-31 Danny Smith * mingwex/math/cephes_emath.h (__enan_64): Fix thinko. (__enan_NI16): Fix another one. (__enan_NBITS): Tidy. -2004-01-16 Danny Smith +2004-01-16 Danny Smith - * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit + * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit types. (Thanks to John Maddock for report.) -2004-01-14 Greg Chicares +2004-01-14 Greg Chicares * include/tchar.h (_puttchar): Define. -2003-12-13 Danny Smith +2003-12-13 Danny Smith * include/stdio.h:(_fileno): Define macro version after both fileno and _fileno functions declared. @@ -1358,21 +1394,21 @@ * include/stdio.h (_rmtmp, rmtmp): Add prototypes. * moldnames.def.in (rmtmp) Add stub. -2003-11-27 Dimitry Sibiryakov +2003-11-27 Dimitry Sibiryakov * include/signal.h (SIG_SGE, SIG_ACK): Add defines. -2003-10-27 Danny Smith +2003-10-27 Danny Smith * include/math.h: Guard ISO C99 additions with __cplusplus not __GLIBCPP__. -2003-10-21 Danny Smith +2003-10-21 Danny Smith * include/_mingw.h: Define __attribute__((x)) to nothing if not __GNUC__. -2003-10-21 Danny Smith +2003-10-21 Danny Smith * include/complex.h: New file. * mingwex/complex: New directory. @@ -1402,45 +1438,45 @@ (COMPLEX_OBJS): New list of objects. (LIB_OBJS): Include it in the library. -2003-10-21 Danny Smith +2003-10-21 Danny Smith * include/math.h (cabs): Remove non-ISO prototype. -2003-10-21 Danny Smith +2003-10-21 Danny Smith * mingwex/math/cephes_mconf.h (NAN, NANF, NANL): Use GCC __builtin's if available. (INFINITY, INFINITYF, INFINITYL): Likewise. -2003-10-21 Danny Smith +2003-10-21 Danny Smith * mingwex/math/s_erf.c (erf): Set errno to ERANGE if beyond approximation limit. * mingwex/math/sf_erf.c (erff): Likewise. -2003-10-17 Danny Smith +2003-10-17 Danny Smith * include/stdio.h (getc): Cast result to unsigned char before return. (putc): Likewise (getchar): Likewise. (putchar): Likewise. - Thanks to M.Fujii + Thanks to M.Fujii -2003-10-10 Earnie Boyd +2003-10-10 Earnie Boyd * include/_mingw.h: Increment version to 3.2. * Makefile.in: Ditto. -2003-10-10 Earnie Boyd +2003-10-10 Earnie Boyd * include/sys/types.h: Revert last change. -2003-10-10 Earnie Boyd +2003-10-10 Earnie Boyd * include/sys/types.h (ssize_t): Correct the definition. -2003-10-03 Danny Smith +2003-10-03 Danny Smith * include/stdio.h (_filbuf): Add prototype. (_flsbuf): Add prototype. @@ -1449,17 +1485,17 @@ (getchar): Likewise. (putchar): Likewise. -2003-10-03 Danny Smith +2003-10-03 Danny Smith * mingwex/dirent.c (_treaddir): Reset errno to 0 if end of directory. -2003-09-29 Danny Smith +2003-09-29 Danny Smith * include/stdlib.h: Guard non-ISO functions with !__STRICT_ANSI__, throughout. -2003-09-24 Danny Smith +2003-09-24 Danny Smith * include/io.h (_fileno): Remove prototype. (fileno): Likewise. @@ -1470,11 +1506,11 @@ (_fileno): Define macro implementation. (fileno): Likewise. -2003-09-24 Danny Smith +2003-09-24 Danny Smith * include/inttypes.h: Include _mingw.h. -2003-09-24 Danny Smith +2003-09-24 Danny Smith * include/_mingw.h (__CRT_INLINE): Define. * include/ctype.h: Replace 'extern inline' with __CRT_INLINE, @@ -1487,21 +1523,21 @@ * include/wchar.h: Likewise. * include/wctype.h: Likewise. -2003-09-22 Roland Schwingel +2003-09-22 Roland Schwingel * mingwex/dirent.c (_topendir): Allocate enough memory for DIR struct in UNICODE case too. -2003-09-15 Earnie Boyd +2003-09-15 Earnie Boyd * include/_mingw.h: Increment version to 3.2. * Makefile.in: Ditto. -2003-07-03 Earnie Boyd +2003-07-03 Earnie Boyd * config.guess, config.sub: Update with versions from ftp.gnu.org. -2003-07-03 Danny Smith +2003-07-03 Danny Smith * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint. * mingwex/math/truncf.c (truncf): Likewise. @@ -1509,7 +1545,7 @@ * mingwex/math/modff.c (modff): Likewise. * mingwex/math/modfl.c (modfl): Likewise. -2003-07-03 Danny Smith +2003-07-03 Danny Smith * include/search.h: New file. * include/stdlib.h: Add comment about qsort, bsearch in @@ -1517,25 +1553,25 @@ * test_headers.c: Include search.h. * moldname.def.in (lfind, lsearch): Add. -2003-07-03 Danny Smith +2003-07-03 Danny Smith * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve, _execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp, execve, execvpe, spawnve, spawnvpe): Const-ify all the char params. -2003-07-01 Earnie Boyd +2003-07-01 Earnie Boyd * include/_mingw.h (small, hyper): Change to __small and __hyper to avoid user space name conflicts. -2003-07-01 Earnie Boyd +2003-07-01 Earnie Boyd * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define. Note: Also added to w32api/include/basetyps.h. * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small): Rename to Small (case difference). -2003-06-18 Earnie Boyd +2003-06-18 Earnie Boyd * include/dirent.h (dirent): Make d_name and array instead of a pointer. * mingwex/dirent.c: Modifications througout to fill d_name array. @@ -1543,23 +1579,23 @@ libmsvcr71, including debug versions. (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets. -2003-06-17 Danny Smith +2003-06-17 Danny Smith * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle, __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias): Mark as DATA. - Thanks to: Aaron W LaFramboise + Thanks to: Aaron W LaFramboise -2003-05-30 Sascha Sommer +2003-05-30 Sascha Sommer - * include/sys/types.h (_ssize_t, ssize_t): Add typedefs. + * include/sys/types.h (_ssize_t, ssize_t): Add typedefs. -2003-05-15 Danny Smith +2003-05-15 Danny Smith * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block, but still protect inline definition with __STRICT_ANSI__. -2003-05-14 Danny Smith +2003-05-14 Danny Smith * string_old.c: Remove, splitting into... * strcasecmp.c: New file. @@ -1573,27 +1609,27 @@ * Makefile.in (MOLD_OBJS): Adjust. (SRCDIST_FILES): Adjust. -2003-05-13 Danny Smith +2003-05-13 Danny Smith * include/math.h (fabs) : Remove inline definition. (fabsf): Likewise. (fabsl): Likewise. -2003-05-06 Earnie Boyd +2003-05-06 Earnie Boyd * include/_mingw.h: Change version to 3.0 * Makefile.in: Ditto. -2003-05-06 Earnie Boyd +2003-05-06 Earnie Boyd * configure.in (W32API_INCLUDE): Need the -I switch in the value. * mingwex/configure.in (W32API_INCLUDE): Ditto. * profile/configure.in (W32API_INCLUDE): Ditto. -2003-05-06 Earnie Boyd +2003-05-06 Earnie Boyd * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites - of multiply defined symbols if the symbols is defined locally. E.G.: + of multiply defined symbols if the symbols is defined locally. E.G.: A local definition of malloc causes this problem. * configure: Regenerate. * profile/Makefile.in (W32API_INCLUDE): New variable. @@ -1609,7 +1645,7 @@ * mingwex/configure.in (W32API_INCLUDE): Set default value. * mingwex/configure: Regenerate. -2003-05-05 Earnie Boyd +2003-05-05 Earnie Boyd * Makefile.in (W32API_INCLUDE): New variable. (ALL_CFLAGS): Use W32API_INCLUDE value. @@ -1618,20 +1654,20 @@ (W32API_INCLUDE): Set default value. * configure: Regenerate. -2003-04-11 Earnie Boyd +2003-04-11 Earnie Boyd * configure.in (LIBM_A): Define for cygwin target. * configure (LIBM_A): Ditto. -2003-04-07 Danny Smith +2003-04-07 Danny Smith * include/time.h (strftime): Remove duplicate declaration. -2003-04-01 Danny Smith +2003-04-01 Danny Smith * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP. -2003-03-16 Danny Smith +2003-03-16 Danny Smith * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning. * mingwex/strtoimax.c (strtoimax): Likewise. @@ -1644,35 +1680,35 @@ constants. * mingwex/math/tgammal.c: Likewise. -2003-03-16 Danny Smith +2003-03-16 Danny Smith * include/utime.h: New file, forwarding to sys/utime.h. -2003-03-16 Danny Smith +2003-03-16 Danny Smith * include/sys/param.h (MAXPATHLEN): Define. -2003-03-16 Danny Smith +2003-03-16 Danny Smith * include/tchar.h: Ansi-fy a comment. -2003-03-16 Danny Smith +2003-03-16 Danny Smith * profile/profile.h (mcount): Use __builtin_return_address rather than inline __asm statements. * profile/Makefile.in: Remove special rule for mcount.o Specify dependencies for mcount.o profil.o gmon.o. -2003-03-10 Danny Smith +2003-03-10 Danny Smith * include/stdlib.h (qsort): Remove const from first parm. - Thanks to: Tien-Ren Chen + Thanks to: Tien-Ren Chen -2003-03-03 Christopher Faylor +2003-03-03 Christopher Faylor * mingwex/getopt.c: Refresh from NetBSD sources. -2003-03-03 Danny Smith +2003-03-03 Danny Smith * mingwex/getopt.c: New file, copied from cygwin srcs. * include/getopt.h: New file, copied from cygwin srcs. @@ -1680,7 +1716,7 @@ * mingwex/Makefile.in (DISTFILES): Add getopt.c. (POSIX_OBJS): Add getopt.o. -2003-03-02 Danny Smith +2003-03-02 Danny Smith * include/stdio.h (vscanf): Add prototype. (vfscanf): Ditto. @@ -1702,22 +1738,22 @@ (LIB_OBJS): Adjust. (dist): Adjust. -2003-03-02 Aaron W LaFramboise +2003-03-02 Aaron W LaFramboise * mingwex/stdio: New directory * mingwex/stdio/vfscanf.c: New file. - * mingwex/stdio/vfwscanf.c: New file. - * mingwex/stdio/vscanf.c: New file. - * mingwex/stdio/vsscanf.c: New file. - * mingwex/stdio/vswscanf.c: New file. - * mingwex/stdio/vwscanf.c: New file. + * mingwex/stdio/vfwscanf.c: New file. + * mingwex/stdio/vscanf.c: New file. + * mingwex/stdio/vsscanf.c: New file. + * mingwex/stdio/vswscanf.c: New file. + * mingwex/stdio/vwscanf.c: New file. -2003-02-25 Earnie Boyd +2003-02-25 Earnie Boyd * Makefile.in (libmsvcrt20.a): Remove target and dependencies. (libmsvcrt40.a): Ditto. -2003-02-21 Earnie Boyd +2003-02-21 Earnie Boyd Thanks to David Frasier who inspired portions of this patch. @@ -1730,33 +1766,33 @@ msvcrt20.def, msvcrt40.def: Remove. * msvcrt.def.in: New file (Copy of previous msvcrt.def). -2003-02-20 Corinna Vinschen +2003-02-20 Corinna Vinschen * Makefile.in: Make sure libmingwex.a from current build tree is used. -2003-02-14 Christopher Faylor +2003-02-14 Christopher Faylor * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to - ensure -mno-cygwin where appropriate. Filter out -O2. + ensure -mno-cygwin where appropriate. Filter out -O2. -2003-02-13 Danny Smith +2003-02-13 Danny Smith * profile/Makefile.in (mcount.o): Use -O1 optimization switch to compile. -2003-02-10 Danny Smith +2003-02-10 Danny Smith * include/math.h: Remove _CRTIMP from pow() prototype, unless __NO_ISOCEXT. -2003-02-10 Danny Smith +2003-02-10 Danny Smith * mingwex/math/cephes_emath.h: Don't redefine INFINITY. -2003-02-10 Danny Smith +2003-02-10 Danny Smith * include/_mingw.h (_CRTIMP): Define for __GNUC__ if - __declspec(dllimport) supported. + __declspec(dllimport) supported. (__cdecl): Define if not already defined. (__stdcall): Likewise. * include/dirent.h: Qualify fuctions with __cdecl. @@ -1794,48 +1830,48 @@ * include/stdio.h (__VALIST): Guard against prior definition. -2003-02-08 Earnie Boyd +2003-02-08 Earnie Boyd * include/_mingw.h: Change version to 3.0 * Makefile.in: Ditto. -2003-02-08 Earnie Boyd +2003-02-08 Earnie Boyd * include/stdlib.h: Make words after #endif a comment. -2003-02-07 Danny Smith +2003-02-07 Danny Smith * include/locale.h: Include stddef.h for definition of NULL. -2003-01-26 Danny Smith +2003-01-26 Danny Smith * include/math.h (tgamma): Correct typo in comment. -2003-01-26 Danny Smith +2003-01-26 Danny Smith * mingwex/mingw-fseek.c (INLINE): Remove define. (__mingw_is_win9x): Remove static inline function. (_mingw_fwrite): Use _osver instead of __mingw_is_win9x. -2003-01-11 Danny Smith +2003-01-11 Danny Smith * mingwex/math/llround.c: Correct function name and change return value to long long. -2003-01-07 Danny Smith +2003-01-07 Danny Smith * include/ctype.h (__isascii): Don't cast arg to unsigned. - (iswascii): Likewise. Correct mask. + (iswascii): Likewise. Correct mask. * include/wctype.h (iswascii): Don't cast arg to unsigned. Correct mask -2003-01-03 Danny Smith +2003-01-03 Danny Smith * include/stdlib.h (_osver, _winver, _winmajor, _winminor): Declare as direct imports from dll if __DECLSPEC_SUPPORTED. -2003-01-01 Danny Smith +2003-01-01 Danny Smith * pseudo-reloc.c (do_pseudo_reloc): Make static. * pseudo-reloc-list.c: New file. @@ -1846,21 +1882,21 @@ * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to libmingw32.a. -2003-01-01 Egor Duda +2003-01-01 Egor Duda * pseudo-reloc.c: New file. -2002-12-20 Earnie Boyd +2002-12-20 Earnie Boyd * include/_mingw.h: Increment version to 2.4. Makefile.in: Ditto. -2002-12-12 Earnie Boyd +2002-12-12 Earnie Boyd * include/malloc.h (_alloca): Add definition. (alloca): Ditto. -2002-12-08 Danny Smith +2002-12-08 Danny Smith * mingwex/math/s_erf.c: New file. * mingwex/math/sf_erf.c: New file. @@ -1869,11 +1905,11 @@ * include/math.h (erf[f]): Add prototypes. (erfc[f]): Add prototypes. -2002-12-07 Danny Smith +2002-12-07 Danny Smith * include/math.h: Add traditional/XOPEN math constants. -2002-11-27 Danny Smith +2002-11-27 Danny Smith * mingwex/math/lgamma.c: New file. * mingwex/math/lgammaf.c: New file. @@ -1889,7 +1925,7 @@ * include/math.h (lgamma[fl]): Add prototypes. (tgamma[fl]): Add prototypes. -2002-11-26 Danny Smith +2002-11-26 Danny Smith * mingwex/strtold.c: New file. * mingwex/wcstold.c: New file. @@ -1904,7 +1940,7 @@ * include/stdlib.h (strtold, wcstold): Add prototypes. * include/wchar.h (wcstold): Add prototype. -2002-11-09 Danny Smith +2002-11-09 Danny Smith * include/math.h (sqrt): Remove inline definition. (sqrtf): Replace inline definition with prototype. @@ -1913,16 +1949,16 @@ argument less than zero. * mingwex/math/sqrtf.c (sqrtl): Likewise. -2002-10-30 Guido Serassio +2002-10-30 Guido Serassio * include/stdio.h (_getmaxstdio): Add prototype. (_setmaxstdio): Likewise. -2002-10-19 Kang Li +2002-10-19 Kang Li * include/fcntl.h (O_SEQUENTIAL): Correct typo. -2002-10-19 Danny Smith +2002-10-19 Danny Smith * crt1.c: Define new macro __IN_MINGW_RUNTIME before including stdlib.h. @@ -1930,11 +1966,11 @@ * include/stdlib.h (_fmode): Protect declaration as dllimported variable with __IN_MINGW_RUNTIME. -2002-10-19 Igor Pechtchanski +2002-10-19 Igor Pechtchanski * crt1.c: Include stdlib.h. -2002-10-19 Danny Smith +2002-10-19 Danny Smith * Makefile.in (CRT0S): Add txtmode.o binmode.o. (MINGW_OBJS): Add txtmode.o. @@ -1949,25 +1985,25 @@ * samples/fmode/test2.c: New file. * samples/fmode/jamfile: Add test2.exe target. -2002-10-11 Danny Smith +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 +2002-10-11 Danny Smith * include/string.h (strcasecmp): Make extern __inline__. (strncasecmp): Likewise. (wcscmpi): Likewise. -2002-10-08 Heiko Gerdau +2002-10-08 Heiko Gerdau * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd. _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE mappings. -2002-10-07 Danny Smith +2002-10-07 Danny Smith * mingwex/math/powil.c: Rename powil to __powil. * mingwex/math/powl.c: Adjust declaration and call @@ -1983,18 +2019,18 @@ powi.c, powif.c. (MATH_OBJS): Add pow.o, powi.o, powif.o. -2002-10-03 Danny Smith +2002-10-03 Danny Smith * include/cytpe.h (_imp____mbcur_max): Add missing ';'. (_imp____mbcur_max_dll): Likewise. -2002-10-03 Danny Smith +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. + compatibility defines. Change type to int. * include/io.h (_setmode, setmode): Add prototypes. * samples/fmode/all.c: Adjust includes. * samples/fmode/test.c: Likewise. @@ -2003,103 +2039,103 @@ * include/stdlib: Remove comment about MB_CUR_MAX. -2002-10-02 Danny Smith +2002-10-02 Danny Smith * include/stdlib.h (_imp____mbcur_max): Add missing ';'. (_imp____mbcur_max_dll): Likewise. -2002-09-18 Danny Smith +2002-09-18 Danny Smith * mingwex/math/files.txt: Remove inadvertantly added file. -2002-09-18 Danny Smith +2002-09-18 Danny Smith * include/string.h (_strerror): Move into #ifndef __STRICT_ANSI__ block. -2002-09-17 Danny Smith +2002-09-17 Danny Smith * include/time.h (__need_NULL): Define before including - stddef.h. Thanks to: Rüdiger Dehmel . + stddef.h. Thanks to: Rüdiger Dehmel . -2002-09-16 Ranjit Matthew +2002-09-16 Ranjit Matthew * include/stdio.h: Correct comment about directory separator. -2002-09-12 Danny Smith +2002-09-12 Danny Smith * include/sys/time.h (timeval): Add struct definition and associated macros (copied from w32api/include/winsock.h). -2002-09-05 Earnie Boyd +2002-09-05 Earnie Boyd * include/_mingw.h: Increment version to 2.3. Makefile.in: Ditto. -2002-09-05 Earnie Boyd +2002-09-05 Earnie Boyd * mingwex/fegetenv.c: Change to \n line endings. * mingwex/vsnprintf.c: Ditto. * mingwex/vsnwprintf.c: Ditto. -2002-09-02 Danny Smith +2002-09-02 Danny Smith * mingwex/math/hypotl.c: Replace with version based on cephes library. -2002-08-28 Danny Smith +2002-08-28 Danny Smith * include/sys/param.h: Add ENDIAN defines. * test_headers.c: Include sys/param.h. -2002-08-28 Danny Smith +2002-08-28 Danny Smith * test_headers.c: Don't include varargs.h. * Makefile.in (test_headers): Don't use -std=xx with -xc++. -2002-08-21 Earnie Boyd +2002-08-21 Earnie Boyd * include/sys/param.h: New File. -2002-08-21 Danny Smith +2002-08-21 Danny Smith * include/math.h (asm): Change to __asm__ throughout. Expose ISO C99 functions if __GLIPCPP__. (hypotf): Use hypot, not _hypot in stub. -2002-08-20 Danny Smith +2002-08-20 Danny Smith * include/tchar.h: Ansi-fy another comment. -2002-08-20 Danny Smith +2002-08-20 Danny Smith * include/tchar.h: Ansi-fy comment. -2002-08-20 Danny Smith +2002-08-20 Danny Smith * test_headers.c : New file. * Makefile.in (test_headers): New target, using it, (SRCDIST_FILES): Distribute it. -2002-08-20 Earnie Boyd +2002-08-20 Earnie Boyd * include/_mingw.h: Increment version to 2.2. Makefile.in: Ditto. -2002-08-14 Earnie Boyd +2002-08-14 Earnie Boyd * include/unistd.h: Add include of process.h. -2002-08-03 Danny Smith +2002-08-03 Danny Smith * include/stdio.h (_fcloseall): Add prototype. -2002-07-29 Danny Smith +2002-07-29 Danny Smith * include/tchar.h (_tfdopen): Correct typo. -2002-07-29 Danny Smith +2002-07-29 Danny Smith * moldname.def.in (chgsign,scalb,finite,fpclass,logb, nextafter): Add non-underscored stubs. @@ -2145,8 +2181,8 @@ definitions. * mingwex/math_stubs.c: Remove. * mingwex/log2.c: Remove. Replaced by math/log2.S - * mingwex/log2f.c: Remove. Replaced by math/log2f.S - * mingwex/log2l.c: Remove. Replaced by math/log2l.S + * mingwex/log2f.c: Remove. Replaced by math/log2f.S + * mingwex/log2l.c: Remove. Replaced by math/log2l.S * mingwex/math/acosf.c : New file. * mingwex/math/acosl.c: New file. * mingwex/math/asinf.c: New file. @@ -2252,17 +2288,17 @@ * include/ math.h: Add protypes for new functions and reorganise to reflect ANSI,C99 status. -2002-06-19 Danny Smith +2002-06-19 Danny Smith * include/tchar.h (_getts): Define as _getws for _UNICODE. (_putts): Define as _putws for _UNICODE. - Thanks to: Tomasz Pona for report. + Thanks to: Tomasz Pona for report. -2002-06-18 Danny Smith +2002-06-18 Danny Smith * include/float.h: #include_next before header guard. -2002-06-18 Casper S. Hornstrup +2002-06-18 Casper S. Hornstrup * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before defining. @@ -2286,25 +2322,25 @@ * include/wchar.h (_wfindfirst): Correct prototype. * include/tchar.h (_tfdopen): Add _UNICODE mappings. -2002-06-15 Earnie Boyd +2002-06-15 Earnie Boyd * include/_mingw.h: Increment to version 2.1. * Makefile.in: Ditto. -2002-06-15 Earnie Boyd +2002-06-15 Earnie Boyd * Makefile.in (conf_prefix): New variable. (dist_prefix): Ditto. Conditionally set to $(conf_prefix). (bindist): Use dist_prefix. -2002-06-13 Danny Smith +2002-06-13 Danny Smith * include/_mingw.h: Increment version to 2.0. * Makefile.in: Ditto. Merge in mingwex branch. - 2002-06-11 Danny Smith + 2002-06-11 Danny Smith * include/math.h (fdim, fdimf, fdiml): Add prototypes. * mingwex/fdim.c: New file. * mingwex/fdimf.c: New file. @@ -2313,37 +2349,37 @@ fdiml.c. (MATHOBJS):Add fdim.o, fdimf.o. fdiml.o. - 2002-05-23 Danny Smith + 2002-05-23 Danny Smith * mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c. - 2002-05-22 Danny Smith + 2002-05-22 Danny Smith * mingwex/isnanl.c: New file. - 2002-05-21 Danny Smith + 2002-05-21 Danny Smith * include/stdint.h: Include stddef.h to get wchar_t and wint_t. (WINT_MAX): Define to ((wint_t)-1). - 2002-05-21 Danny Smith + 2002-05-21 Danny Smith * include/wctype.h: Replace 'inline' with '__inline__'. * include/inttypes.h: Likewise. - 2002-05-16 Danny Smith + 2002-05-16 Danny Smith * include/_mingw.h (__MINGW_IMPORT): Put extern at start - to avoid warnings. Thanks to: Oscar Fuentes . + to avoid warnings. Thanks to: Oscar Fuentes . - 2002-05-16 Danny Smith + 2002-05-16 Danny Smith * mingwex/snprintf.c: Split out vsnprintf to.... * mingwex/vsnprintf.c: New file. * mingwex/snwprintf.c: Split out vsnwprintf to... * mingwex/vsnwprintf.c: New file. * mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS. - 2002-05-15 Pascal Obry + 2002-05-15 Pascal Obry * include/dirent.h (DIR): Change dd_stat type to int. (_WDIR): Likewise. - 2002-05-07 Danny Smith + 2002-05-07 Danny Smith * include/stdio.h (vsnprintf): Change inline to __inline__; (vsnwprintf): Likewise. * include/wchar.h (vsnwprintf): Likewise. @@ -2351,7 +2387,7 @@ (fwide): Likewise. (mbsinit): Likewise. - 2002-04-29 Danny Smith + 2002-04-29 Danny Smith Change FP default precison from 53 to 64-bit mantissa. * Makefile.in (CRT0S): Add CRT_fp8.o. (MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o. @@ -2359,8 +2395,8 @@ #include_next to use GCC's defines. Adjust comments to reflect change. - 2002-04-26 Danny Smith - * include/dos.h: Change prefix "__imp_" to "_imp__" for + 2002-04-26 Danny Smith + * include/dos.h: Change prefix "__imp_" to "_imp__" for __GNUC__ without __DECLSPEC_SUPPORTED. * include/fnctl.h: Likewise. * include/math.h: Likewise. @@ -2370,7 +2406,7 @@ * include/wctype.h: Likewise. * include/ctype.h: Likewise. - 2002-04-26 Danny Smith + 2002-04-26 Danny Smith Add atexit support for dlls. * crt1.c (atexit): Force thunk to _imp__atexit. (_onexit): Force thunk to _imp___onexit. @@ -2388,7 +2424,7 @@ * msvcrt40.def: Likewise. * crtdll.def: Likewise. - 2002-04-26 Danny Smith + 2002-04-26 Danny Smith * include/fenv.h: Change header guard macro to _FENV_H_. (fenv_t, fexcept_t): Move into block protected by #ifndef RC_INVOKED. @@ -2396,19 +2432,19 @@ * include/inttypes.h: Change header guard macro to _INTTYPES_H_. - 2002-04-26 Danny Smith + 2002-04-26 Danny Smith * include/math.h (copysignl): Declare. * mingwex/Makefile.in (DISTFILES): Add copysignl.S. (MATHOBJS):Add copysignl.o. - 2002-04-24 Danny Smith + 2002-04-24 Danny Smith * include/math.h (__signbitl, __isnanl): Declare. - 2002-04-24 Danny Smith + 2002-04-24 Danny Smith * include/math.h (nanl, __fpcassifyl, fminl, fmaxl, rintl, roundl, truncl, fmal, log2l): Declare. Protect C99 declarations with _STDC_VERSION__ >= 199901L) - || !defined __STRICT_ANSI__. + || !defined __STRICT_ANSI__. * mingwex/fmax.c (fmax): Call __isnan, not _isnan. * mingwex/fmin.c (fmin): Likewise. * mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan. @@ -2445,7 +2481,7 @@ log2l.o. * mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo. - 2002-04-23 Danny Smith + 2002-04-23 Danny Smith Make wide char versions of opendir and friends. * include/dirent.h (_wdirent, _WDIR): Define wide versions of struct dirent, DIR. @@ -2463,7 +2499,7 @@ wdirent.c. * samples/dirent/wtest.c: New file, wide version of test.c. - 2002-04-17 Danny Smith + 2002-04-17 Danny Smith * Makefile.in (INCLUDES): Add "-iwithprefixbefore include" to ensure gcc include dir is searched despite -nostdinc. * profile/Makefile.in (INCLUDES): Likewise. @@ -2477,7 +2513,7 @@ (__VALIST): Define as __gnuc_va_list if __GNUC__, else char*. Replace va_list with __VALIST throughout. - 2002-04-17 Danny Smith + 2002-04-17 Danny Smith * crt1.c: Revert changes of 2002-04-16. Use _fpreset again. * msvcrt.def (_fpreset): Mark as DATA so that only _imp___fpreset is exported. @@ -2488,7 +2524,7 @@ that calls fninit. (fpreset): Add alias. (__CRT_PC): Delete definition. _fpreset does it now. - * CRT_fp8.c (_fpreset): Force use of library _imp___fpreset. + * CRT_fp8.c (_fpreset): Force use of library _imp___fpreset. (fpreset): Add alias. (__CRT_PC): Delete definition. * moldname.def.in: Comment out fpreset. @@ -2498,7 +2534,7 @@ * mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment with the _fpreset determined by startup CRT_fp object. - 2002-04-16 Danny Smith + 2002-04-16 Danny Smith * CRT_fp8.c: New file. * CRT_fp10.c: New file. * crt1.c (__CRT_PC) Declare. @@ -2506,7 +2542,7 @@ (__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset. (_gnu_exception_handler): Likewise. * Makefile.in (CRT0S): Add CRT_fp10.o. - (MINGW_OBJS): Add CRT_fp8.o. + (MINGW_OBJS): Add CRT_fp8.o. (SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c. Add CRT_fp8.o, CRT_fp10.o dependancies. * include/float.h (_fpreset): Expand comment. @@ -2522,13 +2558,13 @@ for mingw. * profile/configure: Regenerate. - 2002-04-12 Danny Smith + 2002-04-12 Danny Smith * mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c. - 2002-04-10 Danny Smith + 2002-04-10 Danny Smith * mingwex/mingw-fseek.c: New file, based on Mumit Khan mingw-local patch to binutils. - Sun Nov 7 04:27:07 1999 Mumit Khan + Sun Nov 7 04:27:07 1999 Mumit Khan (__mingw_fseek): New function to work around Win9x f/lseek bug. (__mingw_fwrite): Likewise. (__mingw_is_win9x): New helper function. @@ -2539,7 +2575,7 @@ * moldname-crtdll.def: Remove CR from end of line. * moldname-msvcrt.def: Ditto. - 2002-04-09 Danny Smith + 2002-04-09 Danny Smith * profile/configure.in (CRT0S): Configure name of gcrt?.o based on target, building gcrt0.o for cygwin -mno-cygwin. * profile/configure: Regenerate. @@ -2547,7 +2583,7 @@ (gcrt0.o): New rule. (ALL_CRT0S): New define, used to cleanup all gcrt?.o's. - 2002-04-04 Danny Smith + 2002-04-04 Danny Smith * include/math.h (_controlfp, _control87, _clearfp, _statusfp, _fpreset, _fpecode): Remove prototypes copied from float.h. (nan, nanf): Move into block protected against RC_INVOKED @@ -2557,9 +2593,9 @@ * mingwex/_Exit.c : New file. * mingwex/Makefile.in: Add _Exit.o to libmingwex.a. - 2002-04-04 Danny Smith + 2002-04-04 Danny Smith Add libgmon.a and libmingwex.a for cygwin -mno-cygwin. - * configure.in (SUBDIRS): Add profile and mingwex to cygwin target. + * configure.in (SUBDIRS): Add profile and mingwex to cygwin target. (configdirs): Likewise. (LIBGMON_A): Define for cygwin target as well. * configure: Regenerate. @@ -2575,7 +2611,7 @@ (ALL_CXXFLAGS): Same. (.c.o:): Remove ALL_CXXFLAGS. - 2002-03-29 Danny Smith + 2002-03-29 Danny Smith * include/stdint.h: Add missing newline at eof. * include/stdio.h (snprintf): Add prototype. (vsnprintf): Add prototype and inline definition. @@ -2588,7 +2624,7 @@ * mingwex/snprintf.c: New file. * mingwex/snwprintf.c: New file. - 2002-03-22 Danny Smith + 2002-03-22 Danny Smith * configure.in: Add mingwex as SUBDIRS and configdirs. * configure: Regenerate. * Makefile.in (MINGW_OBJS): Remove dirent.o. @@ -2682,17 +2718,17 @@ * mingwex/wmemset.c: New file. * mingwex/wtoll.c: New file. -2002-04-20 Danny Smith +2002-04-20 Danny Smith * include/mbstring.h: New file. * include/mbctype.h: New file. -2002-04-20 Danny Smith +2002-04-20 Danny Smith * include/tchar.h (__TEXT): Make same as define in w32api/include/winnt.h. -2002-04-20 Danny Smith +2002-04-20 Danny Smith * include/tchar.h (_tputenv): Add UNICODE mappings. (_tsearchenv): Likewise. @@ -2700,36 +2736,36 @@ (_tsplitpath): Likewise. (_tfullpath): Likewise. -2002-04-18 Pascal Obry +2002-04-18 Pascal Obry * dirent.c (opendir): Convert given pathname to absolute pathname. -2002-04-09 Earnie Boyd +2002-04-09 Earnie Boyd * include/_mingw.h: Increment version. * Makefile.in: Ditto. -2002-04-09 Earnie Boyd +2002-04-09 Earnie Boyd * moldname-crtdll.def: Remove CR from end of line. * moldname-msvcrt.def: Ditto. * Makefile.in: Use bzip2 compression for Cygwin target. -2002-04-04 Danny Smith +2002-04-04 Danny Smith * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW, TLOSS, PLOSS): Move oldname defines back, following the underscored names. -2002-03-29 Danny Smith +2002-03-29 Danny Smith * include/stdio.h (_snwprintf): Correct spelling. (_vsnwprintf): Likewise. * include/wchar.h (_snwprintf): Correct spelling. (_vsnwprintf): Likewise. -2002-03-26 Danny Smith +2002-03-26 Danny Smith * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__). (wpopen): Add if !(__CRTDLL__). @@ -2746,7 +2782,7 @@ (_vswnprintf): Likewise. Tidy up whitespace. -2002-01-28 Danny Smith +2002-01-28 Danny Smith * include/malloc.h (_heapinfo): Correct structure definition. (_USEDENTRY,_FREEENTRY): Add defines. @@ -2755,56 +2791,56 @@ (_set_sbh_threshold): Likewise. (_expand): Likewise. -2002-01-25 Danny Smith +2002-01-25 Danny Smith * profile/profil.c: Update copyright info. * profile/profil.h: Likewise. * profile/gcrt0.c: Likewise. -2002-01-25 Pascal Obry +2002-01-25 Pascal Obry * profile/profil.h (PROFADDR): Cast idx to unsigned long long to avoid overflow. * profile/gmon.c: Define bzero as memset if mingw32. (monstartup): Use it. -2002-01-25 Danny Smith +2002-01-25 Danny Smith * include/tchar.h (_TCHAR): Add missing ;. -2002-01-25 Danny Smith +2002-01-25 Danny Smith * include/tchar.h (_TCHAR): Add typedefs. -2002-01-16 Danny Smith +2002-01-16 Danny Smith * include/stdlib.h (_onexit_t): Add typedef. (_onexit): Add prototype. -2002-01-12 Danny Smith +2002-01-12 Danny Smith * msvcrt.def: Revert accidental change. * include/stdlib.h: Ditto. -2001-12-07 Earnie Boyd +2001-12-07 Earnie Boyd * Makefile.in: Increment VERSION. * include/_mingw.h: Ditto. -2001-12-05 Earnie Boyd +2001-12-05 Earnie Boyd * include/strings.h: New File. -2001-12-02 Danny Smith +2001-12-02 Danny Smith Apply patches from: - 2001-06-21 Mumit Khan + 2001-06-21 Mumit Khan * include/math.h (_FPCLASS* ): Add defines from float.h. (IEEE recommended functions): Add declarations from float.h. * include/float.h (_FPCLASS* ): Protect against redefinition. -2001-11-29 Wu Yongwei +2001-11-29 Wu Yongwei * include/_mingw.h,assert.h,conio.h,ctype.h,dir.h,direct.h dirent.h,dos.h,errno.h,excpt.h,fcntl.h,float.h,io.h, @@ -2815,11 +2851,11 @@ Correct spelling of "disclaimed" in comments. * include/excpt.h: Another spelling correction. -2001-11-08 Robert Collins +2001-11-08 Robert Collins * include/errno.h: Fix "errno is not a prototype" warning. -2001-11-07 Danny Smith +2001-11-07 Danny Smith * include/ctype.h (tolower, toupper,_tolower,_toupper): Comment differences between ANSI and non-ANSI versions. @@ -2833,7 +2869,7 @@ (isw* ctype functions): Inline definitions. -2001-11-06 Danny Smith +2001-11-06 Danny Smith * include/float.h (_clearfp, _statusfp, _fpreset, fpreset, __fpecode): Use __STDC__ prototypes. @@ -2843,71 +2879,71 @@ * mthr_stub.c (__mingwthr_remove_key_dtor) New. * mthr_init.c (DllMain) Run dtors if a process terminates. - * mthr.c (__mingwthr_add_key_dtor) Removed. - (___mingwthr_add_key_dtor) New. + * mthr.c (__mingwthr_add_key_dtor) Removed. + (___mingwthr_add_key_dtor) New. (___mingwthr_remove_key_dtor) New. (__mingwthr_run_key_dtors) Complete rewrite. - (__mingwthr_remove_key_dtor) New. + (__mingwthr_remove_key_dtor) New. -2001-11-05 Egor Duda +2001-11-05 Egor Duda * Makefile.in: Delete unused executable after creating base-files. -2001-11-06 Danny Smith +2001-11-06 Danny Smith * include/errno.h (_errno): Use __STDC__ prototype. Thanks to: Jim Barton. -2001-11-04 "stefan" +2001-11-04 "stefan" * include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names. -2001-10-30 Danny Smith +2001-10-30 Danny Smith * include/io.h (_commit): Add declaration. Thanks to: "stefan" -2001-10-30 Danny Smith +2001-10-30 Danny Smith * include/sys/stat.h: Make S_IS* macros safer. -2001-10-27 Danny Smith +2001-10-27 Danny Smith * include/stdlib.h (EXIT_FAILURE): Change value to 1. -2001-10-12 Danny Smith +2001-10-12 Danny Smith * include/stdlib.h (__p__environ, __p__wenviron): Use __STDC__ prototypes. -2001-09-19 Earnie Boyd +2001-09-19 Earnie Boyd * Makefile.in: Remove the /usr from the install target. (VERSION): Increment. include/_mingw.h: Ditto. -2001-09-17 Earnie Boyd +2001-09-17 Earnie Boyd * Makefile.in: Increment version. * include/_mingw.h: Ditto. -2001-09-10 Earnie Boyd +2001-09-10 Earnie Boyd * dossh: Remove inadvertantly imported file. -2001-09-10 Danny Smith +2001-09-10 Danny Smith * dirent.c (opendir): Use GetFileAttributes rather than stat to determine if input arg is dir. -2001-08-29 Danny Smith +2001-08-29 Danny Smith * include/stdarg.h (va_list): Typedef as __builtin_va_list if __GNUC__ >= 3. * include/varargs.h (va_list): Ditto. * include/stdio.h (va_list): Ditto. -2001-08-01 Danny Smith +2001-08-01 Danny Smith * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__. * include/stdio.h (_IORW): Change constant to 0x0080. @@ -2916,17 +2952,17 @@ (_wP_tmpdir): Ditto. (L_tmpnam): Change constant to 16. -2001-06-28 Danny Smith +2001-06-28 Danny Smith * include/malloc.h: Fix non-ANSI comment after #endif. -2001-06-11 Danny Smith +2001-06-11 Danny Smith * profile/configure.in: Make msvcrt.dll version default. * profile/makefile.in: Build both gcrt1.o and gcrt2.o. * provile/configure: Regenerate. -2001-06-11 Mattia Barbon +2001-06-11 Mattia Barbon * include/stdio.h (swscanf): Make first arugument const. * include/wchar.h (swscanf): Ditto. @@ -2934,22 +2970,22 @@ (_tgetenv): Ditto. (_tsetlocale): Ditto. -2001-06-04 Earnie Boyd +2001-06-04 Earnie Boyd * profile/Makefile.in (mkinstalldirs): Correct relative path. -2001-06-04 Earnie Boyd +2001-06-04 Earnie Boyd * include/_mingw.h: Change version to 1.0. Makefile.in: Ditto. -2000-02-21 Earnie Boyd +2000-02-21 Earnie Boyd * include/tchar.h: (__TEXT): Remove undef. (_TEXT): Ditto. (_T): Ditto. -Fri Feb 2 10:34:07 2001 Earnie Boyd +Fri Feb 2 10:34:07 2001 Earnie Boyd * include/tchar.h: (__TEXT): Add private macro. (_TEXT): Modify definition to use __TEXT. @@ -2958,68 +2994,68 @@ Fri Feb 2 10:34:07 2001 Earnie Boyd MACRO resolved first. Thanks to: Eric PAIRE -Wed Jan 31 17:12:51 2001 Earnie Boyd +Wed Jan 31 17:12:51 2001 Earnie Boyd * Makefile.in: Increment version to 0.5 * include/_mingw.h: Increment minor version -Tue Jan 30 13:01:01 2001 Earnie Boyd +Tue Jan 30 13:01:01 2001 Earnie Boyd * include/assert.h: (assert): Remove ; from end of definition Thanks to: AJ Reins -Tue Jan 30 07:31:22 2001 Earnie Boyd +Tue Jan 30 07:31:22 2001 Earnie Boyd * include/time.h: (CLOCKS_PER_SEC): Type cast the constant. - Thanks to: Cosmin Truta + Thanks to: Cosmin Truta -Mon Jan 29 14:03:07 2001 Earnie Boyd +Mon Jan 29 14:03:07 2001 Earnie Boyd - * time.h: (CLOCKS_PER_SEC) Change from FP to integer constant. + * time.h: (CLOCKS_PER_SEC) Change from FP to integer constant. -Sun Jan 28 13:01:08 2001 Earnie Boyd +Sun Jan 28 13:01:08 2001 Earnie Boyd - * include/wchar.h: The 2001.01.18 Change was incorrect. The functions - are actually C functions. These functions are resolved via the + * include/wchar.h: The 2001.01.18 Change was incorrect. The functions + are actually C functions. These functions are resolved via the -lmsvcp60 library and comments were placed in the header. -2001-01-28 Danny Smith +2001-01-28 Danny Smith - *include/stdlib.h (__p__pgmptr): add prototype. + * include/stdlib.h (__p__pgmptr): add prototype. (__p__wpgmptr): likewise. (_pgmptr_dll): move declaration from dos.h. (_wpgmptr_dll): likewise. (_pgmptr): conditional define (MSVCT/CRTDLL). (_wpgmptr): likewise. - *include/dos.h (_base*_dll variables): declare only for CRTDLL. + * include/dos.h (_base*_dll variables): declare only for CRTDLL. (_os*_dll variables): likewise. (_pgmptr_dll): remove declaration and associated defines to stdlib.h. (_wpgmptr_dll): likewise. -2001-01-22 Danny Smith +2001-01-22 Danny Smith * include/stdint.h: New file. -Thu Jan 18 10:33:01 2001 Earnie Boyd +Thu Jan 18 10:33:01 2001 Earnie Boyd * include/wchar.h: Protect prototypes only declared in the C++ STL from being declared unless __cplusplus is defined. -Tue Jan 16 11:37:31 2001 Earnie Boyd +Tue Jan 16 11:37:31 2001 Earnie Boyd * include/stdlib.h: Apply Danny Smith patch 102730 - 2000-12-09 Danny Smith + 2000-12-09 Danny Smith (_wgetenv) Correction to return type. -Tue Jan 16 09:41:41 2001 Earnie Boyd +Tue Jan 16 09:41:41 2001 Earnie Boyd * include/locale.h: Apply Danny Smith patch 101834 - 2000-11-23 Danny Smith + 2000-11-23 Danny Smith (LC_MIN) Add definition. (LC_MAX) ditto. (_wsetlocale) Add prototype. -2000-11-29 Earnie Boyd +2000-11-29 Earnie Boyd * Makefile.in: eliminate the need for RUNTIME and CRT_ID. Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o. @@ -3031,13 +3067,13 @@ Tue Jan 16 09:41:41 2001 Earnie Boyd Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw. * configure: regenerate. -2000-11-22 Earnie Boyd +2000-11-22 Earnie Boyd * Makefile.in: Fix bindist target to distribute the correct files. Remove the use of SNAPSHOT variable and test SNAPDATE instead. Set SNAPDATE within the snapshot target on recursive call to $(MAKE). -2000-11-21 Earnie Boyd +2000-11-21 Earnie Boyd * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target. Add variables and targets to control binary and source distributions. @@ -3055,10 +3091,10 @@ Tue Jan 16 09:41:41 2001 Earnie Boyd * configure: regenerate. * profile/configure: ditto. -2000-11-20 Earnie Boyd +2000-11-20 Earnie Boyd * Merge in changes from - 2000-10-23 Danny Smith + 2000-10-23 Danny Smith * include/direct.h: add guard around MSVCRT-only prototytpes * include/io.h: add __int64 struct definitions and function prototypes; add guard for MSVCRT-only prototypes @@ -3074,26 +3110,26 @@ Tue Jan 16 09:41:41 2001 Earnie Boyd some oldname wide char function prototypes #if (0)'d * profile/gmon.h: add guard around BSD-ish typedefs -Mon Nov 20 18:58:12 2000 Christopher Faylor +Mon Nov 20 18:58:12 2000 Christopher Faylor * Makefile.in: Use a different variable name for subdirectory since the previous one was used by the top level make. -Sun Nov 19 20:50:51 2000 Christopher Faylor +Sun Nov 19 20:50:51 2000 Christopher Faylor * Makefile.in: Install mingw stuff in a subdirectory if building under cygwin. -Sat Jun 17 21:48:23 2000 Christopher Faylor +Sat Jun 17 21:48:23 2000 Christopher Faylor * Makefile.in (subdirs): Eliminate for loop. -Sat Jun 17 18:27:59 2000 Christopher Faylor +Sat Jun 17 18:27:59 2000 Christopher Faylor * Makefile.in (subdirs): Previous change did not fix problem in broken shells. -Sat Jun 17 13:49:12 2000 Christopher Faylor +Sat Jun 17 13:49:12 2000 Christopher Faylor * Makefile.in: Avoid installing dll if we're cross building and the cross-host system isn't a Windows system. @@ -3101,20 +3137,20 @@ Sat Jun 17 13:49:12 2000 Christopher Faylor variables in Makefile.in. * configure: Regenerate. -Wed Apr 19 13:10:54 2000 Christopher Faylor +Wed Apr 19 13:10:54 2000 Christopher Faylor * configure.in: Change HEADER_SUBDIR to mingw32. * configure: Regenerate. -Mon Apr 10 17:24:28 2000 Christopher Faylor +Mon Apr 10 17:24:28 2000 Christopher Faylor * include/string.h: Use proper prototype for _strerror. -2000-03-30 Mumit Khan +2000-03-30 Mumit Khan * Makefile.in (subdirs): Workaround for broken shells. -2000-02-03 Mumit Khan +2000-02-03 Mumit Khan * Snapshot 2000-02-03. @@ -3127,11 +3163,11 @@ Mon Apr 10 17:24:28 2000 Christopher Faylor * Makefile.in (all): Build CRT0S first. (libmingwthrd.a): Remove thread support DLL from dependency. -2000-01-21 Mumit Khan +2000-01-21 Mumit Khan * Snapshot 2000-01-21. -2000-01-20 Mumit Khan +2000-01-20 Mumit Khan Merge in changes from Cygwin: * configure.in (HEADER_SUBDIRS): New variable. Substitute. @@ -3142,7 +3178,7 @@ Mon Apr 10 17:24:28 2000 Christopher Faylor (DLL_CC_STUFF): Add DLL entry point. * configure: Regenerate. -2000-01-19 Mumit Khan +2000-01-19 Mumit Khan * include/stdio.h (fsetpos): Fix prototype. (fpos_t): Fix for MSVCRT. @@ -3158,7 +3194,7 @@ Mon Apr 10 17:24:28 2000 Christopher Faylor * moldname-crtdll.def: Regenerate. * moldname-msvcrt.def: Regenerate. -Tue Dec 21 02:22:14 1999 Mumit Khan +Tue Dec 21 02:22:14 1999 Mumit Khan * Snapshot 1999-12-21. @@ -3173,13 +3209,13 @@ Tue Dec 21 02:22:14 1999 Mumit Khan (_TIME_T): Rename macro to _TIME_T_DEFINED. * include/sys/types.h: Likewise. -Thu Nov 18 00:22:26 1999 Mumit Khan +Thu Nov 18 00:22:26 1999 Mumit Khan * profile/profil.c (profile_on): Set the profiler thread priority to be time critical. Thanks to Pascal Obry . * Snapshot 1999-11-18. -Sun Nov 7 02:50:09 1999 Mumit Khan +Sun Nov 7 02:50:09 1999 Mumit Khan Released 1999-11-07. @@ -3190,7 +3226,7 @@ Sun Nov 7 02:50:09 1999 Mumit Khan Eric Kohl . * profile/Makefile.in (install): Fix target. -Thu Nov 4 14:32:58 1999 Mumit Khan +Thu Nov 4 14:32:58 1999 Mumit Khan * Makefile.in: Add support for profile directory. * configure.in: Likewise. @@ -3208,7 +3244,7 @@ Thu Nov 4 14:32:58 1999 Mumit Khan * profile/profil.c (profile_on): thread id is DWORD, not int. -Wed Nov 3 16:26:44 1999 Mumit Khan +Wed Nov 3 16:26:44 1999 Mumit Khan * include/stdlib.h: Add wide character version of argv/environ. Formatting changes. @@ -3219,7 +3255,7 @@ Wed Nov 3 16:26:44 1999 Mumit Khan (DllMainCRTStartup): Don't call _mingw32_init_mainargs(). * Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists. -Sat Oct 30 03:06:26 1999 Mumit Khan +Sat Oct 30 03:06:26 1999 Mumit Khan * moldname.def: Remove file. * moldname.def.in: And add this. @@ -3235,12 +3271,12 @@ Sat Oct 30 03:06:26 1999 Mumit Khan under Cygwin winsup. * configure: Regenerate. -Fri Oct 1 11:10:30 1999 Mumit Khan +Fri Oct 1 11:10:30 1999 Mumit Khan * include/_mingw.h: Add version macros. - * include/direct.h (_diskfree_t, getdiskfree, getdrives): Add. + * include/direct.h (_diskfree_t, getdiskfree, getdrives): Add. Also add wide character versions shared with wchar.h. - * include/dos.h (_diskfree_t, getdiskfree, getdrives): Add. + * include/dos.h (_diskfree_t, getdiskfree, getdrives): Add. * include/io.h (sopen, _sopen): Fix prototype. Add wide character prototypes. * include/wchar.h: Likewise. @@ -3251,7 +3287,7 @@ Fri Oct 1 11:10:30 1999 Mumit Khan * include/sys/timeb.h (struct _timeb): Don't use macro, but real definition. -Wed Aug 18 18:38:39 1999 Mumit Khan +Wed Aug 18 18:38:39 1999 Mumit Khan * configure.in (RUNTIME, CRT_ID): Add to differentiate between crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY @@ -3281,12 +3317,12 @@ Wed Aug 18 18:38:39 1999 Mumit Khan * include/stdio.h (_snprintf): Add prototype. (_vsnprintf): Likewise. -Sat Aug 7 18:00:00 1999 Mumit Khan +Sat Aug 7 18:00:00 1999 Mumit Khan Reported by Tor Lillqvist : * include/stdlib.h (__p___argv): Fix return type. -Fri Jul 30 22:07:06 1999 Mumit Khan +Fri Jul 30 22:07:06 1999 Mumit Khan Add UWIN support. * include/errno.h (errno): It's linked in from startup, not imported. @@ -3297,7 +3333,7 @@ Fri Jul 30 22:07:06 1999 Mumit Khan * include/string.h: Likewise. * include/time.h: Likewise. -Fri Jul 30 13:47:34 1999 Mumit Khan +Fri Jul 30 13:47:34 1999 Mumit Khan * include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans. * include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT. @@ -3314,21 +3350,21 @@ Fri Jul 30 13:47:34 1999 Mumit Khan * ALL *.c files: Reformat according to GNU coding style. -Fri Jul 16 00:46:04 1999 Mumit Khan +Fri Jul 16 00:46:04 1999 Mumit Khan * Makefile.in (INCLUDES): Add w32api include directory. * include/_mingw.h: New file. * include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h, - errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h, - math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h, - stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h, - sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and - use the macros __DECLSPEC_SUPPORTED and __MINGW_IMPORT. + errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h, + math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h, + stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h, + sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and + use the macros __DECLSPEC_SUPPORTED and __MINGW_IMPORT. * include/stdlib.h (atexit): Fix prototype. -Mon Jun 14 18:38:49 1999 Mumit Khan +Mon Jun 14 18:38:49 1999 Mumit Khan * include/stdio.h (_tempnam): Fix prototype. (tempnam): Likewise. @@ -3339,18 +3375,18 @@ Mon Jun 14 18:38:49 1999 Mumit Khan * include/stdlib.h (__argc): Declare. (__argv): Likewise. -Mon Apr 5 13:49:17 1999 Mumit Khan +Mon Apr 5 13:49:17 1999 Mumit Khan * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's contribution. * Makefile.in (_libm_dummy.o): New target. (libm.a): Use. -Tue Mar 16 18:15:26 1999 Mumit Khan +Tue Mar 16 18:15:26 1999 Mumit Khan * Released 1999-03-16 along with egcs-1.1.2. -Wed Feb 17 17:15:56 1999 Mumit Khan +Wed Feb 17 17:15:56 1999 Mumit Khan * Makefile.in (LIBS): Add libm.a. (libm.a): Dummy libm.a. @@ -3364,7 +3400,7 @@ Wed Feb 17 17:15:56 1999 Mumit Khan (libmoldname-msvc.a): Add target. (distclean): Add target. -Tue Feb 9 00:26:05 1999 Mumit Khan +Tue Feb 9 00:26:05 1999 Mumit Khan * include/dir.h: Reintroduce as an obsolescent header. * crt1.c (signal.h): Include. @@ -3372,14 +3408,14 @@ Tue Feb 9 00:26:05 1999 Mumit Khan asynchronous signals. (mainCRTStartup): Use. -Sun Jan 3 23:52:25 1999 Mumit Khan +Sun Jan 3 23:52:25 1999 Mumit Khan * include/direct.h: Include io.h instead of dir.h * include/dirent.h: Likewise. * include/dos.h: Likewise. * include/stdio.h: Replace reference to dir.h with io.h. -Thu Dec 31 16:04:55 1998 Mumit Khan +Thu Dec 31 16:04:55 1998 Mumit Khan * 1999-01-01 release bundled with egcs-1.1.1. @@ -3387,7 +3423,7 @@ Thu Dec 31 16:04:55 1998 Mumit Khan * include/dir.h: Remove. * include/signal.h: Move RC_INVOKED up a bit. -Tue Dec 29 15:04:38 1998 Mumit Khan +Tue Dec 29 15:04:38 1998 Mumit Khan * include/signal.h (sig_atomic_t): Define. (NSIG): Define. @@ -3399,7 +3435,7 @@ Tue Dec 29 15:04:38 1998 Mumit Khan * include/sys/stat.h (struct stat): st_uid is of type short. Use _off_t instead of long for st_size. -Thu Sep 10 22:28:49 1998 Mumit Khan +Thu Sep 10 22:28:49 1998 Mumit Khan * include/errno.h (sys_errlist, sys_nerr): Move from here ... * include/stdlib.h: Here. @@ -3409,14 +3445,14 @@ Thu Sep 10 22:28:49 1998 Mumit Khan * include/netinet/in.h: Remove. * include/sys/socket.h: Remove. -Fri Sep 4 15:09:11 1998 Mumit Khan +Fri Sep 4 15:09:11 1998 Mumit Khan * Release egcs-1.1. * include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h, sys/utime.h}: Protect stddef.h in RC_INVOKED macro. -Thu Sep 3 10:43:29 1998 Mumit Khan +Thu Sep 3 10:43:29 1998 Mumit Khan * setjmp.h (_JBTYPE, _JBLEN): Define correctly. (jmpbuf): typedef using above. @@ -3436,11 +3472,11 @@ Thu Sep 3 10:43:29 1998 Mumit Khan * include/time.h (tzset, daylight, timezone): Replace with Colin's. * include/sys/state.h: Merge. -Thu Sep 3 09:49:07 1998 Mumit Khan +Thu Sep 3 09:49:07 1998 Mumit Khan * include/assert.h (assert): Lose the trailing semicolon. -Thu Jul 30 21:18:49 1998 Mumit Khan +Thu Jul 30 21:18:49 1998 Mumit Khan * include/math.h (matherr): Declare. * include/stdio.h (fileno, _fileno): Declare. @@ -3451,7 +3487,7 @@ Thu Jul 30 21:18:49 1998 Mumit Khan (getw, putw): Declare. * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix. -Sat Jun 13 18:19:41 1998 Mumit Khan +Sat Jun 13 18:19:41 1998 Mumit Khan * include/time.h (_timezone): Undefine. * include/sys/timeb.h (struct timeb): Rename _timezone to timezone. @@ -3461,7 +3497,7 @@ Sat Jun 13 18:19:41 1998 Mumit Khan * include/stdlib.h (environ): Use DLL version. * init.c (environ): Undefine it before use. -Sun Mar 22 19:59:30 1998 Mumit Khan +Sun Mar 22 19:59:30 1998 Mumit Khan * Update to 980309 snapshot from Colin Peters. @@ -3477,17 +3513,17 @@ Sun Mar 22 19:59:30 1998 Mumit Khan * include/arpa/inet.h: Likewise. * include/netinet/in.h: Likewise. -Wed Feb 4 14:16:44 1998 Mumit Khan +Wed Feb 4 14:16:44 1998 Mumit Khan * Update to 980128 snapshot from Colin Peters. -Sat Dec 6 21:30:35 1997 Mumit Khan +Sat Dec 6 21:30:35 1997 Mumit Khan * configure.in (AC_INIT): Use dllmain.c instead of defunct oldnames.c * configure: Regenerate. -Fri Dec 5 15:57:36 1997 Mumit Khan +Fri Dec 5 15:57:36 1997 Mumit Khan * Update to 971205 snapshot from Colin Peters. Lots of changes. Files renamed and include hierarchy loses directories named @@ -3495,7 +3531,7 @@ Fri Dec 5 15:57:36 1997 Mumit Khan * include/dos.h: from Jan-Jaap. -Thu Dec 4 21:48:13 1997 Mumit Khan +Thu Dec 4 21:48:13 1997 Mumit Khan Changes to conform to FSF tree. @@ -3504,7 +3540,7 @@ Thu Dec 4 21:48:13 1997 Mumit Khan * Makefile.in: Update above. Also renamed libmoldnames.a to libmoldname.a. -Mon Dec 1 16:51:30 1997 Mumit Khan +Mon Dec 1 16:51:30 1997 Mumit Khan * crtdll.def: Export all functions but the ones with funny names. * moldnames.def: Add fdopen since fileno is already there. @@ -3516,7 +3552,7 @@ Mon Dec 1 16:51:30 1997 Mumit Khan * include/nonansi/process.h: Likewise. * include/sys/types.h: Likewise. -Tue Nov 4 14:51:01 1997 Mumit Khan +Tue Nov 4 14:51:01 1997 Mumit Khan * include/time.h (CLK_TCK): Renamed from CLK_TICK. (CLK_TICK): Delete. @@ -3529,7 +3565,7 @@ Tue Nov 4 14:51:01 1997 Mumit Khan * Makefile.in (LIBS): Delete moldnames.dll from target libs. (libmoldnames.a): Add explicit rule to create it. -Fri Aug 15 18:23:43 1997 Rob Savoye +Fri Aug 15 18:23:43 1997 Rob Savoye New directory for the minimalist cygwin environment. @@ -3547,7 +3583,7 @@ Fri Aug 15 18:23:43 1997 Rob Savoye * mcrt0.c: New file. Default crt0 for mingw32. * oldnames.c: New File. Wrappers for functions that don't have an underscore. - * string_old.c: New File. + * string_old.c: New File. * include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h string.h,tchar.h,time.h,wchar.h}: New header files for mingw. diff --git a/winsup/mingw/include/dirent.h b/winsup/mingw/include/dirent.h index a18cbcab9..e2a668924 100644 --- a/winsup/mingw/include/dirent.h +++ b/winsup/mingw/include/dirent.h @@ -57,12 +57,12 @@ typedef struct char dd_name[1]; } DIR; -DIR* __cdecl opendir (const char*); -struct dirent* __cdecl readdir (DIR*); -int __cdecl closedir (DIR*); -void __cdecl rewinddir (DIR*); -long __cdecl telldir (DIR*); -void __cdecl seekdir (DIR*, long); +DIR* __cdecl __MINGW_NOTHROW opendir (const char*); +struct dirent* __cdecl __MINGW_NOTHROW readdir (DIR*); +int __cdecl __MINGW_NOTHROW closedir (DIR*); +void __cdecl __MINGW_NOTHROW rewinddir (DIR*); +long __cdecl __MINGW_NOTHROW telldir (DIR*); +void __cdecl __MINGW_NOTHROW seekdir (DIR*, long); /* wide char versions */ @@ -106,12 +106,12 @@ typedef struct -_WDIR* __cdecl _wopendir (const wchar_t*); -struct _wdirent* __cdecl _wreaddir (_WDIR*); -int __cdecl _wclosedir (_WDIR*); -void __cdecl _wrewinddir (_WDIR*); -long __cdecl _wtelldir (_WDIR*); -void __cdecl _wseekdir (_WDIR*, long); +_WDIR* __cdecl __MINGW_NOTHROW _wopendir (const wchar_t*); +struct _wdirent* __cdecl __MINGW_NOTHROW _wreaddir (_WDIR*); +int __cdecl __MINGW_NOTHROW _wclosedir (_WDIR*); +void __cdecl __MINGW_NOTHROW _wrewinddir (_WDIR*); +long __cdecl __MINGW_NOTHROW _wtelldir (_WDIR*); +void __cdecl __MINGW_NOTHROW _wseekdir (_WDIR*, long); #ifdef __cplusplus diff --git a/winsup/mingw/include/wctype.h b/winsup/mingw/include/wctype.h index 9ca33bb0b..fe4163fd4 100644 --- a/winsup/mingw/include/wctype.h +++ b/winsup/mingw/include/wctype.h @@ -64,33 +64,33 @@ typedef wchar_t wctype_t; #endif /* Wide character equivalents - also in ctype.h */ -_CRTIMP int __cdecl iswalnum(wint_t); -_CRTIMP int __cdecl iswalpha(wint_t); -_CRTIMP int __cdecl iswascii(wint_t); -_CRTIMP int __cdecl iswcntrl(wint_t); -_CRTIMP int __cdecl iswctype(wint_t, wctype_t); -_CRTIMP int __cdecl is_wctype(wint_t, wctype_t); /* Obsolete! */ -_CRTIMP int __cdecl iswdigit(wint_t); -_CRTIMP int __cdecl iswgraph(wint_t); -_CRTIMP int __cdecl iswlower(wint_t); -_CRTIMP int __cdecl iswprint(wint_t); -_CRTIMP int __cdecl iswpunct(wint_t); -_CRTIMP int __cdecl iswspace(wint_t); -_CRTIMP int __cdecl iswupper(wint_t); -_CRTIMP int __cdecl iswxdigit(wint_t); +_CRTIMP int __cdecl __MINGW_NOTHROW iswalnum(wint_t); +_CRTIMP int __cdecl __MINGW_NOTHROW iswalpha(wint_t); +_CRTIMP int __cdecl __MINGW_NOTHROW iswascii(wint_t); +_CRTIMP int __cdecl __MINGW_NOTHROW iswcntrl(wint_t); +_CRTIMP int __cdecl __MINGW_NOTHROW iswctype(wint_t, wctype_t); +_CRTIMP int __cdecl __MINGW_NOTHROW is_wctype(wint_t, wctype_t); /* Obsolete! */ +_CRTIMP int __cdecl __MINGW_NOTHROW iswdigit(wint_t); +_CRTIMP int __cdecl __MINGW_NOTHROW iswgraph(wint_t); +_CRTIMP int __cdecl __MINGW_NOTHROW iswlower(wint_t); +_CRTIMP int __cdecl __MINGW_NOTHROW iswprint(wint_t); +_CRTIMP int __cdecl __MINGW_NOTHROW iswpunct(wint_t); +_CRTIMP int __cdecl __MINGW_NOTHROW iswspace(wint_t); +_CRTIMP int __cdecl __MINGW_NOTHROW iswupper(wint_t); +_CRTIMP int __cdecl __MINGW_NOTHROW iswxdigit(wint_t); #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ || !defined __STRICT_ANSI__ || defined __cplusplus -int __cdecl iswblank (wint_t); +int __cdecl __MINGW_NOTHROW iswblank (wint_t); #endif /* Older MS docs uses wchar_t for arg and return type, while newer online MS docs say arg is wint_t and return is int. ISO C uses wint_t for both. */ -_CRTIMP wint_t __cdecl towlower (wint_t); -_CRTIMP wint_t __cdecl towupper (wint_t); +_CRTIMP wint_t __cdecl __MINGW_NOTHROW towlower (wint_t); +_CRTIMP wint_t __cdecl __MINGW_NOTHROW towupper (wint_t); -_CRTIMP int __cdecl isleadbyte (int); +_CRTIMP int __cdecl __MINGW_NOTHROW isleadbyte (int); /* Also in ctype.h */ @@ -119,23 +119,23 @@ extern unsigned short** _imp___ctype; #if !(defined (__NO_INLINE__) || defined(__NO_CTYPE_INLINES) \ || defined(__WCTYPE_INLINES_DEFINED)) #define __WCTYPE_INLINES_DEFINED -__CRT_INLINE int __cdecl iswalnum(wint_t wc) {return (iswctype(wc,_ALPHA|_DIGIT));} -__CRT_INLINE int __cdecl iswalpha(wint_t wc) {return (iswctype(wc,_ALPHA));} -__CRT_INLINE int __cdecl iswascii(wint_t wc) {return ((wc & ~0x7F) ==0);} -__CRT_INLINE int __cdecl iswcntrl(wint_t wc) {return (iswctype(wc,_CONTROL));} -__CRT_INLINE int __cdecl iswdigit(wint_t wc) {return (iswctype(wc,_DIGIT));} -__CRT_INLINE int __cdecl iswgraph(wint_t wc) {return (iswctype(wc,_PUNCT|_ALPHA|_DIGIT));} -__CRT_INLINE int __cdecl iswlower(wint_t wc) {return (iswctype(wc,_LOWER));} -__CRT_INLINE int __cdecl iswprint(wint_t wc) {return (iswctype(wc,_BLANK|_PUNCT|_ALPHA|_DIGIT));} -__CRT_INLINE int __cdecl iswpunct(wint_t wc) {return (iswctype(wc,_PUNCT));} -__CRT_INLINE int __cdecl iswspace(wint_t wc) {return (iswctype(wc,_SPACE));} -__CRT_INLINE int __cdecl iswupper(wint_t wc) {return (iswctype(wc,_UPPER));} -__CRT_INLINE int __cdecl iswxdigit(wint_t wc) {return (iswctype(wc,_HEX));} -__CRT_INLINE int __cdecl isleadbyte(int c) {return (_pctype[(unsigned char)(c)] & _LEADBYTE);} +__CRT_INLINE int __cdecl __MINGW_NOTHROW iswalnum(wint_t wc) {return (iswctype(wc,_ALPHA|_DIGIT));} +__CRT_INLINE int __cdecl __MINGW_NOTHROW iswalpha(wint_t wc) {return (iswctype(wc,_ALPHA));} +__CRT_INLINE int __cdecl __MINGW_NOTHROW iswascii(wint_t wc) {return ((wc & ~0x7F) ==0);} +__CRT_INLINE int __cdecl __MINGW_NOTHROW iswcntrl(wint_t wc) {return (iswctype(wc,_CONTROL));} +__CRT_INLINE int __cdecl __MINGW_NOTHROW iswdigit(wint_t wc) {return (iswctype(wc,_DIGIT));} +__CRT_INLINE int __cdecl __MINGW_NOTHROW iswgraph(wint_t wc) {return (iswctype(wc,_PUNCT|_ALPHA|_DIGIT));} +__CRT_INLINE int __cdecl __MINGW_NOTHROW iswlower(wint_t wc) {return (iswctype(wc,_LOWER));} +__CRT_INLINE int __cdecl __MINGW_NOTHROW iswprint(wint_t wc) {return (iswctype(wc,_BLANK|_PUNCT|_ALPHA|_DIGIT));} +__CRT_INLINE int __cdecl __MINGW_NOTHROW iswpunct(wint_t wc) {return (iswctype(wc,_PUNCT));} +__CRT_INLINE int __cdecl __MINGW_NOTHROW iswspace(wint_t wc) {return (iswctype(wc,_SPACE));} +__CRT_INLINE int __cdecl __MINGW_NOTHROW iswupper(wint_t wc) {return (iswctype(wc,_UPPER));} +__CRT_INLINE int __cdecl __MINGW_NOTHROW iswxdigit(wint_t wc) {return (iswctype(wc,_HEX));} +__CRT_INLINE int __cdecl __MINGW_NOTHROW isleadbyte(int c) {return (_pctype[(unsigned char)(c)] & _LEADBYTE);} #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ || !defined __STRICT_ANSI__ || defined __cplusplus -__CRT_INLINE int __cdecl iswblank (wint_t wc) +__CRT_INLINE int __cdecl __MINGW_NOTHROW iswblank (wint_t wc) {return (iswctype(wc, _BLANK) || wc == L'\t');} #endif @@ -150,9 +150,9 @@ typedef wchar_t wctrans_t; for a valid string descriptor. If you want the MS behaviour (and you have msvcp60.dll in your path) add -lmsvcp60 to your command line. */ -wint_t __cdecl towctrans(wint_t, wctrans_t); -wctrans_t __cdecl wctrans(const char*); -wctype_t __cdecl wctype(const char*); +wint_t __cdecl __MINGW_NOTHROW towctrans(wint_t, wctrans_t); +wctrans_t __cdecl __MINGW_NOTHROW wctrans(const char*); +wctype_t __cdecl __MINGW_NOTHROW wctype(const char*); #ifdef __cplusplus }