Commit Graph

293 Commits

Author SHA1 Message Date
Chris Sutcliffe 79e60dfa66 2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* Makefile.in: Bump cygwin build number.
2006-01-19 00:32:21 +00:00
Chris Sutcliffe 8cc9ac230c 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* Include/_mingw.h: Increment version to 3.9.
	* Makefile.in: Ditto.
2005-10-27 21:21:58 +00:00
Danny Smith 654808f00c * include/limits.h (SSIZE_MAX): Define.
(LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.
2005-10-15 22:35:55 +00:00
Danny Smith 5d023ae8d5 2005-10-13 Wu Yongwei <adah@users.sourceforge.net>
* include/tchar.h: Include <wchar.h> when _UNICODE is defined.
	(_TEOF): New macro definition for _UNICODE and non_UNICODE cases.
2005-10-13 20:31:50 +00:00
Danny Smith 16d4791f87 * include/stddef.h: Remove.
* include/stdarg.h: Remove.
2005-10-12 09:02:24 +00:00
Danny Smith 0efe737420 * 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 06:46:18 +00:00
Danny Smith 1a5c68c8d9 * include/time.h (_time64): Correct prototype. 2005-10-12 00:28:11 +00:00
Danny Smith a174593722 * 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-10-08 02:14:45 +00:00
Danny Smith e6e55ca6a2 * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
Avoid raising FP exceptions.
2005-09-24 01:26:24 +00:00
Danny Smith c1c5de21a9 * 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-09-19 09:48:08 +00:00
Danny Smith 9e28e551f2 * mingwex/fe*.c: Revert previous changes.
* include/fenv.h: Revert previous changes.

	Add Changelog entry for the reverted change.
2005-08-25 08:39:54 +00:00
Danny Smith 03ee0ba163 * mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
getting filelength for SEEK_END.
2005-08-25 02:04:59 +00:00
Chris Sutcliffe 50f196b57f * Include/_mingw.h: Increment version to 3.8.
* Makefile.in: Ditto.
2005-08-13 12:52:43 +00:00
Danny Smith d154b707d0 * include/wctype.h (towupper, towlower): Change arg and return value
types to wint_t.
	* include/ctype.h (towupper, towlower): Likewise.
2005-08-10 10:10:32 +00:00
Danny Smith 5ce4d1685b * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
a diagnostic, guarded by #ifdef DEBUG.
	(__mingwthr_remove_key_dtor): Likewise.
2005-08-10 10:05:02 +00:00
Danny Smith 5b3ab258e5 * moldname.def.in (sleep, beep, seterrormode): Remove. 2005-08-08 10:22:20 +00:00
Danny Smith 842db59275 * 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 12:14:21 +00:00
Danny Smith dcd6cb4308 * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
guard __MINGW_ATTRIB macro definitions.
	* include/math.h (logb[fl]):  Don't define inlines for
	GCC-4.0+ && __FAST_MATH__.
	(rint[fl], lrint[fl], llrint[fl]); Likewise.  Clean up
	line-continuation backslashes.
2005-06-16 11:41:49 +00:00
Danny Smith c94aabb8c6 * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
in GNUC version guard.
2005-06-06 08:21:53 +00:00
Danny Smith 45e3403e7b * crt1.c (_gnu_exception_handler): Handle illegal instruction
OS exception as a signal if user has defined a SIGILL handler.
2005-05-19 22:44:13 +00:00
Danny Smith 96c837f0ca * mingwex/math/nexttoward.c: New file.
* mingwex/math/nexttowardf.c: New file.
	* mingwex/math/nextafterl.c: Add nexttowardl aliaa.
	* mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
	mexttowardf.c,
	(MATH_OBJS):  Add nexttoward.o,	mexttowardf.o,
	* include/math.h (nexttoward, nextowardf, nexttowardl): Add
	prototypes.
2005-05-10 08:39:07 +00:00
Danny Smith 5b91f0a6ef * mingwex/math/nextafterf.c (nextafterf): Correct
handling of -0.0.
	* mingwex/math/nextafterl.c: New file.
	* mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
	(MATH_OBJS): Add nextafterl.o.
	* include/math.h (nextafterl): Uncomment prototype.
2005-05-09 09:36:10 +00:00
Danny Smith 02626f616d * mingwex/math/erfl.c: New file.
* mingwex/Makefile.i (MATH_DISTFILES): Add erfl.c.
	(MATH_OBJS): Add erfl.o.
	* include/math.h (erfl, erfcl): Uncomment prototypes.
2005-05-08 08:07:18 +00:00
Danny Smith f3b0036304 * 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-04 09:29:09 +00:00
Danny Smith 8559dd92d0 * 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.
	* include/math.h (__signbit, __signbitf, __signbitl): Likewise
	for inlines.
2005-05-03 08:39:19 +00:00
Danny Smith 38efa5f128 * 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-05-02 08:03:34 +00:00
Danny Smith 6fbeb6a3f0 * mingwex/mbrtowc.c: New file.
* mingwex/wcrtomb.c: New file.
	* mingwex/btowc.c: New file.
	* mingwex/wctob.c: New file.
	* mingwex/mb_wc_common.h: New file.
	* mingwex/Makefile.in (DISTFILES): Add new files.
	(Q8_OBJS): Add new objects.
	* include/wchar.h: Adjust comment about mbrtowc() and related
	funcions. Add __restrict__ to pointer params in prototypes.
	(wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
	arg names from protototypes.
2005-04-24 11:30:27 +00:00
Danny Smith 4fc953d6a1 2005-04-23 Wu Yongwei <adah@sh163.net>
mingwex/dirent.c: Formatting changes.

	mingwex/dirent.c (_topendir): Make the end-of-path slash check
	MBCS-safe.
2005-04-24 10:26:37 +00:00
Danny Smith a1d1d8ab80 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define. 2005-03-31 10:00:26 +00:00
Danny Smith bc47d398b2 * include/stdio.h (__mingw_fwrite): Change return value to
size_t.
	* mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
2005-03-24 05:58:52 +00:00
Danny Smith e967098660 2005-03-15 Hans Leidekker <hans@it.vu.nl>
* include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
2005-03-15 03:10:01 +00:00
Danny Smith 078f08b81a * include/wctype.h (wctrans) Remove _CRTIMP.
(towctrans): Likewise.
	(wctype): Likewise,
2005-02-25 08:15:46 +00:00
Danny Smith b7c201d588 * include/wctype.h: Add comment on wctrans, towctrans, wctype. 2005-02-25 01:48:38 +00:00
Danny Smith 7e9439a0eb * 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-25 01:43:43 +00:00
Danny Smith 3d11bd3e07 * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings. 2005-02-11 07:23:44 +00:00
Danny Smith ecb313ccee * include/assert.h; Remove header guard. undef assert macro.
(_assert): Use __MINGW_ATTRIB_NORETURN define.
2005-02-11 07:17:00 +00:00
Danny Smith e2a12d9f7d Add Changelog entry from last commit. 2005-02-11 07:15:00 +00:00
Danny Smith e693472b16 2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
* include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
	* include/wchar.h (struct stat): Likwwise.
	Bug reported to Debian by Anand Kumria  <wildfire@progsoc.org>

	* include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
2005-02-07 20:18:08 +00:00
Danny Smith d93998b17a * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
string is not valid.
2005-02-01 03:51:21 +00:00
Danny Smith 93b96855f4 2005-01-26 Oliver Stoeneberg <oliverst@online.de>
* include/malloc.h: Add missing return code defines for
	_heapwalk()
2005-01-27 00:34:42 +00:00
Danny Smith 4c9f0d3547 * 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-17 05:03:17 +00:00
Earnie Boyd bfe069a3b0 * include/_mingw.h: Increment version to 3.7.
* Makefile.in: Ditto.
2005-01-13 19:51:02 +00:00
Earnie Boyd 29de2b1938 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
lstat): Remove.
	* include/errno.h (ELOOP): Ditto.
2005-01-13 12:40:37 +00:00
Danny Smith 49f7830187 * include/tchar.h (_tfreopen): Add UNICODE mappings. 2005-01-12 09:08:12 +00:00
Earnie Boyd aa67a4484e * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
lstat): Conditionalize defines for __STRICT_ANSI__.
2005-01-11 13:34:42 +00:00
Earnie Boyd 58bdcd7fc7 * include/errno.h (ELOOP): Add definition. 2005-01-10 21:15:40 +00:00
Danny Smith 4073a59300 * 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
	clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
	ctanl.c ctanhl.c): New files.
	* mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
	(COMPLEX_OBJS): Adjust.
	* include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
	casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
	cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
	Declare.
2005-01-10 05:03:55 +00:00
Danny Smith 23edaf199a * include/_mingw.h (__int16): Define as short. 2005-01-06 11:20:51 +00:00
Danny Smith 5c54e03a27 * include/stdio.h (P_tmpdir): Add define. 2005-01-06 11:10:58 +00:00
Earnie Boyd a6f8d3d6c6 * Makefile.in (inst_docdir): For Cygwin target set to share/doc/. 2005-01-03 16:32:25 +00:00