1 2014-11-29 Keith Marshall <keithmarshall@users.sourceforge.net>
3 Correct omission of complex conjugate functions from libmingwex.a
5 * include/complex.h (conj, conjf, conjl): Add LIBIMPL declarations.
6 (creal, crealf, creall): Likewise, for consistency of implementation.
7 (cimag, cimagf, cimagl, carg, cargf, cargl): Likewise.
9 * Makefile.in (libimpl_sed_script): Add processing for __CRT_INLINE
10 declarations; they should be interpreted analogously to __CRT_ALIAS.
11 (libmingwex.a): Remove object file references for functions which are
12 now declared as LIBIMPL, and sort the remainder in ASCII collating
13 order; deleted function references comprise the set consisting of...
14 (carg.$OBJEXT, cargf.$OBJEXT, cargl.$OBJEXT): ...these...
15 (creal.$OBJEXT, crealf.$OBJEXT, creall.$OBJEXT): ...these, and...
16 (cimag.$OBJEXT, cimagf.$OBJEXT, cimagl.$OBJEXT): ...these.
18 * mingwex/complex/carg.c: Replaced by LIBIMPL; delete it.
19 * mingwex/complex/cargf.c mingwex/complex/cargl.c: Likewise.
20 * mingwex/complex/creal.c mingwex/complex/cimag.c: Likewise.
21 * mingwex/complex/crealf.c mingwex/complex/cimagf.c: Likewise.
22 * mingwex/complex/creall.c mingwex/complex/cimagl.c: Likewise.
24 2014-11-24 Keith Marshall <keithmarshall@users.sourceforge.net>
26 Back-port improved asinh() implementation from 4.0-dev branch.
28 * mingwex/math/asinh_generic.c: New file; it replaces...
29 * mingwex/math/asinh.c mingwex/math/asinhf.c mingwex/math/asinhl.c:
30 ...all of these; delete them.
32 2014-11-18 Keith Marshall <keithmarshall@users.sourceforge.net>
34 Enable remake of lost LIBIMPL object files.
36 * Makefile.in (libimpl_remake): New macro; define it, and...
37 (%.libimpl.$OBJEXT) [%.libimpl exists]: ...use it in build rule.
39 2014-11-17 Keith Marshall <keithmarshall@users.sourceforge.net>
41 Implement more robust _get_output_format fallback handling.
43 * mingwex/ofmt.c: New file; it implements...
44 (__mingw_output_format_flag): ...backing store, used by...
45 (__mingw_get_output_format, __mingw_set_output_format): ...these
46 MSVCRT.DLL version agnostic wrappers/emulators for each of these...
47 (_get_output_format, _set_output_format): ...MSVCR80.DLL and later
48 version specific Microsoft APIs, which are also supported by some
49 later versions of MSVCRT.DLL, (excluding WinXP and earlier).
50 (__mingw_get_output_format_fallback): Implement; it is aliased to...
51 (__mingw_set_output_format_fallback): ...this; together they provide
52 the emulation support for the preceding pair of functions, when they
53 are not available within the run-time platform MSVCRT.DLL
54 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
55 Implement them; they wrap, and if necessary emulate...
56 (_get_printf_count_output, _set_printf_count_output): ...these.
57 (__mingw_get_printf_count_output_fallback): Implement; aliased to...
58 (__mingw_set_printf_count_output_fallback): ...this; together they are
59 required to support emulation of the preceding pair of functions, when
60 they are not available within the run-time platform MSVCRT.DLL
62 * include/stdio.h (_TWO_DIGIT_EXPONENT): Define it unconditionally.
63 (_THREE_DIGIT_EXPONENT): New manifest constant; define it orthogonally.
64 (__mingw_get_output_format, __mingw_set_output_format)
65 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
66 Unconditionally declare their prototypes, for subsequent inline use.
67 [_MSVCRT_VERSION__ < 0x800] (_get_output_format): Emulate it inline.
68 [_MSVCRT_VERSION__ < 0x800] (_set_output_format): Likewise.
69 [_MSVCRT_VERSION__ < 0x800] (_get_printf_count_output): Likewise.
70 [_MSVCRT_VERSION__ < 0x800] (_set_printf_count_output): Likewise.
71 (__USE_MINGW_PRINTF): New manifest constant; define it. It is a
72 counterpart to __USE_MINGW_ANSI_STDIO, which is guaranteed to always
73 represent a compilable token.
75 * mingwex/stdio/pformat.c (__pformat_exponent_digits): Do not require
76 _get_output_format; consult __mingw_output_format_flag directly.
78 * ofmt_stub.s: No longer required; delete it.
80 * Makefile.in (ofmt_stub.$OBJEXT): Delete reference.
81 (PFORMAT_CFLAGS) [__MSVCRT_VERSION__ = 0x800]: Remove requirement.
82 (varofmt.$OBJEXT, crtofmt.$OBJEXT, getofmt.$OBJEXT, setofmt.$OBJEXT)
83 (crtnfmt.$OBJEXT, getnfmt.$OBJEXT, setnfmt.$OBJEXT): Add build rule;
84 all are compiled from ofmt.c
86 2014-11-16 Keith Marshall <keithmarshall@users.sourceforge.net>
88 Do some more essential build tree clean up.
90 * Makefile.in (mostly-clean-local): Add *.libimpl; matching files get
91 in the way of a successful rebuild from clean.
93 2014-11-11 Keith Marshall <keithmarshall@users.sourceforge.net>
95 Implement wrappers for emulation of POSIX dlfcn API.
97 * include/dlfcn.h: New file; it declares the API.
98 * mingwex/dlfcn.c: New file; implement it, with access via...
99 (__mingw_dlfcn): ...this publicly addressable vector table.
101 * Makefile.in (dlfcn.$OBJEXT): Add build requisite.
102 (dlopen, dlsym, dlclose, dlerror): Build call stubs, using...
103 (__LIBIMPL__): ...this automatic interface generator; implement it.
104 (libstub_refnames): New macro; it is adapted from and replaces...
105 (jmpstub_refs): ...this; when it is then invoked twice to build...
106 (Makefile.stub): ...this, it handles both JMPSTUB and LIBIMPL.
107 (jmpstub_awk_script): Adapt it to work with 'libstub_refnames'.
108 (libimpl_awk_script): New inline script; it handles automated builds
109 of LIBIMPL interfaces, as 'jmpstub_awk_script' does for JMPSTUB.
110 (libimpl_sed_script): New inline script; it prepares intermediate C
111 source code for LIBIMPL interfaces, as required to satisfy these...
112 (%.libimpl, %.libimpl.$OBJEXT): ...new implicit build objectives.
113 (LIBIMPL_CFLAGS): New macro; define it.
115 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
117 Move libgen functions to __mingw_ pseudo-namespace.
119 * mingwex/dirname.c (dirname): Rename function, as implemented...
120 (__mingwex_dirname): ...to this.
122 * mingwex/basename.c (basename): Rename function, as implemented...
123 (__mingwex_basename): ...to this.
125 * include/libgen.h (__mingw_dirname, __mingw_basename): Declare
126 prototypes, matching and augmenting original declarations for...
127 (dirname, basename): ...these; reimplement as inline aliases, with
128 __JMPSTUB__ references to the renamed implementation entry points.
130 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
132 Implement new command line argument globbing strategy.
134 * include/_mingw.h: Backport feature defines from master...
135 (__CRT_GLOB_USE_MINGW__, __CRT_GLOB_USE_MSVCRT__): New manifest
136 constants; define them. They select the preferred globbing algorithm.
137 [_CRT_glob & __CRT_GLOB_USE_MINGW__] (__CRT_GLOB_USE_SINGLE_QUOTE__)
138 (__CRT_GLOB_BRACKET_GROUPS__, __CRT_GLOB_CASE_SENSITIVE__): New option
139 bit-map constants; define them. When added to __CRT_GLOB_USE_MINGW__,
140 they enable optional additional features supported by this algorithm.
141 (__CRT_GLOB_ESCAPE_CHAR__): New manifest constant; define it.
143 * CRTglob.c (_CRT_glob): Change default to __CRT_GLOB_USE_MINGW__.
145 * Makefile.in (libmingw32.a): Add setargv.$OBJEXT, furnished by...
146 * setargv.c: ...new file; it implements the initialization mechanism
147 for the __CRT_GLOB_USE_MINGW__ globbing algorithm, when invoked by...
148 (_setargv) [_CRT_glob & __CRT_GLOB_USE_MINGW__]: ...this new function;
149 it invokes the algorithm via an API similar to that described by MSDN,
150 while continuing to support our original _CRT_glob interpretation.
151 (_setargv) [! _CRT_glob & __CRT_GLOB_USE_MINGW__]: Invoke Microsoft
152 algorithm, via the MSDN-alike API, by calling back to...
154 * crt1.c (_mingw32_init_mainargs): ...this original function, now
155 relocated to here, as a publicly addressable function; formerly...
156 (__mingw_CRTStartup): ...called directly from here, we now redirect
157 the call through _setargv(), whence it may be called indirectly.
159 * init.c: Redundant file; delete it. It originally provided...
160 (_mingw32_init_mainargs): ...this, now relocated as noted above, with
161 original static attribute removed, to allow global addressing.
163 2014-11-07 Keith Marshall <keithmarshall@users.sourceforge.net>
165 Backport glob implementation from master to legacy.
167 * include/glob.h: New file; copy it from master branch.
168 (__mingw_glob, __mingw_globfree): Add __JMPSTUB__ aliases for...
169 (glob, globfree): ...each of these, respectively.
171 * mingwex/glob.c: New file; copy it from master:src/libcrt/misc.
172 (CRT_GLOB_HARD_ESCAPE) [ifndef __CRT_GLOB_ESCAPE_CHAR__]: Provide a
173 fallback definition; default value is ASCII DEL, a.k.a. RUBOUT, code.
174 (accept_glob_nocheck_match): New static function; it adds support for
175 avoidance of globbing on patterns with no globbing token, so avoiding
176 the case transliteration effect reported as MinGW-Bug #2106.
177 (glob_match): Use it.
179 * Makefile.in: Build glob.$OBJEXT; add it to libmingwex.a
181 2014-11-05 Keith Marshall <keithmarshall@users.sourceforge.net>
183 Implement conventionally named dirent function trampolines.
185 * mingwex/jmpstub.sx: New file; it implements a generic trampoline,
186 which redirects a conventionally named function call to its __mingw_
187 pseudo-namespace implementation.
189 * aclocal.m4 (MINGW_AC_PROG_COMPILE_SX): New macro; define it.
190 * configure.ac (MINGW_AC_PROG_COMPILE_SX): Use it; it identifies the
191 appropriate protocol for compiling *.sx files, (supported natively by
192 GCC >= v4.3, but older versions require `-x assembler-with-cpp').
194 * Makefile.in (COMPILE.sx): New implicit rule; GNU make does not
195 yet provide it, so we define it ourselves; deploy it for *.sx files.
196 (Makefile.stub): New sinclude file; create it dynamically, using...
197 (jmpstub_awk_script): ...this new inline script, which is based on...
198 (jmpstub_refs, jmpstub_prerequisites): ...these new macros, and...
199 (mingwex/jmpstub.sx): ...this new file; add vpath reference.
200 (mostlyclean-local): Remove Makefile.stub; do likewise...
201 (Makefile): ...when remaking this, to ensure that both will be
204 2014-11-03 Keith Marshall <keithmarshall@users.sourceforge.net>
206 Make dirent implementation namespace and time_t clean.
208 * include/_mingw.h (_EXTERN_C, _BEGIN_C_DECLS, _END_C_DECLS): New
209 macros; define them. They facilitate identification of symbols which
210 must be compiled with `extern "C"' binding, when compiling C++ code.
211 (__CRT_ALIAS): New macro; define it. It is intended to replace...
212 (_CRTALIAS): ...this, which is to be considered as deprecated.
213 (__JMPSTUB__, __LIBIMPL__): New macros; define them. They provide
214 __CRT_ALIAS build hints, while remaining transparent to GCC.
215 (UNICODE, _UNICODE) [user defined]: Define consistently.
217 * mingwex/dirent.c: Reimplement; (this is a back-port from the
218 4.0-dev branch, with additional ABI changes to improve stability).
219 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
220 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
221 Add `__mingw_' prefix to all publicly exposed symbol names.
222 (dirent_findfirst, dirent_findnext, dirent_findclose): New locally
223 implemented functions; they replace Microsoft's ambiguously defined
224 _findfirst, _findnext, and _findclose, so avoiding ABI instability
225 resulting from the ambiguous size of Microsoft's time_t.
227 * include/dirent.h (struct dirent, struct _wdirent): Redefine them,
228 removing unnecessary time_t and file size fields; (our replacements
229 for _findfirst, and _findnext do not require them to be present).
230 (DIR, _WDIR): Adjust typedefs; they are now opaque structs.
231 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
232 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
233 Adjust prototypes, making them inline aliases for public symbols which
234 are now qualified by the `__mingw_' prefix; add build hints to support
235 compilation of addressable stubs, with the original symbol names.
236 (DT_REG, DT_DIR, DT_UNKNOWN): New manifest constants; define them.
237 (DT_BLK, DT_CHR, DT_FIFO, DT_LNK, DT_SOCK): Likewise; (these are for
238 BSD compatibility, but are fundamentally unsupported on MS-Windows).
239 (_DIRENT_HAVE_D_TYPE, _DIRENT_HAVE_D_RECLEN, _DIRENT_HAVE_D_NAMLEN):
240 New macros; define them. (These show availability of optional fields
241 within the dirent struct, which client code may wish to access).
243 2014-10-31 Keith Marshall <keithmarshall@users.sourceforge.net>
245 Correct improper naming of assembly language source files.
247 * mingwex/math/*.S: Rename all files with this extension...
248 * mingwex/math/*.s: ...to this; (all are simple assembly language, and
249 not extended `assembler-with-cpp' as implied by the former extension);
250 adjust all internal `.file <name>' references accordingly.
252 * Makefile.in (vpath %.S): Adjust reference to locate files....
253 (vpath %.s): ...now renamed thus.
255 2014-10-29 Keith Marshall <keithmarshall@users.sourceforge.net>
257 Streamline the build system infrastructure.
259 * configure.ac: New file; it replaces...
260 * configure.in: ...this; (name is obsolete); delete it.
262 * aclocal.m4 Makefile.in: Substantially rewritten; avoid recursive
263 make invocations, when processing subdirectories, and add automatic
264 dependency tracking for all generated files.
266 * configure: Delete it; as a generated file, it doesn't belong in SCM.
268 * mingwex/Makefile.in: No longer required; delete it.
269 * profile/Makefile.in: Likewise.
271 * mkinstalldirs: Not required; delete it; (make should use `mkdir -p',
272 or fall back on `install-sh -d', per AC_PROG_MKDIR_P).
274 * jamfile: Delete it; it hasn't been updated in ages, is likely no
275 longer relevant, and I have no desire to maintain it.
277 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
279 * include/_mingw.h: Increment version to 3.20.
281 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
283 * tlsmthread.c: Update to reflect changes in tlssup.c.
284 * tlssup.c: code clean-up.
286 2011-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
288 * include/_mingw.h: Increment version to 3.19.
290 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
292 * include/float.h: Modify guard to accomodate CLang.
294 Thanks to Ruben Van Boxem for the report.
296 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
298 * tlssup.c: Remove mingwm10.dll fallback.
300 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
302 * include/sys/types.h (ssize_t): Defined as int as opposed to long.
304 Thanks to bvassche for the report.
306 2011-05-31 Keith Marshall <keithmarshall@users.sourceforge.net>
308 Correct checking for short option matches in getopt_long_only().
310 * mingwex/getopt.c (getopt_verify): New static inline function.
311 (getopt_parse) [getopt_mode_long_only]: Use it, to validate as a
312 possible short option match after failing to match, or ambiguously
313 matching as a long option.
315 2011-05-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
317 * include/stdlib.h (strtod): Declare as extern to resolve compilation issues.
319 Thanks to cgf for the report.
321 2011-05-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
323 * include/time.h (daylight, timezone, tzname): Rework guards to expose when
324 compiles with __STRICT_ANSI__.
326 Thanks to Felipe Contreras for the report.
328 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
330 * include/stdlib.h (strtod): Remove possible static declaration to resolve
333 Thanks to Tobias Burnus for the report.
335 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
337 * include/stdlib.h (_rotl, _lrotl, _rotr, _lrotr): Resolve conflict with gcc
338 by wrapping the functions in brackets.
340 Thanks to Kai Tietz for the report.
342 2011-05-22 A.B., Khalid <abkhd@users.sourceforge.net>
344 * Makefile.in: Add support for msvcr100.dll.
345 * msvcrt.def.in: Ditto.
347 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
349 * mingwex/mingw-fseek.c: The anonymous union feature for LARGE_INTEGER is
350 not always available, go the long way and use the explicit named union
351 members, which are also declared in winnt.h.
353 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
355 * mingwex/isblank.c: Fix typo in declaration.
357 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
359 * include/_mingw.h: Define GCC system_header only if PCC is not defined.
360 * include/stdlib.h: Fix a long-standing typo which prevented correct use of
361 the MB_CUR_MAX macro/variable when DECLSPEC is not supported and <stdlib.h>
362 is included before <ctype.h>.
364 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
366 * include/wchar.h: Include stdio.h to grab definition of FILENAME_MAX.
368 Thanks to Jim Bell for the report and Greg Chicares for the fix.
370 2011-01-07 Jacky Lai <crazyjacky@users.sourceforge.net>
372 Correct hexadecimal formatting of double and long double values.
374 * mingwex/stdio/pformat.c (__pformat_xdouble): Delete function.
375 (__pformat) [A format]: Cast double values to long double, and use...
376 (__pformat_xldouble): ...this instead, with corrected adjustment of
377 exponent and alignment of mantissa, when formatting subnormals.
379 2010-12-27 Ozkan Sezer <sezero@users.sourceforge.net>
381 * include/dirent.h (dd_handle): Define as intptr_t.
383 2010-11-08 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
385 * tlssup.c (__dyn_tls_init): Use an integer variable to iterate between
388 2010-08-17 Keith Marshall <keithmarshall@users.sourceforge.net>
390 * include/limits.h (PATH_MAX): Make it agree with Microsoft's
391 semantically identical MAX_PATH; correct value is 260.
393 2010-07-25 Keith Marshall <keithmarshall@users.sourceforge.net>
395 Accept that mingwrt headers are not guaranteed to precede GCC's in the
396 system include search path; (issue reported by Mark Brand).
398 * include/float.h: Add multiple inclusion guard around...
399 [! defined _FLOAT_H___]: ...include_next <float.h> for GCC's version,
400 only when this define does not indicate that it has already been seen;
401 update comments to document rationale; move it within the scope of...
402 [! defined _MINGW_FLOAT_H_]: ...this multiple inclusion guard, so that
403 GCC's float.h, after an appropriate complementary modification, need
404 not perform a further include path search when this implementation
405 specific extension has already been processed.
407 2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>
409 * include/io.h (_findfirst, _findnext, _findclose, _findfirst32,
410 _findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32,
411 _findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext,
412 _findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64,
413 _findnexti64): Correct definition.
415 2010-04-27 Danny Smith <dannysmith@users.sourceforge.net>
417 * mingwex/mb_wc_common.h (get_codepage): Revert change of 2006-09-19.
419 2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
421 * include/_mingw.h: Increment version to 3.18.
423 2010-03-02 Daniel Atallah <datallah@users.sourceforge.net>
425 * include/stdio.h: (_vscprintf, _vscwprintf)
426 * include/tchar.h: (_vsctprintf)
428 2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
430 Issue [2134161]: time64 functions and types for msvcrt >= 8.0
431 (initial implementation)
433 * new type: __time32_t
435 * new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
436 __stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
437 __wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t
439 * new functions: _ctime32, _difftime32, _difftime64, _findfirst32
440 _findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
441 _findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
442 _futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
443 _mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
444 _wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
445 _wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
446 _wstat32i64, _wstat64i32,_wutime32
448 * new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
449 ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
450 _fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
451 _stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
452 _wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime
454 2010-01-25 Kai Tietz <kai.tietz@onevision.com>
456 Implement TLS Callback.
458 * tlsmcrt.c: New file.
459 * tlsmthread.c: Ditto.
462 * Makefile.in: Include new files.
463 * crt1.c: Implement TLS Callback.
465 * mthr_stub.c: Remove.
467 2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
469 * include/_mingw.h: Increment version to 3.17.
471 2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
473 * mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa:
474 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
476 2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
478 * include/io.h (_open_osfhandle): Correct definition.
480 Thanks to Alexander Shaduri for the information.
482 2009-11-02 Charles Wilson <mingw@cwilson.fastmail.fm>
484 Final sync of pseudo-reloc.c with mingw64 and cygwin
485 * lib/pseudo-reloc.c (__report_error) [CYGWIN]: Correct size bug
486 regarding error messages.
488 2009-10-29 Charles Wilson <mingw@cwilson.fastmail.fm>
490 Honor DESTDIR for winsup/mingw and winsup/w32api.
491 Detect and report error if installation paths are win32
492 format, but DESTDIR is non-empty.
494 * Makefile.in (DESTDIR): Honor per convention.
495 (need-DESTDIR-compatibility): New macro; define it and a
497 (fail-DESTDIR-compatibility): New dependency goal.
498 (install-dirs): Require need-DESTDIR-compatibility.
499 * mingwex/Makefile.in (DESTDIR): Honor per convention.
500 (need-DESTDIR-compatibility): New macro; define it and a
502 (fail-DESTDIR-compatibility): New dependency goal.
503 (install): Require need-DESTDIR-compatibility.
504 * profile/Makefile.in: Ditto.
506 2009-10-25 Charles Wilson <mingw@cwilson.fastmail.fm>
508 Sync pseudo-reloc.c with mingw64
509 * psuedo-reloc.c: Remove unnecessary includes.
510 Forward declare _pei386_runtime_relocator.
511 Decorate _image_base__ symbol with macro for
512 mingw64 compatibility. Whitespace changes.
513 (__print_reloc_error): Renamed to...
514 (__report_error): This. "Returns" void, and
515 always aborts. Now used on all platforms.
516 (__write_memory): Remove special case error handling
517 for different platforms - always call __report_error.
518 (do_pseudo_reloc): Remove special case error handling
519 for different platforms - always call __report_error.
520 (_pei386_runtime_relocator): Decorate _image_base__
521 symbol with mingw64 compatibility macro.
523 2009-10-23 Charles Wilson <mingw@cwilson.fastmail.fm>
525 Sync pseudo-reloc.c with cygwin/lib/
526 * pseudo-reloc.c [CYGWIN]: Added comments throughout and various
527 whitespace fixes. Exploit cygwin_internal(CW_EXIT_PROCESS,...)
528 for fatal error handling that is consistent with cygwin process
529 life-cycle. Ensure state variable (in _pei386_runtime_relocator)
530 is unique to each address space, across fork().
531 [CYGWIN] (__print_reloc_error): New function for reporting
532 errors in a manner supported by cygwin at this early stage of
533 the process life-cycle.
534 [CYGWIN] (_pei386_runtime_relocator): Ensure relocations
535 performed only once for each address space, but are repeated
536 after fork() in the new address space.
537 [MINGW] (__write_memory): Ensure that b is always initialized
538 by call to VirtualQuery, even if -DNDEBUG.
540 2009-09-29 Keith Marshall <keithmarshall@users.sourceforge.net>
542 Make MinGW printf() "%p" format compatible with MSVCRT scanf().
543 (Based on MinGW-patch 2844514 by Peter Rosin <peda@lysator.liu.se>)
545 * mingwex/stdio/pformat.c (__printf) [%p]: Do not arbitrarily apply...
546 (PFORMAT_HASHED): ...this formatting attribute; honour only user
547 specified format qualifiers, except in special case...
548 [%p && stream.flags == flags && state == PFORMAT_INIT]: Apply...
549 (PFORMAT_ZEROFILL): ...this default formatting attribute...
550 (stream.precision): ...filled to at least 2 * sizeof( uintptr_t )
553 2009-09-01 Keith Marshall <keithmarshall@users.sourceforge.net>
555 Avoid multiple link time definitions of _printf() for C++;
556 (problem reported by Alexander Shaduri, via MinGW-users ML).
558 * include/stdio.h [__USE_MINGW_ANSI_STDIO]:
559 (__mingw_stdio_redirect__) [__cplusplus]: remove `static' keyword.
561 2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
563 * include/_mingw.h: Increment version to 3.16.
565 2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>
567 * include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit,
568 __signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf,
569 __fp_unordered_compare): Add prototypes.
570 * include/stdio.h (vsnwprintf): Add prototype.
571 * include/wchar.h (vsnwprintf): Add prototype.
572 * include/stdlib.h (_Exit): Protect inline definition with !__STRICT_ANSI__.
573 * include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard.
575 2009-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
577 Correct disposition of wchar_t output in printf().
579 * mingwex/stdio/pformat.c (__pformat) [%C]: Create new instance of...
580 (argval): ...this, in inner scope, with singular type `wchar_t'; use
581 it to pass one wchar to __pformat_wputchars(), for output.
583 2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
585 * mingwex/stdio/pformat.c: Implement better fix for type punned warning.
587 2009-07-27 Keith Marshall <keithmarshall@users.sourceforge.net>
589 Convert to monolithic configuration procedure.
591 * configure.in (AC_CHECK_TOOL): All instances; tabulate arguments.
592 (AC_SUBST): Use its 2nd argument to initialise MinGW default settings.
593 (PACKAGE_TARNAME) [target_os ~ cygwin]: Redefine it as appropriate.
594 (W32API_INCLUDE): Redefine; make it relative to `top_srcdir'.
595 (CRT0S): Relocate from `profile'; define it as appropriate.
596 (LIBM_A): Define and AC_SUBST it unconditionally.
597 (AC_CONFIG_SUBDIRS): Remove; none to configure.
598 (AC_OUTPUT_FILES): Add `Makefile' for each of...
599 (mingwex, profile): ...these subdirectories.
601 * configure: Regenerated.
603 * Makefile.in (PACKAGE, host_os): Let AC_SUBST define them.
604 (top_srcdir, top_builddir): New macros; let AC_SUBST define them.
605 (datarootdir): New macro; autoconf > 2.59 wants AC_SUBST to define it.
606 (SUBDIRS): Define explicitly, to run recursive `make' in...
607 (mingwex, profile): ...these; simplify build commands...
608 (rootme, rootsrc): ...without these shell variables.
609 (all, subdirs): Delete redundant build commands.
610 (FIXME): Flag various issues for follow up.
612 * mingwex/Makefile.in (INCLUDES): Redefined macro; refer it to...
613 (top_srcdir): ...this new macro; let AC_SUBST define it.
614 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
615 (Makefile): Make it depend on...
616 (top_builddir/config.status): ...this, itself depending on...
617 (top_srcdir/configure): ...this.
618 (FIXME): Flag various issues for follow up.
620 * mingwex/aclocal.m4: File no longer required; delete it.
621 * mingwex/configure mingwex/configure.in: Likewise.
623 * profile/Makefile.in (INCLUDES): Redefined macro; refer it to...
624 (top_srcdir): ...this new macro; let AC_SUBST define it.
625 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
626 (Makefile): Make it depend on...
627 (top_builddir/config.status): ...this, itself depending on...
628 (top_srcdir/configure): ...this.
629 (FIXME): Flag various issues for follow up.
631 * profile/aclocal.m4: File no longer required; delete it.
632 * profile/configure profile/configure.in: Likewise.
634 2009-07-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
636 * msvcrt.def.in: disable time symbol for libmsvcr90.a and libmsvcr90d.a due
637 to complaints that it causes issues.
639 2009-07-23 Jacky Lai <crazyjacky@users.sourceforge.net>
641 * mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan().
643 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
645 * include/inttypes.h include/math.h include/stdio.h include/stdlib.h
646 include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard
647 to all inline functions.
649 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
651 * CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
654 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
656 * cpu_features.c: replace gcc-specific construct with portable alternative
657 and match the code a few lines above.
658 * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
660 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
662 * include/_mingw.h: Changes required for PCC compiler.
664 2009-07-18 Jeff Lu <jll544@yahoo.com>
666 * mingwex/usleep.c: round up to next ms
668 2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
670 * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
671 mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
672 mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
673 the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
675 2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
677 * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.
679 2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>
681 * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files.
682 * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c
683 mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c
684 mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h
685 mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h
686 mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c
687 mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c
688 mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c
689 mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c
690 mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org
691 sources as of Apr. 20, 2009. Update further to match the sources in
692 the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX
693 code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the
694 double/ulong union from U to dbl_union for better grepping and white-
697 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
699 * include/stdlib.h (_wtof): Define.
701 2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
703 * include/stdint.h (int_fast8_t): Specify as signed char.
704 (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
705 (INT32_C, UINT32_C): Remove 'L' type specifier on constant.
707 2009-03-05 Kai Tietz <kai.tietz@onevision.com>
709 * pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2.
711 2009-02-08 Keith Marshall <keithmarshall@users.sourceforge.net>
713 MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.
714 (Requested by Robert Riebisch)
716 * mingwex/getopt.c (getopt_parse): Track external increments of...
717 (optind): ...this global variable.
719 2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
721 * include/_mingw.h: Increment version to 3.15.2.
723 2009-01-04 Keith Marshall <keithmarshall@users.sourceforge.net>
725 Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
726 Also add tentative support for BSD specific `optreset' feature.
728 * include/getopt.h (optreset) [_BSD_SOURCE]: Define; map it to...
729 (__mingw_optreset): ...this new global variable.
731 * mingwex/getopt.c (__mingw_optreset): Instantiate it...
732 (getopt_parse) [optind < 1]: ...make it true; use it to reset argument
735 2008-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
737 Partial fix for MinGW-Bug [2457778]: (Reported by Sisyphus).
738 Correct mishandling of invalid characters in printf() format specs.
740 * mingwex/stdio/pformat.c (__pformat): Save `fmt' scan position in...
741 (backtrack): ...this new automatic variable, at start of each format
742 conversion specification substring; use it to backtrack, and print the
743 substring literally, if any invalid character is encountered.
745 2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
747 * msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
748 ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
749 ___unguarded_readlc_active_add_func, __crtCompareStringW,
750 __crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
751 __pwctype_func, __iob_func, __uncaught_exception, __wcserror,
752 __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
753 __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
754 __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
755 _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
756 _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
757 _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
758 _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
759 _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
760 _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
762 2008-12-08 Dmitry G. Gorbachev <d.g.gorbachev@gmail.com>
764 * cpu_features.c (__cpu_features_init): Remove erroneous ';'.
766 2008-10-28 Keith Marshall <keithmarshall@users.sourceforge.net>
768 Correct some binary distribution packaging defects.
770 * Makefile.in (bindist): Remove `make' conditionals; segregate into...
771 (bindist-common, bindist-mingwrt, bindist-mingw-runtime): ...these new
772 intermediate goals; they make packages of files, as specified by...
773 (BINDIST_FILES, DEVDIST_FILES, DLLDIST_FILES): ...these new macros.
774 (dist_prefix) [target_alias !~ cygwin]: Leave it undefined.
776 2008-10-18 Keith Marshall <keithmarshall@users.sourceforge.net>
778 Fix MinGW-Bug [2136252]: (Reported by Roumen Petrov).
779 Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5
781 * mingwex/stdio/pformat.c (__pformat_emit_float): Always make output
782 of radix point conditional on precision != 0 or `#' flag specified.
784 2008-10-13 Keith Marshall <keithmarshall@users.sourceforge.net>
786 Fix MinGW-Bug [2160227]
787 Eliminate conflicting declarations and implementations of scalb().
789 * moldname.def.in (scalb): Comment out of EXPORTS list.
790 * include/math.h (scalb): Comment out OLDNAMES prototype; it conflicts
791 with GCC's built-in declaration.
793 2008-10-12 Christopher Faylor <me+cygwin@cgf.cx>
795 * Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
797 * mingwex/Makefile.in: Ditto.
798 * profile/Makefile.in: Ditto.
799 * configure.in: Record mingw front-end for building under Cygwin.
800 * mingwex/configure.in: Ditto.
801 * profile/configure.in: Ditto.
802 * configure: Regenerate.
803 * mingwex/configure: Ditto.
804 * profile/configure: Ditto.
806 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
808 Use de-facto standard Makefile goals to invoke test suite.
810 * Makefile.in: Some minor formatting adjustments.
811 (test_headers): Unconventionally named goal renamed to...
812 (check-headers): ...this; make it a prerequisite of...
813 (check): ...this new conventionally named goal.
815 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
817 Make strtod() inline definition C89 compliant.
818 (Issue reported by Ilya Shestopalov and Ian Puleston)
819 (Correction identified by Danny Smith)
821 * include/stdlib.h (strtod): Declare as `__inline__', not `inline';
822 reformat inline function definition.
824 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
826 * include/_mingw.h: Increment version to 3.15.1 and introduce
827 __MINGW32_PATCHLEVEL variable.
829 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
831 Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
832 (Reported by Christian Franke)
834 * mingwex/getopt.c (optind): Make global variable value conform to
835 behaviour specified by POSIX; do not use it for internal state in...
836 (getopt_parse): ...this static function; use...
837 (optbase): ...this new static local variable instead.
838 (getopt_resolved): Update `optind' as required.
840 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
842 Improve package identification in configure script.
844 * configure.ac (AC_INIT): Redefine parameters...
845 (PACKAGE_NAME): Set to `MinGW Runtime'.
846 (PACKAGE_BUGREPORT): Set to `http://mingw.org/reporting_bugs'
847 (PACKAGE_TARNAME): Set to `mingwrt'.
848 (PACKAGE_VERSION): Set generically to `v3.x'; reassigned by...
849 (MINGW_AC_CONFIG_SRCDIR): ...this macro, which extracts...
850 (__MINGW32_VERSION): ...this, from file `include/_mingw.h'.
852 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): Do not redefine...
853 (PACKAGE_TARNAME): ...this.
855 * configure: Regenerated.
857 2008-09-25 Keith Marshall <keithmarshall@users.sourceforge.net>
859 Fix MinGW-Bug [2125708].
860 (Reported by Alexandr Zamaraev).
862 * include/stdlib.h (intptr_t) [!_INTPTR_T_DEFINED]: Unused typedef;
863 not wanted here; remove it; replace it by...
864 (uintptr_t) [!_UINTPTR_T_DEFINED]: ...this typedef; needed by...
865 (_invalid_parameter_handler): ...this function typedef.
867 2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
869 * Makefile.in: Don't include host_os as part of snapshot filename.
871 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
873 Fix MinGW-Bug [2119504].
874 (Reported by Peiyuan Song).
876 * mingwex/getopt.c (getopt_resolved): Do not overwrite...
877 (*retindex): ...this already correctly assigned return variable...
878 (opt[index].val): ...with this; this should have been assigned to...
879 (*opt[index].flag) [opt[index].flag != NULL]: ...this instead.
881 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
883 Fix MinGW-Bug [2117379].
884 (Reported by Peiyuan Song).
886 * include/stdio.h (__argv): Replace all references in function
887 prototype argument lists and inline function local variables, with ...
888 (__local_argv): ...this, to avoid potential conflict with ...
889 * include/stdlib (__argv): ...this #defined macro.
891 2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
893 * include/_mingw.h: Increment version to 3.15.
895 2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
897 * Makefile.in: Adjust to new naming standard for MinGW while maintaining old
898 naming standard for Cygwin.
900 2008-08-31 Keith Marshall <keithmarshall@users.sourceforge.net>
902 Reimplement getopt.c to add getopt_long_only() function.
904 (N.B. this reimplementation removes support for BSD/Mac-OS-X
905 `optreset' nonsense; user code should set `optind = 0' instead,
906 to reinitialise option scanning).
908 * mingwex/getopt.c: Delete all content; reimplement it.
909 * include/getopt.h: Likewise.
911 * include/unistd.h (__UNISTD_H_SOURCED__): New macro; define it.
912 (__UNISTD_GETOPT__): This macro is no longer required; remove it.
914 2008-08-30 Keith Marshall <keithmarshall@users.sourceforge.net>
916 Implement conditional replacement for printf() family functions.
918 * include/_mingw.h (__USE_MINGW_ANSI_STDIO): New macro; define it.
919 (__MINGW_ANSI_STDIO__): New manifest constant; define as bitmapped
920 flag for use in user specified __MINGW_FEATURES__ attribute.
921 (__MINGW_LC_MESSAGES__, __MINGW_LC_ENVVARS__): New manifest constants;
922 currently unused: reserved as components of...
923 (__MINGW_LC_EXTENSIONS__): ...this new manifest constant; earmarked as
924 a __MINGW_FEATURES__ enhancement to setlocale().
926 * include/stdio.h (__mingw_printf, __mingw_vprintf): Prototype them.
927 (__mingw_fprintf, __mingw_vfprintf): Likewise.
928 (__mingw_sprintf, __mingw_vsprintf): Likewise.
929 (__msvcrt_printf, __msvcrt_vprintf): Likewise.
930 (__msvcrt_fprintf, __msvcrt_vfprintf): Likewise.
931 (__msvcrt_sprintf, __msvcrt_vsprintf): Likewise.
932 (printf, vprintf) [!__USE_MINGW_ANSI_STDIO]: Prototype for default
933 usage; link to DLL import stub, importing from MSVCRT.
934 (fprintf, vfprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
935 (sprintf, vsprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
936 (printf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_printf; use
937 locally defined static stub implementation.
938 (fprintf, sprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
939 __mingw_fprintf and __mingw_sprintf respectively.
940 (vprintf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_vprintf; use
941 static inline implementation for C++ and GNU C, or locally defined
942 static stub otherwise.
943 (vfprintf, vsprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
944 __mingw_vfprintf and __mingw_vsprintf respectively.
946 2008-08-27 Keith Marshall <keithmarshall@users.sourceforge.net>
948 Avoid access violations, passing NULL to printf( "...%s..." );
949 (inconsistencency with MSVCRT and glibc, reported by Colin Harrison).
951 * mingwex/stdio/pformat.c (__pformat_puts): Substitute "(null)"
952 for argument value, if caller passes a NULL pointer.
953 (__pformat_wcputs): Likewise, substitute L"(null)".
955 2008-08-14 Keith Marshall <keithmarshall@users.sourceforge.net>
957 Add missing dependencies for building libmingwex.a.
959 * mingwex/Makefile.in (printf.o, fprintf.o, sprintf.o): Make them...
960 (vprintf.o, vfprintf.o, vsprintf.o): ...and also these, depend on...
961 (pformat.h): ...this.
963 2008-08-11 Keith Marshall <keithmarshall@users.sourceforge.net>
965 Add replacements for remaining members of printf() family.
967 * mingwex/stdio/printf.c: New file.
968 * mingwex/stdio/fprintf.c: New file.
969 * mingwex/stdio/sprintf.c: New file.
970 * mingwex/stdio/vprintf.c: New file.
971 * mingwex/stdio/vfprintf.c: New file.
972 * mingwex/stdio/vsprintf.c: New file.
974 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
975 (STDIO_OBJS): Add their corresponding object files.
977 2008-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
979 Replace __mingw_snprintf() with new generic family implementation;
980 likewise, replace __mingw_vsnprintf().
982 * mingwex/stdio/pformat.c mingwex/stdio/pformat.h: New files.
983 * mingwex/stdio/snprintf.c mingwex/stdio/vsnprintf.c: New files.
984 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
985 (GDTOA_DISTFILES): Remove mingw_snprintf.c
986 (STDIO_OBJS): Add pformat.o, snprintf.o and vsnprintf.o
987 (GDTOA_OBJS): Remove mingw_snprintf.o
988 (PFORMAT_CFLAGS): New macro; define it, as required by...
989 (pformat.o): ...this new explicit build target.
990 (snprintf.o, vsnprintf.o): Declare prerequisites.
992 * mingwex/gdtoa/mingw_snprintf.c: Redundant file; delete it.
994 2008-07-28 Keith Marshall <keithmarshall@users.sourceforge.net>
996 Lay foundations for new printf() function family implementation.
998 * ofmt_stub.s: New file; implement forward compatibility stub for...
999 (_get_output_format): ...this MSVCR80.DLL and later function.
1001 * Makefile.in (SRCDIST_FILES): Add ofmt_stub.s.
1002 (NM, OBJCOPY): New macros; define them with AC_SUBSTed values.
1003 (sym_prefix, NM_LOOKUP, MINGW_REPL_FUNCS): New macros; define them.
1004 (lib%.a): Include ofmt_stub.o when import library does not already
1005 advertise availability of the _get_output_format() function;
1006 Add alias stubs for MINGW_REPL_FUNCS, such that...
1007 (__msvcrt_printf): ...is an alias for Microsoft's printf().
1008 (__msvcrt_fprintf): ...is an alias for Microsoft's fprintf().
1009 (__msvcrt_sprintf): ...is an alias for Microsoft's sprintf().
1010 (__msvcrt_vprintf): ...is an alias for Microsoft's vprintf().
1011 (__msvcrt_vfprintf): ...is an alias for Microsoft's vfprintf().
1012 (__msvcrt_vsprintf): ...is an alias for Microsoft's vsprintf().
1013 (clean): Add msvcr*.def.
1015 * configure.in (NM, OBJCOPY): Use AC_CHECK_TOOL to specify them.
1016 * configure: Regenerated.
1018 2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
1020 * include/ctype.h (_imp____mb_cur_max): Correct spelling.
1021 (_imp____mb_cur_max_dll): Likewise.
1023 2008-07-04 Danny Smith <dannysmith@users,sourceforge.net>
1025 * include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
1026 * include/wchar.h (swprintf, vswprintf): Likewise.
1028 2008-07-01 Keith Marshall <keithmarshall@users.sourceforge.net>
1030 * msvcrt.def.in [__msvcr80__, __msvcr80d__, __msvcr90__, __msvcr90d__]
1031 (_get_output_format, _set_output_format): Add references.
1033 * include/stdio.h [__MSVCRT_VERSION__ >= 0x800]
1034 (_get_output_format, _set_output_format): Declare prototypes.
1035 (_TWO_DIGIT_EXPONENT): Define.
1036 Some other minor formatting adjustments.
1038 2008-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1040 [mingw-Bugs-1801641]
1041 * include/wchar.h (_wfdopen): Const-ify second arg.
1042 * include/stdio.h (_wfdopen): Likewise.
1043 Thanks to <tdragon at users dot sourceforge net>
1045 2008-06-02 Keith Marshall <keithmarshall@users.sourceforge.net>
1047 Avoid precision errors in round(), lround() and llround() functions.
1049 * mingwex/math/round_generic.c: New file; it replaces...
1050 * mingwex/math/round.c: ...this; delete it.
1051 * mingwex/math/roundf.c: ...and this; ditto.
1052 * mingwex/math/roundl.c: ...and this; ditto.
1054 * mingwex/math/lround_generic.c: New file; it replaces...
1055 * mingwex/math/lround.c: ...this; delete it.
1056 * mingwex/math/lroundf.c: ...and this; ditto.
1057 * mingwex/math/lroundl.c: ...and this; ditto.
1058 * mingwex/math/llround.c: ...and this; ditto.
1059 * mingwex/math/llroundf.c: ...and this; ditto.
1060 * mingwex/math/llroundl.c: ...and this; ditto.
1062 * mingwex/math/round_internal.h: New file; it provides generic common
1063 code, which is shared by `round_generic.c' and `lround_generic.c'; the
1064 implementation is based on techniques suggested by Danny Smith and
1067 * mingwex/Makefile.in (MATH_DISTFILES): Remove `round.c', `roundf.c',
1068 `roundl.c', `lround.c', `lroundf.c', `lroundl.c', `llround.c',
1069 `llroundf.c' and `llroundl.c'; replace by `round_internal.h',
1070 `round_generic.c' and `lround_generic.c'.
1071 (MATH_OBJS): Factor out files listed in...
1072 (MATH_ROUND_OBJS, MATH_LROUND_OBJS, MATH_LLROUND_OBJS): ...these new
1073 macros; define them; specify dependencies and build rules; add to...
1074 (LIB_OBJS): ...this list.
1076 2008-05-22 Danny Smith <dannysmith@users.sourceforge.net>
1078 [ mingw-Bugs-1961893 ]
1079 * mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa
1080 mode to 2 for E format.
1082 2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
1084 * include/stdlib.h: Fix strtod under C++.
1086 2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
1088 * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
1089 * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
1091 2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
1093 * include/sys/types.h (useconds_t): typedef.
1094 * include/unistd.h (usleep): Add prototype.
1095 * mingwex/usleep.c: New file.
1096 * mingwex/makefile.in: Add usleep source and object.
1098 2008-05-02 Ramiro Polla <ramiro@lisha.ufsc.br>
1100 Make strtod() conform to C99.
1102 * include/stdlib.h (strtod): Declare this mingwex function, and...
1103 (_strtod): rename this MSVCRT counterpart.
1105 * mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
1107 2008-04-26 Chuck Wilson <cwilso11@users.sourceforge.net>
1109 * Makefile.in: correct issues with mingw10.dll having multiple relocs.
1111 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1113 * include/process.h: Include stdint.h for intptr_t definition.
1114 (_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
1115 _spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
1116 _spawnvpe): Return intptr_t.
1117 (execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
1118 spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
1120 * include/wchar.h: Guard wide process.h functions with !__STRICT_ANSI__.
1122 [!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
1123 (_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
1124 _wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
1125 _wspawnvp, _wspawnvpe): Return intptr_t.
1127 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1129 * include/wchar.h (fwide): Return success code rather than failure in inline
1131 * mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
1132 code rather than failure.
1134 2008-03-21 Danny Smith
1136 * include/math.h (float_t, double_t): Define.
1138 2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1140 * mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
1141 * mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
1142 (x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
1144 2008-02-28 Joseph Myers <joseph@codesourcery.com>
1146 * include/complex.h: Don't condition contents on C99 or not
1149 2008-02-01 Brian Dessent <brian@dessent.net>
1151 * Makefile.in: Add rules to generate multiple versions of libmoldname.a for
1152 the different runtime versions.
1154 2008-01-19 Danny Smith <dannysmithusers.sourceforge.net
1156 * inclue/wchar.h (fwide): Add prototype and guard inline definition.
1157 (mbsinit): Likewise.
1159 2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1161 * include/_mingw.h: Increment version to 3.14.
1163 2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1165 * Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
1166 * msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
1167 * mingwex/math/log10f.S: Correct issue with comments.
1168 * mingwex/math/log10l.S: Ditto.
1169 * mingwex/math/log1p.S: Ditto.
1170 * mingwex/math/log1pf.S: Ditto.
1171 * mingwex/math/log1pl.S: Ditto.
1172 * mingwex/math/log2.S: Ditto.
1173 * mingwex/math/log2f.S: Ditto.
1174 * mingwex/math/log2l.S: Ditto.
1175 * mingwex/math/logf.S: Ditto.
1176 * mingwex/math/logl.S: Ditto.
1178 2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
1180 * mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
1182 2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
1184 * include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
1185 from '_fsize_t' to '__int64' to be consistent with the other ...64
1186 structures and the value set there is 8 bytes not 4. Add guard for both
1187 as the are only used by functions available from 6.1 on.
1189 * include/malloc.h (_HEAP_MAXREQ): Define.
1190 (_aligned_offset_recalloc): Define.
1191 (_aligned_recalloc()): Define.
1193 * include/math.h: fixed a typo in a comment.
1194 (atanhf): Fixed declaration.
1196 * include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
1197 to '__int64' to be consistent with the other ...64 structures and the value
1198 set there is 8 bytes not 4. Added guard as this function is only used by
1199 functions available from 6.1 on.
1201 * include/sys/stat.h: some members of 'stat' were declared with types with
1202 a prefixed underscore, while the ones without the underscore should have
1203 been used. Added guard to '__stat64' as it is only used by functions
1204 available from 6.1 on. Added the wide character versions of the
1205 exec()/spawn() family for completion
1206 (_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
1209 * include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
1210 from 'long' to 'time_t'
1211 (__timeb64): moved declaration of structure directly before the declaration
1212 of the function '_ftime64()', so it is guarded as well
1214 * include/sys/utime.h (__utimbuf64): moved declaration of structure directly
1215 before the declaration of the functions using it, so it is guarded as well
1217 2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
1219 * mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
1220 case. Add missing break in 's'/LEN_S case.
1222 2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1224 Make snprintf() and vsnprintf() conform to C99.
1226 * include/stdio.h: Add note about incompatibility between...
1227 (snprintf, vsnprintf): These two mingwex functions, and...
1228 (_snprintf, _vsnprintf): these MSVCRT counterparts.
1230 * mingwex/Makefile.in (STDIO_OBJS): Remove snprintf.o and vsnprintf.o
1231 (STDIO_DISTFILES): Remove snprintf.c and vsnprintf.c
1233 * mingwex/stdio/snprintf.c: Delete.
1234 * mingwex/stdio/vsnprintf.c: Delete.
1236 * mingwex/gdtoa/mingw_snprintf.c (snprintf): Alias to __mingw_snprintf
1237 (vsnprintf): Alias to __mingw_vsnprintf.
1239 2007-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1241 * include/_mingw.h: Increment version to 3.13.
1242 * Makefile.in: Reset CYGRELEASE to 1
1244 2007-07-23 Keith Marshall <keithmarshall@users.sourceforge.net>
1246 * Makefile.in (SUBDIRS): Delete stray line continuation artifact,
1247 resulting from incomplete removal of enclosing `for ...; do ...; done'
1248 loop from compound command; (reported by Greg Chicares).
1250 2007-07-19 Danny Smith <dannysmith@users.sourceforge.net>
1252 * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
1255 2007-07-12 Danny Smith <dannysmith@users.sourceforge.net>
1257 [mingw-Bugs-1734142]
1258 * include/wchar.h (_wsystem) Declare.
1260 (_wgetenv): Declare.
1261 (_wsearchenv): Declare.
1262 (_wmakepath): Declare.
1263 (_wsplitpath): Declare.
1264 (_wfullpath): Declare.
1265 * include/stdlib.h (_wsystem) Declare.
1266 (_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath,
1267 _wfullpath): Move into _WSTDLIB_DEFINED guard.
1268 * include/tchar.h (_tsystem): New UNICODE mapping define.
1270 2007-06-29 Danny Smith <dannysmith@users.sourceforge.net>
1272 * mingwex/gdtoa/mingw_snprintf.c: New file.
1273 * mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
1274 (GDTOA_OBJS): Add mingw_snprintf.o.
1276 2007-06-28 Danny Smith <dannysmith@users.sourceforge.net>
1278 * msvcrt.def.in: Update comment.
1279 Exclude _ctype stub if using msvcr71.dll or newer.
1280 * include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
1281 * include/wctype.h: Likewise.
1283 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1285 *include/wctype.h: Qualify all functions with __MINGW_NOTHROW.
1286 *include/dirent.h: Likewise.
1288 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1290 * include/assert.h: Qualify all functions with __MINGW_NOTHROW.
1291 * include/conio.h: Likewise.
1292 * include/ctype.h: Likewise.
1293 * include/direct.h: Likewise.
1294 * include/dos.h: Likewise.
1295 * include/errno.h: Likewise.
1296 * include/fenv.h: Likewise.
1297 * include/float.h: Likewise.
1298 * include/inttypes.h: Likewise.
1299 * include/io.h: Likewise.
1300 * include/libgen.h: Likewise.
1301 * include/locale.h: Likewise.
1302 * include/malloc.h: Likewise.
1303 * include/mbctype.h: Likewise.
1304 * include/mbstring.h: Likewise.
1305 * include/process.h: Likewise.
1306 * include/search.h: Likewise.
1307 * include/setjmp.h: Likewise.
1308 * include/signal.h: Likewise.
1309 * include/stdio.h: Likewise.
1310 * include/stdlib.h: Likewise.
1311 * include/string.h: Likewise.
1312 * include/time.h: Likewise.
1313 * include/wchar.h: Likewise.
1314 * include/sys/stat.h: Likewise.
1315 * include/sys/time.h: Likewise.
1316 * include/sys/timeb.h: Likewise.
1317 * include/sys/utime.h: Likewise.
1319 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1321 * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
1323 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1325 Add POSIX binary tree search API.
1327 * mingwex/tfind.c: New file.
1328 * mingwex/tdelete.c: New file.
1329 * mingwex/tsearch.c: New file.
1330 * mingwex/twalk.c: New file.
1331 * mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
1332 * mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
1333 * include/search.h (tfind): Declare.
1340 (node_t): Define, on condition of _SEARCH_PRIVATE.
1342 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1344 * include/_mingw.h (__MINGW_NOTHROW): Define.
1346 2007-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1348 * include/stdio.h (vsnprintf): Remove inline definition.
1351 2007-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1353 * CRTfmode.c: Nit-pick comment fix.
1355 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1357 * CRTfmode.c: Fix nested comment.
1359 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1361 * include/string.h (strcasecmp): Fix typo in declaration prototype.
1363 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1365 * include/io.h (lseek64) : Add prototype.
1367 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1369 * include/string.h (strcasecmp): Add prototype.
1370 (strncasecmp): Add prototype.
1372 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1374 * Makefile.in (CRT0S): Revert last change.
1375 * CRTfmode.c. Correct comment.
1377 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1379 * Makefile.in (CRT0S): Add back CRTfmode.o.
1381 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1383 * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
1384 * include/io.h: Likewise.
1386 2007-06-11 Danny Smith <dannysmith@users.sourceforge.net>
1388 * crt1.c (__mingw_CRTStartup): Add explicit call to gcc's __main.
1390 2007-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1392 * include/stdint.h (intptr_t): Fix typo.
1393 Thanks to Charles Wilson for report.
1395 2007-05-07 Danny Smith <dannysmith@users.sourceforge.net>
1397 * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
1398 Condition on _WIN64.
1399 (uintptr_t): Protect with _UINTPTR_T_DEFINED. Condition on _WIN64.
1400 (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64.
1401 (PTRDIFF_MIN): Define as INTPTR_MIN.
1402 (PTRDIFF_MAX): Define as INTPTR_MAX.
1403 (SIG_ATOMIC_MIN): Define as INTPTR_MIN.
1404 (SIG_ATOMIC_MAX): Define as INTPTR_MAX.
1406 2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1408 * Makefile.in: Removed mansuffix variable. Changed mansection to support
1409 Cygwin man page location.
1411 2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1413 * Makefile.in: Added mansection and mansuffix variables. Changed mandir to
1414 support Cygwin man page location.
1416 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1418 * Include/_mingw.h: Increment version to 3.12.
1420 2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
1422 * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__.
1424 2007-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1426 * Makefile.in: Tweak srcdist to fix build issue.
1428 2007-03-20 Keith Marshall <keithmarshall@users.sourceforge.net>
1430 Add --enable-mingw-manpage-transform configure option.
1432 * aclocal.m4 (MINGW_AC_MANPAGE_TRANSFORM): New macro.
1433 * configure.in, Makefile.in: Use it.
1434 * configure: Regenerated.
1436 2007-03-18 Danny Smith <dannysmith@users.sourceforge.net>
1438 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ for gcc 4.2.x too.
1440 2007-03-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1442 Add manpages for dirname and basename functions.
1444 * man: New directory.
1445 * man/dirname.man: New file; it sources both manpages.
1446 * Makefile.in: Add provisional rules to distribute them.
1448 2007-03-08 Keith Marshall <keithmarshall@users.sourceforge.net>
1450 * mingwex/basename.c: Make it work with path names containing
1451 multibyte character strings.
1452 * mingwex/dirname.c: Likewise.
1454 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1456 * include/io.h (__mingw_access): New static inline wrapper to restore
1457 pre-Vista 'access (fname, X_OK)' behaviour.
1458 (__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
1460 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1462 * mingwex/fesetround.c (fesetround): Use unsigned int as operand
1464 Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
1466 2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
1468 * include/stdio.h (_unlink, unlink): Add prototypes.
1470 2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
1472 * include/excpt.h: Replace "_try1" in comments with "__try1".
1474 2007-02-15 Danny Smith <dannysmith@users.sourceforge.net>
1476 * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1477 (ALL_CXXFLAGS): Likewise.
1478 * mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1479 (ALL_CXXFLAGS): Likewise.
1480 * profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1481 (ALL_CXXFLAGS): Likewise.
1483 2007-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1485 * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
1487 2007-01-27 Danny Smith <dannysmith@users.sourceforge.net>
1489 Expose some more msvcr80.dll functions.
1490 * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
1491 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
1492 * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
1493 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
1495 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1497 Expose some msvcr80.dll functions.
1498 * include/stdlib.h (_set_abort_behavior): Add prototype.
1499 (_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
1500 _set_abort_behavior mask argument.
1501 (_invalid_parameter_handler): Add typedef.
1502 (_set_invalid_parameter_handler): Add prototype.
1503 * include/stdio.h (_get_printf_count_output): Add prototype.
1504 (_set_printf_count_output): Add prototype.
1505 * msvcrt.def.in (_get_printf_count_output,_set_printf_count_output,
1506 _set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
1508 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1510 * include/_mingw.h (CRT_INLINE): Correct typo.
1512 2007-01-24 Danny Smith <dannysmith@users.sourceforge.net>
1514 * include/io.h (X_OK): Define to F_OK.
1516 2007-01-19 Danny Smith <dannysmith@users.sourceforge.net>
1518 * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1519 unconditionally. Change comment.
1520 * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1522 * include/io.h (rename): Declare.
1525 2006-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
1527 * include/libgen.h: New file; required by...
1528 * mingwex/basename.c, mingwex/dirname.c: New files.
1529 * mingwex/Makefile.in (DISTFILES): Add them...
1530 (POSIX_OBJS): ...with corresponding basename.o, dirname.o
1531 (Dependencies): Typo; s/Dependancies/Dependencies/
1533 2006-11-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1535 * Makefile.in (VERSION): Let configure define it.
1537 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): New macro.
1538 * configure.in: Use it.
1539 Correct quoting of autoconf macro arguments throughout.
1540 (AC_INIT, AC_OUTPUT): Update to autoconf 2.5x preferred syntax.
1541 (AR, AS, RANLIB, LD, DLLTOOL, DLLWRAP): Don't need AC_SUBST.
1542 (AC_ALLOCA): Invalid after GCC_NO_EXECUTABLES; removed.
1543 (AC_CONFIG_FILES): Add, to generate Makefile.
1545 * configure: Regenerated.
1547 2006-11-21 Danny Smith <dannysmith@users.sourceforge.net>
1549 * Makefile.in: Add aclocal.m4 to source release.
1550 * mingwex/Makefile.in: Ditto.
1551 * profile/Makefile.in: Ditto.
1553 2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1555 * Include/_mingw.h: Increment version to 3.11.
1556 * Makefile.in: Ditto.
1558 2006-11-09 Danny Smith <dannysmith@users.sourceforge.net>
1560 [ mingw-Bugs-1590623 ]
1561 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
1564 2006-10-04 Corinna Vinschen <corinna@vinschen.de>
1566 * Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
1567 correctly parenthesized.
1569 2006-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1571 * mingwex/mb_wc_common.h (get_codepage): Get it
1574 2006-09-18 Danny Smith <dannysmith@users.sourceforge.net>
1576 * mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity.
1578 * mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to
1580 * mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with
1583 2006-09-16 Danny Smith <dannysmith@users.sourceforge.net>
1585 * mingwex/gdtoa/strtopx.c (strtopx): Fix long double representation
1588 2006-09-11 Christopher Faylor <cgf@timesys.com>
1590 * Makefile.in: Semi-revert 2006-08-30 change.
1592 2006-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1594 * include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
1595 (__MINGW_IMPORT): Ansify.
1596 * include/stdlib.h (_sleep, _beep, _seterrormode): Add
1597 __MINGW_ATTRIB_DEPRECATED.
1599 2006-09-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1601 * aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
1602 Redundant macros; deleted.
1604 * configure.in (LIB_AC_PROG_CC): Replaced by...
1605 (AC_PROG_CC): ...this.
1607 * configure: Regenerated.
1609 2006-09-06 Danny Smith <dannysmith@users.sourceforge.net>
1611 * mingwex/gdtoa/misc.c (pow5mult): Restore original code.
1612 * mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
1613 * mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
1615 2006-09-01 Danny Smith <dannysmith@users.sourceforge.net>
1617 * mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
1618 g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
1619 gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
1620 README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
1622 * mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
1623 * mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
1624 * mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
1625 * mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
1626 * mingwex/wcstold.c: Avoid using strtold internals.
1627 * mingwex/wcstof.c: Rewrite.
1628 * mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
1629 (GDTOA_OBJS): Add to library.
1630 (DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
1631 (STDLIB_OBJS): Remove.
1632 (STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
1633 (Q8_OBJS): Add wcstof.o wcstold.o.
1634 * include/stdlib.h (strtof): Remove inline definition.
1636 * include/wchar.h (wcstof): Remove inline definition.
1638 2006-08-30 Corinna Vinschen <corinna@vinschen.de>
1640 * Makefile.in: Add with_cross_host to allow more granular checks.
1641 Set installation directories accordingly. Override CC setting only
1642 if building a Cygwin target.
1643 * aclocal.m4: Regenerate.
1644 * configure.in: Move AC_CANONICAL_SYSTEM check up. Add
1645 GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files.
1646 Test AC_ALLOCA only if building on a native system.
1647 * configure: Regenerate.
1649 2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1651 * include/ctype.h: Fix typo.
1653 2006-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1655 * include/ctype.h: Expose iswblank if __cplusplus.
1656 * include/wctype.h: Expose iswblank if __cplusplus.
1658 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1660 * include/ctype.h: Remove stray ')';
1662 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1664 * include/ctype.h (_BLANK): Expand comment.
1665 (isblank): Add prototype and inline definition.
1666 (iswblank): Add prototype and inline definition.
1667 * include/wctype.h (iswblank): Add prototype and inline definition.
1668 * mingwex/isblank.c: New file.
1669 * mingwex/iswblank.c: New file.
1670 * mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
1672 2006-07-06 Danny Smith <dannysmith@users.sourceforge.net>
1674 * include/math.h (__INFF,__INFL): Remove '#'.
1676 2006-07-04 Danny Smith <dannysmith@users.sourceforge.net>
1678 * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
1680 2006-07-03 Danny Smith <dannysmith@users.sourceforge.net>
1682 Support SSE float environment in fenv.h functions.
1683 * cpu_features.c: New file.
1684 * cpu_features.h: New file.
1685 * crt1.c: Include "cpu_features.h".
1686 (__mingw_CRTStartup): Call cpu_features_init().
1687 * Makefile.in (MING_OBJS): Add cpu_features.c.
1688 (SRCDIST_FILES): Add cpu_features.c, cpu_features.h.
1689 * include/fenv,h ( fenv_t;): Append __mxcsr field.
1690 (__MXCSR_EXCEPT_FLAG_SHIFT): New define.
1691 (__MXCSR_EXCEPT_MASK_SHIFT): New define.
1692 (__MXCSR_ROUND_FLAG_SHIFT): New define.
1693 * mingwex/feclearexcept.c: Include "cpu_features.h".
1694 Handle SSE environment.
1695 * mingwex/fegetenv.c: Likewise.
1696 * mingwex/feholdexcept.c: Likewise.
1697 * mingwex/fesetenv.c: Likewise.
1698 * mingwex/fesetexceptflag.c: Likewise.
1699 * mingwex/fesetround.c: Likewise.
1700 * mingwex/fetestexcept.c: Likewise.
1701 * mingwex/feupdateenv.c: Likewise.
1702 * mingwex/fegetround.c: Add comment.
1704 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1706 * Include/_mingw.h: Increment version to 3.10.
1707 * Makefile.in: Ditto.
1709 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1711 * mingwex/math/tgamma.c (SQTPI): Add braces.
1713 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1715 * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
1716 * mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
1718 * mingwex/math/sf_erf.c (erff): Initialize z.
1720 * mingwex/math/tgamma.c (SQTPI): Avoid type punning.
1722 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1724 * Include/_mingw.h: Increment version to 3.10.
1725 * Makefile.in: Ditto.
1727 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1729 * include/sys/time.h (struct timezone): Define.
1730 * include/time.h: Correct comment about timezone.
1732 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1734 * configure.in (AC_CONFIG_AUX_DIR): Remove.
1735 * configure: Regenerate.
1737 2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
1739 * configure: add srcdir as a possible location for install-sh.
1741 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1743 * mingwex/dirent.c (_tGetFileAttributes): New helper function.
1744 (_topendir): Use it.
1746 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1748 * include/sys/time.h: Add header guard. Add extern "C" bracketing
1750 (gettimeofday): Add prototype.
1751 * mingwex/gettimeofday.c: New file.
1752 * mingwex/makefile.in: Add gettimeofday source and object.
1754 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1756 * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
1757 else global library variable.
1758 (HUGEVALF): Likewise.
1759 (HUGEVALL): Likewise.
1760 (INFINITY): Likewise.
1763 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1765 * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
1767 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1769 * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
1771 2006-05-24 Christopher Faylor <cgf@timesys.com>
1773 * configure.in: Update to newer autoconf.
1774 (thanks to Steve Ellcey)
1775 * mingwex/configure.in: Ditto.
1776 * profile/configure.in: Ditto.
1777 * configure: Regenerate.
1778 * mingwex/configure: Ditto.
1779 * profile/configure: Ditto.
1780 * aclocal.m4: New file.
1781 * mingwex/aclocal.m4: Ditto.
1782 * profile/aclocal.m4: Ditto.
1784 2006-05-17 Danny Smith <dannysmith@users.sourceforge.net>
1786 * mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.
1787 Use supplied codepage as arg to WideCharToMultiByte.
1789 2006-02-13 Earnie Boyd <earnie@users.sf.net>
1791 * Makefile.in (libmsvcr80.a): Add import lib.
1792 (libmsvcr80d.a): Ditto.
1794 2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1796 * Makefile.in: Bump cygwin build number.
1798 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1800 * Include/_mingw.h: Increment version to 3.9.
1801 * Makefile.in: Ditto.
1803 2005-10-14 Danny Smith <dannysmith@users.sourceforge.net>
1805 * include/limits.h (SSIZE_MAX): Define.
1806 (LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.
1808 2005-10-13 Wu Yongwei <adah@users.sourceforge.net>
1810 * include/tchar.h: Include <wchar.h> when _UNICODE is defined.
1811 (_TEOF): New macro definition for _UNICODE and non_UNICODE cases.
1813 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1815 * include/stddef.h: Remove.
1816 * include/stdarg.h: Remove.
1818 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1820 * mingwex/complex/csqrt.c (csqrt): The sign of real part
1821 of result is positive when real part of arg == 0;
1822 * mingwex/complex/csqrtf.c (csqrtf): Ditto.
1823 * mingwex/complex/csqrtl.c (csqrtl): Ditto.
1825 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1827 * include/time.h (_time64): Correct prototype.
1829 2005-10-08 Danny Smith <dannysmith@users.sourceforge.net>
1831 * mingwex/fegetenv.c (fegetenv): Restore exception masks.
1832 * mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
1833 to non-stop. Use "fnclex" to clear exception flags.
1835 2005-09-24 Danny Smith <dannysmith@users.sourceforge.net>
1837 * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
1838 Avoid raising FP exceptions.
1840 2005-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1842 * include/stdlib.h (strtof): Add prototype. Uglify
1843 parameter names in inline definition.
1845 (_Exit): Uglify parameter names in inline definition.
1846 (llabs): Add prototype.
1847 (_set_error_mode): Add prototype and input defines.
1849 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1851 * mingwex/fe*.c: Revert previous changes.
1852 * include/fenv.h: Revert previous changes.
1854 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1856 * mingwex/feclearexcept.c (feclearexcept): Change declaration.
1857 Do not return a value.
1858 * mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
1859 * mingwex/feraiseexcept.c (feraiseexcept): Likewise.
1860 * mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
1861 * mingwex/fegetenv.c (fegetenv): Likewise.
1862 * mingwex/fesetenv.c (fesetenv): Likewise.
1863 * mingwex/feupdateenv.c (feupdateenv): Likewise.
1864 * include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
1865 fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
1868 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1870 * mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
1871 getting filelength for SEEK_END.
1873 2005-08-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1875 * Include/_mingw.h: Increment version to 3.8.
1876 * Makefile.in: Ditto.
1878 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1880 * include/wctype.h (towupper, towlower): Change arg and return value
1882 * include/ctype.h (towupper, towlower): Likewise.
1884 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1886 * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
1887 a diagnostic, guarded by #ifdef DEBUG.
1888 (__mingwthr_remove_key_dtor): Likewise.
1890 2005-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1892 * moldname.def.in (sleep, beep, seterrormode): Remove.
1894 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1896 * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
1897 (_MCOUNT_DECL): Use it.
1898 (MCOUNT): Save and restore eax, ecx, edx registers.
1899 * profile/mcount.c (_mcount): ANSI-fy.
1901 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1903 * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
1904 guard __MINGW_ATTRIB macro definitions.
1905 * include/math.h (logb[fl]): Don't define inlines for
1906 GCC-4.0+ && __FAST_MATH__.
1907 (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up
1908 line-continuation backslashes.
1910 2005-06-06 Danny Smith <dannysmith@users.sourceforge.net>
1912 * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
1913 in GNUC version guard.
1915 2005-05-20 Danny Smith <dannysmith@users.sourceforge.net>
1917 * crt1.c (_gnu_exception_handler): Handle illegal instruction
1918 OS exception as a signal if user has defined a SIGILL handler.
1920 2005-05-10 Danny Smith <dannysmith@users.sourceforge.net>
1922 * mingwex/math/nexttoward.c: New file.
1923 * mingwex/math/nexttowardf.c: New file.
1924 * mingwex/math/nextafterl.c: Add nexttowardl alias.
1925 * mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
1927 (MATH_OBJS): Add nexttoward.o, nexttowardf.o,
1928 * include/math.h (nexttoward, nextowardf, nexttowardl): Add
1931 2005-05-09 Danny Smith <dannysmith@users.sourceforge.net>
1933 * mingwex/math/nextafterf.c (nextafterf): Correct
1935 * mingwex/math/nextafterl.c: New file.
1936 * mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
1937 (MATH_OBJS): Add nextafterl.o.
1938 * include/math.h (nextafterl): Uncomment prototype.
1940 2005-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1942 * mingwex/math/erfl.c: New file.
1943 * mingwex/Makefile.in (MATH_DISTFILES): Add erfl.c.
1944 (MATH_OBJS): Add erfl.o.
1945 * include/math.h (erfl, erfcl): Uncomment prototypes.
1947 2005-05-04 Danny Smith <dannysmith@users.sourceforge.net>
1949 * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
1950 #if (WCHAR_MAX <= WCHAR_MIN) is false.
1951 * include/stdint.h (WCHAR_MAX): Likwise.
1952 (WINT_MAX): Likewise.
1954 2005-05-03 Danny Smith <dannysmith@users.sourceforge.net>
1956 * mingwex/math/signbit.c (__signbit): Make return value
1957 consistent with GCC's __builtin_signbit.
1958 * mingwex/math/signbitf.c (__signbitf): Likewise.
1959 * mingwex/math/signbitf.c (__signbitl): Likewise.
1960 * include/math.h (__signbit, __signbitf, __signbitl): Likewise
1963 2005-05-02 Danny Smith <dannysmith@users.sourceforge.net>
1965 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
1967 * mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
1968 Remove unused MBTOWC_FLAGS define.
1970 2005-04-23 Danny Smith <dannysmith@users.sourceforge.net>
1972 * mingwex/mbrtowc.c: New file.
1973 * mingwex/wcrtomb.c: New file.
1974 * mingwex/btowc.c: New file.
1975 * mingwex/wctob.c: New file.
1976 * mingwex/mb_wc_common.h: New file.
1977 * mingwex/Makefile.in (DISTFILES): Add new files.
1978 (Q8_OBJS): Add new objects.
1979 * include/wchar.h: Adjust comment about mbrtowc() and related
1980 funcions. Add __restrict__ to pointer params in prototypes.
1981 (wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
1982 arg names from protototypes.
1984 2005-04-23 Wu Yongwei <adah@sh163.net>
1986 * mingwex/dirent.c: Formatting changes.
1987 * mingwex/dirent.c (_topendir): Make the end-of-path slash check
1990 2005-03-31 Danny Smith <dannysmith@users.sourceforge.net>
1992 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
1994 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
1996 * include/stdio.h (__mingw_fwrite): Change return value to
1998 * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
2000 2005-03-15 Hans Leidekker <hans@it.vu.nl>
2002 * include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
2004 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2006 * include/wctype.h (wctrans): Remove _CRTIMP.
2007 (towctrans): Likewise.
2010 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2012 * include/wctype.h: Add comment on wctrans, towctrans, wctype.
2014 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2016 * mingwex/wctype.c: New file.
2017 * mingwex/wctrans.c: New file.
2018 * mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c.
2019 * mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.
2021 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2023 * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.
2025 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2027 * include/assert.h: Remove header guard. #undef assert macro.
2028 (_assert): Use __MINGW_ATTRIB_NORETURN define.
2030 2005-02-11 Gregory W. Chicares <chicares@cox.net>
2031 Danny Smith <dannysmith@users.sourceforge.net>
2033 * include/math.h (expm1, expm1f, expmll): Add prototypes.
2034 * mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
2036 (MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
2037 * mingwex/math/expm1.c: New file.
2038 * mingwex/math/expm1f.c: New file.
2039 * mingwex/math/expm1l.c: New file.
2041 2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
2043 * include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
2044 * include/wchar.h (struct stat): Likwwise.
2045 Bug reported to Debian by Anand Kumria <wildfire@progsoc.org>
2047 * include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
2049 2005-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2051 * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
2052 string is not valid.
2054 2005-01-26 Oliver Stoeneberg <oliverst@online.de>
2056 * include/malloc.h: Add missing return code defines for
2059 2005-01-17 Danny Smith <dannysmith@users.sourceforge.net>
2061 * include/sys/stat.h (struct __stat64): Change st_size type to
2063 * include/wchar.h (struct __stat64): Change st_size type to __int64.
2065 2005-01-13 Earnie Boyd <earnie@users.sf.net>
2067 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2069 * include/errno.h (ELOOP): Ditto.
2070 * include/_mingw.h: Increment version to 3.7.
2071 * Makefile.in: Ditto.
2073 2005-01-11 Danny Smith <dannysmith@users.sourceforge.net>
2075 * include/tchar.h (_tfreopen): Add UNICODE mappings.
2077 2005-01-11 Earnie Boyd <earnie@users.sf.net>
2079 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2080 lstat): Conditionalize defines for __STRICT_ANSI__.
2082 2005-01-10 Earnie Boyd <earnie@users.sf.net>
2084 * include/errno.h (ELOOP): Add definition.
2086 2005-01-10 Danny Smith <dannysmith@users.sourceforge.net>
2088 * mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
2089 casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
2090 clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
2091 ctanl.c ctanhl.c): New files.
2092 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2093 (COMPLEX_OBJS): Adjust.
2094 * include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
2095 casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
2096 cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
2099 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2101 * include/_mingw.h (__int16): Define as short.
2102 Thanks to: Leo Yuriev <leoyuriev at users dot sf dot net>
2104 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2106 * include/stdio.h (P_tmpdir): Add define.
2108 2005-01-03 Earnie Boyd <earnie@users.sf.net>
2110 * Makefile.in (inst_docdir): For Cygwin target set to share/doc/.
2112 2005-01-02 Earnie Boyd <earnie@users.sf.net>
2114 * include/_mingw.h: Increment version to 3.6
2115 * Makefile.in: Ditto
2117 2004-12-26 Danny Smith <dannysmith@users.sourceforge.net>
2119 * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
2120 casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
2121 clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
2122 ctanf.c ctanhf.c): New files.
2123 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2124 (COMPLEX_OBJS): Adjust.
2125 * include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
2126 casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
2127 cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
2130 2004-12-20 Danny Smith <dannysmith@users.sourceforge.net>
2132 * include/wchar.h (wcsdup): Correct prototype.
2133 * include/string.h (wcsdup): Correct prototype.
2135 2004-10-14 Danny Smith <dannysmith@users.sourceforge.net>
2137 * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
2139 2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
2141 * mingwex/math/fastmath.h: New file.
2142 * mingwex/math/asinh.c: New file.
2143 * mingwex/math/asinhf.c: New file.
2144 * mingwex/math/asinhl.c: New file.
2145 * mingwex/math/acosh.c: New file.
2146 * mingwex/math/acoshf.c: New file.
2147 * mingwex/math/acoshl.c: New file.
2148 * mingwex/math/atanh.c: New file.
2149 * mingwex/math/atanhf.c: New file.
2150 * include/math.h (asinh, asinhf, asinhl, acosh, acoshf, acoshl,
2151 atanh, atanhf, atanhl): Add prototypes.
2152 * mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
2153 (MATH_DISTFILES): Add sources for above and fastmath.h to list.
2154 Specify dependency on fastmath.h for new objects.
2156 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2158 * include/sys/stat.h (_S_IFLNK): Add definition.
2165 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2167 * include/sys/stat.h (_S_ISLNK): Add definition.
2170 2004-09-05 Earnie Boyd <earnie@users.sf.net>
2172 * include/_mingw.h: Increment minor version for 3.5 release.
2173 * Makefile.in: Ditto.
2174 * mingwex/Makefile.in: Correct typo in list of DISTFILES.
2176 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2178 * include/malloc.h (__mingw_aligned_offset_malloc,
2179 __mingw_aligned_offset_realloc, __mingw_aligned_malloc,
2180 __mingw_aligned_realloc, __mingw_aligned_free): Add
2182 * mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
2183 tst-aligned-malloc.c.
2184 (REPLACE_OBJS): Add mingw-aligned-malloc.o.
2186 2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
2188 * mingwex/mingw-aligned-malloc.c: New file.
2189 * mingwex/tst-aligned-malloc.c: New file.
2191 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2193 * crt1.c: (__mingw_CRTStartup): Change return to void. Add
2194 noreturn attribute. Align stack to 16 bytes before passing args
2196 (mainCRTStartup): Change return to void.
2197 (WinMainCRTStartup): Likewise.
2199 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2201 * profile/COPYING: New file.
2202 * profile/CYGWIN_LICENSE: New file.
2203 * profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
2205 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2207 * mingwex/fopen64.c: Move.
2208 * mingwex/fseeko64.c: Move.
2209 * mingwex/ftello64.c: Move.
2210 * mingwex/lseek64.c: Move.
2211 * mingwex/stdio/fopen64.c: To here.
2212 * mingwex/stdio/fseeko64.c: To here.
2213 * mingwex/stdio/ftello64.c: To here.
2214 * mingwex/stdio/lseek64.c: To here.
2216 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2218 * profile/gmon.c [__MINGW32__]: Include string.h for
2221 2004-08-08 Christopher Faylor <cgf@timesys.com>
2223 * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
2225 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2227 * include/complex.h: Remove __attribute__ ((const)) from
2228 transcendantal and trig functions. Replace __attribute__ ((const))
2229 with __MINGW_ATTRIB_CONST on other declarations.
2231 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2233 * include/wchar.h: Reorganize, avoid including other headers.
2235 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2237 * include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
2238 (strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
2241 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2243 * include/dirent.h (struct _wdirent): Remove obsolete comment.
2245 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2247 * include/string.h: Revert 2004-07-26 additions of
2250 2004-07-28 Danny Smith <dannysmith@users.sourceforge.net>
2252 * mingwex/math/powl.c (powl): Revert change of 2004-02-01.
2253 (__convert_inf_to_maxnum): New.static inline.
2254 (reducl): Use it to protect against Inf - Inf.
2255 (__fast_ldexpl): New function. Use in lieu of ldexpl.
2257 2004-07-27 Danny Smith <dannysmith@users.sourceforge.net>
2259 * mingwex/math/expl.c (expl): Move body of code to new static
2260 function __expl, removing tests for +/-Inf. Extern function
2261 expl calls __expl after testing for max, min log thresholds.
2263 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2265 * mingwex/stdio/vsscanf.c: Add "edi" to registers-modified field
2266 * mingwex/stdio/vfscanf.c: Likewise.
2267 * mingwex/stdio/vswscanf.c: Likewise.
2268 * mingwex/stdio/vfwscanf.c: Likewise.
2270 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2272 * include/_mingw.h: Use only two underscores to uglify
2273 __MINGW_ATTRIB_* macros.
2274 * include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
2275 * include/setjmp.h: Likewise.
2277 * include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
2279 (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
2281 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2283 * include/string.h: Group wide string functions together,
2284 and protect with _WSTRING_DEFINED.
2286 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2288 * include/_mingw.h (__MINGW_ATTR_*): Replace with
2290 * include/stdlib.h (_ATTRIB_NORETURN): Replace with
2291 __MINGW_ATTRIB_NORETURN, throughout.
2292 (malloc): Declare with __MINGW_ATTRIB_MALLOC.
2294 (abs): Declare with __MINGW_ATTRIB_CONST.
2303 * include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
2305 2004-07-21 Danny Smith <dannysmith@users.sourceforge.net>
2307 * include/_mingw.h: Undefine __attribute__.
2308 (__MINGW_ATTR_NORETURN): New define.
2309 (__MINGW_ATTR_CONST): New define.
2310 (__MINGW_ATTR_MALLOC): New define.
2311 (__MINGW_ATTR_PURE): New define.
2312 (_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
2315 2004-07-19 Danny Smith <dannysmith@users.sourceforge.net>
2317 * include/time.h (__time64_t): Add missing ';'.
2319 2004-07-17 Danny Smith <dannysmith@users.sourceforge.net>
2321 * include/time.h (wcsftime): Move out of !__STRICT_ANSI
2323 (struct tm): Protect with _TM_DEFINED.
2325 2004-07-17 Christopher Faylor <cgf@timesys.com>
2327 * Makefile.in (CC): Strip inappropriate include file settings from any
2330 2004-07-15 "dgun" <dgun@umpire.com>
2332 * include/complex.h (conj): Correct typo in prototype.
2334 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2336 * include/math.h: Add pragma GCC system_header.
2338 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2340 * mingwex/complex/carg.c: New file.
2341 * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
2343 2004-07-15 Corinna Vinschen <corinna@vinschen.de>
2345 * Makefile.in (INCLUDES): Temporarily revert previous change.
2346 * mingwex/Makefile,in (INCLUDES): Ditto.
2347 * profile/Makefile,in (INCLUDES): Ditto.
2348 * mingwex/Makefile,in: Drop carg.o dependency.
2350 2004-07-14 Christopher Faylor <cgf@timesys.com>
2352 * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
2354 2004-07-14 Danny Smith <dannysmith@users.sourceforge.net>
2356 * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
2358 * mingwex/Makefile,in (INCLUDES): Ditto.
2359 * profile/Makefile,in (INCLUDES): Ditto.
2361 * mingwex/Makefile,in: Add carg.o to libmingwex.a.
2363 2004-07-13 Earnie Boyd <earnie@users.sourcefourge.net>
2365 * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
2367 * mingwex/Makefile.in: Ditto.
2368 * profile/Makefile.in: Ditto.
2369 * include/limits.h: Change to new file header preamble.
2370 * include/_mingw.h: Increment minor version for 3.4 release.
2371 * Makefile.in: Ditto.
2373 2004-07-12 Danny Smith <dannysmith@users.sourceforge.net>
2375 * mingwex/math/cephes_emath.h (__etens): Remove declaration.
2377 2004-07-11 Danny Smith <dannysmith@users.sourceforge.net>
2379 * include/unistd.h (ftruncate): Add inline definition.
2380 * mingwex/ftruncate.c: New file.
2381 * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
2383 2004-07-10 Danny Smith <dannysmith@users.sourceforge.net>
2385 * include/time.h: Do not include sys/types.h.
2387 2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
2389 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
2390 (MATH_OBJS): Remove pow,o.
2391 * include/math.h (pow): Declare with _CRTIMP.
2392 Add comment on how to avoid excess precision problems.
2394 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
2396 * include/stdio.h (__mingw_fseeko64): Add prototype.
2397 * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
2398 (__mingw_fwrite): Handle huge files.
2400 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
2401 Danny Smith <dannysmith@users.sourceforge.net>
2403 * include/stdio.h (fopen64): Add inline function.
2404 (fseeko64): Add prototype.
2405 (ftello64): Add inline function.
2406 * include/io.h (lseek64): Add inline function.
2407 * include/sys/types (off64_t): Add typedef.
2408 (fpos64_t): Add typedef.
2409 * mingwex/fopen64.c: New file.
2410 * mingwex/fseeko64.c: New file.
2411 * mingwex/ftello64.c: New file.
2412 * mingwex/lseek64.c: New file.
2413 * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
2414 fseeko.64.c, ftello64.c, lseek64.c.
2415 (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
2417 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
2419 * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
2421 2004-04-22 Earnie Boyd <earnie@users.sf.net>
2423 * DISCLAIMER: Add words about "free to use".
2424 * README: Modify "Win32 runtime" to "Microsoft C Runtime".
2425 * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
2426 (inst_docdir): New variable.
2428 (FLAGS_TO_PASS): Include inst_docdir.
2429 (install-dirs): Add inst_docdir.
2430 (install): Add loop for INSTDOCS.
2431 * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
2432 section to CONTRIBUTORS file. Remove RCS tags.
2434 2004-04-22 Danny Smith <dannysmith@users.sourceforge.net>
2436 * mingwex/math/lround.c: Rewrite.
2437 * mingwex/math/lroundf.c: Rewrite.
2438 * mingwex/math/lroundl.c: Rewrite.
2439 * mingwex/math/llround.c: Rewrite.
2440 * mingwex/math/llroundf.c: Rewrite.
2441 * mingwex/math/llroundl.c: Rewrite.
2443 2004-04-20 Earnie Boyd <earnie@users.sf.net>
2445 * CONTRIBUTORS: New file.
2446 * DISCLAIMER: Ditto.
2447 * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
2448 section to CONTRIBUTORS file. Remove RCS tags.
2449 * CRTFmode.c: Ditto.
2453 * crtdll.dev: Ditto.
2463 * msvcrt.def.in: Ditto.
2464 * strcasecmp.c: Ditto.
2467 * include/assert.h: Ditto.
2468 * include/conio.h: Ditto.
2469 * include/ctype.h: Ditto.
2470 * include/direct.h: Ditto.
2471 * include/dirent.h: Ditto.
2472 * include/dos.h: Ditto.
2473 * include/errno.h: Ditto.
2474 * include/excpt.h: Ditto.
2475 * include/fcntl.h: Ditto.
2476 * include/float.h: Ditto.
2477 * include/io.h: Ditto.
2478 * include/locale.h: Ditto.
2479 * include/malloc.h: Ditto.
2480 * include/math.h: Ditto.
2481 * include/process.h: Ditto.
2482 * include/setjmp.h: Ditto.
2483 * include/share.h: Ditto.
2484 * include/signal.h: Ditto.
2485 * include/stdio.h: Ditto.
2486 * include/stdlib.h: Ditto.
2487 * include/string.h: Ditto.
2488 * include/tchar.h: Ditto.
2489 * include/time.h: Ditto.
2490 * include/wchar.h: Ditto.
2491 * include/sys/locking.h: Ditto.
2492 * include/sys/param.h: Ditto.
2493 * include/sys/stat.h: Ditto.
2494 * include/sys/timeb.h: Ditto.
2495 * include/sys/types.h: Ditto.
2496 * include/sys/utime.h: Ditto.
2497 * mingwex/dirent.c: Ditto.
2499 2004-04-19 Earnie Boyd <earnie@users.sf.net>
2501 * include/_mingw.h: Revert to primary release 3 and increment minor
2503 * Makefile.in (VERSION): Ditto.
2505 2004-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2507 * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
2508 _fmode if not __MSVCRT__.
2510 2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
2512 * include/io.h: (_findfirst): Correct prototype.
2514 2004-03-30 Hans Leidekker <hans@it.vu.nl>
2516 * include/io.h: (_findnext, _findclose): Correct prototype.
2518 2004-03-28 Hans Leidekker <hans@it.vu.nl>
2520 * include/math.h (FP_*): Add defines.
2522 2004-03-29 Danny Smith <dannysmith@users.sourceforge.net>
2524 * mingwex/math/round.c: Rewrite.
2525 * mingwex/math/roundf.c: Rewrite.
2526 * mingwex/math/roundl.c: Rewrite.
2528 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2530 * include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.
2531 * include/time.h (__time64_t): Add typedef.
2532 (_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2533 (_ctime64): Likewise.
2534 (_wctime64): Likewise.
2535 (_gmtime64): Likewise.
2536 (_localtime64): Likewise.
2537 (wcsftime): Move into _WTIME_DEFINED block.
2538 Regroup non-ANSI prototypes.
2539 * include/io.h: Include <stdint.h>.
2540 (__finddata64_t): Add struct definition.
2541 (__wfinddata64_t): Likewise.
2542 (_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2543 (_findnext64): Likewise.
2544 (_wfindfirst64): Likewise.
2545 (_wfindnext64): Likewise.
2546 * include/sys/timeb.h (__timeb64): Add struct definition.
2547 (_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2548 * include/sys/utime.h (__utimbuf64): Add struct definition.
2549 (_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2550 (_futime64): Likewise.
2551 (_wutime64): Likewise.
2552 * include/sys/stat.h (__stat64): Add struct definition.
2553 (_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2554 (_stat64): Likewise.
2555 (_wstat64): Likwise.
2556 * include/sys/types.h (__time64_t): Add typedef.
2557 * include/wchar.h (__wfinddata64_t): Add structure definition.
2558 (__stat64): Likewise.
2559 (_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2560 (_wfindfirst64): Likewise.
2561 (_wfindnext64): Likewise.
2562 (_wutime64): Likewise.
2563 (_wstat64): Likwise.
2564 * include/malloc.h (_aligned_free): Add prototype for
2565 __MSVCRT_VERSION__ >= 0x0700.
2566 (_aligned_malloc): Likewise.
2567 (_aligned_offset_malloc): Likewise.
2568 (_aligned_offset_realloc): Likewise.
2569 (_aligned_realloc): Likewise.
2570 * include/string.h (_wcserror): Add prototype for
2571 __MSVCRT_VERSION__ >= 0x0700.
2572 (__wcserror): Likewise.
2573 * include/math.h (_set_SSE2_enable): Add prototype for
2574 __MSVCRT_VERSION__ >= 0x0701.
2576 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2578 * include/stdio.h (_fsopen): Add prototype.
2579 * include/tchar.h (_tfsopen): Add defines.
2580 Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
2582 2004-03-19 Danny Smith <dannysmith@users.sourceforge.net>
2584 * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
2585 msvcr70.dll, and msvcr71.dll.
2586 * Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant
2587 using basename of output def file.
2589 2004-03-13 Danny Smith <dannysmith@users.sourceforge.net>
2591 * include/malloc.h: Remove __STRICT_ANSI__ guard.
2593 2004-03-11 Brian Keener <bkeener@thesoftwaresource.com>
2595 * include/process.h: Remove the #endif associated with removal of
2596 __STRICT_ANSI__ guard from non-ANSI header.
2598 2004-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2600 * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
2601 * include/direct.h: Ditto.
2602 * include/dirent.h: Ditto.
2603 * include/dos.h: Ditto.
2604 * include/excpt.h: Ditto.
2606 * include/io.h: Ditto.
2607 * inlude/mem.h: Ditto.
2608 * include/memory.h: Ditto.
2609 * include/process.h: Ditto.
2610 * inlude/search.h: Ditto.
2611 * include/share.h: Ditto.
2612 * include/unistd.h: Ditto.
2613 * include/sys/fcntl.h: Ditto.
2614 * include/file.h: Ditto.
2615 * include/sys/locking.h: Ditto.
2616 * include/sys/param.h: Ditto.
2617 * include/sys/stat,h
2618 * include/sys/time.h: Ditto.
2619 * include/sys/timeb.h: Ditto.
2620 * include/sys/types.h: Ditto.
2621 * include/sys/unistd.h: Ditto.
2622 * include/sys/utime.h: Ditto.
2624 2004-02-21 Danny Smith <dannysmith@users.sourceforge.net>
2626 * include/_mingw.h (__UNUSED_PARAM): Define macro.
2627 * include/wchar.h (fwide): Use it.
2630 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2632 * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
2633 NetBSD getopt_long.c.
2635 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2637 * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
2638 codes and handling of special chars.
2640 2004-02-02 Danny Smith <dannysmith@users.sourceforge.net>
2642 * include/stdio.h (feof): Add inlined definition.
2645 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2647 * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
2648 directly, rather than via scabnl.
2650 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2652 * mingwex/math/powl.c (powl): Return infinity if
2653 extended precision multiplication of x by log2(y)
2656 2004-01-31 Danny Smith <dannysmith@users.sourceforge.net>
2658 * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
2659 (__enan_NI16): Fix another one.
2660 (__enan_NBITS): Tidy.
2662 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
2664 * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
2665 types. (Thanks to John Maddock for report.)
2667 2004-01-14 Greg Chicares <chicares@users.sourceforge.net>
2669 * include/tchar.h (_puttchar): Define.
2671 2003-12-13 Danny Smith <dannysmith@users.sourceforge.net>
2673 * include/stdio.h:(_fileno): Define macro version after both
2674 fileno and _fileno functions declared.
2676 * include/stdio.h (_rmtmp, rmtmp): Add prototypes.
2677 * moldnames.def.in (rmtmp) Add stub.
2679 2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
2681 * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
2683 2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
2685 * include/math.h: Guard ISO C99 additions with __cplusplus
2688 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2690 * include/_mingw.h: Define __attribute__((x)) to nothing
2693 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2695 * include/complex.h: New file.
2696 * mingwex/complex: New directory.
2697 * mingwex/complex/cabs.c: New file.
2698 * mingwex/complex/cacos.c: New file.
2699 * mingwex/complex/cacosh.c: New file.
2700 * mingwex/complex/casin.c: New file.
2701 * mingwex/complex/casinh.c: New file.
2702 * mingwex/complex/catan.c: New file.
2703 * mingwex/complex/catanh.c: New file.
2704 * mingwex/complex/ccos.c: New file.
2705 * mingwex/complex/ccosh.c: New file.
2706 * mingwex/complex/cexp.c: New file.
2707 * mingwex/complex/cimag.c: New file.
2708 * mingwex/complex/clog.c: New file.
2709 * mingwex/complex/cpow.c: New file.
2710 * mingwex/complex/cproj.c: New file.
2711 * mingwex/complex/creal.c: New file.
2712 * mingwex/complex/csin.c: New file.
2713 * mingwex/complex/csinh.c: New file.
2714 * mingwex/complex/csqrt.c: New file.
2715 * mingwex/complex/ctan.c: New file.
2716 * mingwex/complex/ctanh.c: New file.
2717 * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
2720 (COMPLEX_OBJS): New list of objects.
2721 (LIB_OBJS): Include it in the library.
2723 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2725 * include/math.h (cabs): Remove non-ISO prototype.
2727 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2729 * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
2730 Use GCC __builtin's if available.
2731 (INFINITY, INFINITYF, INFINITYL): Likewise.
2733 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2735 * mingwex/math/s_erf.c (erf): Set errno to ERANGE if
2736 beyond approximation limit.
2737 * mingwex/math/sf_erf.c (erff): Likewise.
2739 2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
2741 * include/stdio.h (getc): Cast result to unsigned char before
2744 (getchar): Likewise.
2745 (putchar): Likewise.
2746 Thanks to M.Fujii <boochang@m4.kcn.ne.jp>
2748 2003-10-10 Earnie Boyd <earnie@users.sf.net>
2750 * include/_mingw.h: Increment version to 3.2.
2751 * Makefile.in: Ditto.
2753 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2755 * include/sys/types.h: Revert last change.
2757 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2759 * include/sys/types.h (ssize_t): Correct the definition.
2761 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2763 * include/stdio.h (_filbuf): Add prototype.
2764 (_flsbuf): Add prototype.
2765 (getc): Add inline version.
2767 (getchar): Likewise.
2768 (putchar): Likewise.
2770 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2772 * mingwex/dirent.c (_treaddir): Reset errno to 0 if end
2775 2003-09-29 Danny Smith <dannysmith@users.sourceforge.net>
2777 * include/stdlib.h: Guard non-ISO functions with
2778 !__STRICT_ANSI__, throughout.
2780 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2782 * include/io.h (_fileno): Remove prototype.
2784 (FILENAME_MAX): Define, if needed.
2785 Don't include <stdio.h>.
2786 * include/stdio.h (FILENAME_MAX): Protect against
2788 (_fileno): Define macro implementation.
2791 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2793 * include/inttypes.h: Include _mingw.h.
2795 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2797 * include/_mingw.h (__CRT_INLINE): Define.
2798 * include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
2800 * include/inttypes.h: Likewise.
2801 * include/math.h: Likewise.
2802 * include/stdio.h: Likewise.
2803 * include/stdlib.h: Likewise.
2804 * include/string.h: Likewise.
2805 * include/wchar.h: Likewise.
2806 * include/wctype.h: Likewise.
2808 2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
2810 * mingwex/dirent.c (_topendir): Allocate enough memory for
2811 DIR struct in UNICODE case too.
2813 2003-09-15 Earnie Boyd <earnie@users.sf.net>
2815 * include/_mingw.h: Increment version to 3.2.
2816 * Makefile.in: Ditto.
2818 2003-07-03 Earnie Boyd <earnie@users.sf.net>
2820 * config.guess, config.sub: Update with versions from ftp.gnu.org.
2822 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2824 * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
2825 * mingwex/math/truncf.c (truncf): Likewise.
2826 * mingwex/math/truncl.c (truncl): Likewise.
2827 * mingwex/math/modff.c (modff): Likewise.
2828 * mingwex/math/modfl.c (modfl): Likewise.
2830 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2832 * include/search.h: New file.
2833 * include/stdlib.h: Add comment about qsort, bsearch in
2835 * test_headers.c: Include search.h.
2836 * moldname.def.in (lfind, lsearch): Add.
2838 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2840 * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
2841 _execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
2842 execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
2844 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2846 * include/_mingw.h (small, hyper): Change to __small and __hyper to
2847 avoid user space name conflicts.
2849 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2851 * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
2852 Note: Also added to w32api/include/basetyps.h.
2853 * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
2854 Rename to Small (case difference).
2856 2003-06-18 Earnie Boyd <earnie@users.sf.net>
2858 * include/dirent.h (dirent): Make d_name and array instead of a pointer.
2859 * mingwex/dirent.c: Modifications througout to fill d_name array.
2860 * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
2861 libmsvcr71, including debug versions.
2862 (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
2864 2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
2866 * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
2867 __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
2869 Thanks to: Aaron W LaFramboise <AWLaFramboise@aol.com>
2871 2003-05-30 Sascha Sommer <saschasommer@freenet.de>
2873 * include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
2875 2003-05-15 Danny Smith <dannysmith@users.sourceforge.net>
2877 * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
2878 but still protect inline definition with __STRICT_ANSI__.
2880 2003-05-14 Danny Smith <dannysmith@users.sourceforge.net>
2882 * string_old.c: Remove, splitting into...
2883 * strcasecmp.c: New file.
2884 * strncasecmp.c: New file.
2885 * wscmpi.c : New file.
2886 * ctype_old.c: Remove, splitting into...
2887 * isascii.c: New file.
2888 * iscsym.c: New file.
2889 * iscsymf.c: New file.
2890 * toascii.c: New file.
2891 * Makefile.in (MOLD_OBJS): Adjust.
2892 (SRCDIST_FILES): Adjust.
2894 2003-05-13 Danny Smith <dannysmith@users.sourceforge.net>
2896 * include/math.h (fabs) : Remove inline definition.
2900 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2902 * include/_mingw.h: Change version to 3.0
2903 * Makefile.in: Ditto.
2905 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2907 * configure.in (W32API_INCLUDE): Need the -I switch in the value.
2908 * mingwex/configure.in (W32API_INCLUDE): Ditto.
2909 * profile/configure.in (W32API_INCLUDE): Ditto.
2911 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2913 * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
2914 of multiply defined symbols if the symbols is defined locally. E.G.:
2915 A local definition of malloc causes this problem.
2916 * configure: Regenerate.
2917 * profile/Makefile.in (W32API_INCLUDE): New variable.
2918 (ALL_CFLAGS): Use W32API_INCLUDE value.
2919 (ALL_CXXFLAGS): Ditto.
2920 (gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
2921 Thanks to Jeff Bonggren <jbon@users.sf.net>.
2922 * profile/configure.in (W32API_INCLUDE): Set default value.
2923 * profile/configure: Regenerate.
2924 * mingwex/Makefile.in (W32API_INCLUDE): New variable.
2925 (ALL_CFLAGS): Use W32API-INCLUDE value.
2926 (ALL_CXXFLAGS): Ditto.
2927 * mingwex/configure.in (W32API_INCLUDE): Set default value.
2928 * mingwex/configure: Regenerate.
2930 2003-05-05 Earnie Boyd <earnie@users.sf.net>
2932 * Makefile.in (W32API_INCLUDE): New variable.
2933 (ALL_CFLAGS): Use W32API_INCLUDE value.
2934 (ALL_CXXFLAGS): Ditto.
2935 * configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
2936 (W32API_INCLUDE): Set default value.
2937 * configure: Regenerate.
2939 2003-04-11 Earnie Boyd <earnie@users.sf.net>
2941 * configure.in (LIBM_A): Define for cygwin target.
2942 * configure (LIBM_A): Ditto.
2944 2003-04-07 Danny Smith <dannysmith@users.sourceforge.net>
2946 * include/time.h (strftime): Remove duplicate declaration.
2948 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2950 * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
2952 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2954 * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
2955 * mingwex/strtoimax.c (strtoimax): Likewise.
2956 * mingwex/wcstoimax.c (wcstoimax): Likewise.
2957 * mingwex/wtoll.c (wtoll): Remove unnecessary ';'
2958 * mingwex/fesentenv.c: Include float.h.
2959 * mingwex/math/powl.c: Eliminate type punning/strict aliasing
2961 * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
2963 * mingwex/math/tgammal.c: Likewise.
2965 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2967 * include/utime.h: New file, forwarding to sys/utime.h.
2969 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2971 * include/sys/param.h (MAXPATHLEN): Define.
2973 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2975 * include/tchar.h: Ansi-fy a comment.
2977 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2979 * profile/profile.h (mcount): Use __builtin_return_address
2980 rather than inline __asm statements.
2981 * profile/Makefile.in: Remove special rule for mcount.o
2982 Specify dependencies for mcount.o profil.o gmon.o.
2984 2003-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2986 * include/stdlib.h (qsort): Remove const from first parm.
2987 Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
2989 2003-03-03 Christopher Faylor <cgf@redhat.com>
2991 * mingwex/getopt.c: Refresh from NetBSD sources.
2993 2003-03-03 Danny Smith <dannysmith@users.sourceforge.net>
2995 * mingwex/getopt.c: New file, copied from cygwin srcs.
2996 * include/getopt.h: New file, copied from cygwin srcs.
2997 * include/unistd.h: Include getopt.h.
2998 * mingwex/Makefile.in (DISTFILES): Add getopt.c.
2999 (POSIX_OBJS): Add getopt.o.
3001 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
3003 * include/stdio.h (vscanf): Add prototype.
3009 * include/wchar.h (vwscanf): Add prototype.
3012 * mingwex/snprintf.c: Move to mingwex/stdio.
3013 * mingwex/vsnprintf.c: Ditto.
3014 * mingwex/snwprintf.c: Ditto.
3015 * mingwex/vsnwprintf.c: Ditto.
3016 * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
3017 (STDIO_DISTFILES): Add.
3018 (DISTFILES): Adjust.
3019 (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
3023 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com>
3025 * mingwex/stdio: New directory
3026 * mingwex/stdio/vfscanf.c: New file.
3027 * mingwex/stdio/vfwscanf.c: New file.
3028 * mingwex/stdio/vscanf.c: New file.
3029 * mingwex/stdio/vsscanf.c: New file.
3030 * mingwex/stdio/vswscanf.c: New file.
3031 * mingwex/stdio/vwscanf.c: New file.
3033 2003-02-25 Earnie Boyd <earnie@users.sf.net>
3035 * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
3036 (libmsvcrt40.a): Ditto.
3038 2003-02-21 Earnie Boyd <earnie@users.sf.net>
3040 Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
3042 * Makefile.in (libmsvcrtd.a): Add target library.
3043 (libmoldnamed.a): Ditto.
3044 (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
3046 ($(srcdir)): Remove explicit reference for depencies of object targets.
3047 * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
3048 msvcrt20.def, msvcrt40.def: Remove.
3049 * msvcrt.def.in: New file (Copy of previous msvcrt.def).
3051 2003-02-20 Corinna Vinschen <corinna@vinschen.de>
3053 * Makefile.in: Make sure libmingwex.a from current build tree is used.
3055 2003-02-14 Christopher Faylor <cgf@redhat.com>
3057 * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
3058 ensure -mno-cygwin where appropriate. Filter out -O2.
3060 2003-02-13 Danny Smith <dannysmith@users.sourceforge.net>
3062 * profile/Makefile.in (mcount.o): Use -O1 optimization
3065 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3067 * include/math.h: Remove _CRTIMP from pow() prototype,
3068 unless __NO_ISOCEXT.
3070 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3072 * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
3074 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3076 * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
3077 __declspec(dllimport) supported.
3078 (__cdecl): Define if not already defined.
3079 (__stdcall): Likewise.
3080 * include/dirent.h: Qualify fuctions with __cdecl.
3081 * include/fenv.h: Likewise.
3082 * include/inttypes.h: Likewise.
3083 * include/assert.h: Qualify fuctions with __cdecl. Qualify
3084 CRT dll imports with _CRTIMP.
3085 * include/conio.h: Likewise.
3086 * include/ctype.h: Likewise.
3087 * include/direct.h: Likewise.
3088 * include/dos.h: Likewise.
3089 * include/errno.h: Likewise.
3090 * include/float.h: Likewise.
3091 * include/io.h: Likewise.
3092 * include/locale.h: Likewise.
3093 * include/malloc.h: Likewise.
3094 * include/math.h: Likewise.
3095 * include/mbctype.h: Likewise.
3096 * include/mbstring.h: Likewise.
3097 * include/process.h: Likewise.
3098 * include/setjmp.h: Likewise.
3099 * include/signal.h: Likewise.
3100 * include/stdio.h: Likewise.
3101 * include/stdlib.h: Likewise.
3102 * include/string.h: Likewise.
3103 * include/time.h: Likewise.
3104 * include/wchar.h: Likewise.
3105 * include/wctype.h: Likewise.
3106 * include/sys/stat.h: Likewise.
3107 * include/sys/timeb.h: Likewise.
3108 * include/sys/utime.h: Likewise.
3110 * include/ctype.h: Guard ctype inlines with __NO_INLINE__.
3111 * include/wctype.h: Guard wctype inlines with __NO_INLINE__.
3113 * include/stdio.h (__VALIST): Guard against prior definition.
3115 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3117 * include/_mingw.h: Change version to 3.0
3118 * Makefile.in: Ditto.
3120 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3122 * include/stdlib.h: Make words after #endif a comment.
3124 2003-02-07 Danny Smith <dannysmith@users.sourceforge.net>
3126 * include/locale.h: Include stddef.h for definition of NULL.
3128 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3130 * include/math.h (tgamma): Correct typo in comment.
3132 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3134 * mingwex/mingw-fseek.c (INLINE): Remove define.
3135 (__mingw_is_win9x): Remove static inline function.
3136 (_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
3138 2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
3140 * mingwex/math/llround.c: Correct function name and
3141 change return value to long long.
3143 2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
3145 * include/ctype.h (__isascii): Don't cast arg to unsigned.
3146 (iswascii): Likewise. Correct mask.
3147 * include/wctype.h (iswascii): Don't cast arg to unsigned.
3150 2003-01-03 Danny Smith <dannysmith@users.sourceforge.net>
3152 * include/stdlib.h (_osver, _winver, _winmajor,
3153 _winminor): Declare as direct imports from dll if
3154 __DECLSPEC_SUPPORTED.
3156 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
3158 * pseudo-reloc.c (do_pseudo_reloc): Make static.
3159 * pseudo-reloc-list.c: New file.
3160 * crt1.c (_pei386_runtime_relocator): Declare.
3161 (__mingw_CRTStartup): Call it.
3162 * dllcrt1.c (_pei386_runtime_relocator): Declare.
3163 (DllMainCRTStartup): Call it.
3164 * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to
3167 2003-01-01 Egor Duda <deo@logos-m.ru>
3169 * pseudo-reloc.c: New file.
3171 2002-12-20 Earnie Boyd <earnie@users.sf.net>
3173 * include/_mingw.h: Increment version to 2.4.
3176 2002-12-12 Earnie Boyd <earnie@users.sf.net>
3178 * include/malloc.h (_alloca): Add definition.
3181 2002-12-08 Danny Smith <dannysmith@users.sourceforge.net>
3183 * mingwex/math/s_erf.c: New file.
3184 * mingwex/math/sf_erf.c: New file.
3185 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3186 (MATH_OBJS): Add new objects.
3187 * include/math.h (erf[f]): Add prototypes.
3188 (erfc[f]): Add prototypes.
3190 2002-12-07 Danny Smith <dannysmith@users.sourceforge.net>
3192 * include/math.h: Add traditional/XOPEN math constants.
3194 2002-11-27 Danny Smith <dannysmith@users.sourceforge.net>
3196 * mingwex/math/lgamma.c: New file.
3197 * mingwex/math/lgammaf.c: New file.
3198 * mingwex/math/lgammal.c: New file.
3199 * mingwex/math/tgamma.c: New file.
3200 * mingwex/math/tgammaf.c: New file.
3201 * mingwex/math/tgammal.c: New file.
3202 * mingwex/math/cephes_mconf (polevlf): Add float version.
3204 Define _CEPHES_USE_ERRNO.
3205 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3206 (MATH_OBJS): Add new objects.
3207 * include/math.h (lgamma[fl]): Add prototypes.
3208 (tgamma[fl]): Add prototypes.
3210 2002-11-26 Danny Smith <dannysmith@users.sourceforge.net>
3212 * mingwex/strtold.c: New file.
3213 * mingwex/wcstold.c: New file.
3214 * mingwex/ldtoa.c: New file.
3215 * mingwex/math/cephes_emath.h: New file.
3216 * mingwex/math/cephes_emath.c: New file.
3217 * mingwex/Makefile.in (DISTFILES): Add new files.
3218 (MATH_DISTFILES): Ditto.
3219 (STDLIB_OBJS): New. Define as strtold.c wcstold.c.
3220 (MATH_OBJS): Add cephes_emath.o.
3221 (LIB_OBJS): Add $(STDLIB_OBJS).
3222 * include/stdlib.h (strtold, wcstold): Add prototypes.
3223 * include/wchar.h (wcstold): Add prototype.
3225 2002-11-09 Danny Smith <dannysmith@users.sourceforge.net>
3227 * include/math.h (sqrt): Remove inline definition.
3228 (sqrtf): Replace inline definition with prototype.
3230 * mingwex/math/sqrtf.c (sqrtf): Set domain error if
3231 argument less than zero.
3232 * mingwex/math/sqrtf.c (sqrtl): Likewise.
3234 2002-10-30 Guido Serassio <serassio@libero.it>
3236 * include/stdio.h (_getmaxstdio): Add prototype.
3237 (_setmaxstdio): Likewise.
3239 2002-10-19 Kang Li <rubylith@users.sourceforge.net>
3241 * include/fcntl.h (O_SEQUENTIAL): Correct typo.
3243 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3245 * crt1.c: Define new macro __IN_MINGW_RUNTIME before including
3247 Define WIN32_MEAN_AND_LEAN before including windows.h
3248 * include/stdlib.h (_fmode): Protect declaration as dllimported
3249 variable with __IN_MINGW_RUNTIME.
3251 2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu>
3253 * crt1.c: Include stdlib.h.
3255 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3257 * Makefile.in (CRT0S): Add txtmode.o binmode.o.
3258 (MINGW_OBJS): Add txtmode.o.
3259 (SRCDIST_FILES): Add txtmode.c binmode.c.
3260 crt1.c: Don't include fcntrl.h, stdlib.h.
3261 (_fmode): Declare, without dllimport attribute.
3262 (__p__fmode): Declare access function for dll's _fmode.
3263 (_mingw32_init_fmode): Sync dll _fmode with staticly linked
3265 * txtmode.c: New file.
3266 * binmode.c: New file.
3267 * samples/fmode/test2.c: New file.
3268 * samples/fmode/jamfile: Add test2.exe target.
3270 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3272 * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
3273 macros work with C89.
3274 (INTMAX_C, UINTMAX_C): Likewise.
3276 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3278 * include/string.h (strcasecmp): Make extern __inline__.
3279 (strncasecmp): Likewise.
3280 (wcscmpi): Likewise.
3282 2002-10-08 Heiko Gerdau <hg@technosis.de>
3284 * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
3285 _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
3288 2002-10-07 Danny Smith <dannysmith@users.sourceforge.net>
3290 * mingwex/math/powil.c: Rename powil to __powil.
3291 * mingwex/math/powl.c: Adjust declaration and call
3292 to __powil. Remove comment on powil.
3293 * mingwex/math/powi.c: New file.
3294 * mingwex/math/powif.c: New file.
3295 * mingwex/math/pow.c: New file.
3296 * mingwex/math/cephes_mconf.h. Add double and float
3297 versions of constants.
3298 (polevl): Add double precision function.
3300 * mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
3302 (MATH_OBJS): Add pow.o, powi.o, powif.o.
3304 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3306 * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
3307 (_imp____mbcur_max_dll): Likewise.
3309 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3311 * include/fcntl.h (_fmode): Remove declarations and
3312 compatibility defines.
3313 (_setmode, setmode): Remove prototypes.
3314 * include/stdlib (_fmode): Add declarations and
3315 compatibility defines. Change type to int.
3316 * include/io.h (_setmode, setmode): Add prototypes.
3317 * samples/fmode/all.c: Adjust includes.
3318 * samples/fmode/test.c: Likewise.
3319 * crt1.c (_CRT_fmode): Declare as int.
3320 * CRTfmode.c (_CRT_fmode): Likewise.
3322 * include/stdlib: Remove comment about MB_CUR_MAX.
3324 2002-10-02 Danny Smith <dannysmith@users.sourceforge.net>
3326 * include/stdlib.h (_imp____mbcur_max): Add missing ';'.
3327 (_imp____mbcur_max_dll): Likewise.
3329 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3331 * mingwex/math/files.txt: Remove inadvertantly added file.
3333 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3335 * include/string.h (_strerror): Move into #ifndef
3336 __STRICT_ANSI__ block.
3338 2002-09-17 Danny Smith <dannysmith@users.sourceforge.net>
3340 * include/time.h (__need_NULL): Define before including
3341 stddef.h. Thanks to: Rüdiger Dehmel <de@lmnet.de>.
3343 2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
3345 * include/stdio.h: Correct comment about directory separator.
3347 2002-09-12 Danny Smith <dannysmith@users.sourceforge.net>
3349 * include/sys/time.h (timeval): Add struct definition and
3350 associated macros (copied from w32api/include/winsock.h).
3352 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3354 * include/_mingw.h: Increment version to 2.3.
3357 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3359 * mingwex/fegetenv.c: Change to \n line endings.
3360 * mingwex/vsnprintf.c: Ditto.
3361 * mingwex/vsnwprintf.c: Ditto.
3363 2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
3365 * mingwex/math/hypotl.c: Replace with version based on cephes
3368 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3370 * include/sys/param.h: Add ENDIAN defines.
3371 * test_headers.c: Include sys/param.h.
3373 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3375 * test_headers.c: Don't include varargs.h.
3376 * Makefile.in (test_headers): Don't use -std=xx
3379 2002-08-21 Earnie Boyd <earnie@users.sf.net>
3381 * include/sys/param.h: New File.
3383 2002-08-21 Danny Smith <dannysmith@users.sourceforge.net>
3385 * include/math.h (asm): Change to __asm__ throughout.
3386 Expose ISO C99 functions if __GLIPCPP__.
3387 (hypotf): Use hypot, not _hypot in stub.
3389 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3391 * include/tchar.h: Ansi-fy another comment.
3393 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3395 * include/tchar.h: Ansi-fy comment.
3397 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3399 * test_headers.c : New file.
3400 * Makefile.in (test_headers): New target, using it,
3401 (SRCDIST_FILES): Distribute it.
3403 2002-08-20 Earnie Boyd <earnie@users.sf.net>
3405 * include/_mingw.h: Increment version to 2.2.
3408 2002-08-14 Earnie Boyd <earnie@users.sf.net>
3410 * include/unistd.h: Add include of process.h.
3412 2002-08-03 Danny Smith <dannysmith@users.sourceforge.net>
3414 * include/stdio.h (_fcloseall): Add prototype.
3416 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3418 * include/tchar.h (_tfdopen): Correct typo.
3420 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3422 * moldname.def.in (chgsign,scalb,finite,fpclass,logb,
3423 nextafter): Add non-underscored stubs.
3424 * moldname-msvcrt.def: Regenerate.
3425 * moldname-crtdll.def: Regenerate.
3426 * mingwex/math: New directory.
3427 * mingwex/rint.c: Move to mingwex/math.
3428 * mingwex/rintf.c: Ditto.
3429 * mingwex/rintl.c: Ditto.
3430 * mingwex/round.c: Ditto.
3431 * mingwex/roundf.c: Ditto.
3432 * mingwex/roundl.c: Ditto.
3433 * mingwex/rint.c: Ditto.
3434 * mingwex/rintf.c: Ditto.
3435 * mingwex/rintl.c: Ditto.
3436 * mingwex/trunc.c: Ditto.
3437 * mingwex/truncf.c: Ditto.
3438 * mingwex/truncl.c: Ditto.
3439 * mingwex/signbit.c: Ditto.
3440 * mingwex/signbitf.c: Ditto.
3441 * mingwex/signbitl.c: Ditto.
3442 * mingwex/copysignl.S: Ditto.
3443 * mingwex/fdim.c: Ditto.
3444 * mingwex/fdimf.c: Ditto.
3445 * mingwex/fdiml.c: Ditto.
3446 * mingwex/fmin.c: Ditto.
3447 * mingwex/fminf.c: Ditto.
3448 * mingwex/fminl.c: Ditto.
3449 * mingwex/fmax.c: Ditto.
3450 * mingwex/fmaxf.c: Ditto.
3451 * mingwex/fmaxl.c: Ditto.
3452 * mingwex/fma.c: Ditto.
3453 * mingwex/fmaf.c: Ditto.
3454 * mingwex/fmal.c: Ditto.
3455 * mingwex/fpclassify.c: Ditto.
3456 * mingwex/fpclassifyl.c: Ditto.
3457 * mingwex/fpclassifyl.c: Ditto.
3458 * mingwex/isnan.c: Ditto.
3459 * mingwex/isnanf.c: Ditto.
3460 * mingwex/isnanl.c: Ditto.
3461 * mingwex/fucom.c: Ditto.
3462 * mingwex/fp_consts.c: Ditto. Split out float and long double
3464 * mingwex/math_stubs.c: Remove.
3465 * mingwex/log2.c: Remove. Replaced by math/log2.S
3466 * mingwex/log2f.c: Remove. Replaced by math/log2f.S
3467 * mingwex/log2l.c: Remove. Replaced by math/log2l.S
3468 * mingwex/math/acosf.c : New file.
3469 * mingwex/math/acosl.c: New file.
3470 * mingwex/math/asinf.c: New file.
3471 * mingwex/math/asinl.c: New file.
3472 * mingwex/math/atan2f.c: New file.
3473 * mingwex/math/atan2l.c: New file.
3474 * mingwex/math/atanf.c: New file.
3475 * mingwex/math/atanl.c: New file.
3476 * mingwex/math/cbrt.c: New file.
3477 * mingwex/math/cbrtf.c: New file.
3478 * mingwex/math/cbrtl.c: New file.
3479 * mingwex/math/ceilf.S: New file.
3480 * mingwex/math/ceill.S: New file.
3481 * mingwex/math/cephes_ld.h: New file.
3482 * mingwex/math/copysign.S: New file.
3483 * mingwex/math/copysignf.S: New file.
3484 * mingwex/math/cosf.S: New file.
3485 * mingwex/math/coshf.c: New file.
3486 * mingwex/math/coshl.c: New file.
3487 * mingwex/math/cosl.S: New file.
3488 * mingwex/math/exp2.S: New file.
3489 * mingwex/math/exp2f.S: New file.
3490 * mingwex/math/exp2l.S: New file.
3491 * mingwex/math/expf.c: New file.
3492 * mingwex/math/expl.c: New file.
3493 * mingwex/math/fabs.c: New file.
3494 * mingwex/math/fabsf.c: New file.
3495 * mingwex/math/fabsl.c: New file.
3496 * mingwex/math/floorf.S: New file.
3497 * mingwex/math/floorl.S: New file.
3498 * mingwex/math/fmodf.c: New file.
3499 * mingwex/math/fmodl.c: New file.
3500 * mingwex/math/fp_consts.h: Ditto.
3501 * mingwex/math/fp_constsf.c: Ditto.
3502 * mingwex/math/fp_constsl.c: Ditto.
3503 * mingwex/math/frexpf.c: New file.
3504 * mingwex/math/frexpl.S: New file.
3505 * mingwex/math/hypotf.c: New file.
3506 * mingwex/math/hypotl.c: New file.
3507 * mingwex/math/ilogb.S: New file.
3508 * mingwex/math/ilogbf.S: New file.
3509 * mingwex/math/ilogbl.S: New file.
3510 * mingwex/math/ldexpf.c: New file.
3511 * mingwex/math/ldexpl.c: New file.
3512 * mingwex/math/llrint.c: New file.
3513 * mingwex/math/llrintf.c: New file.
3514 * mingwex/math/llrintl.c: New file.
3515 * mingwex/math/llround.c: New file.
3516 * mingwex/math/llroundf.c: New file.
3517 * mingwex/math/llroundl.c: New file.
3518 * mingwex/math/log10f.S: New file.
3519 * mingwex/math/log10l.S: New file.
3520 * mingwex/math/log1p.S: New file.
3521 * mingwex/math/log1pf.S: New file.
3522 * mingwex/math/log1pl.S: New file.
3523 * mingwex/math/log2.S: New file.
3524 * mingwex/math/log2f.S: New file.
3525 * mingwex/math/log2l.S: New file.
3526 * mingwex/math/logb.c: New file.
3527 * mingwex/math/logbf.c: New file.
3528 * mingwex/math/logbl.c: New file.
3529 * mingwex/math/logf.S: New file.
3530 * mingwex/math/logl.S: New file.
3531 * mingwex/math/lrint.c: New file.
3532 * mingwex/math/lrintf.c: New file.
3533 * mingwex/math/lrintl.c: New file.
3534 * mingwex/math/lround.c: New file.
3535 * mingwex/math/lroundf.c: New file.
3536 * mingwex/math/lroundl.c: New file.
3537 * mingwex/math/modff.c: New file.
3538 * mingwex/math/modfl.c: New file.
3539 * mingwex/math/nearbyint.S: New file.
3540 * mingwex/math/nearbyintf.S: New file.
3541 * mingwex/math/nearbyintl.S: New file.
3542 * mingwex/math/nextafterf.c: New file.
3543 * mingwex/math/powf.c: New file.
3544 * mingwex/math/powl.c: New file.
3545 * mingwex/math/powil.c: New file.
3546 * mingwex/math/remainder.S: New file.
3547 * mingwex/math/remainderf.S: New file.
3548 * mingwex/math/remainderl.S: New file.
3549 * mingwex/math/remquo.S: New file.
3550 * mingwex/math/remquof.S: New file.
3551 * mingwex/math/remquol.S: New file.
3552 * mingwex/math/scalbn.S: New file.
3553 * mingwex/math/scalbnf.S: New file.
3554 * mingwex/math/scalbnl.S: New file.
3555 * mingwex/math/sinf.S: New file.
3556 * mingwex/math/sinhf.c: New file.
3557 * mingwex/math/sinhl.c: New file.
3558 * mingwex/math/sinl.S: New file.
3559 * mingwex/math/sqrt.c: New file.
3560 * mingwex/math/sqrtf.c: New file.
3561 * mingwex/math/sqrtl.c: New file.
3562 * mingwex/math/tanf.S: New file.
3563 * mingwex/math/tanhf.c: New file.
3564 * mingwex/math/tanhl.c: New file.
3565 * mingwex/math/tanl.S: New file.
3566 * mingwex/Makefile.in: Adjust VPATH for source files in
3569 Add MATH_DISTFILES and use it to build source distro.
3570 * include/ math.h: Add protypes for new functions and
3571 reorganise to reflect ANSI,C99 status.
3573 2002-06-19 Danny Smith <dannysmith@users.sourceforge.net>
3575 * include/tchar.h (_getts): Define as _getws for _UNICODE.
3576 (_putts): Define as _putws for _UNICODE.
3577 Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report.
3579 2002-06-18 Danny Smith <dannysmith@users.sourceforge.net>
3581 * include/float.h: #include_next<float.h> before header guard.
3583 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
3585 * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
3587 * include/excpt.h (): Include windef.h not windows.h.
3588 * include/fcntl.h (_O_SHORT_LIVED): Add define.
3589 (_chmod): Add prototype.
3590 (_creat): Correct prototype.
3591 (SH_DENY*): Rename defines to _SH_DENY*.
3592 (SH_DENY*): Add Non-ANSI names for _SH_DENY*.
3593 include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
3594 _IOAPPEND): Add defines.
3595 (_wfindfirst): Correct prototype.
3596 (_wfdopen): Add prototype.
3597 * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
3599 * include/string.h (_mbschr, _mbstok, _mbsncat): Remove
3601 (_wcsdup): Correct prototype.
3602 * include/mbstring.h: Remove comments about _mbschr, _mbstok,
3603 _mbsncat being in string.h.
3604 * include/wchar.h (_wfindfirst): Correct prototype.
3605 * include/tchar.h (_tfdopen): Add _UNICODE mappings.
3607 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3609 * include/_mingw.h: Increment to version 2.1.
3610 * Makefile.in: Ditto.
3612 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3614 * Makefile.in (conf_prefix): New variable.
3615 (dist_prefix): Ditto. Conditionally set to $(conf_prefix).
3616 (bindist): Use dist_prefix.
3618 2002-06-13 Danny Smith <dannysmith@users.sourceforge.net>
3620 * include/_mingw.h: Increment version to 2.0.
3621 * Makefile.in: Ditto.
3623 Merge in mingwex branch.
3625 2002-06-11 Danny Smith <dannysmith@users.sourceforge.net>
3626 * include/math.h (fdim, fdimf, fdiml): Add prototypes.
3627 * mingwex/fdim.c: New file.
3628 * mingwex/fdimf.c: New file.
3629 * mingwex/fdiml.c: New file.
3630 * mingwex/Makefile.in (DISTFILES): Add fdim.c, fdimf.c,
3632 (MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
3634 2002-05-23 Danny Smith <dannysmith@users.sourceforge.net>
3635 * mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c.
3637 2002-05-22 Danny Smith <dannysmith@users.sourceforge.net>
3638 * mingwex/isnanl.c: New file.
3640 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3641 * include/stdint.h: Include stddef.h to get
3643 (WINT_MAX): Define to ((wint_t)-1).
3645 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3646 * include/wctype.h: Replace 'inline' with '__inline__'.
3647 * include/inttypes.h: Likewise.
3649 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3650 * include/_mingw.h (__MINGW_IMPORT): Put extern at start
3651 to avoid warnings. Thanks to: Oscar Fuentes <ofv@wanadoo.es>.
3653 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3654 * mingwex/snprintf.c: Split out vsnprintf to....
3655 * mingwex/vsnprintf.c: New file.
3656 * mingwex/snwprintf.c: Split out vsnwprintf to...
3657 * mingwex/vsnwprintf.c: New file.
3658 * mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
3660 2002-05-15 Pascal Obry <obry@gnat.com>
3661 * include/dirent.h (DIR): Change dd_stat type to int.
3664 2002-05-07 Danny Smith <dannysmith@users.sourceforge.net>
3665 * include/stdio.h (vsnprintf): Change inline to __inline__;
3666 (vsnwprintf): Likewise.
3667 * include/wchar.h (vsnwprintf): Likewise.
3670 (mbsinit): Likewise.
3672 2002-04-29 Danny Smith <dannysmith@users.sourceforge.net>
3673 Change FP default precison from 53 to 64-bit mantissa.
3674 * Makefile.in (CRT0S): Add CRT_fp8.o.
3675 (MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o.
3676 * include/float.h: Replace standard float.h defines with
3677 #include_next<float.h> to use GCC's defines. Adjust comments
3680 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3681 * include/dos.h: Change prefix "__imp_" to "_imp__" for
3682 __GNUC__ without __DECLSPEC_SUPPORTED.
3683 * include/fnctl.h: Likewise.
3684 * include/math.h: Likewise.
3685 * include/stdio.h: Likewise.
3686 * include/stdlib.h: Likewise.
3687 * include/time.h: Likewise.
3688 * include/wctype.h: Likewise.
3689 * include/ctype.h: Likewise.
3691 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3692 Add atexit support for dlls.
3693 * crt1.c (atexit): Force thunk to _imp__atexit.
3694 (_onexit): Force thunk to _imp___onexit.
3695 * dllcrt1.c (DllMainCRTStartup): Initialise private atexit
3696 table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
3697 (__dll_exit): New function to run atexit-registered functions
3698 and flush output buffers on DLL_PROCESS_DETACH or failed
3700 (atexit): Force use of private atexit table via _dllonexit,
3701 (_onexit): New function. Force use of private atexit table via
3703 * msvcrt.def (atexit, _onexit): Add DATA keyword so that only
3704 _imp_<_symbol> is visible in import lib.
3705 * msvcrt20.def: Likewise.
3706 * msvcrt40.def: Likewise.
3707 * crtdll.def: Likewise.
3709 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3710 * include/fenv.h: Change header guard macro to _FENV_H_.
3711 (fenv_t, fexcept_t): Move into block protected by
3713 Cleanup some whitespace.
3714 * include/inttypes.h: Change header guard macro to
3717 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3718 * include/math.h (copysignl): Declare.
3719 * mingwex/Makefile.in (DISTFILES): Add copysignl.S.
3720 (MATHOBJS):Add copysignl.o.
3722 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3723 * include/math.h (__signbitl, __isnanl): Declare.
3725 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3726 * include/math.h (nanl, __fpcassifyl, fminl, fmaxl, rintl,
3727 roundl, truncl, fmal, log2l): Declare.
3728 Protect C99 declarations with _STDC_VERSION__ >= 199901L)
3729 || !defined __STRICT_ANSI__.
3730 * mingwex/fmax.c (fmax): Call __isnan, not _isnan.
3731 * mingwex/fmin.c (fmin): Likewise.
3732 * mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan.
3733 * mingwex/fminf.c (fminf): Likewise.
3734 * mingwex/fmaxl.c: New file.
3735 * mingwex/fminl.c: New file.
3736 * mingwex/fpclassify.c (__fpclassifyf): Split out to ...
3737 * mingwex/fpclassifyf.c: New file.
3738 * mingwex/fpclassifyl.c: New file.
3739 * mingwex/rint.c (rintf): Split out to...
3740 * mingwex/rintf.c: New file.
3741 * mingwex/rintl.c: New file.
3742 * mingwex/round.c (roundf): Split out to...
3743 * mingwex/roundf.c: New file.
3744 * mingwex/roundl.c: New file.
3745 * mingwex/trunc.c (truncf): Split out to...
3746 * mingwex/truncf.c: New file.
3747 * mingwex/truncl.c: New file.
3748 * mingwex/signbit.c (signbitf): Split out to...
3749 * mingwex/signbitf.c: New file.
3750 * mingwex/signbitl.c: New file.
3751 * mingwex/fmal.c: New file.
3752 * mingwex/copysignl.S: New file.
3753 * mingwex/log2l.c: New file.
3754 * mingwex/fp_consts.c: Add nanl definition.
3755 Comment out unused constants.
3756 * mingwex/Makefile.in (DISTFILES): Add fmaxl.c, fminl.c,
3757 fpclassifyf.c, fpclassifyl.c, rintf.c, rintl.c, roundf.c,
3758 roundl.c, truncf.c truncl.c, signbitf.c signbitl.c,
3760 (MATHOBJS): Add fmaxl.o, fminl.o, fpclassifyf.o,
3761 fpclassifyl.o, rintf.o, rintl.o, roundf.o, roundl.o,
3762 truncf.o truncl.o, signbitf.o signbitl.o, fmal.o,
3764 * mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo.
3766 2002-04-23 Danny Smith <dannysmith@users.sourceforge.net>
3767 Make wide char versions of opendir and friends.
3768 * include/dirent.h (_wdirent, _WDIR): Define wide versions of
3770 (_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
3771 _wseekdir): Add prototypes for wide versions of corresponding
3773 * include/tchar.h; Add _UNICODE mappings for dirent.h
3774 structures and functions.
3775 * mingwex/dirent.c: Make _UNICODE neutral.
3776 * mingwex/wdirent.c: New file to define _UNICODE before
3778 * mingwex/Makefile.in (DISTFILES): Add wdirent.c.
3779 (POSIX_OBJS): Add wdirent.o.
3780 (wdirent.o): Specify dependency on dirent.c as well as
3782 * samples/dirent/wtest.c: New file, wide version of test.c.
3784 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3785 * Makefile.in (INCLUDES): Add "-iwithprefixbefore include" to
3786 ensure gcc include dir is searched despite -nostdinc.
3787 * profile/Makefile.in (INCLUDES): Likewise.
3788 * mingwex/Makefile.in (INCLUDES): Likewise.
3789 * include/stdarg.h: Replace with stub that just guards the
3790 real gcc system header with #ifndef RC_INVOKED
3791 * include/varargs.h: Likewise.
3792 * include/stddef.h: Likewise.
3793 * include/stdio.h: Include stdarg.h after defining
3795 (__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
3796 Replace va_list with __VALIST throughout.
3798 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3799 * crt1.c: Revert changes of 2002-04-16. Use _fpreset again.
3800 * msvcrt.def (_fpreset): Mark as DATA so that only
3801 _imp___fpreset is exported.
3802 * msvcrt20.def (_fpreset): Likewise.
3803 * msvcrt40.def (_fpreset): Likewise.
3804 * crtdll.def (_fpreset): Likewise.
3805 * CRT_fp10.c (_fpreset): Overide library _fpreset with one
3807 (fpreset): Add alias.
3808 (__CRT_PC): Delete definition. _fpreset does it now.
3809 * CRT_fp8.c (_fpreset): Force use of library _imp___fpreset.
3810 (fpreset): Add alias.
3811 (__CRT_PC): Delete definition.
3812 * moldname.def.in: Comment out fpreset.
3813 * moldname-msvcrt.def: Regenerate.
3814 * moldname-crtdll.def: Regenerate.
3815 * include/fenv.h (FE_DFL_ENV): Define as (fenv_t*)0.
3816 * mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment
3817 with the _fpreset determined by startup CRT_fp object.
3819 2002-04-16 Danny Smith <dannysmith@users.sourceforge.net>
3820 * CRT_fp8.c: New file.
3821 * CRT_fp10.c: New file.
3822 * crt1.c (__CRT_PC) Declare.
3823 (__CRT_fesetenv): New static function, using _CRT_PC.
3824 (__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset.
3825 (_gnu_exception_handler): Likewise.
3826 * Makefile.in (CRT0S): Add CRT_fp10.o.
3827 (MINGW_OBJS): Add CRT_fp8.o.
3828 (SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c.
3829 Add CRT_fp8.o, CRT_fp10.o dependancies.
3830 * include/float.h (_fpreset): Expand comment.
3831 * include/fenv.h (FE_PC64_ENV): New define for Intel x87
3832 (extended precison) environmemt.
3833 (FE_PC53_ENV): New define for MSVCRT default environmemt.
3834 (FE_DFL_ENV): Define as FE_PC53_ENV.
3835 * mingwex/fesetenv.c: Use FE_PC53_ENV, FE_PC64_ENV to determine
3836 precision control for default environment.
3838 * include/math.h: Fix long comment line.
3839 * profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
3841 * profile/configure: Regenerate.
3843 2002-04-12 Danny Smith <dannysmith@users.sourceforge.net>
3844 * mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c.
3846 2002-04-10 Danny Smith <dannysmith@users.sourceforge.net>
3847 * mingwex/mingw-fseek.c: New file, based on Mumit Khan
3848 mingw-local patch to binutils.
3849 Sun Nov 7 04:27:07 1999 Mumit Khan <khan@xraylith.wisc.edu>
3850 (__mingw_fseek): New function to work around Win9x f/lseek bug.
3851 (__mingw_fwrite): Likewise.
3852 (__mingw_is_win9x): New helper function.
3853 * include/stdio.h (__USE_MINGW_FSEEK): New define,guarding...
3854 (__mingw_fseek): New prototype and define to replace fseek.
3855 (__mingw_fwrite): New prototype and define to replace fwrite.
3856 * mingwex/Makefile.in: Add mingw-fseek.o to libmingwex.a.
3857 * moldname-crtdll.def: Remove CR from end of line.
3858 * moldname-msvcrt.def: Ditto.
3860 2002-04-09 Danny Smith <dannysmith@users.sourceforge.net>
3861 * profile/configure.in (CRT0S): Configure name of gcrt?.o
3862 based on target, building gcrt0.o for cygwin -mno-cygwin.
3863 * profile/configure: Regenerate.
3864 * profile/Makefile.in (CRT0S): Use name from configure.
3865 (gcrt0.o): New rule.
3866 (ALL_CRT0S): New define, used to cleanup all gcrt?.o's.
3868 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3869 * include/math.h (_controlfp, _control87, _clearfp, _statusfp, _fpreset,
3870 _fpecode): Remove prototypes copied from float.h.
3871 (nan, nanf): Move into block protected against RC_INVOKED
3873 * include/stdlib.h (_Exit): Change from static inline to
3875 * mingwex/_Exit.c : New file.
3876 * mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
3878 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3879 Add libgmon.a and libmingwex.a for cygwin -mno-cygwin.
3880 * configure.in (SUBDIRS): Add profile and mingwex to cygwin target.
3881 (configdirs): Likewise.
3882 (LIBGMON_A): Define for cygwin target as well.
3883 * configure: Regenerate.
3884 * profile/configure.in (THREAD_DLL): Remove define.
3885 (LIBM_A): Remove define.
3886 (LIBGMON_A): Define for cygwin target as well.
3887 * profile/configure: Regenerate.
3888 * profile/makefile.in (install): Install to inst_libdir and
3890 * mingwex/makefile.in (CFLAGS): Move -fomit-frame-pointer to...
3891 (OPTFLAGS): New define.
3892 (ALL_CFLAGS): Add $(OPTFLAGS).
3893 (ALL_CXXFLAGS): Same.
3894 (.c.o:): Remove ALL_CXXFLAGS.
3896 2002-03-29 Danny Smith <dannysmith@users.sourceforge.net>
3897 * include/stdint.h: Add missing newline at eof.
3898 * include/stdio.h (snprintf): Add prototype.
3899 (vsnprintf): Add prototype and inline definition.
3900 (snwprintf): Add prototype.
3901 (vsnwprintf): Add prototype and inline definition.
3902 * include/wchar.h (snwprintf): Add prototype.
3903 (vsnwprintf): Add prototype and inline definition.
3904 * mingwex/Makefile.in: Add snprintf.o, snwprintf.o
3906 * mingwex/snprintf.c: New file.
3907 * mingwex/snwprintf.c: New file.
3909 2002-03-22 Danny Smith <dannysmith@users.sourceforge.net>
3910 * configure.in: Add mingwex as SUBDIRS and configdirs.
3911 * configure: Regenerate.
3912 * Makefile.in (MINGW_OBJS): Remove dirent.o.
3913 (SRC_DIST_FILES): Remove dirent.c.
3915 * include/stdlib.h (_Exit): Add static inline
3917 (struct lldiv_t): Define.
3918 (lldiv): Add prototype.
3919 (llabs): Add extern inline function.
3920 (strtoll,strtoull): Add prototypes.
3921 (wcstol, wcstoul, wcstod): Group together.
3922 (strtof, wcstof): Add extern inline definitions.
3923 (atoll,lltoa,ulltoa, wtoll, lltow ulltow): Add prototypes
3924 and extern inline definitions.
3925 * include/wchar.h (fwide, wcstoll,wcstoull, wmemchr
3926 wmemcmp, wmemcpy, wmemmove, wmemset. mbsinit): Add
3928 (wcstol, wcstoul,wcstod): Copy prototypes from stdlib.h.
3929 (wcstof): Add extern inline definition.
3930 * include/math.h (nan, nanf): Add prototypes.
3931 (NAN, INFINITE): Define constants.
3932 (fpclassify, isnan ,signbit): Add macros and supporting float
3933 and double functions.
3934 (isfinite, isinf, isnormal): Add macros.
3935 (isgreater, isless, isgreaterequal, islessequal,islessgreater):
3937 (rint, rintf, round, roundf, trunc. truncf, fmax, fmaxf,
3938 fmin, fminf, fma, fmaf, log2, log2f): Add prototypes.
3939 (copysign, logb, nextafter, scalb): Add prototypes and
3940 inline stubs for underscored versions in msvcrt.dll.
3941 * include/inttypes.h: New file.
3942 * include/fenv.h: New file
3944 Add new mingwex subdir and files.
3945 * mingwex: New directory.
3946 * mingwex/Makefile.in: New file.
3947 * mingwex/configure.in: New file.
3948 * mingwex/configure: Generate.
3949 * mingwex/dirent.c: Moved here from parent dir.
3950 * mingwex/atoll.c: New file.
3951 * mingwex/feclearexcept.c: New file.
3952 * mingwex/fegetenv.c: New file.
3953 * mingwex/fegetexceptflag.c: New file.
3954 * mingwex/fegetround.c: New file.
3955 * mingwex/feholdexcept.c: New file.
3956 * mingwex/feraiseexcept.c: New file.
3957 * mingwex/fesetenv.c: New file.
3958 * mingwex/fesetexceptflag.c: New file.
3959 * mingwex/fesetround.o: New file.
3960 * mingwex/fetestexcept.c: New file.
3961 * mingwex/feupdateenv.c: New file.
3962 * mingwex/fma.S: New file.
3963 * mingwex/fmaf.S: New file.
3964 * mingwex/fmax.c: New file.
3965 * mingwex/fmaxf.c: New file.
3966 * mingwex/fmin.c: New file.
3967 * mingwex/fminf.c: New file.
3968 * mingwex/fp_consts.c: New file.
3969 * mingwex/fpclassify.c: New file.
3970 * mingwex/fucom.c: New file.
3971 * mingwex/fwide.c: New file.
3972 * mingwex/imaxabs.c: New file.
3973 * mingwex/imaxdiv.c: New file.
3974 * mingwex/isnan.c: New file.
3975 * mingwex/isnanf.c: New file.
3976 * mingwex/lltoa.c: New file.
3977 * mingwex/lltow.c: New file.
3978 * mingwex/log2.c: New file.
3979 * mingwex/log2f.c: New file.
3980 * mingwex/math_stubs.c: New file.
3981 * mingwex/mbsinit.c: New file.
3982 * mingwex/rint.c: New file.
3983 * mingwex/round.c: New file.
3984 * mingwex/signbit.c: New file.
3985 * mingwex/sitest.c: New file.
3986 * mingwex/strtof.c: New file.
3987 * mingwex/strtoimax.c: New file.
3988 * mingwex/strtoumax.c: New file.
3989 * mingwex/testwmem.c: New file.
3990 * mingwex/trunc.c: New file.
3991 * mingwex/ulltoa.c: New file.
3992 * mingwex/ulltow.c: New file.
3993 * mingwex/wcstof.c: New file.
3994 * mingwex/wcstoimax.c: New file.
3995 * mingwex/wcstoumax.c: New file.
3996 * mingwex/wmemchr.c: New file.
3997 * mingwex/wmemcmp.c: New file.
3998 * mingwex/wmemcpy.c: New file.
3999 * mingwex/wmemmove.c: New file.
4000 * mingwex/wmemset.c: New file.
4001 * mingwex/wtoll.c: New file.
4003 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4005 * include/mbstring.h: New file.
4006 * include/mbctype.h: New file.
4008 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4010 * include/tchar.h (__TEXT): Make same as define in
4011 w32api/include/winnt.h.
4013 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4015 * include/tchar.h (_tputenv): Add UNICODE mappings.
4016 (_tsearchenv): Likewise.
4017 (_tmakepath): Likewise.
4018 (_tsplitpath): Likewise.
4019 (_tfullpath): Likewise.
4021 2002-04-18 Pascal Obry <obry@gnat.com>
4023 * dirent.c (opendir): Convert given pathname to
4026 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4028 * include/_mingw.h: Increment version.
4029 * Makefile.in: Ditto.
4031 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4033 * moldname-crtdll.def: Remove CR from end of line.
4034 * moldname-msvcrt.def: Ditto.
4035 * Makefile.in: Use bzip2 compression for Cygwin target.
4037 2002-04-04 Danny Smith <dannysmith@sourceforge.users.net>
4039 * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
4040 TLOSS, PLOSS): Move oldname defines back, following
4041 the underscored names.
4043 2002-03-29 Danny Smith <dannysmith@sourceforge.users.net>
4045 * include/stdio.h (_snwprintf): Correct spelling.
4046 (_vsnwprintf): Likewise.
4047 * include/wchar.h (_snwprintf): Correct spelling.
4048 (_vsnwprintf): Likewise.
4050 2002-03-26 Danny Smith <dannysmith@users.sourceforge.net>
4052 * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__).
4053 (wpopen): Add if !(__CRTDLL__).
4054 * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
4056 (moldname-crtdll.def rule): Likewise.
4057 * moldname-msvcrt.def: Regenerate.
4058 * moldname-crtdll.def: Regenerate.
4059 * include/stdio.h (wpopen):Use prototype, not a define.
4060 (_swnprintf): Add prototype.
4061 (_vswnprintf): Likewise.
4063 * include/wchar.h (_swnprintf): Add prototype.
4064 (_vswnprintf): Likewise.
4067 2002-01-28 Danny Smith <dannysmith@users.sourceforge.net>
4069 * include/malloc.h (_heapinfo): Correct structure definition.
4070 (_USEDENTRY,_FREEENTRY): Add defines.
4071 Add comment on platform support for _heap* functions.
4072 (_get_sbh_threshold): Add prototype.
4073 (_set_sbh_threshold): Likewise.
4074 (_expand): Likewise.
4076 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4078 * profile/profil.c: Update copyright info.
4079 * profile/profil.h: Likewise.
4080 * profile/gcrt0.c: Likewise.
4082 2002-01-25 Pascal Obry <obry@gnat.com>
4084 * profile/profil.h (PROFADDR): Cast idx to unsigned long long to
4086 * profile/gmon.c: Define bzero as memset if mingw32.
4087 (monstartup): Use it.
4089 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4091 * include/tchar.h (_TCHAR): Add missing ;.
4093 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4095 * include/tchar.h (_TCHAR): Add typedefs.
4097 2002-01-16 Danny Smith <dannysmith@users.sourceforge.net>
4099 * include/stdlib.h (_onexit_t): Add typedef.
4100 (_onexit): Add prototype.
4102 2002-01-12 Danny Smith <dannysmith@users.sourceforge.net>
4104 * msvcrt.def: Revert accidental change.
4105 * include/stdlib.h: Ditto.
4107 2001-12-07 Earnie Boyd <earnie@users.sf.net>
4109 * Makefile.in: Increment VERSION.
4110 * include/_mingw.h: Ditto.
4112 2001-12-05 Earnie Boyd <earnie@users.sf.net>
4114 * include/strings.h: New File.
4116 2001-12-02 Danny Smith <dannysmith@users.sourceforge.net>
4119 2001-06-21 Mumit Khan <khan@nanotech.wisc.edu>
4121 * include/math.h (_FPCLASS* ): Add defines from float.h.
4122 (IEEE recommended functions): Add declarations from float.h.
4123 * include/float.h (_FPCLASS* ): Protect against redefinition.
4125 2001-11-29 Wu Yongwei <adah@netstd.com>
4127 * include/_mingw.h,assert.h,conio.h,ctype.h,dir.h,direct.h
4128 dirent.h,dos.h,errno.h,excpt.h,fcntl.h,float.h,io.h,
4129 limits.h,locale.h,malloc.h,math.h,process.h,setjmp.h,
4130 share.h,signal.h,stdarg.h,stddef.h,stdint.h,stdio.h,
4131 stdlib.h,string.h,tchar.h,time.h,varargs.h,wchar.h,
4132 wctype.h,sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h:
4133 Correct spelling of "disclaimed" in comments.
4134 * include/excpt.h: Another spelling correction.
4136 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
4138 * include/errno.h: Fix "errno is not a prototype" warning.
4140 2001-11-07 Danny Smith <dannysmith@users.sourceforge.net>
4142 * include/ctype.h (tolower, toupper,_tolower,_toupper): Comment
4143 differences between ANSI and non-ANSI versions.
4144 (_ctype[],_pctype): Declare vars.
4145 (__ISCTYPE): New helper macro using _pctype.
4146 (is* ctype functions): Use __ISCTYPE to define inline versions.
4147 (_toupper, _tolower, __isascii, __toascii, __iscsym, __iscsymf):
4149 (isw* ctype functions): Inline definitions.
4150 * include/wctype.h (_ctype[],_pctype): Declare vars.
4151 (isw* ctype functions): Inline definitions.
4154 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4156 * include/float.h (_clearfp, _statusfp, _fpreset, fpreset,
4157 __fpecode): Use __STDC__ prototypes.
4160 2001-11-06 Thomas Pfaff <tpfaff@gmx.net>
4162 * mthr_stub.c (__mingwthr_remove_key_dtor) New.
4163 * mthr_init.c (DllMain) Run dtors if a process terminates.
4164 * mthr.c (__mingwthr_add_key_dtor) Removed.
4165 (___mingwthr_add_key_dtor) New.
4166 (___mingwthr_remove_key_dtor) New.
4167 (__mingwthr_run_key_dtors) Complete rewrite.
4168 (__mingwthr_remove_key_dtor) New.
4170 2001-11-05 Egor Duda <deo@logos-m.ru>
4172 * Makefile.in: Delete unused executable after creating base-files.
4174 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4176 * include/errno.h (_errno): Use __STDC__ prototype.
4177 Thanks to: Jim Barton.
4179 2001-11-04 "stefan" <stefan@lkcc.org>
4181 * include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names.
4183 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4185 * include/io.h (_commit): Add declaration.
4186 Thanks to: "stefan" <stefan@lkcc.org>
4188 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4190 * include/sys/stat.h: Make S_IS* macros safer.
4192 2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
4194 * include/stdlib.h (EXIT_FAILURE): Change value to 1.
4196 2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
4198 * include/stdlib.h (__p__environ, __p__wenviron): Use
4199 __STDC__ prototypes.
4201 2001-09-19 Earnie Boyd <earnie@SF.net>
4203 * Makefile.in: Remove the /usr from the install target.
4204 (VERSION): Increment.
4205 include/_mingw.h: Ditto.
4207 2001-09-17 Earnie Boyd <earnie@SF.net>
4209 * Makefile.in: Increment version.
4210 * include/_mingw.h: Ditto.
4212 2001-09-10 Earnie Boyd <earnie@SF.net>
4214 * dossh: Remove inadvertantly imported file.
4216 2001-09-10 Danny Smith <dannysmith@users.sourceforge.net>
4218 * dirent.c (opendir): Use GetFileAttributes rather than stat
4219 to determine if input arg is dir.
4221 2001-08-29 Danny Smith <dannysmith@users.sourceforge.net>
4223 * include/stdarg.h (va_list): Typedef as __builtin_va_list if
4225 * include/varargs.h (va_list): Ditto.
4226 * include/stdio.h (va_list): Ditto.
4228 2001-08-01 Danny Smith <dannysmith@users.sourceforge.net>
4230 * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
4231 * include/stdio.h (_IORW): Change constant to 0x0080.
4232 (TMP_MAX): Add new define.
4234 (_wP_tmpdir): Ditto.
4235 (L_tmpnam): Change constant to 16.
4237 2001-06-28 Danny Smith <dannysmith@users.sourceforge.net>
4239 * include/malloc.h: Fix non-ANSI comment after #endif.
4241 2001-06-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4243 * profile/configure.in: Make msvcrt.dll version default.
4244 * profile/makefile.in: Build both gcrt1.o and gcrt2.o.
4245 * provile/configure: Regenerate.
4247 2001-06-11 Mattia Barbon <mbarbon@dsi.unive.it>
4249 * include/stdio.h (swscanf): Make first arugument const.
4250 * include/wchar.h (swscanf): Ditto.
4251 * include/tchar.h (_tfopen): New _UNICODE define.
4253 (_tsetlocale): Ditto.
4255 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4257 * profile/Makefile.in (mkinstalldirs): Correct relative path.
4259 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4261 * include/_mingw.h: Change version to 1.0.
4264 2000-02-21 Earnie Boyd <earnie@users.sourceforge.net>
4266 * include/tchar.h: (__TEXT): Remove undef.
4270 Fri Feb 2 10:34:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
4272 * include/tchar.h: (__TEXT): Add private macro.
4273 (_TEXT): Modify definition to use __TEXT.
4275 This change allows the passing of a MACRO as an argument and have that
4276 MACRO resolved first.
4277 Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
4279 Wed Jan 31 17:12:51 2001 Earnie Boyd <earnie@users.sourceforge.net>
4281 * Makefile.in: Increment version to 0.5
4282 * include/_mingw.h: Increment minor version
4284 Tue Jan 30 13:01:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
4286 * include/assert.h: (assert): Remove ; from end of definition
4287 Thanks to: AJ Reins <tbisp@qwest.net>
4289 Tue Jan 30 07:31:22 2001 Earnie Boyd <earnie@users.sourceforge.net>
4291 * include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
4292 Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
4294 Mon Jan 29 14:03:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
4296 * time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
4298 Sun Jan 28 13:01:08 2001 Earnie Boyd <earnie@users.sourceforge.net>
4300 * include/wchar.h: The 2001.01.18 Change was incorrect. The functions
4301 are actually C functions. These functions are resolved via the
4302 -lmsvcp60 library and comments were placed in the header.
4304 2001-01-28 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4306 * include/stdlib.h (__p__pgmptr): add prototype.
4307 (__p__wpgmptr): likewise.
4308 (_pgmptr_dll): move declaration from dos.h.
4309 (_wpgmptr_dll): likewise.
4310 (_pgmptr): conditional define (MSVCT/CRTDLL).
4311 (_wpgmptr): likewise.
4312 * include/dos.h (_base*_dll variables): declare only for CRTDLL.
4313 (_os*_dll variables): likewise.
4314 (_pgmptr_dll): remove declaration and associated defines to stdlib.h.
4315 (_wpgmptr_dll): likewise.
4317 2001-01-22 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4319 * include/stdint.h: New file.
4321 Thu Jan 18 10:33:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
4323 * include/wchar.h: Protect prototypes only declared in the C++ STL
4324 from being declared unless __cplusplus is defined.
4326 Tue Jan 16 11:37:31 2001 Earnie Boyd <earnie@users.sourceforge.net>
4328 * include/stdlib.h: Apply Danny Smith patch 102730
4329 2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4330 (_wgetenv) Correction to return type.
4332 Tue Jan 16 09:41:41 2001 Earnie Boyd <earnie@users.sourceforge.net>
4334 * include/locale.h: Apply Danny Smith patch 101834
4335 2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4336 (LC_MIN) Add definition.
4338 (_wsetlocale) Add prototype.
4340 2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
4342 * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
4343 Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
4344 Create a libcoldname.a for the oldname library for CRTDLL.
4345 Restrict libmoldname.a for the oldname library for MSVCRT.
4346 * configure.in: eliminate setting RUNTIME and CRT_ID variables.
4347 Restructure the $target_os case logic.
4348 Always name the MinGW thread dll helper mingwm.
4349 Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
4350 * configure: regenerate.
4352 2000-11-22 Earnie Boyd <earnie_boyd@yahoo.com>
4354 * Makefile.in: Fix bindist target to distribute the correct files.
4355 Remove the use of SNAPSHOT variable and test SNAPDATE instead.
4356 Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
4358 2000-11-21 Earnie Boyd <earnie_boyd@yahoo.com>
4360 * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
4361 Add variables and targets to control binary and source distributions.
4362 Add variables and targets to control snapshot distribution.
4363 * profile/gmon.h: Add missing #endif for #ifndef.
4364 * profile/ChangeLog: Merge entries here and remove.
4365 * profile/Makefile.in: Add variables and targets to control
4369 * config.guess: ditto.
4370 * config.sub: ditto.
4371 * mkinstalldirs: ditto.
4372 * install-sh: ditto.
4373 * configure: regenerate.
4374 * profile/configure: ditto.
4376 2000-11-20 Earnie Boyd <earnie_boyd@yahoo.com>
4378 * Merge in changes from
4379 2000-10-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4380 * include/direct.h: add guard around MSVCRT-only prototytpes
4381 * include/io.h: add __int64 struct definitions and function prototypes;
4382 add guard for MSVCRT-only prototypes
4383 * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
4384 * include/stdio.h: add wchar function prototypes (__MSVCRT__);
4385 put wchar functions together to make sync with wchar.h easier
4386 * include/stdlib.h: add wide char functions (__MSVCRT__)
4387 * include/string.h: add string collation functions ( __MSVCRT__)
4388 * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
4389 * include/tchar.h: add macros and macro function definitions
4390 * include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
4391 enclose more functions in __MSVCRT__ guard;
4392 some oldname wide char function prototypes #if (0)'d
4393 * profile/gmon.h: add guard around BSD-ish typedefs
4395 Mon Nov 20 18:58:12 2000 Christopher Faylor <cgf@cygnus.com>
4397 * Makefile.in: Use a different variable name for subdirectory since the
4398 previous one was used by the top level make.
4400 Sun Nov 19 20:50:51 2000 Christopher Faylor <cgf@cygnus.com>
4402 * Makefile.in: Install mingw stuff in a subdirectory if building under
4405 Sat Jun 17 21:48:23 2000 Christopher Faylor <cgf@cygnus.com>
4407 * Makefile.in (subdirs): Eliminate for loop.
4409 Sat Jun 17 18:27:59 2000 Christopher Faylor <cgf@cygnus.com>
4411 * Makefile.in (subdirs): Previous change did not fix problem in
4414 Sat Jun 17 13:49:12 2000 Christopher Faylor <cgf@cygnus.com>
4416 * Makefile.in: Avoid installing dll if we're cross building and the
4417 cross-host system isn't a Windows system.
4418 * configure.in: Detect cross-hosting situation and set appropriate
4419 variables in Makefile.in.
4420 * configure: Regenerate.
4422 Wed Apr 19 13:10:54 2000 Christopher Faylor <cgf@cygnus.com>
4424 * configure.in: Change HEADER_SUBDIR to mingw32.
4425 * configure: Regenerate.
4427 Mon Apr 10 17:24:28 2000 Christopher Faylor <cgf@cygnus.com>
4429 * include/string.h: Use proper prototype for _strerror.
4431 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
4433 * Makefile.in (subdirs): Workaround for broken shells.
4435 2000-02-03 Mumit Khan <khan@xraylith.wisc.edu>
4437 * Snapshot 2000-02-03.
4439 * include/{assert.h, conio.h, ctype.h, direct.h, dirent.h, fcntl.h,
4440 float.h, io.h, locale.h, malloc.h, math.h, process.h, signal.h,
4441 stdio.h, stdlib.h, string.h, time.h, wctype.h, sys/stat.h,
4442 sys/timeb.h, sys/utime.h}: Remove parameter names to avoid namespace
4445 * Makefile.in (all): Build CRT0S first.
4446 (libmingwthrd.a): Remove thread support DLL from dependency.
4448 2000-01-21 Mumit Khan <khan@xraylith.wisc.edu>
4450 * Snapshot 2000-01-21.
4452 2000-01-20 Mumit Khan <khan@xraylith.wisc.edu>
4454 Merge in changes from Cygwin:
4455 * configure.in (HEADER_SUBDIRS): New variable. Substitute.
4456 (SUBDIRS): Likewise.
4457 * Makefile.in (HEADER_SUBDIRS): New variable.
4458 (install): Use to install Mingw headers to a subdirectory if building
4460 (DLL_CC_STUFF): Add DLL entry point.
4461 * configure: Regenerate.
4463 2000-01-19 Mumit Khan <khan@xraylith.wisc.edu>
4465 * include/stdio.h (fsetpos): Fix prototype.
4466 (fpos_t): Fix for MSVCRT.
4467 * include/float.h (fpreset): Add prototype.
4468 * include/limits.h: Define UINT_MAX, USHRT_MAX and ULONG_MAX with
4470 * include/time.h: Don't define tzname as a macro for CRTDLL, and
4471 export using libmoldname.a.
4472 * crtdll.def: Add DATA tags.
4473 * msvcrt.def: Likewise.
4474 * moldname.def.in: Likewise. Add fpreset. Export tzname for
4475 both MSVCRT and CRTDLL.
4476 * moldname-crtdll.def: Regenerate.
4477 * moldname-msvcrt.def: Regenerate.
4479 Tue Dec 21 02:22:14 1999 Mumit Khan <khan@xraylith.wisc.edu>
4481 * Snapshot 1999-12-21.
4483 * include/wctype.h: New file.
4484 * include/ctype.h (MB_CUR_MAX): Define.
4486 * include/stdlib.h (MB_CUR_MAX): Define.
4487 * include/wchar.h: Define stat, _stat structures here as well.
4488 * include/float.h: Add invalid subconditions (_SW) and floating
4489 point error (_FPE) macros.
4490 * include/time.h (_CLOCK_T): Rename macro to _CLOCK_T_DEFINED.
4491 (_TIME_T): Rename macro to _TIME_T_DEFINED.
4492 * include/sys/types.h: Likewise.
4494 Thu Nov 18 00:22:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4496 * profile/profil.c (profile_on): Set the profiler thread priority to
4497 be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
4498 * Snapshot 1999-11-18.
4500 Sun Nov 7 02:50:09 1999 Mumit Khan <khan@xraylith.wisc.edu>
4502 Released 1999-11-07.
4504 * Makefile.in (CRT0S): Add crtst.o.
4505 (install): Install in subdirs as well.
4506 * dirent.h (struct _stat): Rename from struct stat.
4507 * include/tchar.h: Add some new macros. Thanks to
4508 Eric Kohl <ekohl@abo.rhein-zeitung.de>.
4509 * profile/Makefile.in (install): Fix target.
4511 Thu Nov 4 14:32:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
4513 * Makefile.in: Add support for profile directory.
4514 * configure.in: Likewise.
4515 * configure: Regenerate.
4517 * profile: Imported profiling sources from winsup-19991026 snapshot.
4518 * profile/Makefile.in: New file.
4519 * profile/configure.in: New file.
4520 * profile/configure: Generate.
4521 * profile/gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
4522 * profile/gmon.h (u_char, u_short, u_int, u_long): Likewise.
4523 * profile/gmon.c (unistd.h): Include conditionally.
4524 (sys/param.h): Likewise.
4525 * profile/mcount.c (sys/param.h): Likewise.
4526 * profile/profil.c (profile_on): thread id is DWORD, not int.
4529 Wed Nov 3 16:26:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
4531 * include/stdlib.h: Add wide character version of argv/environ.
4533 * include/wchar.h: More wide character prototypes.
4534 * include/sys/stat.h: Likewise. Add struct stat as well as _stat.
4536 * dllcrt1.c (init.c): Don't include.
4537 (DllMainCRTStartup): Don't call _mingw32_init_mainargs().
4538 * Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists.
4540 Sat Oct 30 03:06:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4542 * moldname.def: Remove file.
4543 * moldname.def.in: And add this.
4544 * moldname-msvcrt.def: Generate from moldname.def.in.
4545 * moldname-crtdll.def: Likewise.
4547 * mthr.c: New file for -mthread (thread-safe C++ EH) support.
4548 * mthr_init.c: New file for -mthread (thread-safe C++ EH) support.
4549 * mthr_stub.c: New file for -mthread (thread-safe C++ EH) support.
4551 * Makefile.in: Update.
4552 * configure.in: Likewise. Also add *cygwin* target for building
4553 under Cygwin winsup.
4554 * configure: Regenerate.
4556 Fri Oct 1 11:10:30 1999 Mumit Khan <khan@xraylith.wisc.edu>
4558 * include/_mingw.h: Add version macros.
4559 * include/direct.h (_diskfree_t, getdiskfree, getdrives): Add.
4560 Also add wide character versions shared with wchar.h.
4561 * include/dos.h (_diskfree_t, getdiskfree, getdrives): Add.
4562 * include/io.h (sopen, _sopen): Fix prototype.
4563 Add wide character prototypes.
4564 * include/wchar.h: Likewise.
4565 * include/stdlib.h (beep, seterrormode, sleep): Remove non-
4566 underscored versions. Potential incompatibility.
4567 * include/time.h (daylight, timezone, tzname): Fix MSVCRT cases.
4568 Add wide character prototypes.
4569 * include/sys/timeb.h (struct _timeb): Don't use macro, but real
4572 Wed Aug 18 18:38:39 1999 Mumit Khan <khan@xraylith.wisc.edu>
4574 * configure.in (RUNTIME, CRT_ID): Add to differentiate between
4575 crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
4577 * configure: Rengerate.
4578 * Makefile.in (RUNTIME, CRT_ID): Use to generate the correct
4579 dll name and crt's. CRTDLL and MSVCRT are meant to created
4580 separately, so remove all the *-msvcrt* targets.
4581 (libmingwthr.a): New target. Dummy thread support archive.
4582 (LIBS): Add libmingwthr.a.
4583 (CRT0S): Use CRT_ID. Add crtmt.o.
4584 (MINGW_OBJS): Add crtst.o.
4585 * main.c (WinMain): Fix prototype.
4586 * crtmt.c: New file.
4587 * crtst.c: New file.
4589 * include/process.h (_beginthreadex): Fix prototype.
4590 * include/_mingw.h (__int64): Define for __GNUC__.
4591 * include/tchar.h (_ttol): Add macro.
4592 * include/stdlib.h (_wtoi, _wtol, _i64toa, _ui64toa, _atoi64,
4593 _i64tow, _ui64tow, _wtoi64): Add prototypes.
4595 Reported by Emanuele Aliberti <ea@iol.it>:
4596 * include/tchar.h (_ttoi): Add macro.
4598 Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
4599 * include/stdio.h (_snprintf): Add prototype.
4600 (_vsnprintf): Likewise.
4602 Sat Aug 7 18:00:00 1999 Mumit Khan <khan@xraylith.wisc.edu>
4604 Reported by Tor Lillqvist <tml@iki.fi>:
4605 * include/stdlib.h (__p___argv): Fix return type.
4607 Fri Jul 30 22:07:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
4610 * include/errno.h (errno): It's linked in from startup, not imported.
4611 * include/stdlib.h (errno): Likewise.
4612 * include/io.h: Guard against conflicting macros and prototypes in
4614 * include/stdlib.h: Likewise.
4615 * include/string.h: Likewise.
4616 * include/time.h: Likewise.
4618 Fri Jul 30 13:47:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
4620 * include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans.
4621 * include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT.
4622 * Makefile.in (INCLUDES): Remove old windows32 include directory.
4624 * crt1.c (_gnu_exception_handler): Fix prototype.
4625 (__mingw_CRTStartup): New function based on mainCRTStartup.
4626 (mainCRTStartup): Set the app type for MSVCRT and call
4628 (WinMainCRTStartup): Likewise.
4629 * init.c (_startupinfo): Define.
4630 (_getmainargs): Add 5th parameter.
4631 (_mingw32_init_mainargs): Use.
4633 * ALL *.c files: Reformat according to GNU coding style.
4635 Fri Jul 16 00:46:04 1999 Mumit Khan <khan@xraylith.wisc.edu>
4637 * Makefile.in (INCLUDES): Add w32api include directory.
4639 * include/_mingw.h: New file.
4640 * include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h,
4641 errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h,
4642 math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h,
4643 stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h,
4644 sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and
4645 use the macros __DECLSPEC_SUPPORTED and __MINGW_IMPORT.
4647 * include/stdlib.h (atexit): Fix prototype.
4649 Mon Jun 14 18:38:49 1999 Mumit Khan <khan@xraylith.wisc.edu>
4651 * include/stdio.h (_tempnam): Fix prototype.
4652 (tempnam): Likewise.
4653 * include/stdlib.h: Replace with GCC's version, and guard
4656 From Anders Norlander <anorland@hem2.passagen.se>:
4657 * include/stdlib.h (__argc): Declare.
4660 Mon Apr 5 13:49:17 1999 Mumit Khan <khan@xraylith.wisc.edu>
4662 * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
4664 * Makefile.in (_libm_dummy.o): New target.
4667 Tue Mar 16 18:15:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4669 * Released 1999-03-16 along with egcs-1.1.2.
4671 Wed Feb 17 17:15:56 1999 Mumit Khan <khan@xraylith.wisc.edu>
4673 * Makefile.in (LIBS): Add libm.a.
4674 (libm.a): Dummy libm.a.
4676 * Makefile.in: Update from winsup 1999-02-08 snapshot.
4677 Preserve local changes.
4678 (mkinstalldirs): In ../, not ../../.
4679 (INCLUDES): Point to local windows32api headers and use -nostdinc.
4681 (LIBS): Add libmoldname-msvc.a.
4682 (libmoldname-msvc.a): Add target.
4683 (distclean): Add target.
4685 Tue Feb 9 00:26:05 1999 Mumit Khan <khan@xraylith.wisc.edu>
4687 * include/dir.h: Reintroduce as an obsolescent header.
4688 * crt1.c (signal.h): Include.
4689 (_gnu_exception_handler): New function to properly handle win32
4690 asynchronous signals.
4691 (mainCRTStartup): Use.
4693 Sun Jan 3 23:52:25 1999 Mumit Khan <khan@xraylith.wisc.edu>
4695 * include/direct.h: Include io.h instead of dir.h
4696 * include/dirent.h: Likewise.
4697 * include/dos.h: Likewise.
4698 * include/stdio.h: Replace reference to dir.h with io.h.
4700 Thu Dec 31 16:04:55 1998 Mumit Khan <khan@xraylith.wisc.edu>
4702 * 1999-01-01 release bundled with egcs-1.1.1.
4704 * include/io.h: Incorporate dir.h.
4705 * include/dir.h: Remove.
4706 * include/signal.h: Move RC_INVOKED up a bit.
4708 Tue Dec 29 15:04:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
4710 * include/signal.h (sig_atomic_t): Define.
4712 * include/malloc.h: Import defs from deprecated alloc.h.
4713 * include/alloc.h: Remove.
4715 From "Daniel J. Rodriksson" <djr@dit.upm.es>:
4716 * include/sys/types.h (_dev_t): Should be unsigned int for MSVCRT.
4717 * include/sys/stat.h (struct stat): st_uid is of type short. Use
4718 _off_t instead of long for st_size.
4720 Thu Sep 10 22:28:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4722 * include/errno.h (sys_errlist, sys_nerr): Move from here ...
4723 * include/stdlib.h: Here.
4725 * include/netdb.h: Remove.
4726 * include/arpa/inet.h: Remove.
4727 * include/netinet/in.h: Remove.
4728 * include/sys/socket.h: Remove.
4730 Fri Sep 4 15:09:11 1998 Mumit Khan <khan@xraylith.wisc.edu>
4734 * include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h,
4735 sys/utime.h}: Protect stddef.h in RC_INVOKED macro.
4737 Thu Sep 3 10:43:29 1998 Mumit Khan <khan@xraylith.wisc.edu>
4739 * setjmp.h (_JBTYPE, _JBLEN): Define correctly.
4740 (jmpbuf): typedef using above.
4741 (setjmp, longjmp): Prototype using jmpbuf.
4743 Merge with Colin Peters' 980701 snapshot. I've ignored changes to
4744 obsolescent imported names, ie., from __imp__ to _imp___.
4746 Also ignored empty include/sys/param.h and incorrect
4747 include/sys/times.h.
4749 * CRTinit.c: New file.
4750 * include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef
4752 * include/io.h (umask): Fix prototype.
4753 * include/stdlib.h (OS constants): Replace with Colin's.
4754 * include/time.h (tzset, daylight, timezone): Replace with Colin's.
4755 * include/sys/state.h: Merge.
4757 Thu Sep 3 09:49:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
4759 * include/assert.h (assert): Lose the trailing semicolon.
4761 Thu Jul 30 21:18:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4763 * include/math.h (matherr): Declare.
4764 * include/stdio.h (fileno, _fileno): Declare.
4765 * include/stdlib.h (environ, _environ): Fix to use runtime DLL.
4768 * include/stdio.h (fdopen, _fdopen): Add const.
4769 (getw, putw): Declare.
4770 * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix.
4772 Sat Jun 13 18:19:41 1998 Mumit Khan <khan@xraylith.wisc.edu>
4774 * include/time.h (_timezone): Undefine.
4775 * include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
4777 * include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
4779 * include/stdlib.h (environ): Use DLL version.
4780 * init.c (environ): Undefine it before use.
4782 Sun Mar 22 19:59:30 1998 Mumit Khan <khan@xraylith.wisc.edu>
4784 * Update to 980309 snapshot from Colin Peters.
4786 * include/utime.h: remove
4787 * include/stdlib.h (__imp__osver_dll, __imp__winver_dll,
4788 __imp__winmajor_dll, __imp__winminor_dll): Apply Jan-Jaap's
4789 patches to define these.
4790 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4791 (_daylight, _timezone, _tzname, _tzset): Define.
4793 * include/netdb.h: Add from Colin's windows32api changes.
4794 * include/sys/socket.h: Likewise.
4795 * include/arpa/inet.h: Likewise.
4796 * include/netinet/in.h: Likewise.
4798 Wed Feb 4 14:16:44 1998 Mumit Khan <khan@xraylith.wisc.edu>
4800 * Update to 980128 snapshot from Colin Peters.
4802 Sat Dec 6 21:30:35 1997 Mumit Khan <khan@xraylith.wisc.edu>
4804 * configure.in (AC_INIT): Use dllmain.c instead of defunct
4806 * configure: Regenerate.
4808 Fri Dec 5 15:57:36 1997 Mumit Khan <khan@xraylith.wisc.edu>
4810 * Update to 971205 snapshot from Colin Peters. Lots of changes.
4811 Files renamed and include hierarchy loses directories named
4814 * include/dos.h: from Jan-Jaap.
4816 Thu Dec 4 21:48:13 1997 Mumit Khan <khan@xraylith.wisc.edu>
4818 Changes to conform to FSF tree.
4820 * crt1.c: Renamed from mcrt0.c.
4821 * dllcrt1.c: Renamed from dllcrt0.c.
4822 * Makefile.in: Update above. Also renamed libmoldnames.a to
4825 Mon Dec 1 16:51:30 1997 Mumit Khan <khan@xraylith.wisc.edu>
4827 * crtdll.def: Export all functions but the ones with funny names.
4828 * moldnames.def: Add fdopen since fileno is already there.
4829 * include/nonansi/dos.h: New file from Jan-Jaap.
4830 * include/errno.h: Add extern decl + various additions from JJ.
4831 * include/stdio.h: Likewise.
4832 * include/stdlib.h: Likewise.
4833 * include/nonansi/io.h: Likewise.
4834 * include/nonansi/process.h: Likewise.
4835 * include/sys/types.h: Likewise.
4837 Tue Nov 4 14:51:01 1997 Mumit Khan <khan@xraylith.wisc.edu>
4839 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4841 * include/stdlib.h (free): Fix prototype to return void, not void*.
4842 * include/nonansi/process.h: Add P_* and WAIT_* defs.
4844 * dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
4845 * mcrt0.c: Likewise.
4847 * Makefile.in (LIBS): Delete moldnames.dll from target libs.
4848 (libmoldnames.a): Add explicit rule to create it.
4850 Fri Aug 15 18:23:43 1997 Rob Savoye <rob@cygnus.com>
4852 New directory for the minimalist cygwin environment.
4854 * crtglob.c: New file. Turn on file globbing support.
4855 * crt_noglob.c: New file. Turn off file globbing support.
4856 * ctype_old.c: New file. Wrappers for functions that don't
4858 * dirent.c: New file. Directory routines readdir, opendir, closedir.
4859 * dllcrt0.c: New file. Initialization code to use crtdll.dll.
4860 * dllmain.c: New file. A stub DllMain function.
4861 * hugeval.c: New file. A gross hack to define HUGE_VAL.
4862 * init.c: New file. Common code to initialize standard file
4863 handles and command line arguments.
4864 * main.c: New file. A main for programs that only call WinMain.
4865 * mcrt0.c: New file. Default crt0 for mingw32.
4866 * oldnames.c: New File. Wrappers for functions that don't
4868 * string_old.c: New File.
4869 * include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h
4870 math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h
4871 string.h,tchar.h,time.h,wchar.h}: New header files for mingw.
4872 * include/sys/types.h: New header file for mingw.
4873 * include/nonansi/{alloc.h,conio.h,dir.h,direct.h,dirent.h
4874 fcntl.h,io.h,malloc.h,mem.h,memory.h,process.h,share.h,unistd.h
4875 utime.h,values.h,varargs.h}: New header files for mingw.
4876 * include/nonansi/sys/{fcntl.h,locking.h,stat.h,time.h
4877 timeb.h,unistd.h}: New header files for mingw.
4878 * Makefile.in,configure.in: Build and configure support.
4879 * configure: Generated from autoconf 2.12 with Cygnus patches.