Chris Sutcliffe
a8e45d3968
2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
...
* mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
* include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
2008-05-07 02:35:16 +00:00
Chris Sutcliffe
edce6d8546
Fix typo and commit the write header
2008-05-06 01:25:05 +00:00
Chris Sutcliffe
1e6db69571
2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
...
* include/sys/time.h (useconds_t): typedef.
* include/unistd.h (usleep): Add prototype.
* mingwex/usleep.c: New file.
* mingwex/makefile.in: Add usleep source and object.
2008-05-04 12:18:52 +00:00
Chris Sutcliffe
4f3fad2366
2008-04-02 Ramiro Polla <ramiro@lisha.ufsc.br>
...
Make strtod() conform to C99.
* include/stdlib.h (strtod): Declare this mingwex function, and...
(_strtod): rename this MSVCRT counterpart.
* mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
2008-05-03 02:13:48 +00:00
Chris Sutcliffe
6c9c2a071c
2008-04-26 Chuck Wilson <cwilso11@users.sourceforge.net>
...
* Makefile.in: correct issues with mingw10.dll having multiple relocs.
2008-04-26 11:39:14 +00:00
Chris Sutcliffe
1d198686da
2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/process.h: Include stdint.h for intptr_t definition.
(_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
_spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
_spawnvpe): Return intptr_t.
(execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
intptr_t.
[!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
(_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
_wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
_wspawnvp, _wspawnvpe): Return intptr_t.
2008-04-26 00:24:19 +00:00
Chris Sutcliffe
6382a9e785
2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/wchar.h (fwide): Return success code rather than failure in inline
definition.
* mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
code rather than failure.
2008-04-26 00:16:37 +00:00
Chris Sutcliffe
138c2d5c15
2008-03-21 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/math.h (float_t, double_t): Define.
2008-03-21 12:48:22 +00:00
Chris Sutcliffe
cc4d68ec01
2008-01-19 Danny Smith <dannysmithusers.sourceforge.net
...
* inclue/wchar.h (fwide): Add prototype and guard inline definition.
(mbsinit): Likewise.
2008-03-21 12:45:27 +00:00
Chris Sutcliffe
b6f8240fa0
2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
...
* mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
* mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
(x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
2008-03-20 02:55:56 +00:00
Chris Sutcliffe
4d35ce4351
2008-02-28 Joseph Myers <joseph@codesourcery.com>
...
* include/complex.h: Don't condition contents on C99 or not
__STRICT_ANSI__.
2008-03-04 02:42:44 +00:00
Chris Sutcliffe
4df557d94a
2008-02-01 Brian Dessent <brian@dessent.net>
...
* Makefile.in: Add rules to generate multiple versions of libmoldname.a for
the different runtime versions.
2008-02-02 14:14:49 +00:00
Chris Sutcliffe
87b42b7738
2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.14.
2007-12-28 00:33:04 +00:00
Chris Sutcliffe
4694cc18c2
2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
* msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
* mingwex/math/log10f.S: Correct issue with comments.
* mingwex/math/log10l.S: Ditto.
* mingwex/math/log1p.S: Ditto.
* mingwex/math/log1pf.S: Ditto.
* mingwex/math/log1pl.S: Ditto.
* mingwex/math/log2.S: Ditto.
* mingwex/math/log2f.S: Ditto.
* mingwex/math/log2l.S: Ditto.
* mingwex/math/logf.S: Ditto.
* mingwex/math/logl.S: Ditto.
2007-11-27 02:14:19 +00:00
Chris Sutcliffe
b980db14b8
2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
...
* mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
2007-10-03 20:45:58 +00:00
Chris Sutcliffe
08a0c88da5
2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
...
* include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
from '_fsize_t' to '__int64' to be consistent with the other ...64
structures and the value set there is 8 bytes not 4. Add guard for both
as the are only used by functions available from 6.1 on.
* include/malloc.h (_HEAP_MAXREQ): Define.
(_aligned_offset_recalloc): Define.
(_aligned_recalloc()): Define.
* include/math.h: fixed a typo in a comment.
(atanhf): Fixed declaration.
* include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
to '__int64' to be consistent with the other ...64 structures and the value
set there is 8 bytes not 4. Added guard as this function is only used by
functions available from 6.1 on.
* include/sys/stat.h: some members of 'stat' were declared with types with
a prefixed underscore, while the ones without the underscore should have
been used. Added guard to '__stat64' as it is only used by functions
available from 6.1 on. Added the wide character versions of the
exec()/spawn() family for completion
(_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
'_mode_t'
* include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
from 'long' to 'time_t'
(__timeb64): moved declaration of structure directly before the declaration
of the function '_ftime64()', so it is guarded as well
* include/sys/utime.h (__utimbuf64): moved declaration of structure directly
before the declaration of the functions using it, so it is guarded as well
2007-10-03 18:55:56 +00:00
Danny Smith
c67e696c47
Committed as obvious:
...
2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
* mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
case. Add missing break in 's'/LEN_S case.
2007-09-23 22:23:18 +00:00
Keith Marshall
01cd95204e
Make snprintf() and vsnprintf() conform to C99.
2007-08-25 13:49:37 +00:00
Chris Sutcliffe
14e7bcfdc4
2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.13.
* Makefile.in: Reset CYGRELEASE to 1
2007-08-03 22:51:23 +00:00
Chris Sutcliffe
ed02170672
2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.13.
2007-08-03 22:36:59 +00:00
Keith Marshall
452525aec7
* Makefile.in (SUBDIRS): Delete stray line continuation artifact,
...
resulting from incomplete removal of enclosing `for ...; do ...; done'
loop from compound command; (reported by Greg Chicares).
2007-07-23 21:32:35 +00:00
Danny Smith
b0ff8192ad
* include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
...
Vista.
2007-07-19 09:25:32 +00:00
Danny Smith
05694dc580
Changelog typo
2007-07-12 09:42:31 +00:00
Danny Smith
f2a9580699
* incude/wchar.h (_wsystem) Declare.
...
(_wputenv) Declare.
(_wgetenv): Declare.
(_wsearchenv): Declare.
(_wmakepath): Declare.
(_wsplitpath): Declare.
(_wfullpath): Declare.
* incude/stdlib.h (_wsystem) Declare.
(_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath, _wfullpath):
Move into _WSTDLIB_DEFINED guard.
* include/tchar.h (_tsystem): New UNICODE mapping define.
2007-07-12 09:38:17 +00:00
Danny Smith
b363c819dd
* mingwex/gdtoa/mingw_snprintf.c: New file.
...
* mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
(GDTOA_OBJS): Add mingw_snprintf.O.
2007-06-29 10:11:57 +00:00
Danny Smith
a4b5a24055
* msvcrt.def.in: Update comment.
...
Exclude _ctype stub if using msvcr71.dll or newer.
* include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
* include/wctype.h: Likewise.
2007-06-28 07:13:04 +00:00
Danny Smith
26e8e4beff
*include/wctpe.h: Likewise.
...
*include/wdirent.h: Likewise.
Changelog: Whitespace
Further: http://www.lib.virginia.edu/cgi-bin/imgload.cgi/53
2007-06-23 07:54:58 +00:00
Danny Smith
25b4cace74
*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-23 07:34:16 +00:00
Danny Smith
8820b5ec12
* mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
...
Good night all.
2007-06-22 10:22:49 +00:00
Danny Smith
e54e4d47f1
Add POSIX binary tree search API.
...
* mingwex/tfind.c: New file.
* mingwex/tdelete.c: New file.
* mingwex/tsearch.c: New file.
* mingwex/twalk.c: New file.
* mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
* mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
* include/search.h (tfind): Declare.
(tdelete): Declare.
(tsearch): Declare.
(twalk): Declare.
(ENTRY): Define.
(ACTION): Define.
(VISIT): Define.
(node_t): Define, on condition of _SEARCH_PRIVATE.
2007-06-22 10:09:20 +00:00
Danny Smith
3d7e738f72
* include/_mingw.h (__MINGW_NOTHROW): Define.
2007-06-22 09:19:25 +00:00
Danny Smith
bdcb3ba03c
* include/stdio.h (vsnprintf): Remove inline definition.
...
Add prototype.
2007-06-18 09:50:01 +00:00
Danny Smith
bae2120761
* CRTfmode.c: Nit-pick comment fix.
2007-06-17 02:12:47 +00:00
Christopher Faylor
4818869bda
* CRTfmode.c: Fix nested comment.
2007-06-17 00:41:13 +00:00
Christopher Faylor
e10b44c2a6
* include/string.h (strcasecmp): Fix typo in declaration prototype.
2007-06-17 00:37:00 +00:00
Danny Smith
adb97e6242
* include/io.h (lseek64) : Add prototype.
2007-06-14 03:05:08 +00:00
Danny Smith
9958ad7217
* include/string.h (strcasecmp): Add prototype.
...
(strncasecmp): Add prototype.
2007-06-14 03:01:33 +00:00
Danny Smith
b338158ee6
* Makefile.in (CRT0S): Revert last change.
...
* CRTfmode.c. Correct comment.
2007-06-13 08:26:13 +00:00
Danny Smith
d25e2751e4
* Makefile.in (CRT0S): Add back CRTfmode.o.
2007-06-13 07:50:18 +00:00
Danny Smith
5930885278
* include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
...
* include/io.h: Likewise.
2007-06-13 07:43:58 +00:00
Danny Smith
657d7a4610
* crt1.c (__mingw_CRTStartup): Add explicit call to libgcc's __main.
2007-06-11 08:38:16 +00:00
Danny Smith
22af2ce141
* include/stdint.h (intptr_t): Fix typo.
...
Thanks to Charles Wilson for report.
2007-05-08 03:19:28 +00:00
Danny Smith
993e75f677
* include/stdint.h (intptr_t): Protect with _INTPTR_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-05-07 23:42:27 +00:00
Chris Sutcliffe
2edb06ce62
2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Makefile.in: Removed mansuffix variable. Changed mansection to support
Cygwin man page location.
2007-04-07 10:16:52 +00:00
Chris Sutcliffe
f12b93442f
2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Makefile.in: Added mansection and mansuffix variables. Changed mandir
to support Cygwin man page location.
2007-04-05 20:44:29 +00:00
Chris Sutcliffe
a37bc48dca
2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Include/_mingw.h: Increment version to 3.12.
2007-03-26 02:11:07 +00:00
Danny Smith
3246efd513
2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
...
* include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__
2007-03-22 09:43:48 +00:00
Chris Sutcliffe
f7ddb59088
2003-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Makefile.in: Tweak srcdist to fix build issue.
2007-03-21 00:24:25 +00:00
Keith Marshall
a88c650cd4
Add --enable-mingw-manpage-transform configure option.
2007-03-20 23:19:34 +00:00
Danny Smith
a4ad579228
* include/_mingw.h (__CRT_INLINE): Ue __gnu_inline__ for gcc 4.2.x too.
2007-03-18 00:23:44 +00:00
Keith Marshall
31e07d86d2
Add manpages for dirname and basename functions.
2007-03-11 00:15:00 +00:00
Keith Marshall
af8e63023a
Make basename and dirname functions work with path names
...
containing multibyte character strings.
2007-03-08 23:15:58 +00:00
Danny Smith
3315e811a4
* include/io.h (__mingw_access): New static inline wrapper to restore
...
pre-Vista 'access (fname, X_OK)' behaviour.
(__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
2007-03-05 08:25:32 +00:00
Danny Smith
5643b1ee86
* mingwex/fesetround.c (fesetround): Use unsigned int as operand
...
to stmxcsr.
Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
2007-03-05 07:42:36 +00:00
Danny Smith
cbf4bfcd5b
2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
...
* include/stdio.h (_unlink, unlink): Add prototypes.
2007-02-27 07:40:12 +00:00
Danny Smith
8cf2dca12b
2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
...
* include/excpt.h: Replace "_try1" in comments with "__try1".
2007-02-18 09:46:48 +00:00
Danny Smith
18c27356c4
* Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
...
(ALL_CXXFLAGS): Likewise.
* mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.
* profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.
2007-02-14 23:42:07 +00:00
Danny Smith
d4c6243390
* include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
2007-02-08 08:15:32 +00:00
Danny Smith
9571d219fe
Expose some msvcr80.dll functions.
...
* include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
_ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
* msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
_ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
2007-01-27 09:50:11 +00:00
Danny Smith
2731a97413
Expose some msvcr80.dll functions.
...
* include/stdlib.h (_set_abort_behavior): Add prototype.
(_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
_set_abort_behavior mask argument.
(_invalid_parameter_handler): Add typedef.
(_set_invalid_parameter_handler): Add prototype.
* include/stdio.h (_get_printf_count_output): Add prototype.
(_set_printf_count_output): Add prototype.
* msvcrt.def.in (_get_printf_count_output, _set_printf_count_output,
_set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
2007-01-26 08:20:54 +00:00
Danny Smith
ed897cdfa6
* include/_mingw.h (CRT_INLINE): Correct typo.
2007-01-26 00:20:14 +00:00
Danny Smith
c0c32634da
* include/io.h (X_OK): Define to F_OK.
2007-01-24 08:27:12 +00:00
Danny Smith
8dabc54e41
* include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
...
unconditionally. Change comment.
* include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
here too.
* include/io.h (rename): Declare.
(remove): Declare.
2007-01-19 03:21:09 +00:00
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