Commit Graph

377 Commits

Author SHA1 Message Date
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