Keith Marshall
724dbeea36
* include/libgen.h: New file; required by...
...
* mingwex/basename.c, mingwex/dirname.c: New files.
* mingwex/Makefile.in (DISTFILES): Add them...
(POSIX_OBJS): ...with corresponding basename.o, dirname.o
(Dependencies): Typo; s/Dependancies/Dependencies/
2006-12-31 18:03:33 +00:00
Keith Marshall
b6bb405954
configure.in: Update to autoconf 2.5x syntax; fix macro argument quoting;
...
remove invalid use of AC_ALLOCA; remove redundant use of AC_SUBST.
2006-11-25 15:55:05 +00:00
Danny Smith
5f2d9e5fac
* Makefile.in: Add aclocal.m4:to source release.
...
* mingwex/Makefile.in: Ditto.
* profile/Makefile.in: Ditto.
2006-11-21 09:30:15 +00:00
Chris Sutcliffe
c6bf4f2a19
2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Include/_mingw.h: Increment version to 3.11.
* Makefile.in: Ditto.
2006-11-18 22:26:49 +00:00
Danny Smith
cb505ee695
[ mingw-Bugs-1590623 ]
...
* include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
in C99 mode.
2006-11-08 21:58:18 +00:00
Corinna Vinschen
fbcc8bbe74
* Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
...
correctly parenthesized.
2006-10-04 12:52:42 +00:00
Danny Smith
c0b5e094e2
* mingwex/mb_wc_common.h (get_codepage): Get it
...
from __lc_codepage.
2006-09-19 09:09:58 +00:00
Danny Smith
dad3363707
* mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity. Use fpclassify.
...
* mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to void*.
* mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with others.
2006-09-17 22:27:56 +00:00
Danny Smith
3e231d9a38
* mingwex/gdtoa/strtopx.c (strtopx): Fix (sic) infinity.
2006-09-16 07:35:45 +00:00
Christopher Faylor
c48cea17a8
* Makefile.in: Semi-revert 2006-08-30 change.
2006-09-11 16:06:35 +00:00
Danny Smith
910edf4a02
* include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
...
(__MINGW_IMPORT): Ansify.
* include/stdlib.h (_sleep, _beep, _seterrormode): Add
__MINGW_ATTRIB_DEPRECATED.
2006-09-10 21:16:05 +00:00
Keith Marshall
7146ace87f
* aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
...
Redundant macros; deleted.
* configure.in (LIB_AC_PROG_CC): Replaced by...
(AC_PROG_CC): ...this.
* configure: Regenerated.
2006-09-10 14:44:55 +00:00
Danny Smith
ab1d66234a
* 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-06 22:03:16 +00:00
Danny Smith
e635b30956
Import David Gay's gdtoa library.
...
* mingwex/gdtoa: New directory.
* 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,
gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
ulp.c): New files.
* 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/wcstold.c: Avoid using strtold internals.
* mingwex/wcstof.c: Rewrite.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
(GDTOA_OBJS): Add to library.
(DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
(STDLIB_OBJS): Remove.
(STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
(Q8_OBJS): Add wcstof.o wcstold.o.
* include/stdlib.h (strtof): Remove inline definition.
(wcstof): Likewise.
* include/wchar.h (wcstof): Remove inline definition.
2006-08-31 23:48:56 +00:00
Corinna Vinschen
3cdac9e9d4
* Makefile.in: Add with_cross_host to allow more granular checks.
...
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.
Test AC_ALLOCA only if building on a native system.
* configure: Regenerate.
2006-08-30 13:05:05 +00:00
Chris Sutcliffe
d9baa656ed
2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/ctype.h: Fix typo.
2006-08-27 12:14:58 +00:00
Danny Smith
80f52ae1dd
* include/ctype.h: Expose iswblank if __cplusplus.
...
* include/wctype.h: Expose iswblank if __cplusplus.
2006-08-25 09:10:05 +00:00
Danny Smith
840d9c1abe
* include/ctype.h: Remove stray ')'.
2006-08-03 21:05:05 +00:00
Danny Smith
bb1a7afa67
* include/ctype.h (_BLANK): Expand comment.
...
(isblank): Add prototype and inline definition.
(iswblank): Add prototype and inline definition.
* include/wctype.h (iswblank): Add prototype and inline definition.
* mingwex/isblank.c: New file.
* mingwex/iswblank.c: New file.
* mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
2006-08-03 07:44:30 +00:00
Danny Smith
26d31dc917
* include/math.h (__INFF,__INFL): Remove '#'.
2006-07-06 07:36:58 +00:00
Danny Smith
66e7d55998
* mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
2006-07-03 20:51:58 +00:00
Danny Smith
ebd84cac3c
Add a real Changelog entry.
2006-07-03 10:49:42 +00:00
Danny Smith
f34428eb35
Support SSE float environment in fenv.h functions.
...
* cpu_features.c: New file.
* cpu_features.h: New file.
* crt1.c: Include "cpu_features.h".
(__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.
(__MXCSR_EXCEPT_FLAG_SHIFT): New define.
(__MXCSR_EXCEPT_MASK_SHIFT): New define.
(__MXCSR_ROUND_FLAG_SHIFT): New define.
* mingwex/feclearexcept.c: Include "cpu_features.h".
Handle SSE environment.
* mingwex/fegetenv.c: Likewise.
* mingwex/feholdexcept.c: Likewise.
* mingwex/fesetenv.c: Likewise.
* mingwex/fesetexceptflag.c: Likewise.
* mingwex/fesetround.c: Likewise.
* mingwex/fetestexcept.c: Likewise.
* mingwex/feupdateenv.c: Likewise.
* mingwex/fegetround.c: Add comment.
2006-07-03 10:32:58 +00:00
Chris Sutcliffe
50d838a468
2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Include/_mingw.h: Increment version to 3.10.
* Makefile.in: Ditto.
2006-06-26 01:41:48 +00:00
Danny Smith
4a7163e8a0
* mingwex/math/tgamma.c (SQTPI): Add braces.
2006-06-26 00:56:40 +00:00
Danny Smith
1dcd64ff55
* 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/tgamma.c (SQTPI): Avoid type punning.
2006-06-26 00:53:34 +00:00
Danny Smith
b4e8ed0098
Changelog formatting
2006-06-25 21:19:46 +00:00
Danny Smith
083f3e4a23
* include/sys/time.h (struct timezone): Define.
...
* include/time.h (_timezone): Correct comment.
2006-06-22 21:57:44 +00:00
Danny Smith
1cda51cf8a
* configure.in (AC_CONFIG_AUX_DIR): Remove.
...
* configure: Regenerate.
2006-06-18 23:06:56 +00:00
Chris Sutcliffe
8641949d6f
2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
...
* configure: add srcdir as a possible location for install-sh.
2006-06-18 13:35:01 +00:00
Danny Smith
71bbb04de9
* mingwex/dirent.c (_tGetFileAttributes): New helper function.
...
(_topendir): Use it.
2006-06-18 08:43:34 +00:00
Danny Smith
5ade5bb0ea
* 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-18 08:16:55 +00:00
Danny Smith
a4c5a5dc71
* include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
...
else global library variable.
(HUGEVALF): Likewise;
(HUGEVALL): Likewise.
(INFINITY): Likewise.
(NAN): LiKewise.
2006-06-12 22:22:18 +00:00
Danny Smith
a91cc828cc
* mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
2006-06-12 21:48:08 +00:00
Danny Smith
d658f6c649
* Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
2006-06-12 21:43:11 +00:00
Christopher Faylor
99fc5e10f3
update to newer autoconf
2006-05-24 16:59:03 +00:00
Danny Smith
01668fecd4
* mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.
...
Use supplied codepage as arg to WideCharToMultiByte.
2006-05-17 07:49:39 +00:00
Earnie Boyd
3801e59ad8
2006-02-13 Earnie Boyd <earnie@users.sf.net>
...
* Makefile.in (libmsvcr80.a): Add import lib.
(libmsvcr80d.a): Ditto.
2006-02-13 13:33:07 +00:00
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
5092e4a714
* mingwex/feclearexcept.c (feclearexcept): Change declaration.
...
Do not return a value.
* mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
* mingwex/feraiseexcept.c (feraiseexcept): Likewise.
* mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
* mingwex/fegetenv.c (fegetenv): Likewise.
* mingwex/fesetenv.c (fesetenv): Likewise.
* mingwex/feupdateenv.c (feupdateenv): Likewise.
* include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
prototypes.
2005-08-25 02:35:34 +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
ba16f5aa83
2005-02-11 Gregory W. Chicares <chicares at cox dot net>
...
Danny Smith <dannysmith@users at sourceforge dot net>
* include/math.h (expm1, expm1f, expmll): Add prototypes.
* mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
expm1f.c, expm1l.c.
(MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
* mingwex/math/expm1.c: New file.
* mingwex/math/expm1f.c: New file.
* mingwex/math/expm1l.c: New file.
2005-02-11 04:15:17 +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
Earnie Boyd
97f3a22475
* include/_mingw.h: Increment version to 3.6
...
* Makefile.in: Ditto
2005-01-02 17:17:17 +00:00
Danny Smith
9a3412eea8
* 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
clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
ctanf.c ctanhf.c): New files.
* mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
(COMPLEX_OBJS(: Adjust.
* include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
Declare.
2004-12-25 23:56:19 +00:00
Danny Smith
7ffd6c6f17
* include/wchar.h (wcsdup): Correct prototype.
...
* include/string.h (wcsdup): Correct prototype.
2004-12-20 00:03:06 +00:00
Danny Smith
2457f34144
* include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
2004-10-14 07:44:11 +00:00
Danny Smith
72db1c11e9
* include/math.h (ashinh, asinhf, asinhl, acosh, acoshf, acoshl,
...
atanh, atanhf, atanhl): Add prototypes.
* mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
(MATH_DISTFILES): Add sources for above and fastmath.h to list.
Specify dependency on fastmath.h for new objects.
* mingwex/math/fastmath.h: New file.
* mingwex/math/ashinh.c: New file.
* mingwex/math/asinhf.c: New file.
* mingwex/math/asinhl.c: New file.
* mingwex/math/acosh.c: New file.
* mingwex/math/acoshf.c: New file.
* mingwex/math/acoshl.c: New file.
* mingwex/math/atanh.c: New file.
* mingwex/math/atanhf.c: New file.
* mingwex/math/atanhl.c: New file.
2004-10-06 20:31:32 +00:00
Earnie Boyd
bbb5869af9
* include/sys/stat.h (_S_IFLNK): Add definition.
...
(S_IFLNK) Ditto.
(_lstat) Ditto.
(lstat) Ditto.
(_S_ISLNK) Recode.
(S_ISLNK) Ditto.
2004-09-09 02:05:22 +00:00
Earnie Boyd
57ad1153a6
* include/sys/stat.h (_S_ISLNK): Add definition.
...
(S_ISLNG): Ditto.
2004-09-08 18:24:13 +00:00
Earnie Boyd
71c68d9607
* mingwex/Makefile.in: Correct typo in list of DISTFILES.
2004-09-05 14:15:01 +00:00
Earnie Boyd
665352facd
* include/_mingw.h: Increment minor version for 3.5 release.
...
* Makefile.in: Ditto.
2004-09-05 13:51:33 +00:00
Danny Smith
d5afcd86f9
* include/malloc.h (__mingw_aligned_offset_malloc,
...
__mingw_aligned_offset_realloc, __mingw_aligned_malloc,
__mingw_aligned_realloc, __mingw_aligned_free): Add
prototypes.
* mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
tst-aligned-malloc.c.
(REPLACE_OBJS): Add mingw-aligned-malloc.o.
2004-08-24 09:02:45 +00:00
Danny Smith
a6c2ea7e7c
2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
...
* mingwex/mingw-aligned-malloc.c: New file.
* mingwex/tst-aligned-malloc.c: New file.
2004-08-24 08:55:42 +00:00
Danny Smith
45b1139e41
* 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-24 08:49:33 +00:00
Danny Smith
6e8285f48b
* profile/COPYING: New file.
...
* profile/CYGWIN_LICENSE: New file.
* profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
2004-08-15 11:35:07 +00:00
Danny Smith
48a27980be
* mingwex/fopen64.c: Move.
...
* mingwex/fseeko64.c: Move.
* mingwex/ftello64.c: Move.
* mingwex/lseek64.c: Move.
* mingwex/stdio/fopen64.c: To here.
* mingwex/stdio/fseeko64.c: To here.
* mingwex/stdio/ftello64.c: To here.
* mingwex/stdio/lseek64.c: To here.
White space cleanup in ChangeLog
2004-08-15 11:28:09 +00:00
Danny Smith
40929746ba
* profile/gmon.c [__MINGW32__]: Include string.h for
...
memset prototype.
2004-08-15 10:45:43 +00:00
Christopher Faylor
3f604cbca4
* mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
2004-08-09 01:17:28 +00:00
Danny Smith
ac8cbf3d2d
* include/complex.h: Remove __attribute__ ((const)) from
...
transcendantal and trig functions. Replace __attribute__ ((const))
with __MINGW_ATTRIB_CONST on other declarations.
2004-08-07 07:58:01 +00:00
Danny Smith
889a573ad8
* include/wchar.h: Reorganize, avoid including other headers.
2004-08-07 07:51:14 +00:00
Danny Smith
a794235489
* include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
...
(strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
attribute.
2004-08-06 21:49:54 +00:00
Danny Smith
8b7083824a
* include/dirent.h (struct _wdirent): Remove obsolete comment.
2004-07-30 08:27:29 +00:00
Danny Smith
57cb31d40c
* include/string.h: Revert 2004-07-26 additions of
...
__ATTRIBUTE_PURE.
2004-07-30 08:19:58 +00:00
Danny Smith
ab8cc34bb7
* 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.
2004-07-28 11:25:27 +00:00
Danny Smith
5ea3a6e152
* 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-27 08:03:36 +00:00
Danny Smith
1856fdbe03
* 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-27 00:06:07 +00:00
Danny Smith
756301b7de
* include/_mingw.h: Use only two underscores to uglify
...
__MINGW_ATTRIB_* macros.
* include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
* includ/setjmp.h: Likewise.
* include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
string functions.
(_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
2004-07-26 23:45:03 +00:00
Danny Smith
dcbe26ba3c
* include/_mingw.h: Use only two underscores to uglify
...
__MINGW_ATTRIB_* macros.
* include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
* includ/setjmp.h: Likewise.
* include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
string functions.
(_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
2004-07-26 09:13:42 +00:00
Danny Smith
174e6ff064
* include/string.h: Group wide string functions together,
...
and protect with _WSTRING_DEFINED.
2004-07-26 04:12:11 +00:00
Danny Smith
751ba44030
* include/_mingw.h (_MINGW_ATTR_*): Replace with
...
__MINGW_ATTRIB_*.
* include/stdlib.h (_ATTRIB_NORETURN): Replace with
__MINGW_ATTRIB_NOREURN, throughout.
(malloc): Declare with __MINGW_ATTRIB_MALLOC.
(calloc): Likewise.
(abs): Declare with __MINGW_ATTRIB_CONST.
(labs): Likewise.
(div): Likewise.
(ldiv): Likewise.
(lldiv): Likewise.
(_rotl): Likewise.
(_rotr): Likewise.
(_lrotl): Likewise.
(_lrotr): Likewise.
* include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
2004-07-25 11:23:43 +00:00
Danny Smith
cc054d9d26
* include/_mingw.h: Undefine __attribute__.
...
(__MINGW_ATTR_NORETURN): New define.
(__MINGW_ATTR_CONST): New define.
(__MINGW_ATTR_MALLOC): New define.
(__MINGW_ATTR_PURE): New define.
(_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
expansions.
2004-07-21 10:59:54 +00:00
Danny Smith
f451556720
* include/time.h (__time64_t): Add missing ';'.
2004-07-19 22:51:38 +00:00
Danny Smith
cd341e5613
* include/math.h: Guard ISO C99 additions with __cplusplus
...
not __GLIBCPP__.
2004-07-17 05:15:26 +00:00
Christopher Faylor
241422d046
* Makefile.in (CC): Strip inappropriate include file settings from any
...
passed-in CC.
2004-07-17 04:31:14 +00:00
Danny Smith
75ccca2f65
2004-07-15 "dgun" <dgun@umpire.com>
...
* include/complex.h (conj): Correct typo in prototype.
2004-07-15 20:20:22 +00:00
Danny Smith
fcedcf9488
Whitespace change to ChangeLog
2004-07-15 11:56:01 +00:00
Danny Smith
4bf283e0e2
* include/math.h: Add pragma GCC system_header.
2004-07-15 11:39:15 +00:00
Danny Smith
e651690002
* mingwex/complex/cargs.c: New file.
...
* mingwex/Makefile.in: Really add carg.o to libmingwex.a.
2004-07-15 11:35:13 +00:00
Corinna Vinschen
a062ed9840
* 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-15 10:40:37 +00:00
Christopher Faylor
a671e18c42
* mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
2004-07-15 02:43:19 +00:00
Danny Smith
8e47f4464b
* Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
...
system dir.
* mingwex/Makefile,in (INCLUDES): Ditto.
* profile/Makefile,in (INCLUDES): Ditto.
* mingwex/Makefile,in: Add carg.o to libmingwex.a.
2004-07-14 23:44:50 +00:00
Earnie Boyd
650bcf9d74
* Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
...
for C modules.
* mingwex/Makefile.in: Ditto.
* profile/Makefile.in: Ditto.
2004-07-13 13:01:28 +00:00
Earnie Boyd
bb8c8bd47a
* Makefile.in: Move use of --nostdinc++ as GCC3.4 refuses to use it
...
for C modules.
2004-07-13 11:23:08 +00:00
Earnie Boyd
ef72590eb1
* include/limits.h: Change to new file header preamble.
2004-07-13 11:11:36 +00:00
Earnie Boyd
aa726b09ae
* include/_mingw.h: Increment minor version for 3.4 release.
...
* Makefile.in: Ditto.
2004-07-13 11:04:25 +00:00
Danny Smith
e4cb4efab3
* mingwex/math/cephes_emath.h (__etens): Remove declaration.
2004-07-12 07:33:17 +00:00
Danny Smith
1b0314715b
* include/unistd.h (ftruncate): Add inline definition.
...
* mingwex/ftruncate.c: New file.
* mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
2004-07-11 10:01:41 +00:00
Danny Smith
8261a23149
* include/time.h: Do not include sys/types.h.
2004-07-10 04:06:09 +00:00
Danny Smith
64b9893f0d
2 * 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-07-02 10:01:51 +00:00
Danny Smith
81223d017f
2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
...
Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (fopen64): Add inline function.
(fseeko64): Add prototype.
(ftello64): Add inline function.
* include/io.h (lseek64): Add inline function.
* include/sys/types (off64_t): Add typedef.
(fpos64_t): Add typedef.
* mingwex/fopen64.c: New file.
* mingwex/fseeko64.c: New file.
* mingwex/ftello64.c: New file.
* mingwex/lseek64.c: New file.
* mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
fseeko.64.c, ftello64.c, lseek64.c.
(STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (__mingw_fseeko64): Add prototype.
* mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
(__mingw_fwrite): Handle huge files.
2004-06-30 04:51:18 +00:00
Luke Dunstan
cdb055db02
2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
...
* include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
2004-06-01 14:09:20 +00:00
Earnie Boyd
b2e2d5d98c
* strncasecmp.c: Reword copyright and disclaimer. Move Contributors
...
section to CONTRIBUTORS file. Remove RCS tags.
2004-04-22 16:34:31 +00:00
Earnie Boyd
956235ae2b
CORRECTION:
...
* Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
2004-04-22 16:27:00 +00:00
Earnie Boyd
00a85098c4
* DISCLAIMER: Add words about "free to use".
...
* README: Modify "Win32 runtime" to "Microsoft C Runtime".
* Makefile.in (SRCDIST_FILES): Add DISCLAIMER and README.
(inst_docdir): New variable.
(INSTDOCS): Ditto.
(FLAGS_TO_PASS): Include inst_docdir.
(install-dirs): Add inst_docdir.
(install): Add loop for INSTDOCS.
2004-04-22 16:16:25 +00:00
Danny Smith
1a4b7623f4
* mingwex/math/lround.c: Rewrite.
...
* mingwex/math/lroundf.c: Rewrite.
* mingwex/math/lroundl.c: Rewrite.
* mingwex/math/llround.c: Rewrite.
* mingwex/math/llroundf.c: Rewrite.
* mingwex/math/llroundl.c: Rewrite.
2004-04-22 04:38:24 +00:00
Earnie Boyd
4d6c899474
* CONTRIBUTORS: New file.
...
* DISCLAIMER: Ditto.
* CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
section CONTRIBUTORS file. Remove RCS tags.
* CRTFmode.c: Ditto.
* CRTglob.c: Ditto.
* CRTinit.c: Ditto.
* crt1.c: Ditto.
* crtdll.dev: Ditto.
* dllcrt1.c: Ditto.
* dllmain.c: Ditto.
* gccmain.c: Ditto.
* init.c: Ditto.
* isascii.c: Ditto.
* iscsym.c: Ditto.
* iscsymf.c: Ditto.
* jamfile: Ditto.
* main.c: Ditto.
* msvcrt.def.in: Ditto.
* strcasecmp.c: Ditto.
* toascii.c: Ditto.
* wcscmpi.c: Ditto.
* include/assert.h: Ditto.
* include/conio.h: Ditto.
* include/ctype.h: Ditto.
* include/direct.h: Ditto.
* include/dirent.h: Ditto.
* include/dos.h: Ditto.
* include/errno.h: Ditto.
* include/excpt.h: Ditto.
* include/fcntl.h: Ditto.
* include/float.h: Ditto.
* include/io.h: Ditto.
* include/locale.h: Ditto.
* include/malloc.h: Ditto.
* include/math.h: Ditto.
* include/process.h: Ditto.
* include/setjmp.h: Ditto.
* include/share.h: Ditto.
* include/signal.h: Ditto.
* include/stdio.h: Ditto.
* include/stdlib.h: Ditto.
* include/string.h: Ditto.
* include/tchar.h: Ditto.
* include/time.h: Ditto.
* include/wchar.h: Ditto.
* include/sys/locking.h: Ditto.
* include/sys/param.h: Ditto.
* include/sys/stat.h: Ditto.
* include/sys/timeb.h: Ditto.
* include/sys/types.h: Ditto.
* include/sys/utime.h: Ditto.
* mingwex/dirent.c: Ditto.
2004-04-20 22:49:32 +00:00
Earnie Boyd
da3c66eb9a
* include/_mingw.h: Revert to primary release 3 and increment minor
...
release to 3.
* Makefile.in (VERSION): Ditto.
2004-04-19 17:01:27 +00:00
Earnie Boyd
81e7a69f5a
* include/_mingw.h: Revert to primary release 3 and increment minor
...
release to 3.
2004-04-19 16:58:40 +00:00
Danny Smith
4fc406c935
* crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
...
_fmode if not __MSVCRT__.
2004-04-01 10:04:04 +00:00
Danny Smith
4289ebdbfb
2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/io.h: (_findfirst): Correct prototype.
2004-03-30 Hans Leidekker <hans@it.vu.nl>
* include/io.h: (_findnext, _findclose): Correct prototype.
2004-03-30 21:49:12 +00:00
Luke Dunstan
da2cf24aba
2004-03-28 Hans Leidekker <hans@it.vu.nl>
...
* include/math.h (FP_*): Add defines.
2004-03-29 13:57:04 +00:00
Danny Smith
521a0aa9a8
* mingwex/math/round.c: Rewrite.
...
* mingwex/math/roundf.c: Rewrite.
* mingwex/math/roundl.c: Rewrite.
2004-03-29 08:22:20 +00:00