1 2014-11-30 Keith Marshall <keithmarshall@users.sourceforge.net>
3 More JMPSTUB rationalization of inline functions.
5 * include/stdlib.h (_Exit, atoll, lltoa, ulltoa, wtoll, lltow)
6 (ulltow): Add __JMPSTUB__ declarations; each is REMAPPED to its
7 appropriate MSVCRT.DLL equivalent entry point.
9 * mingwex/_Exit.c: File is now redundant; delete it.
10 * mingwex/atoll.c mingwex/lltoa.c mingwex/ulltoa: Likewise.
11 * mingwex/wtoll.c mingwex/lltow.c mingwex/ulltow: Likewise.
13 * Makefile.in (jmpstub_awk_script): Add support for...
14 [__JMPSTUB__((REMAPPED))]: ...this stub function attribute.
15 (libmingwex.a): Remove dependencies on deleted files, namely...
16 (_Exit.$OBJEXT, atoll.$OBJEXT, lltoa.$OBJEXT, ulltoa.$OBJEXT)
17 (wtoll.$OBJEXT, lltow.$OBJEXT, ulltow.$OBJEXT): ...these.
19 2014-11-29 Keith Marshall <keithmarshall@users.sourceforge.net>
21 Correct omission of complex conjugate functions from libmingwex.a
23 * include/complex.h (conj, conjf, conjl): Add LIBIMPL declarations.
24 (creal, crealf, creall): Likewise, for consistency of implementation.
25 (cimag, cimagf, cimagl, carg, cargf, cargl): Likewise.
27 * Makefile.in (libimpl_sed_script): Add processing for __CRT_INLINE
28 declarations; they should be interpreted analogously to __CRT_ALIAS.
29 (libmingwex.a): Remove object file references for functions which are
30 now declared as LIBIMPL, and sort the remainder in ASCII collating
31 order; deleted function references comprise the set consisting of...
32 (carg.$OBJEXT, cargf.$OBJEXT, cargl.$OBJEXT): ...these...
33 (creal.$OBJEXT, crealf.$OBJEXT, creall.$OBJEXT): ...these, and...
34 (cimag.$OBJEXT, cimagf.$OBJEXT, cimagl.$OBJEXT): ...these.
36 * mingwex/complex/carg.c: Replaced by LIBIMPL; delete it.
37 * mingwex/complex/cargf.c mingwex/complex/cargl.c: Likewise.
38 * mingwex/complex/creal.c mingwex/complex/cimag.c: Likewise.
39 * mingwex/complex/crealf.c mingwex/complex/cimagf.c: Likewise.
40 * mingwex/complex/creall.c mingwex/complex/cimagl.c: Likewise.
42 2014-11-24 Keith Marshall <keithmarshall@users.sourceforge.net>
44 Back-port improved asinh() implementation from 4.0-dev branch.
46 * mingwex/math/asinh_generic.c: New file; it replaces...
47 * mingwex/math/asinh.c mingwex/math/asinhf.c mingwex/math/asinhl.c:
48 ...all of these; delete them.
50 2014-11-18 Keith Marshall <keithmarshall@users.sourceforge.net>
52 Enable remake of lost LIBIMPL object files.
54 * Makefile.in (libimpl_remake): New macro; define it, and...
55 (%.libimpl.$OBJEXT) [%.libimpl exists]: ...use it in build rule.
57 2014-11-17 Keith Marshall <keithmarshall@users.sourceforge.net>
59 Implement more robust _get_output_format fallback handling.
61 * mingwex/ofmt.c: New file; it implements...
62 (__mingw_output_format_flag): ...backing store, used by...
63 (__mingw_get_output_format, __mingw_set_output_format): ...these
64 MSVCRT.DLL version agnostic wrappers/emulators for each of these...
65 (_get_output_format, _set_output_format): ...MSVCR80.DLL and later
66 version specific Microsoft APIs, which are also supported by some
67 later versions of MSVCRT.DLL, (excluding WinXP and earlier).
68 (__mingw_get_output_format_fallback): Implement; it is aliased to...
69 (__mingw_set_output_format_fallback): ...this; together they provide
70 the emulation support for the preceding pair of functions, when they
71 are not available within the run-time platform MSVCRT.DLL
72 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
73 Implement them; they wrap, and if necessary emulate...
74 (_get_printf_count_output, _set_printf_count_output): ...these.
75 (__mingw_get_printf_count_output_fallback): Implement; aliased to...
76 (__mingw_set_printf_count_output_fallback): ...this; together they are
77 required to support emulation of the preceding pair of functions, when
78 they are not available within the run-time platform MSVCRT.DLL
80 * include/stdio.h (_TWO_DIGIT_EXPONENT): Define it unconditionally.
81 (_THREE_DIGIT_EXPONENT): New manifest constant; define it orthogonally.
82 (__mingw_get_output_format, __mingw_set_output_format)
83 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
84 Unconditionally declare their prototypes, for subsequent inline use.
85 [_MSVCRT_VERSION__ < 0x800] (_get_output_format): Emulate it inline.
86 [_MSVCRT_VERSION__ < 0x800] (_set_output_format): Likewise.
87 [_MSVCRT_VERSION__ < 0x800] (_get_printf_count_output): Likewise.
88 [_MSVCRT_VERSION__ < 0x800] (_set_printf_count_output): Likewise.
89 (__USE_MINGW_PRINTF): New manifest constant; define it. It is a
90 counterpart to __USE_MINGW_ANSI_STDIO, which is guaranteed to always
91 represent a compilable token.
93 * mingwex/stdio/pformat.c (__pformat_exponent_digits): Do not require
94 _get_output_format; consult __mingw_output_format_flag directly.
96 * ofmt_stub.s: No longer required; delete it.
98 * Makefile.in (ofmt_stub.$OBJEXT): Delete reference.
99 (PFORMAT_CFLAGS) [__MSVCRT_VERSION__ = 0x800]: Remove requirement.
100 (varofmt.$OBJEXT, crtofmt.$OBJEXT, getofmt.$OBJEXT, setofmt.$OBJEXT)
101 (crtnfmt.$OBJEXT, getnfmt.$OBJEXT, setnfmt.$OBJEXT): Add build rule;
102 all are compiled from ofmt.c
104 2014-11-16 Keith Marshall <keithmarshall@users.sourceforge.net>
106 Do some more essential build tree clean up.
108 * Makefile.in (mostly-clean-local): Add *.libimpl; matching files get
109 in the way of a successful rebuild from clean.
111 2014-11-11 Keith Marshall <keithmarshall@users.sourceforge.net>
113 Implement wrappers for emulation of POSIX dlfcn API.
115 * include/dlfcn.h: New file; it declares the API.
116 * mingwex/dlfcn.c: New file; implement it, with access via...
117 (__mingw_dlfcn): ...this publicly addressable vector table.
119 * Makefile.in (dlfcn.$OBJEXT): Add build requisite.
120 (dlopen, dlsym, dlclose, dlerror): Build call stubs, using...
121 (__LIBIMPL__): ...this automatic interface generator; implement it.
122 (libstub_refnames): New macro; it is adapted from and replaces...
123 (jmpstub_refs): ...this; when it is then invoked twice to build...
124 (Makefile.stub): ...this, it handles both JMPSTUB and LIBIMPL.
125 (jmpstub_awk_script): Adapt it to work with 'libstub_refnames'.
126 (libimpl_awk_script): New inline script; it handles automated builds
127 of LIBIMPL interfaces, as 'jmpstub_awk_script' does for JMPSTUB.
128 (libimpl_sed_script): New inline script; it prepares intermediate C
129 source code for LIBIMPL interfaces, as required to satisfy these...
130 (%.libimpl, %.libimpl.$OBJEXT): ...new implicit build objectives.
131 (LIBIMPL_CFLAGS): New macro; define it.
133 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
135 Move libgen functions to __mingw_ pseudo-namespace.
137 * mingwex/dirname.c (dirname): Rename function, as implemented...
138 (__mingwex_dirname): ...to this.
140 * mingwex/basename.c (basename): Rename function, as implemented...
141 (__mingwex_basename): ...to this.
143 * include/libgen.h (__mingw_dirname, __mingw_basename): Declare
144 prototypes, matching and augmenting original declarations for...
145 (dirname, basename): ...these; reimplement as inline aliases, with
146 __JMPSTUB__ references to the renamed implementation entry points.
148 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
150 Implement new command line argument globbing strategy.
152 * include/_mingw.h: Backport feature defines from master...
153 (__CRT_GLOB_USE_MINGW__, __CRT_GLOB_USE_MSVCRT__): New manifest
154 constants; define them. They select the preferred globbing algorithm.
155 [_CRT_glob & __CRT_GLOB_USE_MINGW__] (__CRT_GLOB_USE_SINGLE_QUOTE__)
156 (__CRT_GLOB_BRACKET_GROUPS__, __CRT_GLOB_CASE_SENSITIVE__): New option
157 bit-map constants; define them. When added to __CRT_GLOB_USE_MINGW__,
158 they enable optional additional features supported by this algorithm.
159 (__CRT_GLOB_ESCAPE_CHAR__): New manifest constant; define it.
161 * CRTglob.c (_CRT_glob): Change default to __CRT_GLOB_USE_MINGW__.
163 * Makefile.in (libmingw32.a): Add setargv.$OBJEXT, furnished by...
164 * setargv.c: ...new file; it implements the initialization mechanism
165 for the __CRT_GLOB_USE_MINGW__ globbing algorithm, when invoked by...
166 (_setargv) [_CRT_glob & __CRT_GLOB_USE_MINGW__]: ...this new function;
167 it invokes the algorithm via an API similar to that described by MSDN,
168 while continuing to support our original _CRT_glob interpretation.
169 (_setargv) [! _CRT_glob & __CRT_GLOB_USE_MINGW__]: Invoke Microsoft
170 algorithm, via the MSDN-alike API, by calling back to...
172 * crt1.c (_mingw32_init_mainargs): ...this original function, now
173 relocated to here, as a publicly addressable function; formerly...
174 (__mingw_CRTStartup): ...called directly from here, we now redirect
175 the call through _setargv(), whence it may be called indirectly.
177 * init.c: Redundant file; delete it. It originally provided...
178 (_mingw32_init_mainargs): ...this, now relocated as noted above, with
179 original static attribute removed, to allow global addressing.
181 2014-11-07 Keith Marshall <keithmarshall@users.sourceforge.net>
183 Backport glob implementation from master to legacy.
185 * include/glob.h: New file; copy it from master branch.
186 (__mingw_glob, __mingw_globfree): Add __JMPSTUB__ aliases for...
187 (glob, globfree): ...each of these, respectively.
189 * mingwex/glob.c: New file; copy it from master:src/libcrt/misc.
190 (CRT_GLOB_HARD_ESCAPE) [ifndef __CRT_GLOB_ESCAPE_CHAR__]: Provide a
191 fallback definition; default value is ASCII DEL, a.k.a. RUBOUT, code.
192 (accept_glob_nocheck_match): New static function; it adds support for
193 avoidance of globbing on patterns with no globbing token, so avoiding
194 the case transliteration effect reported as MinGW-Bug #2106.
195 (glob_match): Use it.
197 * Makefile.in: Build glob.$OBJEXT; add it to libmingwex.a
199 2014-11-05 Keith Marshall <keithmarshall@users.sourceforge.net>
201 Implement conventionally named dirent function trampolines.
203 * mingwex/jmpstub.sx: New file; it implements a generic trampoline,
204 which redirects a conventionally named function call to its __mingw_
205 pseudo-namespace implementation.
207 * aclocal.m4 (MINGW_AC_PROG_COMPILE_SX): New macro; define it.
208 * configure.ac (MINGW_AC_PROG_COMPILE_SX): Use it; it identifies the
209 appropriate protocol for compiling *.sx files, (supported natively by
210 GCC >= v4.3, but older versions require `-x assembler-with-cpp').
212 * Makefile.in (COMPILE.sx): New implicit rule; GNU make does not
213 yet provide it, so we define it ourselves; deploy it for *.sx files.
214 (Makefile.stub): New sinclude file; create it dynamically, using...
215 (jmpstub_awk_script): ...this new inline script, which is based on...
216 (jmpstub_refs, jmpstub_prerequisites): ...these new macros, and...
217 (mingwex/jmpstub.sx): ...this new file; add vpath reference.
218 (mostlyclean-local): Remove Makefile.stub; do likewise...
219 (Makefile): ...when remaking this, to ensure that both will be
222 2014-11-03 Keith Marshall <keithmarshall@users.sourceforge.net>
224 Make dirent implementation namespace and time_t clean.
226 * include/_mingw.h (_EXTERN_C, _BEGIN_C_DECLS, _END_C_DECLS): New
227 macros; define them. They facilitate identification of symbols which
228 must be compiled with `extern "C"' binding, when compiling C++ code.
229 (__CRT_ALIAS): New macro; define it. It is intended to replace...
230 (_CRTALIAS): ...this, which is to be considered as deprecated.
231 (__JMPSTUB__, __LIBIMPL__): New macros; define them. They provide
232 __CRT_ALIAS build hints, while remaining transparent to GCC.
233 (UNICODE, _UNICODE) [user defined]: Define consistently.
235 * mingwex/dirent.c: Reimplement; (this is a back-port from the
236 4.0-dev branch, with additional ABI changes to improve stability).
237 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
238 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
239 Add `__mingw_' prefix to all publicly exposed symbol names.
240 (dirent_findfirst, dirent_findnext, dirent_findclose): New locally
241 implemented functions; they replace Microsoft's ambiguously defined
242 _findfirst, _findnext, and _findclose, so avoiding ABI instability
243 resulting from the ambiguous size of Microsoft's time_t.
245 * include/dirent.h (struct dirent, struct _wdirent): Redefine them,
246 removing unnecessary time_t and file size fields; (our replacements
247 for _findfirst, and _findnext do not require them to be present).
248 (DIR, _WDIR): Adjust typedefs; they are now opaque structs.
249 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
250 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
251 Adjust prototypes, making them inline aliases for public symbols which
252 are now qualified by the `__mingw_' prefix; add build hints to support
253 compilation of addressable stubs, with the original symbol names.
254 (DT_REG, DT_DIR, DT_UNKNOWN): New manifest constants; define them.
255 (DT_BLK, DT_CHR, DT_FIFO, DT_LNK, DT_SOCK): Likewise; (these are for
256 BSD compatibility, but are fundamentally unsupported on MS-Windows).
257 (_DIRENT_HAVE_D_TYPE, _DIRENT_HAVE_D_RECLEN, _DIRENT_HAVE_D_NAMLEN):
258 New macros; define them. (These show availability of optional fields
259 within the dirent struct, which client code may wish to access).
261 2014-10-31 Keith Marshall <keithmarshall@users.sourceforge.net>
263 Correct improper naming of assembly language source files.
265 * mingwex/math/*.S: Rename all files with this extension...
266 * mingwex/math/*.s: ...to this; (all are simple assembly language, and
267 not extended `assembler-with-cpp' as implied by the former extension);
268 adjust all internal `.file <name>' references accordingly.
270 * Makefile.in (vpath %.S): Adjust reference to locate files....
271 (vpath %.s): ...now renamed thus.
273 2014-10-29 Keith Marshall <keithmarshall@users.sourceforge.net>
275 Streamline the build system infrastructure.
277 * configure.ac: New file; it replaces...
278 * configure.in: ...this; (name is obsolete); delete it.
280 * aclocal.m4 Makefile.in: Substantially rewritten; avoid recursive
281 make invocations, when processing subdirectories, and add automatic
282 dependency tracking for all generated files.
284 * configure: Delete it; as a generated file, it doesn't belong in SCM.
286 * mingwex/Makefile.in: No longer required; delete it.
287 * profile/Makefile.in: Likewise.
289 * mkinstalldirs: Not required; delete it; (make should use `mkdir -p',
290 or fall back on `install-sh -d', per AC_PROG_MKDIR_P).
292 * jamfile: Delete it; it hasn't been updated in ages, is likely no
293 longer relevant, and I have no desire to maintain it.
295 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
297 * include/_mingw.h: Increment version to 3.20.
299 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
301 * tlsmthread.c: Update to reflect changes in tlssup.c.
302 * tlssup.c: code clean-up.
304 2011-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
306 * include/_mingw.h: Increment version to 3.19.
308 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
310 * include/float.h: Modify guard to accomodate CLang.
312 Thanks to Ruben Van Boxem for the report.
314 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
316 * tlssup.c: Remove mingwm10.dll fallback.
318 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
320 * include/sys/types.h (ssize_t): Defined as int as opposed to long.
322 Thanks to bvassche for the report.
324 2011-05-31 Keith Marshall <keithmarshall@users.sourceforge.net>
326 Correct checking for short option matches in getopt_long_only().
328 * mingwex/getopt.c (getopt_verify): New static inline function.
329 (getopt_parse) [getopt_mode_long_only]: Use it, to validate as a
330 possible short option match after failing to match, or ambiguously
331 matching as a long option.
333 2011-05-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
335 * include/stdlib.h (strtod): Declare as extern to resolve compilation issues.
337 Thanks to cgf for the report.
339 2011-05-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
341 * include/time.h (daylight, timezone, tzname): Rework guards to expose when
342 compiles with __STRICT_ANSI__.
344 Thanks to Felipe Contreras for the report.
346 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
348 * include/stdlib.h (strtod): Remove possible static declaration to resolve
351 Thanks to Tobias Burnus for the report.
353 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
355 * include/stdlib.h (_rotl, _lrotl, _rotr, _lrotr): Resolve conflict with gcc
356 by wrapping the functions in brackets.
358 Thanks to Kai Tietz for the report.
360 2011-05-22 A.B., Khalid <abkhd@users.sourceforge.net>
362 * Makefile.in: Add support for msvcr100.dll.
363 * msvcrt.def.in: Ditto.
365 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
367 * mingwex/mingw-fseek.c: The anonymous union feature for LARGE_INTEGER is
368 not always available, go the long way and use the explicit named union
369 members, which are also declared in winnt.h.
371 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
373 * mingwex/isblank.c: Fix typo in declaration.
375 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
377 * include/_mingw.h: Define GCC system_header only if PCC is not defined.
378 * include/stdlib.h: Fix a long-standing typo which prevented correct use of
379 the MB_CUR_MAX macro/variable when DECLSPEC is not supported and <stdlib.h>
380 is included before <ctype.h>.
382 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
384 * include/wchar.h: Include stdio.h to grab definition of FILENAME_MAX.
386 Thanks to Jim Bell for the report and Greg Chicares for the fix.
388 2011-01-07 Jacky Lai <crazyjacky@users.sourceforge.net>
390 Correct hexadecimal formatting of double and long double values.
392 * mingwex/stdio/pformat.c (__pformat_xdouble): Delete function.
393 (__pformat) [A format]: Cast double values to long double, and use...
394 (__pformat_xldouble): ...this instead, with corrected adjustment of
395 exponent and alignment of mantissa, when formatting subnormals.
397 2010-12-27 Ozkan Sezer <sezero@users.sourceforge.net>
399 * include/dirent.h (dd_handle): Define as intptr_t.
401 2010-11-08 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
403 * tlssup.c (__dyn_tls_init): Use an integer variable to iterate between
406 2010-08-17 Keith Marshall <keithmarshall@users.sourceforge.net>
408 * include/limits.h (PATH_MAX): Make it agree with Microsoft's
409 semantically identical MAX_PATH; correct value is 260.
411 2010-07-25 Keith Marshall <keithmarshall@users.sourceforge.net>
413 Accept that mingwrt headers are not guaranteed to precede GCC's in the
414 system include search path; (issue reported by Mark Brand).
416 * include/float.h: Add multiple inclusion guard around...
417 [! defined _FLOAT_H___]: ...include_next <float.h> for GCC's version,
418 only when this define does not indicate that it has already been seen;
419 update comments to document rationale; move it within the scope of...
420 [! defined _MINGW_FLOAT_H_]: ...this multiple inclusion guard, so that
421 GCC's float.h, after an appropriate complementary modification, need
422 not perform a further include path search when this implementation
423 specific extension has already been processed.
425 2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>
427 * include/io.h (_findfirst, _findnext, _findclose, _findfirst32,
428 _findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32,
429 _findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext,
430 _findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64,
431 _findnexti64): Correct definition.
433 2010-04-27 Danny Smith <dannysmith@users.sourceforge.net>
435 * mingwex/mb_wc_common.h (get_codepage): Revert change of 2006-09-19.
437 2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
439 * include/_mingw.h: Increment version to 3.18.
441 2010-03-02 Daniel Atallah <datallah@users.sourceforge.net>
443 * include/stdio.h: (_vscprintf, _vscwprintf)
444 * include/tchar.h: (_vsctprintf)
446 2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
448 Issue [2134161]: time64 functions and types for msvcrt >= 8.0
449 (initial implementation)
451 * new type: __time32_t
453 * new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
454 __stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
455 __wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t
457 * new functions: _ctime32, _difftime32, _difftime64, _findfirst32
458 _findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
459 _findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
460 _futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
461 _mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
462 _wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
463 _wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
464 _wstat32i64, _wstat64i32,_wutime32
466 * new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
467 ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
468 _fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
469 _stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
470 _wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime
472 2010-01-25 Kai Tietz <kai.tietz@onevision.com>
474 Implement TLS Callback.
476 * tlsmcrt.c: New file.
477 * tlsmthread.c: Ditto.
480 * Makefile.in: Include new files.
481 * crt1.c: Implement TLS Callback.
483 * mthr_stub.c: Remove.
485 2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
487 * include/_mingw.h: Increment version to 3.17.
489 2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
491 * mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa:
492 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
494 2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
496 * include/io.h (_open_osfhandle): Correct definition.
498 Thanks to Alexander Shaduri for the information.
500 2009-11-02 Charles Wilson <mingw@cwilson.fastmail.fm>
502 Final sync of pseudo-reloc.c with mingw64 and cygwin
503 * lib/pseudo-reloc.c (__report_error) [CYGWIN]: Correct size bug
504 regarding error messages.
506 2009-10-29 Charles Wilson <mingw@cwilson.fastmail.fm>
508 Honor DESTDIR for winsup/mingw and winsup/w32api.
509 Detect and report error if installation paths are win32
510 format, but DESTDIR is non-empty.
512 * Makefile.in (DESTDIR): Honor per convention.
513 (need-DESTDIR-compatibility): New macro; define it and a
515 (fail-DESTDIR-compatibility): New dependency goal.
516 (install-dirs): Require need-DESTDIR-compatibility.
517 * mingwex/Makefile.in (DESTDIR): Honor per convention.
518 (need-DESTDIR-compatibility): New macro; define it and a
520 (fail-DESTDIR-compatibility): New dependency goal.
521 (install): Require need-DESTDIR-compatibility.
522 * profile/Makefile.in: Ditto.
524 2009-10-25 Charles Wilson <mingw@cwilson.fastmail.fm>
526 Sync pseudo-reloc.c with mingw64
527 * psuedo-reloc.c: Remove unnecessary includes.
528 Forward declare _pei386_runtime_relocator.
529 Decorate _image_base__ symbol with macro for
530 mingw64 compatibility. Whitespace changes.
531 (__print_reloc_error): Renamed to...
532 (__report_error): This. "Returns" void, and
533 always aborts. Now used on all platforms.
534 (__write_memory): Remove special case error handling
535 for different platforms - always call __report_error.
536 (do_pseudo_reloc): Remove special case error handling
537 for different platforms - always call __report_error.
538 (_pei386_runtime_relocator): Decorate _image_base__
539 symbol with mingw64 compatibility macro.
541 2009-10-23 Charles Wilson <mingw@cwilson.fastmail.fm>
543 Sync pseudo-reloc.c with cygwin/lib/
544 * pseudo-reloc.c [CYGWIN]: Added comments throughout and various
545 whitespace fixes. Exploit cygwin_internal(CW_EXIT_PROCESS,...)
546 for fatal error handling that is consistent with cygwin process
547 life-cycle. Ensure state variable (in _pei386_runtime_relocator)
548 is unique to each address space, across fork().
549 [CYGWIN] (__print_reloc_error): New function for reporting
550 errors in a manner supported by cygwin at this early stage of
551 the process life-cycle.
552 [CYGWIN] (_pei386_runtime_relocator): Ensure relocations
553 performed only once for each address space, but are repeated
554 after fork() in the new address space.
555 [MINGW] (__write_memory): Ensure that b is always initialized
556 by call to VirtualQuery, even if -DNDEBUG.
558 2009-09-29 Keith Marshall <keithmarshall@users.sourceforge.net>
560 Make MinGW printf() "%p" format compatible with MSVCRT scanf().
561 (Based on MinGW-patch 2844514 by Peter Rosin <peda@lysator.liu.se>)
563 * mingwex/stdio/pformat.c (__printf) [%p]: Do not arbitrarily apply...
564 (PFORMAT_HASHED): ...this formatting attribute; honour only user
565 specified format qualifiers, except in special case...
566 [%p && stream.flags == flags && state == PFORMAT_INIT]: Apply...
567 (PFORMAT_ZEROFILL): ...this default formatting attribute...
568 (stream.precision): ...filled to at least 2 * sizeof( uintptr_t )
571 2009-09-01 Keith Marshall <keithmarshall@users.sourceforge.net>
573 Avoid multiple link time definitions of _printf() for C++;
574 (problem reported by Alexander Shaduri, via MinGW-users ML).
576 * include/stdio.h [__USE_MINGW_ANSI_STDIO]:
577 (__mingw_stdio_redirect__) [__cplusplus]: remove `static' keyword.
579 2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
581 * include/_mingw.h: Increment version to 3.16.
583 2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>
585 * include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit,
586 __signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf,
587 __fp_unordered_compare): Add prototypes.
588 * include/stdio.h (vsnwprintf): Add prototype.
589 * include/wchar.h (vsnwprintf): Add prototype.
590 * include/stdlib.h (_Exit): Protect inline definition with !__STRICT_ANSI__.
591 * include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard.
593 2009-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
595 Correct disposition of wchar_t output in printf().
597 * mingwex/stdio/pformat.c (__pformat) [%C]: Create new instance of...
598 (argval): ...this, in inner scope, with singular type `wchar_t'; use
599 it to pass one wchar to __pformat_wputchars(), for output.
601 2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
603 * mingwex/stdio/pformat.c: Implement better fix for type punned warning.
605 2009-07-27 Keith Marshall <keithmarshall@users.sourceforge.net>
607 Convert to monolithic configuration procedure.
609 * configure.in (AC_CHECK_TOOL): All instances; tabulate arguments.
610 (AC_SUBST): Use its 2nd argument to initialise MinGW default settings.
611 (PACKAGE_TARNAME) [target_os ~ cygwin]: Redefine it as appropriate.
612 (W32API_INCLUDE): Redefine; make it relative to `top_srcdir'.
613 (CRT0S): Relocate from `profile'; define it as appropriate.
614 (LIBM_A): Define and AC_SUBST it unconditionally.
615 (AC_CONFIG_SUBDIRS): Remove; none to configure.
616 (AC_OUTPUT_FILES): Add `Makefile' for each of...
617 (mingwex, profile): ...these subdirectories.
619 * configure: Regenerated.
621 * Makefile.in (PACKAGE, host_os): Let AC_SUBST define them.
622 (top_srcdir, top_builddir): New macros; let AC_SUBST define them.
623 (datarootdir): New macro; autoconf > 2.59 wants AC_SUBST to define it.
624 (SUBDIRS): Define explicitly, to run recursive `make' in...
625 (mingwex, profile): ...these; simplify build commands...
626 (rootme, rootsrc): ...without these shell variables.
627 (all, subdirs): Delete redundant build commands.
628 (FIXME): Flag various issues for follow up.
630 * mingwex/Makefile.in (INCLUDES): Redefined macro; refer it to...
631 (top_srcdir): ...this new macro; let AC_SUBST define it.
632 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
633 (Makefile): Make it depend on...
634 (top_builddir/config.status): ...this, itself depending on...
635 (top_srcdir/configure): ...this.
636 (FIXME): Flag various issues for follow up.
638 * mingwex/aclocal.m4: File no longer required; delete it.
639 * mingwex/configure mingwex/configure.in: Likewise.
641 * profile/Makefile.in (INCLUDES): Redefined macro; refer it to...
642 (top_srcdir): ...this new macro; let AC_SUBST define it.
643 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
644 (Makefile): Make it depend on...
645 (top_builddir/config.status): ...this, itself depending on...
646 (top_srcdir/configure): ...this.
647 (FIXME): Flag various issues for follow up.
649 * profile/aclocal.m4: File no longer required; delete it.
650 * profile/configure profile/configure.in: Likewise.
652 2009-07-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
654 * msvcrt.def.in: disable time symbol for libmsvcr90.a and libmsvcr90d.a due
655 to complaints that it causes issues.
657 2009-07-23 Jacky Lai <crazyjacky@users.sourceforge.net>
659 * mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan().
661 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
663 * include/inttypes.h include/math.h include/stdio.h include/stdlib.h
664 include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard
665 to all inline functions.
667 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
669 * CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
672 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
674 * cpu_features.c: replace gcc-specific construct with portable alternative
675 and match the code a few lines above.
676 * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
678 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
680 * include/_mingw.h: Changes required for PCC compiler.
682 2009-07-18 Jeff Lu <jll544@yahoo.com>
684 * mingwex/usleep.c: round up to next ms
686 2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
688 * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
689 mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
690 mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
691 the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
693 2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
695 * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.
697 2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>
699 * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files.
700 * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c
701 mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c
702 mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h
703 mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h
704 mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c
705 mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c
706 mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c
707 mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c
708 mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org
709 sources as of Apr. 20, 2009. Update further to match the sources in
710 the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX
711 code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the
712 double/ulong union from U to dbl_union for better grepping and white-
715 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
717 * include/stdlib.h (_wtof): Define.
719 2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
721 * include/stdint.h (int_fast8_t): Specify as signed char.
722 (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
723 (INT32_C, UINT32_C): Remove 'L' type specifier on constant.
725 2009-03-05 Kai Tietz <kai.tietz@onevision.com>
727 * pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2.
729 2009-02-08 Keith Marshall <keithmarshall@users.sourceforge.net>
731 MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.
732 (Requested by Robert Riebisch)
734 * mingwex/getopt.c (getopt_parse): Track external increments of...
735 (optind): ...this global variable.
737 2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
739 * include/_mingw.h: Increment version to 3.15.2.
741 2009-01-04 Keith Marshall <keithmarshall@users.sourceforge.net>
743 Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
744 Also add tentative support for BSD specific `optreset' feature.
746 * include/getopt.h (optreset) [_BSD_SOURCE]: Define; map it to...
747 (__mingw_optreset): ...this new global variable.
749 * mingwex/getopt.c (__mingw_optreset): Instantiate it...
750 (getopt_parse) [optind < 1]: ...make it true; use it to reset argument
753 2008-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
755 Partial fix for MinGW-Bug [2457778]: (Reported by Sisyphus).
756 Correct mishandling of invalid characters in printf() format specs.
758 * mingwex/stdio/pformat.c (__pformat): Save `fmt' scan position in...
759 (backtrack): ...this new automatic variable, at start of each format
760 conversion specification substring; use it to backtrack, and print the
761 substring literally, if any invalid character is encountered.
763 2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
765 * msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
766 ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
767 ___unguarded_readlc_active_add_func, __crtCompareStringW,
768 __crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
769 __pwctype_func, __iob_func, __uncaught_exception, __wcserror,
770 __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
771 __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
772 __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
773 _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
774 _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
775 _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
776 _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
777 _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
778 _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
780 2008-12-08 Dmitry G. Gorbachev <d.g.gorbachev@gmail.com>
782 * cpu_features.c (__cpu_features_init): Remove erroneous ';'.
784 2008-10-28 Keith Marshall <keithmarshall@users.sourceforge.net>
786 Correct some binary distribution packaging defects.
788 * Makefile.in (bindist): Remove `make' conditionals; segregate into...
789 (bindist-common, bindist-mingwrt, bindist-mingw-runtime): ...these new
790 intermediate goals; they make packages of files, as specified by...
791 (BINDIST_FILES, DEVDIST_FILES, DLLDIST_FILES): ...these new macros.
792 (dist_prefix) [target_alias !~ cygwin]: Leave it undefined.
794 2008-10-18 Keith Marshall <keithmarshall@users.sourceforge.net>
796 Fix MinGW-Bug [2136252]: (Reported by Roumen Petrov).
797 Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5
799 * mingwex/stdio/pformat.c (__pformat_emit_float): Always make output
800 of radix point conditional on precision != 0 or `#' flag specified.
802 2008-10-13 Keith Marshall <keithmarshall@users.sourceforge.net>
804 Fix MinGW-Bug [2160227]
805 Eliminate conflicting declarations and implementations of scalb().
807 * moldname.def.in (scalb): Comment out of EXPORTS list.
808 * include/math.h (scalb): Comment out OLDNAMES prototype; it conflicts
809 with GCC's built-in declaration.
811 2008-10-12 Christopher Faylor <me+cygwin@cgf.cx>
813 * Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
815 * mingwex/Makefile.in: Ditto.
816 * profile/Makefile.in: Ditto.
817 * configure.in: Record mingw front-end for building under Cygwin.
818 * mingwex/configure.in: Ditto.
819 * profile/configure.in: Ditto.
820 * configure: Regenerate.
821 * mingwex/configure: Ditto.
822 * profile/configure: Ditto.
824 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
826 Use de-facto standard Makefile goals to invoke test suite.
828 * Makefile.in: Some minor formatting adjustments.
829 (test_headers): Unconventionally named goal renamed to...
830 (check-headers): ...this; make it a prerequisite of...
831 (check): ...this new conventionally named goal.
833 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
835 Make strtod() inline definition C89 compliant.
836 (Issue reported by Ilya Shestopalov and Ian Puleston)
837 (Correction identified by Danny Smith)
839 * include/stdlib.h (strtod): Declare as `__inline__', not `inline';
840 reformat inline function definition.
842 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
844 * include/_mingw.h: Increment version to 3.15.1 and introduce
845 __MINGW32_PATCHLEVEL variable.
847 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
849 Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
850 (Reported by Christian Franke)
852 * mingwex/getopt.c (optind): Make global variable value conform to
853 behaviour specified by POSIX; do not use it for internal state in...
854 (getopt_parse): ...this static function; use...
855 (optbase): ...this new static local variable instead.
856 (getopt_resolved): Update `optind' as required.
858 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
860 Improve package identification in configure script.
862 * configure.ac (AC_INIT): Redefine parameters...
863 (PACKAGE_NAME): Set to `MinGW Runtime'.
864 (PACKAGE_BUGREPORT): Set to `http://mingw.org/reporting_bugs'
865 (PACKAGE_TARNAME): Set to `mingwrt'.
866 (PACKAGE_VERSION): Set generically to `v3.x'; reassigned by...
867 (MINGW_AC_CONFIG_SRCDIR): ...this macro, which extracts...
868 (__MINGW32_VERSION): ...this, from file `include/_mingw.h'.
870 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): Do not redefine...
871 (PACKAGE_TARNAME): ...this.
873 * configure: Regenerated.
875 2008-09-25 Keith Marshall <keithmarshall@users.sourceforge.net>
877 Fix MinGW-Bug [2125708].
878 (Reported by Alexandr Zamaraev).
880 * include/stdlib.h (intptr_t) [!_INTPTR_T_DEFINED]: Unused typedef;
881 not wanted here; remove it; replace it by...
882 (uintptr_t) [!_UINTPTR_T_DEFINED]: ...this typedef; needed by...
883 (_invalid_parameter_handler): ...this function typedef.
885 2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
887 * Makefile.in: Don't include host_os as part of snapshot filename.
889 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
891 Fix MinGW-Bug [2119504].
892 (Reported by Peiyuan Song).
894 * mingwex/getopt.c (getopt_resolved): Do not overwrite...
895 (*retindex): ...this already correctly assigned return variable...
896 (opt[index].val): ...with this; this should have been assigned to...
897 (*opt[index].flag) [opt[index].flag != NULL]: ...this instead.
899 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
901 Fix MinGW-Bug [2117379].
902 (Reported by Peiyuan Song).
904 * include/stdio.h (__argv): Replace all references in function
905 prototype argument lists and inline function local variables, with ...
906 (__local_argv): ...this, to avoid potential conflict with ...
907 * include/stdlib (__argv): ...this #defined macro.
909 2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
911 * include/_mingw.h: Increment version to 3.15.
913 2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
915 * Makefile.in: Adjust to new naming standard for MinGW while maintaining old
916 naming standard for Cygwin.
918 2008-08-31 Keith Marshall <keithmarshall@users.sourceforge.net>
920 Reimplement getopt.c to add getopt_long_only() function.
922 (N.B. this reimplementation removes support for BSD/Mac-OS-X
923 `optreset' nonsense; user code should set `optind = 0' instead,
924 to reinitialise option scanning).
926 * mingwex/getopt.c: Delete all content; reimplement it.
927 * include/getopt.h: Likewise.
929 * include/unistd.h (__UNISTD_H_SOURCED__): New macro; define it.
930 (__UNISTD_GETOPT__): This macro is no longer required; remove it.
932 2008-08-30 Keith Marshall <keithmarshall@users.sourceforge.net>
934 Implement conditional replacement for printf() family functions.
936 * include/_mingw.h (__USE_MINGW_ANSI_STDIO): New macro; define it.
937 (__MINGW_ANSI_STDIO__): New manifest constant; define as bitmapped
938 flag for use in user specified __MINGW_FEATURES__ attribute.
939 (__MINGW_LC_MESSAGES__, __MINGW_LC_ENVVARS__): New manifest constants;
940 currently unused: reserved as components of...
941 (__MINGW_LC_EXTENSIONS__): ...this new manifest constant; earmarked as
942 a __MINGW_FEATURES__ enhancement to setlocale().
944 * include/stdio.h (__mingw_printf, __mingw_vprintf): Prototype them.
945 (__mingw_fprintf, __mingw_vfprintf): Likewise.
946 (__mingw_sprintf, __mingw_vsprintf): Likewise.
947 (__msvcrt_printf, __msvcrt_vprintf): Likewise.
948 (__msvcrt_fprintf, __msvcrt_vfprintf): Likewise.
949 (__msvcrt_sprintf, __msvcrt_vsprintf): Likewise.
950 (printf, vprintf) [!__USE_MINGW_ANSI_STDIO]: Prototype for default
951 usage; link to DLL import stub, importing from MSVCRT.
952 (fprintf, vfprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
953 (sprintf, vsprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
954 (printf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_printf; use
955 locally defined static stub implementation.
956 (fprintf, sprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
957 __mingw_fprintf and __mingw_sprintf respectively.
958 (vprintf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_vprintf; use
959 static inline implementation for C++ and GNU C, or locally defined
960 static stub otherwise.
961 (vfprintf, vsprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
962 __mingw_vfprintf and __mingw_vsprintf respectively.
964 2008-08-27 Keith Marshall <keithmarshall@users.sourceforge.net>
966 Avoid access violations, passing NULL to printf( "...%s..." );
967 (inconsistencency with MSVCRT and glibc, reported by Colin Harrison).
969 * mingwex/stdio/pformat.c (__pformat_puts): Substitute "(null)"
970 for argument value, if caller passes a NULL pointer.
971 (__pformat_wcputs): Likewise, substitute L"(null)".
973 2008-08-14 Keith Marshall <keithmarshall@users.sourceforge.net>
975 Add missing dependencies for building libmingwex.a.
977 * mingwex/Makefile.in (printf.o, fprintf.o, sprintf.o): Make them...
978 (vprintf.o, vfprintf.o, vsprintf.o): ...and also these, depend on...
979 (pformat.h): ...this.
981 2008-08-11 Keith Marshall <keithmarshall@users.sourceforge.net>
983 Add replacements for remaining members of printf() family.
985 * mingwex/stdio/printf.c: New file.
986 * mingwex/stdio/fprintf.c: New file.
987 * mingwex/stdio/sprintf.c: New file.
988 * mingwex/stdio/vprintf.c: New file.
989 * mingwex/stdio/vfprintf.c: New file.
990 * mingwex/stdio/vsprintf.c: New file.
992 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
993 (STDIO_OBJS): Add their corresponding object files.
995 2008-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
997 Replace __mingw_snprintf() with new generic family implementation;
998 likewise, replace __mingw_vsnprintf().
1000 * mingwex/stdio/pformat.c mingwex/stdio/pformat.h: New files.
1001 * mingwex/stdio/snprintf.c mingwex/stdio/vsnprintf.c: New files.
1002 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
1003 (GDTOA_DISTFILES): Remove mingw_snprintf.c
1004 (STDIO_OBJS): Add pformat.o, snprintf.o and vsnprintf.o
1005 (GDTOA_OBJS): Remove mingw_snprintf.o
1006 (PFORMAT_CFLAGS): New macro; define it, as required by...
1007 (pformat.o): ...this new explicit build target.
1008 (snprintf.o, vsnprintf.o): Declare prerequisites.
1010 * mingwex/gdtoa/mingw_snprintf.c: Redundant file; delete it.
1012 2008-07-28 Keith Marshall <keithmarshall@users.sourceforge.net>
1014 Lay foundations for new printf() function family implementation.
1016 * ofmt_stub.s: New file; implement forward compatibility stub for...
1017 (_get_output_format): ...this MSVCR80.DLL and later function.
1019 * Makefile.in (SRCDIST_FILES): Add ofmt_stub.s.
1020 (NM, OBJCOPY): New macros; define them with AC_SUBSTed values.
1021 (sym_prefix, NM_LOOKUP, MINGW_REPL_FUNCS): New macros; define them.
1022 (lib%.a): Include ofmt_stub.o when import library does not already
1023 advertise availability of the _get_output_format() function;
1024 Add alias stubs for MINGW_REPL_FUNCS, such that...
1025 (__msvcrt_printf): ...is an alias for Microsoft's printf().
1026 (__msvcrt_fprintf): ...is an alias for Microsoft's fprintf().
1027 (__msvcrt_sprintf): ...is an alias for Microsoft's sprintf().
1028 (__msvcrt_vprintf): ...is an alias for Microsoft's vprintf().
1029 (__msvcrt_vfprintf): ...is an alias for Microsoft's vfprintf().
1030 (__msvcrt_vsprintf): ...is an alias for Microsoft's vsprintf().
1031 (clean): Add msvcr*.def.
1033 * configure.in (NM, OBJCOPY): Use AC_CHECK_TOOL to specify them.
1034 * configure: Regenerated.
1036 2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
1038 * include/ctype.h (_imp____mb_cur_max): Correct spelling.
1039 (_imp____mb_cur_max_dll): Likewise.
1041 2008-07-04 Danny Smith <dannysmith@users,sourceforge.net>
1043 * include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
1044 * include/wchar.h (swprintf, vswprintf): Likewise.
1046 2008-07-01 Keith Marshall <keithmarshall@users.sourceforge.net>
1048 * msvcrt.def.in [__msvcr80__, __msvcr80d__, __msvcr90__, __msvcr90d__]
1049 (_get_output_format, _set_output_format): Add references.
1051 * include/stdio.h [__MSVCRT_VERSION__ >= 0x800]
1052 (_get_output_format, _set_output_format): Declare prototypes.
1053 (_TWO_DIGIT_EXPONENT): Define.
1054 Some other minor formatting adjustments.
1056 2008-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1058 [mingw-Bugs-1801641]
1059 * include/wchar.h (_wfdopen): Const-ify second arg.
1060 * include/stdio.h (_wfdopen): Likewise.
1061 Thanks to <tdragon at users dot sourceforge net>
1063 2008-06-02 Keith Marshall <keithmarshall@users.sourceforge.net>
1065 Avoid precision errors in round(), lround() and llround() functions.
1067 * mingwex/math/round_generic.c: New file; it replaces...
1068 * mingwex/math/round.c: ...this; delete it.
1069 * mingwex/math/roundf.c: ...and this; ditto.
1070 * mingwex/math/roundl.c: ...and this; ditto.
1072 * mingwex/math/lround_generic.c: New file; it replaces...
1073 * mingwex/math/lround.c: ...this; delete it.
1074 * mingwex/math/lroundf.c: ...and this; ditto.
1075 * mingwex/math/lroundl.c: ...and this; ditto.
1076 * mingwex/math/llround.c: ...and this; ditto.
1077 * mingwex/math/llroundf.c: ...and this; ditto.
1078 * mingwex/math/llroundl.c: ...and this; ditto.
1080 * mingwex/math/round_internal.h: New file; it provides generic common
1081 code, which is shared by `round_generic.c' and `lround_generic.c'; the
1082 implementation is based on techniques suggested by Danny Smith and
1085 * mingwex/Makefile.in (MATH_DISTFILES): Remove `round.c', `roundf.c',
1086 `roundl.c', `lround.c', `lroundf.c', `lroundl.c', `llround.c',
1087 `llroundf.c' and `llroundl.c'; replace by `round_internal.h',
1088 `round_generic.c' and `lround_generic.c'.
1089 (MATH_OBJS): Factor out files listed in...
1090 (MATH_ROUND_OBJS, MATH_LROUND_OBJS, MATH_LLROUND_OBJS): ...these new
1091 macros; define them; specify dependencies and build rules; add to...
1092 (LIB_OBJS): ...this list.
1094 2008-05-22 Danny Smith <dannysmith@users.sourceforge.net>
1096 [ mingw-Bugs-1961893 ]
1097 * mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa
1098 mode to 2 for E format.
1100 2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
1102 * include/stdlib.h: Fix strtod under C++.
1104 2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
1106 * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
1107 * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
1109 2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
1111 * include/sys/types.h (useconds_t): typedef.
1112 * include/unistd.h (usleep): Add prototype.
1113 * mingwex/usleep.c: New file.
1114 * mingwex/makefile.in: Add usleep source and object.
1116 2008-05-02 Ramiro Polla <ramiro@lisha.ufsc.br>
1118 Make strtod() conform to C99.
1120 * include/stdlib.h (strtod): Declare this mingwex function, and...
1121 (_strtod): rename this MSVCRT counterpart.
1123 * mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
1125 2008-04-26 Chuck Wilson <cwilso11@users.sourceforge.net>
1127 * Makefile.in: correct issues with mingw10.dll having multiple relocs.
1129 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1131 * include/process.h: Include stdint.h for intptr_t definition.
1132 (_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
1133 _spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
1134 _spawnvpe): Return intptr_t.
1135 (execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
1136 spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
1138 * include/wchar.h: Guard wide process.h functions with !__STRICT_ANSI__.
1140 [!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
1141 (_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
1142 _wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
1143 _wspawnvp, _wspawnvpe): Return intptr_t.
1145 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1147 * include/wchar.h (fwide): Return success code rather than failure in inline
1149 * mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
1150 code rather than failure.
1152 2008-03-21 Danny Smith
1154 * include/math.h (float_t, double_t): Define.
1156 2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1158 * mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
1159 * mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
1160 (x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
1162 2008-02-28 Joseph Myers <joseph@codesourcery.com>
1164 * include/complex.h: Don't condition contents on C99 or not
1167 2008-02-01 Brian Dessent <brian@dessent.net>
1169 * Makefile.in: Add rules to generate multiple versions of libmoldname.a for
1170 the different runtime versions.
1172 2008-01-19 Danny Smith <dannysmithusers.sourceforge.net
1174 * inclue/wchar.h (fwide): Add prototype and guard inline definition.
1175 (mbsinit): Likewise.
1177 2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1179 * include/_mingw.h: Increment version to 3.14.
1181 2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1183 * Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
1184 * msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
1185 * mingwex/math/log10f.S: Correct issue with comments.
1186 * mingwex/math/log10l.S: Ditto.
1187 * mingwex/math/log1p.S: Ditto.
1188 * mingwex/math/log1pf.S: Ditto.
1189 * mingwex/math/log1pl.S: Ditto.
1190 * mingwex/math/log2.S: Ditto.
1191 * mingwex/math/log2f.S: Ditto.
1192 * mingwex/math/log2l.S: Ditto.
1193 * mingwex/math/logf.S: Ditto.
1194 * mingwex/math/logl.S: Ditto.
1196 2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
1198 * mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
1200 2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
1202 * include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
1203 from '_fsize_t' to '__int64' to be consistent with the other ...64
1204 structures and the value set there is 8 bytes not 4. Add guard for both
1205 as the are only used by functions available from 6.1 on.
1207 * include/malloc.h (_HEAP_MAXREQ): Define.
1208 (_aligned_offset_recalloc): Define.
1209 (_aligned_recalloc()): Define.
1211 * include/math.h: fixed a typo in a comment.
1212 (atanhf): Fixed declaration.
1214 * include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
1215 to '__int64' to be consistent with the other ...64 structures and the value
1216 set there is 8 bytes not 4. Added guard as this function is only used by
1217 functions available from 6.1 on.
1219 * include/sys/stat.h: some members of 'stat' were declared with types with
1220 a prefixed underscore, while the ones without the underscore should have
1221 been used. Added guard to '__stat64' as it is only used by functions
1222 available from 6.1 on. Added the wide character versions of the
1223 exec()/spawn() family for completion
1224 (_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
1227 * include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
1228 from 'long' to 'time_t'
1229 (__timeb64): moved declaration of structure directly before the declaration
1230 of the function '_ftime64()', so it is guarded as well
1232 * include/sys/utime.h (__utimbuf64): moved declaration of structure directly
1233 before the declaration of the functions using it, so it is guarded as well
1235 2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
1237 * mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
1238 case. Add missing break in 's'/LEN_S case.
1240 2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1242 Make snprintf() and vsnprintf() conform to C99.
1244 * include/stdio.h: Add note about incompatibility between...
1245 (snprintf, vsnprintf): These two mingwex functions, and...
1246 (_snprintf, _vsnprintf): these MSVCRT counterparts.
1248 * mingwex/Makefile.in (STDIO_OBJS): Remove snprintf.o and vsnprintf.o
1249 (STDIO_DISTFILES): Remove snprintf.c and vsnprintf.c
1251 * mingwex/stdio/snprintf.c: Delete.
1252 * mingwex/stdio/vsnprintf.c: Delete.
1254 * mingwex/gdtoa/mingw_snprintf.c (snprintf): Alias to __mingw_snprintf
1255 (vsnprintf): Alias to __mingw_vsnprintf.
1257 2007-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1259 * include/_mingw.h: Increment version to 3.13.
1260 * Makefile.in: Reset CYGRELEASE to 1
1262 2007-07-23 Keith Marshall <keithmarshall@users.sourceforge.net>
1264 * Makefile.in (SUBDIRS): Delete stray line continuation artifact,
1265 resulting from incomplete removal of enclosing `for ...; do ...; done'
1266 loop from compound command; (reported by Greg Chicares).
1268 2007-07-19 Danny Smith <dannysmith@users.sourceforge.net>
1270 * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
1273 2007-07-12 Danny Smith <dannysmith@users.sourceforge.net>
1275 [mingw-Bugs-1734142]
1276 * include/wchar.h (_wsystem) Declare.
1278 (_wgetenv): Declare.
1279 (_wsearchenv): Declare.
1280 (_wmakepath): Declare.
1281 (_wsplitpath): Declare.
1282 (_wfullpath): Declare.
1283 * include/stdlib.h (_wsystem) Declare.
1284 (_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath,
1285 _wfullpath): Move into _WSTDLIB_DEFINED guard.
1286 * include/tchar.h (_tsystem): New UNICODE mapping define.
1288 2007-06-29 Danny Smith <dannysmith@users.sourceforge.net>
1290 * mingwex/gdtoa/mingw_snprintf.c: New file.
1291 * mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
1292 (GDTOA_OBJS): Add mingw_snprintf.o.
1294 2007-06-28 Danny Smith <dannysmith@users.sourceforge.net>
1296 * msvcrt.def.in: Update comment.
1297 Exclude _ctype stub if using msvcr71.dll or newer.
1298 * include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
1299 * include/wctype.h: Likewise.
1301 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1303 *include/wctype.h: Qualify all functions with __MINGW_NOTHROW.
1304 *include/dirent.h: Likewise.
1306 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1308 * include/assert.h: Qualify all functions with __MINGW_NOTHROW.
1309 * include/conio.h: Likewise.
1310 * include/ctype.h: Likewise.
1311 * include/direct.h: Likewise.
1312 * include/dos.h: Likewise.
1313 * include/errno.h: Likewise.
1314 * include/fenv.h: Likewise.
1315 * include/float.h: Likewise.
1316 * include/inttypes.h: Likewise.
1317 * include/io.h: Likewise.
1318 * include/libgen.h: Likewise.
1319 * include/locale.h: Likewise.
1320 * include/malloc.h: Likewise.
1321 * include/mbctype.h: Likewise.
1322 * include/mbstring.h: Likewise.
1323 * include/process.h: Likewise.
1324 * include/search.h: Likewise.
1325 * include/setjmp.h: Likewise.
1326 * include/signal.h: Likewise.
1327 * include/stdio.h: Likewise.
1328 * include/stdlib.h: Likewise.
1329 * include/string.h: Likewise.
1330 * include/time.h: Likewise.
1331 * include/wchar.h: Likewise.
1332 * include/sys/stat.h: Likewise.
1333 * include/sys/time.h: Likewise.
1334 * include/sys/timeb.h: Likewise.
1335 * include/sys/utime.h: Likewise.
1337 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1339 * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
1341 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1343 Add POSIX binary tree search API.
1345 * mingwex/tfind.c: New file.
1346 * mingwex/tdelete.c: New file.
1347 * mingwex/tsearch.c: New file.
1348 * mingwex/twalk.c: New file.
1349 * mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
1350 * mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
1351 * include/search.h (tfind): Declare.
1358 (node_t): Define, on condition of _SEARCH_PRIVATE.
1360 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1362 * include/_mingw.h (__MINGW_NOTHROW): Define.
1364 2007-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1366 * include/stdio.h (vsnprintf): Remove inline definition.
1369 2007-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1371 * CRTfmode.c: Nit-pick comment fix.
1373 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1375 * CRTfmode.c: Fix nested comment.
1377 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1379 * include/string.h (strcasecmp): Fix typo in declaration prototype.
1381 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1383 * include/io.h (lseek64) : Add prototype.
1385 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1387 * include/string.h (strcasecmp): Add prototype.
1388 (strncasecmp): Add prototype.
1390 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1392 * Makefile.in (CRT0S): Revert last change.
1393 * CRTfmode.c. Correct comment.
1395 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1397 * Makefile.in (CRT0S): Add back CRTfmode.o.
1399 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1401 * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
1402 * include/io.h: Likewise.
1404 2007-06-11 Danny Smith <dannysmith@users.sourceforge.net>
1406 * crt1.c (__mingw_CRTStartup): Add explicit call to gcc's __main.
1408 2007-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1410 * include/stdint.h (intptr_t): Fix typo.
1411 Thanks to Charles Wilson for report.
1413 2007-05-07 Danny Smith <dannysmith@users.sourceforge.net>
1415 * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
1416 Condition on _WIN64.
1417 (uintptr_t): Protect with _UINTPTR_T_DEFINED. Condition on _WIN64.
1418 (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64.
1419 (PTRDIFF_MIN): Define as INTPTR_MIN.
1420 (PTRDIFF_MAX): Define as INTPTR_MAX.
1421 (SIG_ATOMIC_MIN): Define as INTPTR_MIN.
1422 (SIG_ATOMIC_MAX): Define as INTPTR_MAX.
1424 2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1426 * Makefile.in: Removed mansuffix variable. Changed mansection to support
1427 Cygwin man page location.
1429 2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1431 * Makefile.in: Added mansection and mansuffix variables. Changed mandir to
1432 support Cygwin man page location.
1434 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1436 * Include/_mingw.h: Increment version to 3.12.
1438 2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
1440 * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__.
1442 2007-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1444 * Makefile.in: Tweak srcdist to fix build issue.
1446 2007-03-20 Keith Marshall <keithmarshall@users.sourceforge.net>
1448 Add --enable-mingw-manpage-transform configure option.
1450 * aclocal.m4 (MINGW_AC_MANPAGE_TRANSFORM): New macro.
1451 * configure.in, Makefile.in: Use it.
1452 * configure: Regenerated.
1454 2007-03-18 Danny Smith <dannysmith@users.sourceforge.net>
1456 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ for gcc 4.2.x too.
1458 2007-03-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1460 Add manpages for dirname and basename functions.
1462 * man: New directory.
1463 * man/dirname.man: New file; it sources both manpages.
1464 * Makefile.in: Add provisional rules to distribute them.
1466 2007-03-08 Keith Marshall <keithmarshall@users.sourceforge.net>
1468 * mingwex/basename.c: Make it work with path names containing
1469 multibyte character strings.
1470 * mingwex/dirname.c: Likewise.
1472 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1474 * include/io.h (__mingw_access): New static inline wrapper to restore
1475 pre-Vista 'access (fname, X_OK)' behaviour.
1476 (__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
1478 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1480 * mingwex/fesetround.c (fesetround): Use unsigned int as operand
1482 Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
1484 2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
1486 * include/stdio.h (_unlink, unlink): Add prototypes.
1488 2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
1490 * include/excpt.h: Replace "_try1" in comments with "__try1".
1492 2007-02-15 Danny Smith <dannysmith@users.sourceforge.net>
1494 * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1495 (ALL_CXXFLAGS): Likewise.
1496 * mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1497 (ALL_CXXFLAGS): Likewise.
1498 * profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1499 (ALL_CXXFLAGS): Likewise.
1501 2007-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1503 * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
1505 2007-01-27 Danny Smith <dannysmith@users.sourceforge.net>
1507 Expose some more msvcr80.dll functions.
1508 * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
1509 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
1510 * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
1511 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
1513 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1515 Expose some msvcr80.dll functions.
1516 * include/stdlib.h (_set_abort_behavior): Add prototype.
1517 (_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
1518 _set_abort_behavior mask argument.
1519 (_invalid_parameter_handler): Add typedef.
1520 (_set_invalid_parameter_handler): Add prototype.
1521 * include/stdio.h (_get_printf_count_output): Add prototype.
1522 (_set_printf_count_output): Add prototype.
1523 * msvcrt.def.in (_get_printf_count_output,_set_printf_count_output,
1524 _set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
1526 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1528 * include/_mingw.h (CRT_INLINE): Correct typo.
1530 2007-01-24 Danny Smith <dannysmith@users.sourceforge.net>
1532 * include/io.h (X_OK): Define to F_OK.
1534 2007-01-19 Danny Smith <dannysmith@users.sourceforge.net>
1536 * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1537 unconditionally. Change comment.
1538 * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1540 * include/io.h (rename): Declare.
1543 2006-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
1545 * include/libgen.h: New file; required by...
1546 * mingwex/basename.c, mingwex/dirname.c: New files.
1547 * mingwex/Makefile.in (DISTFILES): Add them...
1548 (POSIX_OBJS): ...with corresponding basename.o, dirname.o
1549 (Dependencies): Typo; s/Dependancies/Dependencies/
1551 2006-11-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1553 * Makefile.in (VERSION): Let configure define it.
1555 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): New macro.
1556 * configure.in: Use it.
1557 Correct quoting of autoconf macro arguments throughout.
1558 (AC_INIT, AC_OUTPUT): Update to autoconf 2.5x preferred syntax.
1559 (AR, AS, RANLIB, LD, DLLTOOL, DLLWRAP): Don't need AC_SUBST.
1560 (AC_ALLOCA): Invalid after GCC_NO_EXECUTABLES; removed.
1561 (AC_CONFIG_FILES): Add, to generate Makefile.
1563 * configure: Regenerated.
1565 2006-11-21 Danny Smith <dannysmith@users.sourceforge.net>
1567 * Makefile.in: Add aclocal.m4 to source release.
1568 * mingwex/Makefile.in: Ditto.
1569 * profile/Makefile.in: Ditto.
1571 2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1573 * Include/_mingw.h: Increment version to 3.11.
1574 * Makefile.in: Ditto.
1576 2006-11-09 Danny Smith <dannysmith@users.sourceforge.net>
1578 [ mingw-Bugs-1590623 ]
1579 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
1582 2006-10-04 Corinna Vinschen <corinna@vinschen.de>
1584 * Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
1585 correctly parenthesized.
1587 2006-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1589 * mingwex/mb_wc_common.h (get_codepage): Get it
1592 2006-09-18 Danny Smith <dannysmith@users.sourceforge.net>
1594 * mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity.
1596 * mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to
1598 * mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with
1601 2006-09-16 Danny Smith <dannysmith@users.sourceforge.net>
1603 * mingwex/gdtoa/strtopx.c (strtopx): Fix long double representation
1606 2006-09-11 Christopher Faylor <cgf@timesys.com>
1608 * Makefile.in: Semi-revert 2006-08-30 change.
1610 2006-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1612 * include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
1613 (__MINGW_IMPORT): Ansify.
1614 * include/stdlib.h (_sleep, _beep, _seterrormode): Add
1615 __MINGW_ATTRIB_DEPRECATED.
1617 2006-09-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1619 * aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
1620 Redundant macros; deleted.
1622 * configure.in (LIB_AC_PROG_CC): Replaced by...
1623 (AC_PROG_CC): ...this.
1625 * configure: Regenerated.
1627 2006-09-06 Danny Smith <dannysmith@users.sourceforge.net>
1629 * mingwex/gdtoa/misc.c (pow5mult): Restore original code.
1630 * mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
1631 * mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
1633 2006-09-01 Danny Smith <dannysmith@users.sourceforge.net>
1635 * mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
1636 g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
1637 gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
1638 README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
1640 * mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
1641 * mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
1642 * mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
1643 * mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
1644 * mingwex/wcstold.c: Avoid using strtold internals.
1645 * mingwex/wcstof.c: Rewrite.
1646 * mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
1647 (GDTOA_OBJS): Add to library.
1648 (DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
1649 (STDLIB_OBJS): Remove.
1650 (STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
1651 (Q8_OBJS): Add wcstof.o wcstold.o.
1652 * include/stdlib.h (strtof): Remove inline definition.
1654 * include/wchar.h (wcstof): Remove inline definition.
1656 2006-08-30 Corinna Vinschen <corinna@vinschen.de>
1658 * Makefile.in: Add with_cross_host to allow more granular checks.
1659 Set installation directories accordingly. Override CC setting only
1660 if building a Cygwin target.
1661 * aclocal.m4: Regenerate.
1662 * configure.in: Move AC_CANONICAL_SYSTEM check up. Add
1663 GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files.
1664 Test AC_ALLOCA only if building on a native system.
1665 * configure: Regenerate.
1667 2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1669 * include/ctype.h: Fix typo.
1671 2006-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1673 * include/ctype.h: Expose iswblank if __cplusplus.
1674 * include/wctype.h: Expose iswblank if __cplusplus.
1676 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1678 * include/ctype.h: Remove stray ')';
1680 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1682 * include/ctype.h (_BLANK): Expand comment.
1683 (isblank): Add prototype and inline definition.
1684 (iswblank): Add prototype and inline definition.
1685 * include/wctype.h (iswblank): Add prototype and inline definition.
1686 * mingwex/isblank.c: New file.
1687 * mingwex/iswblank.c: New file.
1688 * mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
1690 2006-07-06 Danny Smith <dannysmith@users.sourceforge.net>
1692 * include/math.h (__INFF,__INFL): Remove '#'.
1694 2006-07-04 Danny Smith <dannysmith@users.sourceforge.net>
1696 * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
1698 2006-07-03 Danny Smith <dannysmith@users.sourceforge.net>
1700 Support SSE float environment in fenv.h functions.
1701 * cpu_features.c: New file.
1702 * cpu_features.h: New file.
1703 * crt1.c: Include "cpu_features.h".
1704 (__mingw_CRTStartup): Call cpu_features_init().
1705 * Makefile.in (MING_OBJS): Add cpu_features.c.
1706 (SRCDIST_FILES): Add cpu_features.c, cpu_features.h.
1707 * include/fenv,h ( fenv_t;): Append __mxcsr field.
1708 (__MXCSR_EXCEPT_FLAG_SHIFT): New define.
1709 (__MXCSR_EXCEPT_MASK_SHIFT): New define.
1710 (__MXCSR_ROUND_FLAG_SHIFT): New define.
1711 * mingwex/feclearexcept.c: Include "cpu_features.h".
1712 Handle SSE environment.
1713 * mingwex/fegetenv.c: Likewise.
1714 * mingwex/feholdexcept.c: Likewise.
1715 * mingwex/fesetenv.c: Likewise.
1716 * mingwex/fesetexceptflag.c: Likewise.
1717 * mingwex/fesetround.c: Likewise.
1718 * mingwex/fetestexcept.c: Likewise.
1719 * mingwex/feupdateenv.c: Likewise.
1720 * mingwex/fegetround.c: Add comment.
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-26 Danny Smith <dannysmith@users.sourceforge.net>
1729 * mingwex/math/tgamma.c (SQTPI): Add braces.
1731 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1733 * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
1734 * mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
1736 * mingwex/math/sf_erf.c (erff): Initialize z.
1738 * mingwex/math/tgamma.c (SQTPI): Avoid type punning.
1740 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1742 * Include/_mingw.h: Increment version to 3.10.
1743 * Makefile.in: Ditto.
1745 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1747 * include/sys/time.h (struct timezone): Define.
1748 * include/time.h: Correct comment about timezone.
1750 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1752 * configure.in (AC_CONFIG_AUX_DIR): Remove.
1753 * configure: Regenerate.
1755 2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
1757 * configure: add srcdir as a possible location for install-sh.
1759 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1761 * mingwex/dirent.c (_tGetFileAttributes): New helper function.
1762 (_topendir): Use it.
1764 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1766 * include/sys/time.h: Add header guard. Add extern "C" bracketing
1768 (gettimeofday): Add prototype.
1769 * mingwex/gettimeofday.c: New file.
1770 * mingwex/makefile.in: Add gettimeofday source and object.
1772 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1774 * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
1775 else global library variable.
1776 (HUGEVALF): Likewise.
1777 (HUGEVALL): Likewise.
1778 (INFINITY): Likewise.
1781 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1783 * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
1785 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1787 * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
1789 2006-05-24 Christopher Faylor <cgf@timesys.com>
1791 * configure.in: Update to newer autoconf.
1792 (thanks to Steve Ellcey)
1793 * mingwex/configure.in: Ditto.
1794 * profile/configure.in: Ditto.
1795 * configure: Regenerate.
1796 * mingwex/configure: Ditto.
1797 * profile/configure: Ditto.
1798 * aclocal.m4: New file.
1799 * mingwex/aclocal.m4: Ditto.
1800 * profile/aclocal.m4: Ditto.
1802 2006-05-17 Danny Smith <dannysmith@users.sourceforge.net>
1804 * mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.
1805 Use supplied codepage as arg to WideCharToMultiByte.
1807 2006-02-13 Earnie Boyd <earnie@users.sf.net>
1809 * Makefile.in (libmsvcr80.a): Add import lib.
1810 (libmsvcr80d.a): Ditto.
1812 2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1814 * Makefile.in: Bump cygwin build number.
1816 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1818 * Include/_mingw.h: Increment version to 3.9.
1819 * Makefile.in: Ditto.
1821 2005-10-14 Danny Smith <dannysmith@users.sourceforge.net>
1823 * include/limits.h (SSIZE_MAX): Define.
1824 (LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.
1826 2005-10-13 Wu Yongwei <adah@users.sourceforge.net>
1828 * include/tchar.h: Include <wchar.h> when _UNICODE is defined.
1829 (_TEOF): New macro definition for _UNICODE and non_UNICODE cases.
1831 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1833 * include/stddef.h: Remove.
1834 * include/stdarg.h: Remove.
1836 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1838 * mingwex/complex/csqrt.c (csqrt): The sign of real part
1839 of result is positive when real part of arg == 0;
1840 * mingwex/complex/csqrtf.c (csqrtf): Ditto.
1841 * mingwex/complex/csqrtl.c (csqrtl): Ditto.
1843 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1845 * include/time.h (_time64): Correct prototype.
1847 2005-10-08 Danny Smith <dannysmith@users.sourceforge.net>
1849 * mingwex/fegetenv.c (fegetenv): Restore exception masks.
1850 * mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
1851 to non-stop. Use "fnclex" to clear exception flags.
1853 2005-09-24 Danny Smith <dannysmith@users.sourceforge.net>
1855 * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
1856 Avoid raising FP exceptions.
1858 2005-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1860 * include/stdlib.h (strtof): Add prototype. Uglify
1861 parameter names in inline definition.
1863 (_Exit): Uglify parameter names in inline definition.
1864 (llabs): Add prototype.
1865 (_set_error_mode): Add prototype and input defines.
1867 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1869 * mingwex/fe*.c: Revert previous changes.
1870 * include/fenv.h: Revert previous changes.
1872 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1874 * mingwex/feclearexcept.c (feclearexcept): Change declaration.
1875 Do not return a value.
1876 * mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
1877 * mingwex/feraiseexcept.c (feraiseexcept): Likewise.
1878 * mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
1879 * mingwex/fegetenv.c (fegetenv): Likewise.
1880 * mingwex/fesetenv.c (fesetenv): Likewise.
1881 * mingwex/feupdateenv.c (feupdateenv): Likewise.
1882 * include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
1883 fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
1886 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1888 * mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
1889 getting filelength for SEEK_END.
1891 2005-08-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1893 * Include/_mingw.h: Increment version to 3.8.
1894 * Makefile.in: Ditto.
1896 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1898 * include/wctype.h (towupper, towlower): Change arg and return value
1900 * include/ctype.h (towupper, towlower): Likewise.
1902 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1904 * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
1905 a diagnostic, guarded by #ifdef DEBUG.
1906 (__mingwthr_remove_key_dtor): Likewise.
1908 2005-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1910 * moldname.def.in (sleep, beep, seterrormode): Remove.
1912 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1914 * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
1915 (_MCOUNT_DECL): Use it.
1916 (MCOUNT): Save and restore eax, ecx, edx registers.
1917 * profile/mcount.c (_mcount): ANSI-fy.
1919 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1921 * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
1922 guard __MINGW_ATTRIB macro definitions.
1923 * include/math.h (logb[fl]): Don't define inlines for
1924 GCC-4.0+ && __FAST_MATH__.
1925 (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up
1926 line-continuation backslashes.
1928 2005-06-06 Danny Smith <dannysmith@users.sourceforge.net>
1930 * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
1931 in GNUC version guard.
1933 2005-05-20 Danny Smith <dannysmith@users.sourceforge.net>
1935 * crt1.c (_gnu_exception_handler): Handle illegal instruction
1936 OS exception as a signal if user has defined a SIGILL handler.
1938 2005-05-10 Danny Smith <dannysmith@users.sourceforge.net>
1940 * mingwex/math/nexttoward.c: New file.
1941 * mingwex/math/nexttowardf.c: New file.
1942 * mingwex/math/nextafterl.c: Add nexttowardl alias.
1943 * mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
1945 (MATH_OBJS): Add nexttoward.o, nexttowardf.o,
1946 * include/math.h (nexttoward, nextowardf, nexttowardl): Add
1949 2005-05-09 Danny Smith <dannysmith@users.sourceforge.net>
1951 * mingwex/math/nextafterf.c (nextafterf): Correct
1953 * mingwex/math/nextafterl.c: New file.
1954 * mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
1955 (MATH_OBJS): Add nextafterl.o.
1956 * include/math.h (nextafterl): Uncomment prototype.
1958 2005-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1960 * mingwex/math/erfl.c: New file.
1961 * mingwex/Makefile.in (MATH_DISTFILES): Add erfl.c.
1962 (MATH_OBJS): Add erfl.o.
1963 * include/math.h (erfl, erfcl): Uncomment prototypes.
1965 2005-05-04 Danny Smith <dannysmith@users.sourceforge.net>
1967 * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
1968 #if (WCHAR_MAX <= WCHAR_MIN) is false.
1969 * include/stdint.h (WCHAR_MAX): Likwise.
1970 (WINT_MAX): Likewise.
1972 2005-05-03 Danny Smith <dannysmith@users.sourceforge.net>
1974 * mingwex/math/signbit.c (__signbit): Make return value
1975 consistent with GCC's __builtin_signbit.
1976 * mingwex/math/signbitf.c (__signbitf): Likewise.
1977 * mingwex/math/signbitf.c (__signbitl): Likewise.
1978 * include/math.h (__signbit, __signbitf, __signbitl): Likewise
1981 2005-05-02 Danny Smith <dannysmith@users.sourceforge.net>
1983 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
1985 * mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
1986 Remove unused MBTOWC_FLAGS define.
1988 2005-04-23 Danny Smith <dannysmith@users.sourceforge.net>
1990 * mingwex/mbrtowc.c: New file.
1991 * mingwex/wcrtomb.c: New file.
1992 * mingwex/btowc.c: New file.
1993 * mingwex/wctob.c: New file.
1994 * mingwex/mb_wc_common.h: New file.
1995 * mingwex/Makefile.in (DISTFILES): Add new files.
1996 (Q8_OBJS): Add new objects.
1997 * include/wchar.h: Adjust comment about mbrtowc() and related
1998 funcions. Add __restrict__ to pointer params in prototypes.
1999 (wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
2000 arg names from protototypes.
2002 2005-04-23 Wu Yongwei <adah@sh163.net>
2004 * mingwex/dirent.c: Formatting changes.
2005 * mingwex/dirent.c (_topendir): Make the end-of-path slash check
2008 2005-03-31 Danny Smith <dannysmith@users.sourceforge.net>
2010 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
2012 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
2014 * include/stdio.h (__mingw_fwrite): Change return value to
2016 * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
2018 2005-03-15 Hans Leidekker <hans@it.vu.nl>
2020 * include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
2022 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2024 * include/wctype.h (wctrans): Remove _CRTIMP.
2025 (towctrans): Likewise.
2028 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2030 * include/wctype.h: Add comment on wctrans, towctrans, wctype.
2032 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2034 * mingwex/wctype.c: New file.
2035 * mingwex/wctrans.c: New file.
2036 * mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c.
2037 * mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.
2039 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2041 * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.
2043 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2045 * include/assert.h: Remove header guard. #undef assert macro.
2046 (_assert): Use __MINGW_ATTRIB_NORETURN define.
2048 2005-02-11 Gregory W. Chicares <chicares@cox.net>
2049 Danny Smith <dannysmith@users.sourceforge.net>
2051 * include/math.h (expm1, expm1f, expmll): Add prototypes.
2052 * mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
2054 (MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
2055 * mingwex/math/expm1.c: New file.
2056 * mingwex/math/expm1f.c: New file.
2057 * mingwex/math/expm1l.c: New file.
2059 2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
2061 * include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
2062 * include/wchar.h (struct stat): Likwwise.
2063 Bug reported to Debian by Anand Kumria <wildfire@progsoc.org>
2065 * include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
2067 2005-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2069 * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
2070 string is not valid.
2072 2005-01-26 Oliver Stoeneberg <oliverst@online.de>
2074 * include/malloc.h: Add missing return code defines for
2077 2005-01-17 Danny Smith <dannysmith@users.sourceforge.net>
2079 * include/sys/stat.h (struct __stat64): Change st_size type to
2081 * include/wchar.h (struct __stat64): Change st_size type to __int64.
2083 2005-01-13 Earnie Boyd <earnie@users.sf.net>
2085 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2087 * include/errno.h (ELOOP): Ditto.
2088 * include/_mingw.h: Increment version to 3.7.
2089 * Makefile.in: Ditto.
2091 2005-01-11 Danny Smith <dannysmith@users.sourceforge.net>
2093 * include/tchar.h (_tfreopen): Add UNICODE mappings.
2095 2005-01-11 Earnie Boyd <earnie@users.sf.net>
2097 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2098 lstat): Conditionalize defines for __STRICT_ANSI__.
2100 2005-01-10 Earnie Boyd <earnie@users.sf.net>
2102 * include/errno.h (ELOOP): Add definition.
2104 2005-01-10 Danny Smith <dannysmith@users.sourceforge.net>
2106 * mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
2107 casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
2108 clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
2109 ctanl.c ctanhl.c): New files.
2110 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2111 (COMPLEX_OBJS): Adjust.
2112 * include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
2113 casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
2114 cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
2117 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2119 * include/_mingw.h (__int16): Define as short.
2120 Thanks to: Leo Yuriev <leoyuriev at users dot sf dot net>
2122 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2124 * include/stdio.h (P_tmpdir): Add define.
2126 2005-01-03 Earnie Boyd <earnie@users.sf.net>
2128 * Makefile.in (inst_docdir): For Cygwin target set to share/doc/.
2130 2005-01-02 Earnie Boyd <earnie@users.sf.net>
2132 * include/_mingw.h: Increment version to 3.6
2133 * Makefile.in: Ditto
2135 2004-12-26 Danny Smith <dannysmith@users.sourceforge.net>
2137 * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
2138 casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
2139 clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
2140 ctanf.c ctanhf.c): New files.
2141 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2142 (COMPLEX_OBJS): Adjust.
2143 * include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
2144 casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
2145 cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
2148 2004-12-20 Danny Smith <dannysmith@users.sourceforge.net>
2150 * include/wchar.h (wcsdup): Correct prototype.
2151 * include/string.h (wcsdup): Correct prototype.
2153 2004-10-14 Danny Smith <dannysmith@users.sourceforge.net>
2155 * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
2157 2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
2159 * mingwex/math/fastmath.h: New file.
2160 * mingwex/math/asinh.c: New file.
2161 * mingwex/math/asinhf.c: New file.
2162 * mingwex/math/asinhl.c: New file.
2163 * mingwex/math/acosh.c: New file.
2164 * mingwex/math/acoshf.c: New file.
2165 * mingwex/math/acoshl.c: New file.
2166 * mingwex/math/atanh.c: New file.
2167 * mingwex/math/atanhf.c: New file.
2168 * include/math.h (asinh, asinhf, asinhl, acosh, acoshf, acoshl,
2169 atanh, atanhf, atanhl): Add prototypes.
2170 * mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
2171 (MATH_DISTFILES): Add sources for above and fastmath.h to list.
2172 Specify dependency on fastmath.h for new objects.
2174 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2176 * include/sys/stat.h (_S_IFLNK): Add definition.
2183 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2185 * include/sys/stat.h (_S_ISLNK): Add definition.
2188 2004-09-05 Earnie Boyd <earnie@users.sf.net>
2190 * include/_mingw.h: Increment minor version for 3.5 release.
2191 * Makefile.in: Ditto.
2192 * mingwex/Makefile.in: Correct typo in list of DISTFILES.
2194 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2196 * include/malloc.h (__mingw_aligned_offset_malloc,
2197 __mingw_aligned_offset_realloc, __mingw_aligned_malloc,
2198 __mingw_aligned_realloc, __mingw_aligned_free): Add
2200 * mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
2201 tst-aligned-malloc.c.
2202 (REPLACE_OBJS): Add mingw-aligned-malloc.o.
2204 2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
2206 * mingwex/mingw-aligned-malloc.c: New file.
2207 * mingwex/tst-aligned-malloc.c: New file.
2209 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2211 * crt1.c: (__mingw_CRTStartup): Change return to void. Add
2212 noreturn attribute. Align stack to 16 bytes before passing args
2214 (mainCRTStartup): Change return to void.
2215 (WinMainCRTStartup): Likewise.
2217 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2219 * profile/COPYING: New file.
2220 * profile/CYGWIN_LICENSE: New file.
2221 * profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
2223 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2225 * mingwex/fopen64.c: Move.
2226 * mingwex/fseeko64.c: Move.
2227 * mingwex/ftello64.c: Move.
2228 * mingwex/lseek64.c: Move.
2229 * mingwex/stdio/fopen64.c: To here.
2230 * mingwex/stdio/fseeko64.c: To here.
2231 * mingwex/stdio/ftello64.c: To here.
2232 * mingwex/stdio/lseek64.c: To here.
2234 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2236 * profile/gmon.c [__MINGW32__]: Include string.h for
2239 2004-08-08 Christopher Faylor <cgf@timesys.com>
2241 * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
2243 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2245 * include/complex.h: Remove __attribute__ ((const)) from
2246 transcendantal and trig functions. Replace __attribute__ ((const))
2247 with __MINGW_ATTRIB_CONST on other declarations.
2249 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2251 * include/wchar.h: Reorganize, avoid including other headers.
2253 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2255 * include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
2256 (strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
2259 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2261 * include/dirent.h (struct _wdirent): Remove obsolete comment.
2263 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2265 * include/string.h: Revert 2004-07-26 additions of
2268 2004-07-28 Danny Smith <dannysmith@users.sourceforge.net>
2270 * mingwex/math/powl.c (powl): Revert change of 2004-02-01.
2271 (__convert_inf_to_maxnum): New.static inline.
2272 (reducl): Use it to protect against Inf - Inf.
2273 (__fast_ldexpl): New function. Use in lieu of ldexpl.
2275 2004-07-27 Danny Smith <dannysmith@users.sourceforge.net>
2277 * mingwex/math/expl.c (expl): Move body of code to new static
2278 function __expl, removing tests for +/-Inf. Extern function
2279 expl calls __expl after testing for max, min log thresholds.
2281 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2283 * mingwex/stdio/vsscanf.c: Add "edi" to registers-modified field
2284 * mingwex/stdio/vfscanf.c: Likewise.
2285 * mingwex/stdio/vswscanf.c: Likewise.
2286 * mingwex/stdio/vfwscanf.c: Likewise.
2288 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2290 * include/_mingw.h: Use only two underscores to uglify
2291 __MINGW_ATTRIB_* macros.
2292 * include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
2293 * include/setjmp.h: Likewise.
2295 * include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
2297 (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
2299 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2301 * include/string.h: Group wide string functions together,
2302 and protect with _WSTRING_DEFINED.
2304 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2306 * include/_mingw.h (__MINGW_ATTR_*): Replace with
2308 * include/stdlib.h (_ATTRIB_NORETURN): Replace with
2309 __MINGW_ATTRIB_NORETURN, throughout.
2310 (malloc): Declare with __MINGW_ATTRIB_MALLOC.
2312 (abs): Declare with __MINGW_ATTRIB_CONST.
2321 * include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
2323 2004-07-21 Danny Smith <dannysmith@users.sourceforge.net>
2325 * include/_mingw.h: Undefine __attribute__.
2326 (__MINGW_ATTR_NORETURN): New define.
2327 (__MINGW_ATTR_CONST): New define.
2328 (__MINGW_ATTR_MALLOC): New define.
2329 (__MINGW_ATTR_PURE): New define.
2330 (_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
2333 2004-07-19 Danny Smith <dannysmith@users.sourceforge.net>
2335 * include/time.h (__time64_t): Add missing ';'.
2337 2004-07-17 Danny Smith <dannysmith@users.sourceforge.net>
2339 * include/time.h (wcsftime): Move out of !__STRICT_ANSI
2341 (struct tm): Protect with _TM_DEFINED.
2343 2004-07-17 Christopher Faylor <cgf@timesys.com>
2345 * Makefile.in (CC): Strip inappropriate include file settings from any
2348 2004-07-15 "dgun" <dgun@umpire.com>
2350 * include/complex.h (conj): Correct typo in prototype.
2352 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2354 * include/math.h: Add pragma GCC system_header.
2356 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2358 * mingwex/complex/carg.c: New file.
2359 * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
2361 2004-07-15 Corinna Vinschen <corinna@vinschen.de>
2363 * Makefile.in (INCLUDES): Temporarily revert previous change.
2364 * mingwex/Makefile,in (INCLUDES): Ditto.
2365 * profile/Makefile,in (INCLUDES): Ditto.
2366 * mingwex/Makefile,in: Drop carg.o dependency.
2368 2004-07-14 Christopher Faylor <cgf@timesys.com>
2370 * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
2372 2004-07-14 Danny Smith <dannysmith@users.sourceforge.net>
2374 * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
2376 * mingwex/Makefile,in (INCLUDES): Ditto.
2377 * profile/Makefile,in (INCLUDES): Ditto.
2379 * mingwex/Makefile,in: Add carg.o to libmingwex.a.
2381 2004-07-13 Earnie Boyd <earnie@users.sourcefourge.net>
2383 * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
2385 * mingwex/Makefile.in: Ditto.
2386 * profile/Makefile.in: Ditto.
2387 * include/limits.h: Change to new file header preamble.
2388 * include/_mingw.h: Increment minor version for 3.4 release.
2389 * Makefile.in: Ditto.
2391 2004-07-12 Danny Smith <dannysmith@users.sourceforge.net>
2393 * mingwex/math/cephes_emath.h (__etens): Remove declaration.
2395 2004-07-11 Danny Smith <dannysmith@users.sourceforge.net>
2397 * include/unistd.h (ftruncate): Add inline definition.
2398 * mingwex/ftruncate.c: New file.
2399 * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
2401 2004-07-10 Danny Smith <dannysmith@users.sourceforge.net>
2403 * include/time.h: Do not include sys/types.h.
2405 2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
2407 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
2408 (MATH_OBJS): Remove pow,o.
2409 * include/math.h (pow): Declare with _CRTIMP.
2410 Add comment on how to avoid excess precision problems.
2412 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
2414 * include/stdio.h (__mingw_fseeko64): Add prototype.
2415 * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
2416 (__mingw_fwrite): Handle huge files.
2418 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
2419 Danny Smith <dannysmith@users.sourceforge.net>
2421 * include/stdio.h (fopen64): Add inline function.
2422 (fseeko64): Add prototype.
2423 (ftello64): Add inline function.
2424 * include/io.h (lseek64): Add inline function.
2425 * include/sys/types (off64_t): Add typedef.
2426 (fpos64_t): Add typedef.
2427 * mingwex/fopen64.c: New file.
2428 * mingwex/fseeko64.c: New file.
2429 * mingwex/ftello64.c: New file.
2430 * mingwex/lseek64.c: New file.
2431 * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
2432 fseeko.64.c, ftello64.c, lseek64.c.
2433 (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
2435 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
2437 * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
2439 2004-04-22 Earnie Boyd <earnie@users.sf.net>
2441 * DISCLAIMER: Add words about "free to use".
2442 * README: Modify "Win32 runtime" to "Microsoft C Runtime".
2443 * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
2444 (inst_docdir): New variable.
2446 (FLAGS_TO_PASS): Include inst_docdir.
2447 (install-dirs): Add inst_docdir.
2448 (install): Add loop for INSTDOCS.
2449 * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
2450 section to CONTRIBUTORS file. Remove RCS tags.
2452 2004-04-22 Danny Smith <dannysmith@users.sourceforge.net>
2454 * mingwex/math/lround.c: Rewrite.
2455 * mingwex/math/lroundf.c: Rewrite.
2456 * mingwex/math/lroundl.c: Rewrite.
2457 * mingwex/math/llround.c: Rewrite.
2458 * mingwex/math/llroundf.c: Rewrite.
2459 * mingwex/math/llroundl.c: Rewrite.
2461 2004-04-20 Earnie Boyd <earnie@users.sf.net>
2463 * CONTRIBUTORS: New file.
2464 * DISCLAIMER: Ditto.
2465 * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
2466 section to CONTRIBUTORS file. Remove RCS tags.
2467 * CRTFmode.c: Ditto.
2471 * crtdll.dev: Ditto.
2481 * msvcrt.def.in: Ditto.
2482 * strcasecmp.c: Ditto.
2485 * include/assert.h: Ditto.
2486 * include/conio.h: Ditto.
2487 * include/ctype.h: Ditto.
2488 * include/direct.h: Ditto.
2489 * include/dirent.h: Ditto.
2490 * include/dos.h: Ditto.
2491 * include/errno.h: Ditto.
2492 * include/excpt.h: Ditto.
2493 * include/fcntl.h: Ditto.
2494 * include/float.h: Ditto.
2495 * include/io.h: Ditto.
2496 * include/locale.h: Ditto.
2497 * include/malloc.h: Ditto.
2498 * include/math.h: Ditto.
2499 * include/process.h: Ditto.
2500 * include/setjmp.h: Ditto.
2501 * include/share.h: Ditto.
2502 * include/signal.h: Ditto.
2503 * include/stdio.h: Ditto.
2504 * include/stdlib.h: Ditto.
2505 * include/string.h: Ditto.
2506 * include/tchar.h: Ditto.
2507 * include/time.h: Ditto.
2508 * include/wchar.h: Ditto.
2509 * include/sys/locking.h: Ditto.
2510 * include/sys/param.h: Ditto.
2511 * include/sys/stat.h: Ditto.
2512 * include/sys/timeb.h: Ditto.
2513 * include/sys/types.h: Ditto.
2514 * include/sys/utime.h: Ditto.
2515 * mingwex/dirent.c: Ditto.
2517 2004-04-19 Earnie Boyd <earnie@users.sf.net>
2519 * include/_mingw.h: Revert to primary release 3 and increment minor
2521 * Makefile.in (VERSION): Ditto.
2523 2004-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2525 * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
2526 _fmode if not __MSVCRT__.
2528 2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
2530 * include/io.h: (_findfirst): Correct prototype.
2532 2004-03-30 Hans Leidekker <hans@it.vu.nl>
2534 * include/io.h: (_findnext, _findclose): Correct prototype.
2536 2004-03-28 Hans Leidekker <hans@it.vu.nl>
2538 * include/math.h (FP_*): Add defines.
2540 2004-03-29 Danny Smith <dannysmith@users.sourceforge.net>
2542 * mingwex/math/round.c: Rewrite.
2543 * mingwex/math/roundf.c: Rewrite.
2544 * mingwex/math/roundl.c: Rewrite.
2546 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2548 * include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.
2549 * include/time.h (__time64_t): Add typedef.
2550 (_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2551 (_ctime64): Likewise.
2552 (_wctime64): Likewise.
2553 (_gmtime64): Likewise.
2554 (_localtime64): Likewise.
2555 (wcsftime): Move into _WTIME_DEFINED block.
2556 Regroup non-ANSI prototypes.
2557 * include/io.h: Include <stdint.h>.
2558 (__finddata64_t): Add struct definition.
2559 (__wfinddata64_t): Likewise.
2560 (_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2561 (_findnext64): Likewise.
2562 (_wfindfirst64): Likewise.
2563 (_wfindnext64): Likewise.
2564 * include/sys/timeb.h (__timeb64): Add struct definition.
2565 (_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2566 * include/sys/utime.h (__utimbuf64): Add struct definition.
2567 (_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2568 (_futime64): Likewise.
2569 (_wutime64): Likewise.
2570 * include/sys/stat.h (__stat64): Add struct definition.
2571 (_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2572 (_stat64): Likewise.
2573 (_wstat64): Likwise.
2574 * include/sys/types.h (__time64_t): Add typedef.
2575 * include/wchar.h (__wfinddata64_t): Add structure definition.
2576 (__stat64): Likewise.
2577 (_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2578 (_wfindfirst64): Likewise.
2579 (_wfindnext64): Likewise.
2580 (_wutime64): Likewise.
2581 (_wstat64): Likwise.
2582 * include/malloc.h (_aligned_free): Add prototype for
2583 __MSVCRT_VERSION__ >= 0x0700.
2584 (_aligned_malloc): Likewise.
2585 (_aligned_offset_malloc): Likewise.
2586 (_aligned_offset_realloc): Likewise.
2587 (_aligned_realloc): Likewise.
2588 * include/string.h (_wcserror): Add prototype for
2589 __MSVCRT_VERSION__ >= 0x0700.
2590 (__wcserror): Likewise.
2591 * include/math.h (_set_SSE2_enable): Add prototype for
2592 __MSVCRT_VERSION__ >= 0x0701.
2594 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2596 * include/stdio.h (_fsopen): Add prototype.
2597 * include/tchar.h (_tfsopen): Add defines.
2598 Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
2600 2004-03-19 Danny Smith <dannysmith@users.sourceforge.net>
2602 * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
2603 msvcr70.dll, and msvcr71.dll.
2604 * Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant
2605 using basename of output def file.
2607 2004-03-13 Danny Smith <dannysmith@users.sourceforge.net>
2609 * include/malloc.h: Remove __STRICT_ANSI__ guard.
2611 2004-03-11 Brian Keener <bkeener@thesoftwaresource.com>
2613 * include/process.h: Remove the #endif associated with removal of
2614 __STRICT_ANSI__ guard from non-ANSI header.
2616 2004-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2618 * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
2619 * include/direct.h: Ditto.
2620 * include/dirent.h: Ditto.
2621 * include/dos.h: Ditto.
2622 * include/excpt.h: Ditto.
2624 * include/io.h: Ditto.
2625 * inlude/mem.h: Ditto.
2626 * include/memory.h: Ditto.
2627 * include/process.h: Ditto.
2628 * inlude/search.h: Ditto.
2629 * include/share.h: Ditto.
2630 * include/unistd.h: Ditto.
2631 * include/sys/fcntl.h: Ditto.
2632 * include/file.h: Ditto.
2633 * include/sys/locking.h: Ditto.
2634 * include/sys/param.h: Ditto.
2635 * include/sys/stat,h
2636 * include/sys/time.h: Ditto.
2637 * include/sys/timeb.h: Ditto.
2638 * include/sys/types.h: Ditto.
2639 * include/sys/unistd.h: Ditto.
2640 * include/sys/utime.h: Ditto.
2642 2004-02-21 Danny Smith <dannysmith@users.sourceforge.net>
2644 * include/_mingw.h (__UNUSED_PARAM): Define macro.
2645 * include/wchar.h (fwide): Use it.
2648 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2650 * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
2651 NetBSD getopt_long.c.
2653 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
2655 * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
2656 codes and handling of special chars.
2658 2004-02-02 Danny Smith <dannysmith@users.sourceforge.net>
2660 * include/stdio.h (feof): Add inlined definition.
2663 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2665 * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
2666 directly, rather than via scabnl.
2668 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2670 * mingwex/math/powl.c (powl): Return infinity if
2671 extended precision multiplication of x by log2(y)
2674 2004-01-31 Danny Smith <dannysmith@users.sourceforge.net>
2676 * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
2677 (__enan_NI16): Fix another one.
2678 (__enan_NBITS): Tidy.
2680 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
2682 * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
2683 types. (Thanks to John Maddock for report.)
2685 2004-01-14 Greg Chicares <chicares@users.sourceforge.net>
2687 * include/tchar.h (_puttchar): Define.
2689 2003-12-13 Danny Smith <dannysmith@users.sourceforge.net>
2691 * include/stdio.h:(_fileno): Define macro version after both
2692 fileno and _fileno functions declared.
2694 * include/stdio.h (_rmtmp, rmtmp): Add prototypes.
2695 * moldnames.def.in (rmtmp) Add stub.
2697 2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
2699 * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
2701 2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
2703 * include/math.h: Guard ISO C99 additions with __cplusplus
2706 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2708 * include/_mingw.h: Define __attribute__((x)) to nothing
2711 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2713 * include/complex.h: New file.
2714 * mingwex/complex: New directory.
2715 * mingwex/complex/cabs.c: New file.
2716 * mingwex/complex/cacos.c: New file.
2717 * mingwex/complex/cacosh.c: New file.
2718 * mingwex/complex/casin.c: New file.
2719 * mingwex/complex/casinh.c: New file.
2720 * mingwex/complex/catan.c: New file.
2721 * mingwex/complex/catanh.c: New file.
2722 * mingwex/complex/ccos.c: New file.
2723 * mingwex/complex/ccosh.c: New file.
2724 * mingwex/complex/cexp.c: New file.
2725 * mingwex/complex/cimag.c: New file.
2726 * mingwex/complex/clog.c: New file.
2727 * mingwex/complex/cpow.c: New file.
2728 * mingwex/complex/cproj.c: New file.
2729 * mingwex/complex/creal.c: New file.
2730 * mingwex/complex/csin.c: New file.
2731 * mingwex/complex/csinh.c: New file.
2732 * mingwex/complex/csqrt.c: New file.
2733 * mingwex/complex/ctan.c: New file.
2734 * mingwex/complex/ctanh.c: New file.
2735 * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
2738 (COMPLEX_OBJS): New list of objects.
2739 (LIB_OBJS): Include it in the library.
2741 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2743 * include/math.h (cabs): Remove non-ISO prototype.
2745 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2747 * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
2748 Use GCC __builtin's if available.
2749 (INFINITY, INFINITYF, INFINITYL): Likewise.
2751 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2753 * mingwex/math/s_erf.c (erf): Set errno to ERANGE if
2754 beyond approximation limit.
2755 * mingwex/math/sf_erf.c (erff): Likewise.
2757 2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
2759 * include/stdio.h (getc): Cast result to unsigned char before
2762 (getchar): Likewise.
2763 (putchar): Likewise.
2764 Thanks to M.Fujii <boochang@m4.kcn.ne.jp>
2766 2003-10-10 Earnie Boyd <earnie@users.sf.net>
2768 * include/_mingw.h: Increment version to 3.2.
2769 * Makefile.in: Ditto.
2771 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2773 * include/sys/types.h: Revert last change.
2775 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2777 * include/sys/types.h (ssize_t): Correct the definition.
2779 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2781 * include/stdio.h (_filbuf): Add prototype.
2782 (_flsbuf): Add prototype.
2783 (getc): Add inline version.
2785 (getchar): Likewise.
2786 (putchar): Likewise.
2788 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2790 * mingwex/dirent.c (_treaddir): Reset errno to 0 if end
2793 2003-09-29 Danny Smith <dannysmith@users.sourceforge.net>
2795 * include/stdlib.h: Guard non-ISO functions with
2796 !__STRICT_ANSI__, throughout.
2798 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2800 * include/io.h (_fileno): Remove prototype.
2802 (FILENAME_MAX): Define, if needed.
2803 Don't include <stdio.h>.
2804 * include/stdio.h (FILENAME_MAX): Protect against
2806 (_fileno): Define macro implementation.
2809 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2811 * include/inttypes.h: Include _mingw.h.
2813 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2815 * include/_mingw.h (__CRT_INLINE): Define.
2816 * include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
2818 * include/inttypes.h: Likewise.
2819 * include/math.h: Likewise.
2820 * include/stdio.h: Likewise.
2821 * include/stdlib.h: Likewise.
2822 * include/string.h: Likewise.
2823 * include/wchar.h: Likewise.
2824 * include/wctype.h: Likewise.
2826 2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
2828 * mingwex/dirent.c (_topendir): Allocate enough memory for
2829 DIR struct in UNICODE case too.
2831 2003-09-15 Earnie Boyd <earnie@users.sf.net>
2833 * include/_mingw.h: Increment version to 3.2.
2834 * Makefile.in: Ditto.
2836 2003-07-03 Earnie Boyd <earnie@users.sf.net>
2838 * config.guess, config.sub: Update with versions from ftp.gnu.org.
2840 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2842 * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
2843 * mingwex/math/truncf.c (truncf): Likewise.
2844 * mingwex/math/truncl.c (truncl): Likewise.
2845 * mingwex/math/modff.c (modff): Likewise.
2846 * mingwex/math/modfl.c (modfl): Likewise.
2848 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2850 * include/search.h: New file.
2851 * include/stdlib.h: Add comment about qsort, bsearch in
2853 * test_headers.c: Include search.h.
2854 * moldname.def.in (lfind, lsearch): Add.
2856 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2858 * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
2859 _execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
2860 execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
2862 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2864 * include/_mingw.h (small, hyper): Change to __small and __hyper to
2865 avoid user space name conflicts.
2867 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2869 * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
2870 Note: Also added to w32api/include/basetyps.h.
2871 * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
2872 Rename to Small (case difference).
2874 2003-06-18 Earnie Boyd <earnie@users.sf.net>
2876 * include/dirent.h (dirent): Make d_name and array instead of a pointer.
2877 * mingwex/dirent.c: Modifications througout to fill d_name array.
2878 * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
2879 libmsvcr71, including debug versions.
2880 (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
2882 2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
2884 * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
2885 __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
2887 Thanks to: Aaron W LaFramboise <AWLaFramboise@aol.com>
2889 2003-05-30 Sascha Sommer <saschasommer@freenet.de>
2891 * include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
2893 2003-05-15 Danny Smith <dannysmith@users.sourceforge.net>
2895 * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
2896 but still protect inline definition with __STRICT_ANSI__.
2898 2003-05-14 Danny Smith <dannysmith@users.sourceforge.net>
2900 * string_old.c: Remove, splitting into...
2901 * strcasecmp.c: New file.
2902 * strncasecmp.c: New file.
2903 * wscmpi.c : New file.
2904 * ctype_old.c: Remove, splitting into...
2905 * isascii.c: New file.
2906 * iscsym.c: New file.
2907 * iscsymf.c: New file.
2908 * toascii.c: New file.
2909 * Makefile.in (MOLD_OBJS): Adjust.
2910 (SRCDIST_FILES): Adjust.
2912 2003-05-13 Danny Smith <dannysmith@users.sourceforge.net>
2914 * include/math.h (fabs) : Remove inline definition.
2918 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2920 * include/_mingw.h: Change version to 3.0
2921 * Makefile.in: Ditto.
2923 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2925 * configure.in (W32API_INCLUDE): Need the -I switch in the value.
2926 * mingwex/configure.in (W32API_INCLUDE): Ditto.
2927 * profile/configure.in (W32API_INCLUDE): Ditto.
2929 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2931 * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
2932 of multiply defined symbols if the symbols is defined locally. E.G.:
2933 A local definition of malloc causes this problem.
2934 * configure: Regenerate.
2935 * profile/Makefile.in (W32API_INCLUDE): New variable.
2936 (ALL_CFLAGS): Use W32API_INCLUDE value.
2937 (ALL_CXXFLAGS): Ditto.
2938 (gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
2939 Thanks to Jeff Bonggren <jbon@users.sf.net>.
2940 * profile/configure.in (W32API_INCLUDE): Set default value.
2941 * profile/configure: Regenerate.
2942 * mingwex/Makefile.in (W32API_INCLUDE): New variable.
2943 (ALL_CFLAGS): Use W32API-INCLUDE value.
2944 (ALL_CXXFLAGS): Ditto.
2945 * mingwex/configure.in (W32API_INCLUDE): Set default value.
2946 * mingwex/configure: Regenerate.
2948 2003-05-05 Earnie Boyd <earnie@users.sf.net>
2950 * Makefile.in (W32API_INCLUDE): New variable.
2951 (ALL_CFLAGS): Use W32API_INCLUDE value.
2952 (ALL_CXXFLAGS): Ditto.
2953 * configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
2954 (W32API_INCLUDE): Set default value.
2955 * configure: Regenerate.
2957 2003-04-11 Earnie Boyd <earnie@users.sf.net>
2959 * configure.in (LIBM_A): Define for cygwin target.
2960 * configure (LIBM_A): Ditto.
2962 2003-04-07 Danny Smith <dannysmith@users.sourceforge.net>
2964 * include/time.h (strftime): Remove duplicate declaration.
2966 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2968 * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
2970 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2972 * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
2973 * mingwex/strtoimax.c (strtoimax): Likewise.
2974 * mingwex/wcstoimax.c (wcstoimax): Likewise.
2975 * mingwex/wtoll.c (wtoll): Remove unnecessary ';'
2976 * mingwex/fesentenv.c: Include float.h.
2977 * mingwex/math/powl.c: Eliminate type punning/strict aliasing
2979 * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
2981 * mingwex/math/tgammal.c: Likewise.
2983 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2985 * include/utime.h: New file, forwarding to sys/utime.h.
2987 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2989 * include/sys/param.h (MAXPATHLEN): Define.
2991 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2993 * include/tchar.h: Ansi-fy a comment.
2995 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2997 * profile/profile.h (mcount): Use __builtin_return_address
2998 rather than inline __asm statements.
2999 * profile/Makefile.in: Remove special rule for mcount.o
3000 Specify dependencies for mcount.o profil.o gmon.o.
3002 2003-03-10 Danny Smith <dannysmith@users.sourceforge.net>
3004 * include/stdlib.h (qsort): Remove const from first parm.
3005 Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
3007 2003-03-03 Christopher Faylor <cgf@redhat.com>
3009 * mingwex/getopt.c: Refresh from NetBSD sources.
3011 2003-03-03 Danny Smith <dannysmith@users.sourceforge.net>
3013 * mingwex/getopt.c: New file, copied from cygwin srcs.
3014 * include/getopt.h: New file, copied from cygwin srcs.
3015 * include/unistd.h: Include getopt.h.
3016 * mingwex/Makefile.in (DISTFILES): Add getopt.c.
3017 (POSIX_OBJS): Add getopt.o.
3019 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
3021 * include/stdio.h (vscanf): Add prototype.
3027 * include/wchar.h (vwscanf): Add prototype.
3030 * mingwex/snprintf.c: Move to mingwex/stdio.
3031 * mingwex/vsnprintf.c: Ditto.
3032 * mingwex/snwprintf.c: Ditto.
3033 * mingwex/vsnwprintf.c: Ditto.
3034 * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
3035 (STDIO_DISTFILES): Add.
3036 (DISTFILES): Adjust.
3037 (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
3041 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com>
3043 * mingwex/stdio: New directory
3044 * mingwex/stdio/vfscanf.c: New file.
3045 * mingwex/stdio/vfwscanf.c: New file.
3046 * mingwex/stdio/vscanf.c: New file.
3047 * mingwex/stdio/vsscanf.c: New file.
3048 * mingwex/stdio/vswscanf.c: New file.
3049 * mingwex/stdio/vwscanf.c: New file.
3051 2003-02-25 Earnie Boyd <earnie@users.sf.net>
3053 * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
3054 (libmsvcrt40.a): Ditto.
3056 2003-02-21 Earnie Boyd <earnie@users.sf.net>
3058 Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
3060 * Makefile.in (libmsvcrtd.a): Add target library.
3061 (libmoldnamed.a): Ditto.
3062 (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
3064 ($(srcdir)): Remove explicit reference for depencies of object targets.
3065 * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
3066 msvcrt20.def, msvcrt40.def: Remove.
3067 * msvcrt.def.in: New file (Copy of previous msvcrt.def).
3069 2003-02-20 Corinna Vinschen <corinna@vinschen.de>
3071 * Makefile.in: Make sure libmingwex.a from current build tree is used.
3073 2003-02-14 Christopher Faylor <cgf@redhat.com>
3075 * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
3076 ensure -mno-cygwin where appropriate. Filter out -O2.
3078 2003-02-13 Danny Smith <dannysmith@users.sourceforge.net>
3080 * profile/Makefile.in (mcount.o): Use -O1 optimization
3083 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3085 * include/math.h: Remove _CRTIMP from pow() prototype,
3086 unless __NO_ISOCEXT.
3088 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3090 * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
3092 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3094 * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
3095 __declspec(dllimport) supported.
3096 (__cdecl): Define if not already defined.
3097 (__stdcall): Likewise.
3098 * include/dirent.h: Qualify fuctions with __cdecl.
3099 * include/fenv.h: Likewise.
3100 * include/inttypes.h: Likewise.
3101 * include/assert.h: Qualify fuctions with __cdecl. Qualify
3102 CRT dll imports with _CRTIMP.
3103 * include/conio.h: Likewise.
3104 * include/ctype.h: Likewise.
3105 * include/direct.h: Likewise.
3106 * include/dos.h: Likewise.
3107 * include/errno.h: Likewise.
3108 * include/float.h: Likewise.
3109 * include/io.h: Likewise.
3110 * include/locale.h: Likewise.
3111 * include/malloc.h: Likewise.
3112 * include/math.h: Likewise.
3113 * include/mbctype.h: Likewise.
3114 * include/mbstring.h: Likewise.
3115 * include/process.h: Likewise.
3116 * include/setjmp.h: Likewise.
3117 * include/signal.h: Likewise.
3118 * include/stdio.h: Likewise.
3119 * include/stdlib.h: Likewise.
3120 * include/string.h: Likewise.
3121 * include/time.h: Likewise.
3122 * include/wchar.h: Likewise.
3123 * include/wctype.h: Likewise.
3124 * include/sys/stat.h: Likewise.
3125 * include/sys/timeb.h: Likewise.
3126 * include/sys/utime.h: Likewise.
3128 * include/ctype.h: Guard ctype inlines with __NO_INLINE__.
3129 * include/wctype.h: Guard wctype inlines with __NO_INLINE__.
3131 * include/stdio.h (__VALIST): Guard against prior definition.
3133 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3135 * include/_mingw.h: Change version to 3.0
3136 * Makefile.in: Ditto.
3138 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3140 * include/stdlib.h: Make words after #endif a comment.
3142 2003-02-07 Danny Smith <dannysmith@users.sourceforge.net>
3144 * include/locale.h: Include stddef.h for definition of NULL.
3146 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3148 * include/math.h (tgamma): Correct typo in comment.
3150 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3152 * mingwex/mingw-fseek.c (INLINE): Remove define.
3153 (__mingw_is_win9x): Remove static inline function.
3154 (_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
3156 2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
3158 * mingwex/math/llround.c: Correct function name and
3159 change return value to long long.
3161 2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
3163 * include/ctype.h (__isascii): Don't cast arg to unsigned.
3164 (iswascii): Likewise. Correct mask.
3165 * include/wctype.h (iswascii): Don't cast arg to unsigned.
3168 2003-01-03 Danny Smith <dannysmith@users.sourceforge.net>
3170 * include/stdlib.h (_osver, _winver, _winmajor,
3171 _winminor): Declare as direct imports from dll if
3172 __DECLSPEC_SUPPORTED.
3174 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
3176 * pseudo-reloc.c (do_pseudo_reloc): Make static.
3177 * pseudo-reloc-list.c: New file.
3178 * crt1.c (_pei386_runtime_relocator): Declare.
3179 (__mingw_CRTStartup): Call it.
3180 * dllcrt1.c (_pei386_runtime_relocator): Declare.
3181 (DllMainCRTStartup): Call it.
3182 * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to
3185 2003-01-01 Egor Duda <deo@logos-m.ru>
3187 * pseudo-reloc.c: New file.
3189 2002-12-20 Earnie Boyd <earnie@users.sf.net>
3191 * include/_mingw.h: Increment version to 2.4.
3194 2002-12-12 Earnie Boyd <earnie@users.sf.net>
3196 * include/malloc.h (_alloca): Add definition.
3199 2002-12-08 Danny Smith <dannysmith@users.sourceforge.net>
3201 * mingwex/math/s_erf.c: New file.
3202 * mingwex/math/sf_erf.c: New file.
3203 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3204 (MATH_OBJS): Add new objects.
3205 * include/math.h (erf[f]): Add prototypes.
3206 (erfc[f]): Add prototypes.
3208 2002-12-07 Danny Smith <dannysmith@users.sourceforge.net>
3210 * include/math.h: Add traditional/XOPEN math constants.
3212 2002-11-27 Danny Smith <dannysmith@users.sourceforge.net>
3214 * mingwex/math/lgamma.c: New file.
3215 * mingwex/math/lgammaf.c: New file.
3216 * mingwex/math/lgammal.c: New file.
3217 * mingwex/math/tgamma.c: New file.
3218 * mingwex/math/tgammaf.c: New file.
3219 * mingwex/math/tgammal.c: New file.
3220 * mingwex/math/cephes_mconf (polevlf): Add float version.
3222 Define _CEPHES_USE_ERRNO.
3223 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3224 (MATH_OBJS): Add new objects.
3225 * include/math.h (lgamma[fl]): Add prototypes.
3226 (tgamma[fl]): Add prototypes.
3228 2002-11-26 Danny Smith <dannysmith@users.sourceforge.net>
3230 * mingwex/strtold.c: New file.
3231 * mingwex/wcstold.c: New file.
3232 * mingwex/ldtoa.c: New file.
3233 * mingwex/math/cephes_emath.h: New file.
3234 * mingwex/math/cephes_emath.c: New file.
3235 * mingwex/Makefile.in (DISTFILES): Add new files.
3236 (MATH_DISTFILES): Ditto.
3237 (STDLIB_OBJS): New. Define as strtold.c wcstold.c.
3238 (MATH_OBJS): Add cephes_emath.o.
3239 (LIB_OBJS): Add $(STDLIB_OBJS).
3240 * include/stdlib.h (strtold, wcstold): Add prototypes.
3241 * include/wchar.h (wcstold): Add prototype.
3243 2002-11-09 Danny Smith <dannysmith@users.sourceforge.net>
3245 * include/math.h (sqrt): Remove inline definition.
3246 (sqrtf): Replace inline definition with prototype.
3248 * mingwex/math/sqrtf.c (sqrtf): Set domain error if
3249 argument less than zero.
3250 * mingwex/math/sqrtf.c (sqrtl): Likewise.
3252 2002-10-30 Guido Serassio <serassio@libero.it>
3254 * include/stdio.h (_getmaxstdio): Add prototype.
3255 (_setmaxstdio): Likewise.
3257 2002-10-19 Kang Li <rubylith@users.sourceforge.net>
3259 * include/fcntl.h (O_SEQUENTIAL): Correct typo.
3261 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3263 * crt1.c: Define new macro __IN_MINGW_RUNTIME before including
3265 Define WIN32_MEAN_AND_LEAN before including windows.h
3266 * include/stdlib.h (_fmode): Protect declaration as dllimported
3267 variable with __IN_MINGW_RUNTIME.
3269 2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu>
3271 * crt1.c: Include stdlib.h.
3273 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3275 * Makefile.in (CRT0S): Add txtmode.o binmode.o.
3276 (MINGW_OBJS): Add txtmode.o.
3277 (SRCDIST_FILES): Add txtmode.c binmode.c.
3278 crt1.c: Don't include fcntrl.h, stdlib.h.
3279 (_fmode): Declare, without dllimport attribute.
3280 (__p__fmode): Declare access function for dll's _fmode.
3281 (_mingw32_init_fmode): Sync dll _fmode with staticly linked
3283 * txtmode.c: New file.
3284 * binmode.c: New file.
3285 * samples/fmode/test2.c: New file.
3286 * samples/fmode/jamfile: Add test2.exe target.
3288 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3290 * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
3291 macros work with C89.
3292 (INTMAX_C, UINTMAX_C): Likewise.
3294 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3296 * include/string.h (strcasecmp): Make extern __inline__.
3297 (strncasecmp): Likewise.
3298 (wcscmpi): Likewise.
3300 2002-10-08 Heiko Gerdau <hg@technosis.de>
3302 * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
3303 _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
3306 2002-10-07 Danny Smith <dannysmith@users.sourceforge.net>
3308 * mingwex/math/powil.c: Rename powil to __powil.
3309 * mingwex/math/powl.c: Adjust declaration and call
3310 to __powil. Remove comment on powil.
3311 * mingwex/math/powi.c: New file.
3312 * mingwex/math/powif.c: New file.
3313 * mingwex/math/pow.c: New file.
3314 * mingwex/math/cephes_mconf.h. Add double and float
3315 versions of constants.
3316 (polevl): Add double precision function.
3318 * mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
3320 (MATH_OBJS): Add pow.o, powi.o, powif.o.
3322 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3324 * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
3325 (_imp____mbcur_max_dll): Likewise.
3327 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3329 * include/fcntl.h (_fmode): Remove declarations and
3330 compatibility defines.
3331 (_setmode, setmode): Remove prototypes.
3332 * include/stdlib (_fmode): Add declarations and
3333 compatibility defines. Change type to int.
3334 * include/io.h (_setmode, setmode): Add prototypes.
3335 * samples/fmode/all.c: Adjust includes.
3336 * samples/fmode/test.c: Likewise.
3337 * crt1.c (_CRT_fmode): Declare as int.
3338 * CRTfmode.c (_CRT_fmode): Likewise.
3340 * include/stdlib: Remove comment about MB_CUR_MAX.
3342 2002-10-02 Danny Smith <dannysmith@users.sourceforge.net>
3344 * include/stdlib.h (_imp____mbcur_max): Add missing ';'.
3345 (_imp____mbcur_max_dll): Likewise.
3347 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3349 * mingwex/math/files.txt: Remove inadvertantly added file.
3351 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3353 * include/string.h (_strerror): Move into #ifndef
3354 __STRICT_ANSI__ block.
3356 2002-09-17 Danny Smith <dannysmith@users.sourceforge.net>
3358 * include/time.h (__need_NULL): Define before including
3359 stddef.h. Thanks to: Rüdiger Dehmel <de@lmnet.de>.
3361 2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
3363 * include/stdio.h: Correct comment about directory separator.
3365 2002-09-12 Danny Smith <dannysmith@users.sourceforge.net>
3367 * include/sys/time.h (timeval): Add struct definition and
3368 associated macros (copied from w32api/include/winsock.h).
3370 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3372 * include/_mingw.h: Increment version to 2.3.
3375 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3377 * mingwex/fegetenv.c: Change to \n line endings.
3378 * mingwex/vsnprintf.c: Ditto.
3379 * mingwex/vsnwprintf.c: Ditto.
3381 2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
3383 * mingwex/math/hypotl.c: Replace with version based on cephes
3386 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3388 * include/sys/param.h: Add ENDIAN defines.
3389 * test_headers.c: Include sys/param.h.
3391 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3393 * test_headers.c: Don't include varargs.h.
3394 * Makefile.in (test_headers): Don't use -std=xx
3397 2002-08-21 Earnie Boyd <earnie@users.sf.net>
3399 * include/sys/param.h: New File.
3401 2002-08-21 Danny Smith <dannysmith@users.sourceforge.net>
3403 * include/math.h (asm): Change to __asm__ throughout.
3404 Expose ISO C99 functions if __GLIPCPP__.
3405 (hypotf): Use hypot, not _hypot in stub.
3407 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3409 * include/tchar.h: Ansi-fy another comment.
3411 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3413 * include/tchar.h: Ansi-fy comment.
3415 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3417 * test_headers.c : New file.
3418 * Makefile.in (test_headers): New target, using it,
3419 (SRCDIST_FILES): Distribute it.
3421 2002-08-20 Earnie Boyd <earnie@users.sf.net>
3423 * include/_mingw.h: Increment version to 2.2.
3426 2002-08-14 Earnie Boyd <earnie@users.sf.net>
3428 * include/unistd.h: Add include of process.h.
3430 2002-08-03 Danny Smith <dannysmith@users.sourceforge.net>
3432 * include/stdio.h (_fcloseall): Add prototype.
3434 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3436 * include/tchar.h (_tfdopen): Correct typo.
3438 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3440 * moldname.def.in (chgsign,scalb,finite,fpclass,logb,
3441 nextafter): Add non-underscored stubs.
3442 * moldname-msvcrt.def: Regenerate.
3443 * moldname-crtdll.def: Regenerate.
3444 * mingwex/math: New directory.
3445 * mingwex/rint.c: Move to mingwex/math.
3446 * mingwex/rintf.c: Ditto.
3447 * mingwex/rintl.c: Ditto.
3448 * mingwex/round.c: Ditto.
3449 * mingwex/roundf.c: Ditto.
3450 * mingwex/roundl.c: Ditto.
3451 * mingwex/rint.c: Ditto.
3452 * mingwex/rintf.c: Ditto.
3453 * mingwex/rintl.c: Ditto.
3454 * mingwex/trunc.c: Ditto.
3455 * mingwex/truncf.c: Ditto.
3456 * mingwex/truncl.c: Ditto.
3457 * mingwex/signbit.c: Ditto.
3458 * mingwex/signbitf.c: Ditto.
3459 * mingwex/signbitl.c: Ditto.
3460 * mingwex/copysignl.S: Ditto.
3461 * mingwex/fdim.c: Ditto.
3462 * mingwex/fdimf.c: Ditto.
3463 * mingwex/fdiml.c: Ditto.
3464 * mingwex/fmin.c: Ditto.
3465 * mingwex/fminf.c: Ditto.
3466 * mingwex/fminl.c: Ditto.
3467 * mingwex/fmax.c: Ditto.
3468 * mingwex/fmaxf.c: Ditto.
3469 * mingwex/fmaxl.c: Ditto.
3470 * mingwex/fma.c: Ditto.
3471 * mingwex/fmaf.c: Ditto.
3472 * mingwex/fmal.c: Ditto.
3473 * mingwex/fpclassify.c: Ditto.
3474 * mingwex/fpclassifyl.c: Ditto.
3475 * mingwex/fpclassifyl.c: Ditto.
3476 * mingwex/isnan.c: Ditto.
3477 * mingwex/isnanf.c: Ditto.
3478 * mingwex/isnanl.c: Ditto.
3479 * mingwex/fucom.c: Ditto.
3480 * mingwex/fp_consts.c: Ditto. Split out float and long double
3482 * mingwex/math_stubs.c: Remove.
3483 * mingwex/log2.c: Remove. Replaced by math/log2.S
3484 * mingwex/log2f.c: Remove. Replaced by math/log2f.S
3485 * mingwex/log2l.c: Remove. Replaced by math/log2l.S
3486 * mingwex/math/acosf.c : New file.
3487 * mingwex/math/acosl.c: New file.
3488 * mingwex/math/asinf.c: New file.
3489 * mingwex/math/asinl.c: New file.
3490 * mingwex/math/atan2f.c: New file.
3491 * mingwex/math/atan2l.c: New file.
3492 * mingwex/math/atanf.c: New file.
3493 * mingwex/math/atanl.c: New file.
3494 * mingwex/math/cbrt.c: New file.
3495 * mingwex/math/cbrtf.c: New file.
3496 * mingwex/math/cbrtl.c: New file.
3497 * mingwex/math/ceilf.S: New file.
3498 * mingwex/math/ceill.S: New file.
3499 * mingwex/math/cephes_ld.h: New file.
3500 * mingwex/math/copysign.S: New file.
3501 * mingwex/math/copysignf.S: New file.
3502 * mingwex/math/cosf.S: New file.
3503 * mingwex/math/coshf.c: New file.
3504 * mingwex/math/coshl.c: New file.
3505 * mingwex/math/cosl.S: New file.
3506 * mingwex/math/exp2.S: New file.
3507 * mingwex/math/exp2f.S: New file.
3508 * mingwex/math/exp2l.S: New file.
3509 * mingwex/math/expf.c: New file.
3510 * mingwex/math/expl.c: New file.
3511 * mingwex/math/fabs.c: New file.
3512 * mingwex/math/fabsf.c: New file.
3513 * mingwex/math/fabsl.c: New file.
3514 * mingwex/math/floorf.S: New file.
3515 * mingwex/math/floorl.S: New file.
3516 * mingwex/math/fmodf.c: New file.
3517 * mingwex/math/fmodl.c: New file.
3518 * mingwex/math/fp_consts.h: Ditto.
3519 * mingwex/math/fp_constsf.c: Ditto.
3520 * mingwex/math/fp_constsl.c: Ditto.
3521 * mingwex/math/frexpf.c: New file.
3522 * mingwex/math/frexpl.S: New file.
3523 * mingwex/math/hypotf.c: New file.
3524 * mingwex/math/hypotl.c: New file.
3525 * mingwex/math/ilogb.S: New file.
3526 * mingwex/math/ilogbf.S: New file.
3527 * mingwex/math/ilogbl.S: New file.
3528 * mingwex/math/ldexpf.c: New file.
3529 * mingwex/math/ldexpl.c: New file.
3530 * mingwex/math/llrint.c: New file.
3531 * mingwex/math/llrintf.c: New file.
3532 * mingwex/math/llrintl.c: New file.
3533 * mingwex/math/llround.c: New file.
3534 * mingwex/math/llroundf.c: New file.
3535 * mingwex/math/llroundl.c: New file.
3536 * mingwex/math/log10f.S: New file.
3537 * mingwex/math/log10l.S: New file.
3538 * mingwex/math/log1p.S: New file.
3539 * mingwex/math/log1pf.S: New file.
3540 * mingwex/math/log1pl.S: New file.
3541 * mingwex/math/log2.S: New file.
3542 * mingwex/math/log2f.S: New file.
3543 * mingwex/math/log2l.S: New file.
3544 * mingwex/math/logb.c: New file.
3545 * mingwex/math/logbf.c: New file.
3546 * mingwex/math/logbl.c: New file.
3547 * mingwex/math/logf.S: New file.
3548 * mingwex/math/logl.S: New file.
3549 * mingwex/math/lrint.c: New file.
3550 * mingwex/math/lrintf.c: New file.
3551 * mingwex/math/lrintl.c: New file.
3552 * mingwex/math/lround.c: New file.
3553 * mingwex/math/lroundf.c: New file.
3554 * mingwex/math/lroundl.c: New file.
3555 * mingwex/math/modff.c: New file.
3556 * mingwex/math/modfl.c: New file.
3557 * mingwex/math/nearbyint.S: New file.
3558 * mingwex/math/nearbyintf.S: New file.
3559 * mingwex/math/nearbyintl.S: New file.
3560 * mingwex/math/nextafterf.c: New file.
3561 * mingwex/math/powf.c: New file.
3562 * mingwex/math/powl.c: New file.
3563 * mingwex/math/powil.c: New file.
3564 * mingwex/math/remainder.S: New file.
3565 * mingwex/math/remainderf.S: New file.
3566 * mingwex/math/remainderl.S: New file.
3567 * mingwex/math/remquo.S: New file.
3568 * mingwex/math/remquof.S: New file.
3569 * mingwex/math/remquol.S: New file.
3570 * mingwex/math/scalbn.S: New file.
3571 * mingwex/math/scalbnf.S: New file.
3572 * mingwex/math/scalbnl.S: New file.
3573 * mingwex/math/sinf.S: New file.
3574 * mingwex/math/sinhf.c: New file.
3575 * mingwex/math/sinhl.c: New file.
3576 * mingwex/math/sinl.S: New file.
3577 * mingwex/math/sqrt.c: New file.
3578 * mingwex/math/sqrtf.c: New file.
3579 * mingwex/math/sqrtl.c: New file.
3580 * mingwex/math/tanf.S: New file.
3581 * mingwex/math/tanhf.c: New file.
3582 * mingwex/math/tanhl.c: New file.
3583 * mingwex/math/tanl.S: New file.
3584 * mingwex/Makefile.in: Adjust VPATH for source files in
3587 Add MATH_DISTFILES and use it to build source distro.
3588 * include/ math.h: Add protypes for new functions and
3589 reorganise to reflect ANSI,C99 status.
3591 2002-06-19 Danny Smith <dannysmith@users.sourceforge.net>
3593 * include/tchar.h (_getts): Define as _getws for _UNICODE.
3594 (_putts): Define as _putws for _UNICODE.
3595 Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report.
3597 2002-06-18 Danny Smith <dannysmith@users.sourceforge.net>
3599 * include/float.h: #include_next<float.h> before header guard.
3601 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
3603 * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
3605 * include/excpt.h (): Include windef.h not windows.h.
3606 * include/fcntl.h (_O_SHORT_LIVED): Add define.
3607 (_chmod): Add prototype.
3608 (_creat): Correct prototype.
3609 (SH_DENY*): Rename defines to _SH_DENY*.
3610 (SH_DENY*): Add Non-ANSI names for _SH_DENY*.
3611 include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
3612 _IOAPPEND): Add defines.
3613 (_wfindfirst): Correct prototype.
3614 (_wfdopen): Add prototype.
3615 * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
3617 * include/string.h (_mbschr, _mbstok, _mbsncat): Remove
3619 (_wcsdup): Correct prototype.
3620 * include/mbstring.h: Remove comments about _mbschr, _mbstok,
3621 _mbsncat being in string.h.
3622 * include/wchar.h (_wfindfirst): Correct prototype.
3623 * include/tchar.h (_tfdopen): Add _UNICODE mappings.
3625 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3627 * include/_mingw.h: Increment to version 2.1.
3628 * Makefile.in: Ditto.
3630 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3632 * Makefile.in (conf_prefix): New variable.
3633 (dist_prefix): Ditto. Conditionally set to $(conf_prefix).
3634 (bindist): Use dist_prefix.
3636 2002-06-13 Danny Smith <dannysmith@users.sourceforge.net>
3638 * include/_mingw.h: Increment version to 2.0.
3639 * Makefile.in: Ditto.
3641 Merge in mingwex branch.
3643 2002-06-11 Danny Smith <dannysmith@users.sourceforge.net>
3644 * include/math.h (fdim, fdimf, fdiml): Add prototypes.
3645 * mingwex/fdim.c: New file.
3646 * mingwex/fdimf.c: New file.
3647 * mingwex/fdiml.c: New file.
3648 * mingwex/Makefile.in (DISTFILES): Add fdim.c, fdimf.c,
3650 (MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
3652 2002-05-23 Danny Smith <dannysmith@users.sourceforge.net>
3653 * mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c.
3655 2002-05-22 Danny Smith <dannysmith@users.sourceforge.net>
3656 * mingwex/isnanl.c: New file.
3658 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3659 * include/stdint.h: Include stddef.h to get
3661 (WINT_MAX): Define to ((wint_t)-1).
3663 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3664 * include/wctype.h: Replace 'inline' with '__inline__'.
3665 * include/inttypes.h: Likewise.
3667 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3668 * include/_mingw.h (__MINGW_IMPORT): Put extern at start
3669 to avoid warnings. Thanks to: Oscar Fuentes <ofv@wanadoo.es>.
3671 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3672 * mingwex/snprintf.c: Split out vsnprintf to....
3673 * mingwex/vsnprintf.c: New file.
3674 * mingwex/snwprintf.c: Split out vsnwprintf to...
3675 * mingwex/vsnwprintf.c: New file.
3676 * mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
3678 2002-05-15 Pascal Obry <obry@gnat.com>
3679 * include/dirent.h (DIR): Change dd_stat type to int.
3682 2002-05-07 Danny Smith <dannysmith@users.sourceforge.net>
3683 * include/stdio.h (vsnprintf): Change inline to __inline__;
3684 (vsnwprintf): Likewise.
3685 * include/wchar.h (vsnwprintf): Likewise.
3688 (mbsinit): Likewise.
3690 2002-04-29 Danny Smith <dannysmith@users.sourceforge.net>
3691 Change FP default precison from 53 to 64-bit mantissa.
3692 * Makefile.in (CRT0S): Add CRT_fp8.o.
3693 (MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o.
3694 * include/float.h: Replace standard float.h defines with
3695 #include_next<float.h> to use GCC's defines. Adjust comments
3698 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3699 * include/dos.h: Change prefix "__imp_" to "_imp__" for
3700 __GNUC__ without __DECLSPEC_SUPPORTED.
3701 * include/fnctl.h: Likewise.
3702 * include/math.h: Likewise.
3703 * include/stdio.h: Likewise.
3704 * include/stdlib.h: Likewise.
3705 * include/time.h: Likewise.
3706 * include/wctype.h: Likewise.
3707 * include/ctype.h: Likewise.
3709 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3710 Add atexit support for dlls.
3711 * crt1.c (atexit): Force thunk to _imp__atexit.
3712 (_onexit): Force thunk to _imp___onexit.
3713 * dllcrt1.c (DllMainCRTStartup): Initialise private atexit
3714 table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
3715 (__dll_exit): New function to run atexit-registered functions
3716 and flush output buffers on DLL_PROCESS_DETACH or failed
3718 (atexit): Force use of private atexit table via _dllonexit,
3719 (_onexit): New function. Force use of private atexit table via
3721 * msvcrt.def (atexit, _onexit): Add DATA keyword so that only
3722 _imp_<_symbol> is visible in import lib.
3723 * msvcrt20.def: Likewise.
3724 * msvcrt40.def: Likewise.
3725 * crtdll.def: Likewise.
3727 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3728 * include/fenv.h: Change header guard macro to _FENV_H_.
3729 (fenv_t, fexcept_t): Move into block protected by
3731 Cleanup some whitespace.
3732 * include/inttypes.h: Change header guard macro to
3735 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3736 * include/math.h (copysignl): Declare.
3737 * mingwex/Makefile.in (DISTFILES): Add copysignl.S.
3738 (MATHOBJS):Add copysignl.o.
3740 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3741 * include/math.h (__signbitl, __isnanl): Declare.
3743 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3744 * include/math.h (nanl, __fpcassifyl, fminl, fmaxl, rintl,
3745 roundl, truncl, fmal, log2l): Declare.
3746 Protect C99 declarations with _STDC_VERSION__ >= 199901L)
3747 || !defined __STRICT_ANSI__.
3748 * mingwex/fmax.c (fmax): Call __isnan, not _isnan.
3749 * mingwex/fmin.c (fmin): Likewise.
3750 * mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan.
3751 * mingwex/fminf.c (fminf): Likewise.
3752 * mingwex/fmaxl.c: New file.
3753 * mingwex/fminl.c: New file.
3754 * mingwex/fpclassify.c (__fpclassifyf): Split out to ...
3755 * mingwex/fpclassifyf.c: New file.
3756 * mingwex/fpclassifyl.c: New file.
3757 * mingwex/rint.c (rintf): Split out to...
3758 * mingwex/rintf.c: New file.
3759 * mingwex/rintl.c: New file.
3760 * mingwex/round.c (roundf): Split out to...
3761 * mingwex/roundf.c: New file.
3762 * mingwex/roundl.c: New file.
3763 * mingwex/trunc.c (truncf): Split out to...
3764 * mingwex/truncf.c: New file.
3765 * mingwex/truncl.c: New file.
3766 * mingwex/signbit.c (signbitf): Split out to...
3767 * mingwex/signbitf.c: New file.
3768 * mingwex/signbitl.c: New file.
3769 * mingwex/fmal.c: New file.
3770 * mingwex/copysignl.S: New file.
3771 * mingwex/log2l.c: New file.
3772 * mingwex/fp_consts.c: Add nanl definition.
3773 Comment out unused constants.
3774 * mingwex/Makefile.in (DISTFILES): Add fmaxl.c, fminl.c,
3775 fpclassifyf.c, fpclassifyl.c, rintf.c, rintl.c, roundf.c,
3776 roundl.c, truncf.c truncl.c, signbitf.c signbitl.c,
3778 (MATHOBJS): Add fmaxl.o, fminl.o, fpclassifyf.o,
3779 fpclassifyl.o, rintf.o, rintl.o, roundf.o, roundl.o,
3780 truncf.o truncl.o, signbitf.o signbitl.o, fmal.o,
3782 * mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo.
3784 2002-04-23 Danny Smith <dannysmith@users.sourceforge.net>
3785 Make wide char versions of opendir and friends.
3786 * include/dirent.h (_wdirent, _WDIR): Define wide versions of
3788 (_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
3789 _wseekdir): Add prototypes for wide versions of corresponding
3791 * include/tchar.h; Add _UNICODE mappings for dirent.h
3792 structures and functions.
3793 * mingwex/dirent.c: Make _UNICODE neutral.
3794 * mingwex/wdirent.c: New file to define _UNICODE before
3796 * mingwex/Makefile.in (DISTFILES): Add wdirent.c.
3797 (POSIX_OBJS): Add wdirent.o.
3798 (wdirent.o): Specify dependency on dirent.c as well as
3800 * samples/dirent/wtest.c: New file, wide version of test.c.
3802 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3803 * Makefile.in (INCLUDES): Add "-iwithprefixbefore include" to
3804 ensure gcc include dir is searched despite -nostdinc.
3805 * profile/Makefile.in (INCLUDES): Likewise.
3806 * mingwex/Makefile.in (INCLUDES): Likewise.
3807 * include/stdarg.h: Replace with stub that just guards the
3808 real gcc system header with #ifndef RC_INVOKED
3809 * include/varargs.h: Likewise.
3810 * include/stddef.h: Likewise.
3811 * include/stdio.h: Include stdarg.h after defining
3813 (__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
3814 Replace va_list with __VALIST throughout.
3816 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3817 * crt1.c: Revert changes of 2002-04-16. Use _fpreset again.
3818 * msvcrt.def (_fpreset): Mark as DATA so that only
3819 _imp___fpreset is exported.
3820 * msvcrt20.def (_fpreset): Likewise.
3821 * msvcrt40.def (_fpreset): Likewise.
3822 * crtdll.def (_fpreset): Likewise.
3823 * CRT_fp10.c (_fpreset): Overide library _fpreset with one
3825 (fpreset): Add alias.
3826 (__CRT_PC): Delete definition. _fpreset does it now.
3827 * CRT_fp8.c (_fpreset): Force use of library _imp___fpreset.
3828 (fpreset): Add alias.
3829 (__CRT_PC): Delete definition.
3830 * moldname.def.in: Comment out fpreset.
3831 * moldname-msvcrt.def: Regenerate.
3832 * moldname-crtdll.def: Regenerate.
3833 * include/fenv.h (FE_DFL_ENV): Define as (fenv_t*)0.
3834 * mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment
3835 with the _fpreset determined by startup CRT_fp object.
3837 2002-04-16 Danny Smith <dannysmith@users.sourceforge.net>
3838 * CRT_fp8.c: New file.
3839 * CRT_fp10.c: New file.
3840 * crt1.c (__CRT_PC) Declare.
3841 (__CRT_fesetenv): New static function, using _CRT_PC.
3842 (__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset.
3843 (_gnu_exception_handler): Likewise.
3844 * Makefile.in (CRT0S): Add CRT_fp10.o.
3845 (MINGW_OBJS): Add CRT_fp8.o.
3846 (SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c.
3847 Add CRT_fp8.o, CRT_fp10.o dependancies.
3848 * include/float.h (_fpreset): Expand comment.
3849 * include/fenv.h (FE_PC64_ENV): New define for Intel x87
3850 (extended precison) environmemt.
3851 (FE_PC53_ENV): New define for MSVCRT default environmemt.
3852 (FE_DFL_ENV): Define as FE_PC53_ENV.
3853 * mingwex/fesetenv.c: Use FE_PC53_ENV, FE_PC64_ENV to determine
3854 precision control for default environment.
3856 * include/math.h: Fix long comment line.
3857 * profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
3859 * profile/configure: Regenerate.
3861 2002-04-12 Danny Smith <dannysmith@users.sourceforge.net>
3862 * mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c.
3864 2002-04-10 Danny Smith <dannysmith@users.sourceforge.net>
3865 * mingwex/mingw-fseek.c: New file, based on Mumit Khan
3866 mingw-local patch to binutils.
3867 Sun Nov 7 04:27:07 1999 Mumit Khan <khan@xraylith.wisc.edu>
3868 (__mingw_fseek): New function to work around Win9x f/lseek bug.
3869 (__mingw_fwrite): Likewise.
3870 (__mingw_is_win9x): New helper function.
3871 * include/stdio.h (__USE_MINGW_FSEEK): New define,guarding...
3872 (__mingw_fseek): New prototype and define to replace fseek.
3873 (__mingw_fwrite): New prototype and define to replace fwrite.
3874 * mingwex/Makefile.in: Add mingw-fseek.o to libmingwex.a.
3875 * moldname-crtdll.def: Remove CR from end of line.
3876 * moldname-msvcrt.def: Ditto.
3878 2002-04-09 Danny Smith <dannysmith@users.sourceforge.net>
3879 * profile/configure.in (CRT0S): Configure name of gcrt?.o
3880 based on target, building gcrt0.o for cygwin -mno-cygwin.
3881 * profile/configure: Regenerate.
3882 * profile/Makefile.in (CRT0S): Use name from configure.
3883 (gcrt0.o): New rule.
3884 (ALL_CRT0S): New define, used to cleanup all gcrt?.o's.
3886 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3887 * include/math.h (_controlfp, _control87, _clearfp, _statusfp, _fpreset,
3888 _fpecode): Remove prototypes copied from float.h.
3889 (nan, nanf): Move into block protected against RC_INVOKED
3891 * include/stdlib.h (_Exit): Change from static inline to
3893 * mingwex/_Exit.c : New file.
3894 * mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
3896 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3897 Add libgmon.a and libmingwex.a for cygwin -mno-cygwin.
3898 * configure.in (SUBDIRS): Add profile and mingwex to cygwin target.
3899 (configdirs): Likewise.
3900 (LIBGMON_A): Define for cygwin target as well.
3901 * configure: Regenerate.
3902 * profile/configure.in (THREAD_DLL): Remove define.
3903 (LIBM_A): Remove define.
3904 (LIBGMON_A): Define for cygwin target as well.
3905 * profile/configure: Regenerate.
3906 * profile/makefile.in (install): Install to inst_libdir and
3908 * mingwex/makefile.in (CFLAGS): Move -fomit-frame-pointer to...
3909 (OPTFLAGS): New define.
3910 (ALL_CFLAGS): Add $(OPTFLAGS).
3911 (ALL_CXXFLAGS): Same.
3912 (.c.o:): Remove ALL_CXXFLAGS.
3914 2002-03-29 Danny Smith <dannysmith@users.sourceforge.net>
3915 * include/stdint.h: Add missing newline at eof.
3916 * include/stdio.h (snprintf): Add prototype.
3917 (vsnprintf): Add prototype and inline definition.
3918 (snwprintf): Add prototype.
3919 (vsnwprintf): Add prototype and inline definition.
3920 * include/wchar.h (snwprintf): Add prototype.
3921 (vsnwprintf): Add prototype and inline definition.
3922 * mingwex/Makefile.in: Add snprintf.o, snwprintf.o
3924 * mingwex/snprintf.c: New file.
3925 * mingwex/snwprintf.c: New file.
3927 2002-03-22 Danny Smith <dannysmith@users.sourceforge.net>
3928 * configure.in: Add mingwex as SUBDIRS and configdirs.
3929 * configure: Regenerate.
3930 * Makefile.in (MINGW_OBJS): Remove dirent.o.
3931 (SRC_DIST_FILES): Remove dirent.c.
3933 * include/stdlib.h (_Exit): Add static inline
3935 (struct lldiv_t): Define.
3936 (lldiv): Add prototype.
3937 (llabs): Add extern inline function.
3938 (strtoll,strtoull): Add prototypes.
3939 (wcstol, wcstoul, wcstod): Group together.
3940 (strtof, wcstof): Add extern inline definitions.
3941 (atoll,lltoa,ulltoa, wtoll, lltow ulltow): Add prototypes
3942 and extern inline definitions.
3943 * include/wchar.h (fwide, wcstoll,wcstoull, wmemchr
3944 wmemcmp, wmemcpy, wmemmove, wmemset. mbsinit): Add
3946 (wcstol, wcstoul,wcstod): Copy prototypes from stdlib.h.
3947 (wcstof): Add extern inline definition.
3948 * include/math.h (nan, nanf): Add prototypes.
3949 (NAN, INFINITE): Define constants.
3950 (fpclassify, isnan ,signbit): Add macros and supporting float
3951 and double functions.
3952 (isfinite, isinf, isnormal): Add macros.
3953 (isgreater, isless, isgreaterequal, islessequal,islessgreater):
3955 (rint, rintf, round, roundf, trunc. truncf, fmax, fmaxf,
3956 fmin, fminf, fma, fmaf, log2, log2f): Add prototypes.
3957 (copysign, logb, nextafter, scalb): Add prototypes and
3958 inline stubs for underscored versions in msvcrt.dll.
3959 * include/inttypes.h: New file.
3960 * include/fenv.h: New file
3962 Add new mingwex subdir and files.
3963 * mingwex: New directory.
3964 * mingwex/Makefile.in: New file.
3965 * mingwex/configure.in: New file.
3966 * mingwex/configure: Generate.
3967 * mingwex/dirent.c: Moved here from parent dir.
3968 * mingwex/atoll.c: New file.
3969 * mingwex/feclearexcept.c: New file.
3970 * mingwex/fegetenv.c: New file.
3971 * mingwex/fegetexceptflag.c: New file.
3972 * mingwex/fegetround.c: New file.
3973 * mingwex/feholdexcept.c: New file.
3974 * mingwex/feraiseexcept.c: New file.
3975 * mingwex/fesetenv.c: New file.
3976 * mingwex/fesetexceptflag.c: New file.
3977 * mingwex/fesetround.o: New file.
3978 * mingwex/fetestexcept.c: New file.
3979 * mingwex/feupdateenv.c: New file.
3980 * mingwex/fma.S: New file.
3981 * mingwex/fmaf.S: New file.
3982 * mingwex/fmax.c: New file.
3983 * mingwex/fmaxf.c: New file.
3984 * mingwex/fmin.c: New file.
3985 * mingwex/fminf.c: New file.
3986 * mingwex/fp_consts.c: New file.
3987 * mingwex/fpclassify.c: New file.
3988 * mingwex/fucom.c: New file.
3989 * mingwex/fwide.c: New file.
3990 * mingwex/imaxabs.c: New file.
3991 * mingwex/imaxdiv.c: New file.
3992 * mingwex/isnan.c: New file.
3993 * mingwex/isnanf.c: New file.
3994 * mingwex/lltoa.c: New file.
3995 * mingwex/lltow.c: New file.
3996 * mingwex/log2.c: New file.
3997 * mingwex/log2f.c: New file.
3998 * mingwex/math_stubs.c: New file.
3999 * mingwex/mbsinit.c: New file.
4000 * mingwex/rint.c: New file.
4001 * mingwex/round.c: New file.
4002 * mingwex/signbit.c: New file.
4003 * mingwex/sitest.c: New file.
4004 * mingwex/strtof.c: New file.
4005 * mingwex/strtoimax.c: New file.
4006 * mingwex/strtoumax.c: New file.
4007 * mingwex/testwmem.c: New file.
4008 * mingwex/trunc.c: New file.
4009 * mingwex/ulltoa.c: New file.
4010 * mingwex/ulltow.c: New file.
4011 * mingwex/wcstof.c: New file.
4012 * mingwex/wcstoimax.c: New file.
4013 * mingwex/wcstoumax.c: New file.
4014 * mingwex/wmemchr.c: New file.
4015 * mingwex/wmemcmp.c: New file.
4016 * mingwex/wmemcpy.c: New file.
4017 * mingwex/wmemmove.c: New file.
4018 * mingwex/wmemset.c: New file.
4019 * mingwex/wtoll.c: New file.
4021 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4023 * include/mbstring.h: New file.
4024 * include/mbctype.h: New file.
4026 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4028 * include/tchar.h (__TEXT): Make same as define in
4029 w32api/include/winnt.h.
4031 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4033 * include/tchar.h (_tputenv): Add UNICODE mappings.
4034 (_tsearchenv): Likewise.
4035 (_tmakepath): Likewise.
4036 (_tsplitpath): Likewise.
4037 (_tfullpath): Likewise.
4039 2002-04-18 Pascal Obry <obry@gnat.com>
4041 * dirent.c (opendir): Convert given pathname to
4044 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4046 * include/_mingw.h: Increment version.
4047 * Makefile.in: Ditto.
4049 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4051 * moldname-crtdll.def: Remove CR from end of line.
4052 * moldname-msvcrt.def: Ditto.
4053 * Makefile.in: Use bzip2 compression for Cygwin target.
4055 2002-04-04 Danny Smith <dannysmith@sourceforge.users.net>
4057 * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
4058 TLOSS, PLOSS): Move oldname defines back, following
4059 the underscored names.
4061 2002-03-29 Danny Smith <dannysmith@sourceforge.users.net>
4063 * include/stdio.h (_snwprintf): Correct spelling.
4064 (_vsnwprintf): Likewise.
4065 * include/wchar.h (_snwprintf): Correct spelling.
4066 (_vsnwprintf): Likewise.
4068 2002-03-26 Danny Smith <dannysmith@users.sourceforge.net>
4070 * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__).
4071 (wpopen): Add if !(__CRTDLL__).
4072 * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
4074 (moldname-crtdll.def rule): Likewise.
4075 * moldname-msvcrt.def: Regenerate.
4076 * moldname-crtdll.def: Regenerate.
4077 * include/stdio.h (wpopen):Use prototype, not a define.
4078 (_swnprintf): Add prototype.
4079 (_vswnprintf): Likewise.
4081 * include/wchar.h (_swnprintf): Add prototype.
4082 (_vswnprintf): Likewise.
4085 2002-01-28 Danny Smith <dannysmith@users.sourceforge.net>
4087 * include/malloc.h (_heapinfo): Correct structure definition.
4088 (_USEDENTRY,_FREEENTRY): Add defines.
4089 Add comment on platform support for _heap* functions.
4090 (_get_sbh_threshold): Add prototype.
4091 (_set_sbh_threshold): Likewise.
4092 (_expand): Likewise.
4094 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4096 * profile/profil.c: Update copyright info.
4097 * profile/profil.h: Likewise.
4098 * profile/gcrt0.c: Likewise.
4100 2002-01-25 Pascal Obry <obry@gnat.com>
4102 * profile/profil.h (PROFADDR): Cast idx to unsigned long long to
4104 * profile/gmon.c: Define bzero as memset if mingw32.
4105 (monstartup): Use it.
4107 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4109 * include/tchar.h (_TCHAR): Add missing ;.
4111 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4113 * include/tchar.h (_TCHAR): Add typedefs.
4115 2002-01-16 Danny Smith <dannysmith@users.sourceforge.net>
4117 * include/stdlib.h (_onexit_t): Add typedef.
4118 (_onexit): Add prototype.
4120 2002-01-12 Danny Smith <dannysmith@users.sourceforge.net>
4122 * msvcrt.def: Revert accidental change.
4123 * include/stdlib.h: Ditto.
4125 2001-12-07 Earnie Boyd <earnie@users.sf.net>
4127 * Makefile.in: Increment VERSION.
4128 * include/_mingw.h: Ditto.
4130 2001-12-05 Earnie Boyd <earnie@users.sf.net>
4132 * include/strings.h: New File.
4134 2001-12-02 Danny Smith <dannysmith@users.sourceforge.net>
4137 2001-06-21 Mumit Khan <khan@nanotech.wisc.edu>
4139 * include/math.h (_FPCLASS* ): Add defines from float.h.
4140 (IEEE recommended functions): Add declarations from float.h.
4141 * include/float.h (_FPCLASS* ): Protect against redefinition.
4143 2001-11-29 Wu Yongwei <adah@netstd.com>
4145 * include/_mingw.h,assert.h,conio.h,ctype.h,dir.h,direct.h
4146 dirent.h,dos.h,errno.h,excpt.h,fcntl.h,float.h,io.h,
4147 limits.h,locale.h,malloc.h,math.h,process.h,setjmp.h,
4148 share.h,signal.h,stdarg.h,stddef.h,stdint.h,stdio.h,
4149 stdlib.h,string.h,tchar.h,time.h,varargs.h,wchar.h,
4150 wctype.h,sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h:
4151 Correct spelling of "disclaimed" in comments.
4152 * include/excpt.h: Another spelling correction.
4154 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
4156 * include/errno.h: Fix "errno is not a prototype" warning.
4158 2001-11-07 Danny Smith <dannysmith@users.sourceforge.net>
4160 * include/ctype.h (tolower, toupper,_tolower,_toupper): Comment
4161 differences between ANSI and non-ANSI versions.
4162 (_ctype[],_pctype): Declare vars.
4163 (__ISCTYPE): New helper macro using _pctype.
4164 (is* ctype functions): Use __ISCTYPE to define inline versions.
4165 (_toupper, _tolower, __isascii, __toascii, __iscsym, __iscsymf):
4167 (isw* ctype functions): Inline definitions.
4168 * include/wctype.h (_ctype[],_pctype): Declare vars.
4169 (isw* ctype functions): Inline definitions.
4172 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4174 * include/float.h (_clearfp, _statusfp, _fpreset, fpreset,
4175 __fpecode): Use __STDC__ prototypes.
4178 2001-11-06 Thomas Pfaff <tpfaff@gmx.net>
4180 * mthr_stub.c (__mingwthr_remove_key_dtor) New.
4181 * mthr_init.c (DllMain) Run dtors if a process terminates.
4182 * mthr.c (__mingwthr_add_key_dtor) Removed.
4183 (___mingwthr_add_key_dtor) New.
4184 (___mingwthr_remove_key_dtor) New.
4185 (__mingwthr_run_key_dtors) Complete rewrite.
4186 (__mingwthr_remove_key_dtor) New.
4188 2001-11-05 Egor Duda <deo@logos-m.ru>
4190 * Makefile.in: Delete unused executable after creating base-files.
4192 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4194 * include/errno.h (_errno): Use __STDC__ prototype.
4195 Thanks to: Jim Barton.
4197 2001-11-04 "stefan" <stefan@lkcc.org>
4199 * include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names.
4201 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4203 * include/io.h (_commit): Add declaration.
4204 Thanks to: "stefan" <stefan@lkcc.org>
4206 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4208 * include/sys/stat.h: Make S_IS* macros safer.
4210 2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
4212 * include/stdlib.h (EXIT_FAILURE): Change value to 1.
4214 2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
4216 * include/stdlib.h (__p__environ, __p__wenviron): Use
4217 __STDC__ prototypes.
4219 2001-09-19 Earnie Boyd <earnie@SF.net>
4221 * Makefile.in: Remove the /usr from the install target.
4222 (VERSION): Increment.
4223 include/_mingw.h: Ditto.
4225 2001-09-17 Earnie Boyd <earnie@SF.net>
4227 * Makefile.in: Increment version.
4228 * include/_mingw.h: Ditto.
4230 2001-09-10 Earnie Boyd <earnie@SF.net>
4232 * dossh: Remove inadvertantly imported file.
4234 2001-09-10 Danny Smith <dannysmith@users.sourceforge.net>
4236 * dirent.c (opendir): Use GetFileAttributes rather than stat
4237 to determine if input arg is dir.
4239 2001-08-29 Danny Smith <dannysmith@users.sourceforge.net>
4241 * include/stdarg.h (va_list): Typedef as __builtin_va_list if
4243 * include/varargs.h (va_list): Ditto.
4244 * include/stdio.h (va_list): Ditto.
4246 2001-08-01 Danny Smith <dannysmith@users.sourceforge.net>
4248 * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
4249 * include/stdio.h (_IORW): Change constant to 0x0080.
4250 (TMP_MAX): Add new define.
4252 (_wP_tmpdir): Ditto.
4253 (L_tmpnam): Change constant to 16.
4255 2001-06-28 Danny Smith <dannysmith@users.sourceforge.net>
4257 * include/malloc.h: Fix non-ANSI comment after #endif.
4259 2001-06-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4261 * profile/configure.in: Make msvcrt.dll version default.
4262 * profile/makefile.in: Build both gcrt1.o and gcrt2.o.
4263 * provile/configure: Regenerate.
4265 2001-06-11 Mattia Barbon <mbarbon@dsi.unive.it>
4267 * include/stdio.h (swscanf): Make first arugument const.
4268 * include/wchar.h (swscanf): Ditto.
4269 * include/tchar.h (_tfopen): New _UNICODE define.
4271 (_tsetlocale): Ditto.
4273 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4275 * profile/Makefile.in (mkinstalldirs): Correct relative path.
4277 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4279 * include/_mingw.h: Change version to 1.0.
4282 2000-02-21 Earnie Boyd <earnie@users.sourceforge.net>
4284 * include/tchar.h: (__TEXT): Remove undef.
4288 Fri Feb 2 10:34:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
4290 * include/tchar.h: (__TEXT): Add private macro.
4291 (_TEXT): Modify definition to use __TEXT.
4293 This change allows the passing of a MACRO as an argument and have that
4294 MACRO resolved first.
4295 Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
4297 Wed Jan 31 17:12:51 2001 Earnie Boyd <earnie@users.sourceforge.net>
4299 * Makefile.in: Increment version to 0.5
4300 * include/_mingw.h: Increment minor version
4302 Tue Jan 30 13:01:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
4304 * include/assert.h: (assert): Remove ; from end of definition
4305 Thanks to: AJ Reins <tbisp@qwest.net>
4307 Tue Jan 30 07:31:22 2001 Earnie Boyd <earnie@users.sourceforge.net>
4309 * include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
4310 Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
4312 Mon Jan 29 14:03:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
4314 * time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
4316 Sun Jan 28 13:01:08 2001 Earnie Boyd <earnie@users.sourceforge.net>
4318 * include/wchar.h: The 2001.01.18 Change was incorrect. The functions
4319 are actually C functions. These functions are resolved via the
4320 -lmsvcp60 library and comments were placed in the header.
4322 2001-01-28 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4324 * include/stdlib.h (__p__pgmptr): add prototype.
4325 (__p__wpgmptr): likewise.
4326 (_pgmptr_dll): move declaration from dos.h.
4327 (_wpgmptr_dll): likewise.
4328 (_pgmptr): conditional define (MSVCT/CRTDLL).
4329 (_wpgmptr): likewise.
4330 * include/dos.h (_base*_dll variables): declare only for CRTDLL.
4331 (_os*_dll variables): likewise.
4332 (_pgmptr_dll): remove declaration and associated defines to stdlib.h.
4333 (_wpgmptr_dll): likewise.
4335 2001-01-22 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4337 * include/stdint.h: New file.
4339 Thu Jan 18 10:33:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
4341 * include/wchar.h: Protect prototypes only declared in the C++ STL
4342 from being declared unless __cplusplus is defined.
4344 Tue Jan 16 11:37:31 2001 Earnie Boyd <earnie@users.sourceforge.net>
4346 * include/stdlib.h: Apply Danny Smith patch 102730
4347 2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4348 (_wgetenv) Correction to return type.
4350 Tue Jan 16 09:41:41 2001 Earnie Boyd <earnie@users.sourceforge.net>
4352 * include/locale.h: Apply Danny Smith patch 101834
4353 2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4354 (LC_MIN) Add definition.
4356 (_wsetlocale) Add prototype.
4358 2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
4360 * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
4361 Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
4362 Create a libcoldname.a for the oldname library for CRTDLL.
4363 Restrict libmoldname.a for the oldname library for MSVCRT.
4364 * configure.in: eliminate setting RUNTIME and CRT_ID variables.
4365 Restructure the $target_os case logic.
4366 Always name the MinGW thread dll helper mingwm.
4367 Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
4368 * configure: regenerate.
4370 2000-11-22 Earnie Boyd <earnie_boyd@yahoo.com>
4372 * Makefile.in: Fix bindist target to distribute the correct files.
4373 Remove the use of SNAPSHOT variable and test SNAPDATE instead.
4374 Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
4376 2000-11-21 Earnie Boyd <earnie_boyd@yahoo.com>
4378 * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
4379 Add variables and targets to control binary and source distributions.
4380 Add variables and targets to control snapshot distribution.
4381 * profile/gmon.h: Add missing #endif for #ifndef.
4382 * profile/ChangeLog: Merge entries here and remove.
4383 * profile/Makefile.in: Add variables and targets to control
4387 * config.guess: ditto.
4388 * config.sub: ditto.
4389 * mkinstalldirs: ditto.
4390 * install-sh: ditto.
4391 * configure: regenerate.
4392 * profile/configure: ditto.
4394 2000-11-20 Earnie Boyd <earnie_boyd@yahoo.com>
4396 * Merge in changes from
4397 2000-10-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4398 * include/direct.h: add guard around MSVCRT-only prototytpes
4399 * include/io.h: add __int64 struct definitions and function prototypes;
4400 add guard for MSVCRT-only prototypes
4401 * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
4402 * include/stdio.h: add wchar function prototypes (__MSVCRT__);
4403 put wchar functions together to make sync with wchar.h easier
4404 * include/stdlib.h: add wide char functions (__MSVCRT__)
4405 * include/string.h: add string collation functions ( __MSVCRT__)
4406 * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
4407 * include/tchar.h: add macros and macro function definitions
4408 * include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
4409 enclose more functions in __MSVCRT__ guard;
4410 some oldname wide char function prototypes #if (0)'d
4411 * profile/gmon.h: add guard around BSD-ish typedefs
4413 Mon Nov 20 18:58:12 2000 Christopher Faylor <cgf@cygnus.com>
4415 * Makefile.in: Use a different variable name for subdirectory since the
4416 previous one was used by the top level make.
4418 Sun Nov 19 20:50:51 2000 Christopher Faylor <cgf@cygnus.com>
4420 * Makefile.in: Install mingw stuff in a subdirectory if building under
4423 Sat Jun 17 21:48:23 2000 Christopher Faylor <cgf@cygnus.com>
4425 * Makefile.in (subdirs): Eliminate for loop.
4427 Sat Jun 17 18:27:59 2000 Christopher Faylor <cgf@cygnus.com>
4429 * Makefile.in (subdirs): Previous change did not fix problem in
4432 Sat Jun 17 13:49:12 2000 Christopher Faylor <cgf@cygnus.com>
4434 * Makefile.in: Avoid installing dll if we're cross building and the
4435 cross-host system isn't a Windows system.
4436 * configure.in: Detect cross-hosting situation and set appropriate
4437 variables in Makefile.in.
4438 * configure: Regenerate.
4440 Wed Apr 19 13:10:54 2000 Christopher Faylor <cgf@cygnus.com>
4442 * configure.in: Change HEADER_SUBDIR to mingw32.
4443 * configure: Regenerate.
4445 Mon Apr 10 17:24:28 2000 Christopher Faylor <cgf@cygnus.com>
4447 * include/string.h: Use proper prototype for _strerror.
4449 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
4451 * Makefile.in (subdirs): Workaround for broken shells.
4453 2000-02-03 Mumit Khan <khan@xraylith.wisc.edu>
4455 * Snapshot 2000-02-03.
4457 * include/{assert.h, conio.h, ctype.h, direct.h, dirent.h, fcntl.h,
4458 float.h, io.h, locale.h, malloc.h, math.h, process.h, signal.h,
4459 stdio.h, stdlib.h, string.h, time.h, wctype.h, sys/stat.h,
4460 sys/timeb.h, sys/utime.h}: Remove parameter names to avoid namespace
4463 * Makefile.in (all): Build CRT0S first.
4464 (libmingwthrd.a): Remove thread support DLL from dependency.
4466 2000-01-21 Mumit Khan <khan@xraylith.wisc.edu>
4468 * Snapshot 2000-01-21.
4470 2000-01-20 Mumit Khan <khan@xraylith.wisc.edu>
4472 Merge in changes from Cygwin:
4473 * configure.in (HEADER_SUBDIRS): New variable. Substitute.
4474 (SUBDIRS): Likewise.
4475 * Makefile.in (HEADER_SUBDIRS): New variable.
4476 (install): Use to install Mingw headers to a subdirectory if building
4478 (DLL_CC_STUFF): Add DLL entry point.
4479 * configure: Regenerate.
4481 2000-01-19 Mumit Khan <khan@xraylith.wisc.edu>
4483 * include/stdio.h (fsetpos): Fix prototype.
4484 (fpos_t): Fix for MSVCRT.
4485 * include/float.h (fpreset): Add prototype.
4486 * include/limits.h: Define UINT_MAX, USHRT_MAX and ULONG_MAX with
4488 * include/time.h: Don't define tzname as a macro for CRTDLL, and
4489 export using libmoldname.a.
4490 * crtdll.def: Add DATA tags.
4491 * msvcrt.def: Likewise.
4492 * moldname.def.in: Likewise. Add fpreset. Export tzname for
4493 both MSVCRT and CRTDLL.
4494 * moldname-crtdll.def: Regenerate.
4495 * moldname-msvcrt.def: Regenerate.
4497 Tue Dec 21 02:22:14 1999 Mumit Khan <khan@xraylith.wisc.edu>
4499 * Snapshot 1999-12-21.
4501 * include/wctype.h: New file.
4502 * include/ctype.h (MB_CUR_MAX): Define.
4504 * include/stdlib.h (MB_CUR_MAX): Define.
4505 * include/wchar.h: Define stat, _stat structures here as well.
4506 * include/float.h: Add invalid subconditions (_SW) and floating
4507 point error (_FPE) macros.
4508 * include/time.h (_CLOCK_T): Rename macro to _CLOCK_T_DEFINED.
4509 (_TIME_T): Rename macro to _TIME_T_DEFINED.
4510 * include/sys/types.h: Likewise.
4512 Thu Nov 18 00:22:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4514 * profile/profil.c (profile_on): Set the profiler thread priority to
4515 be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
4516 * Snapshot 1999-11-18.
4518 Sun Nov 7 02:50:09 1999 Mumit Khan <khan@xraylith.wisc.edu>
4520 Released 1999-11-07.
4522 * Makefile.in (CRT0S): Add crtst.o.
4523 (install): Install in subdirs as well.
4524 * dirent.h (struct _stat): Rename from struct stat.
4525 * include/tchar.h: Add some new macros. Thanks to
4526 Eric Kohl <ekohl@abo.rhein-zeitung.de>.
4527 * profile/Makefile.in (install): Fix target.
4529 Thu Nov 4 14:32:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
4531 * Makefile.in: Add support for profile directory.
4532 * configure.in: Likewise.
4533 * configure: Regenerate.
4535 * profile: Imported profiling sources from winsup-19991026 snapshot.
4536 * profile/Makefile.in: New file.
4537 * profile/configure.in: New file.
4538 * profile/configure: Generate.
4539 * profile/gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
4540 * profile/gmon.h (u_char, u_short, u_int, u_long): Likewise.
4541 * profile/gmon.c (unistd.h): Include conditionally.
4542 (sys/param.h): Likewise.
4543 * profile/mcount.c (sys/param.h): Likewise.
4544 * profile/profil.c (profile_on): thread id is DWORD, not int.
4547 Wed Nov 3 16:26:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
4549 * include/stdlib.h: Add wide character version of argv/environ.
4551 * include/wchar.h: More wide character prototypes.
4552 * include/sys/stat.h: Likewise. Add struct stat as well as _stat.
4554 * dllcrt1.c (init.c): Don't include.
4555 (DllMainCRTStartup): Don't call _mingw32_init_mainargs().
4556 * Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists.
4558 Sat Oct 30 03:06:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4560 * moldname.def: Remove file.
4561 * moldname.def.in: And add this.
4562 * moldname-msvcrt.def: Generate from moldname.def.in.
4563 * moldname-crtdll.def: Likewise.
4565 * mthr.c: New file for -mthread (thread-safe C++ EH) support.
4566 * mthr_init.c: New file for -mthread (thread-safe C++ EH) support.
4567 * mthr_stub.c: New file for -mthread (thread-safe C++ EH) support.
4569 * Makefile.in: Update.
4570 * configure.in: Likewise. Also add *cygwin* target for building
4571 under Cygwin winsup.
4572 * configure: Regenerate.
4574 Fri Oct 1 11:10:30 1999 Mumit Khan <khan@xraylith.wisc.edu>
4576 * include/_mingw.h: Add version macros.
4577 * include/direct.h (_diskfree_t, getdiskfree, getdrives): Add.
4578 Also add wide character versions shared with wchar.h.
4579 * include/dos.h (_diskfree_t, getdiskfree, getdrives): Add.
4580 * include/io.h (sopen, _sopen): Fix prototype.
4581 Add wide character prototypes.
4582 * include/wchar.h: Likewise.
4583 * include/stdlib.h (beep, seterrormode, sleep): Remove non-
4584 underscored versions. Potential incompatibility.
4585 * include/time.h (daylight, timezone, tzname): Fix MSVCRT cases.
4586 Add wide character prototypes.
4587 * include/sys/timeb.h (struct _timeb): Don't use macro, but real
4590 Wed Aug 18 18:38:39 1999 Mumit Khan <khan@xraylith.wisc.edu>
4592 * configure.in (RUNTIME, CRT_ID): Add to differentiate between
4593 crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
4595 * configure: Rengerate.
4596 * Makefile.in (RUNTIME, CRT_ID): Use to generate the correct
4597 dll name and crt's. CRTDLL and MSVCRT are meant to created
4598 separately, so remove all the *-msvcrt* targets.
4599 (libmingwthr.a): New target. Dummy thread support archive.
4600 (LIBS): Add libmingwthr.a.
4601 (CRT0S): Use CRT_ID. Add crtmt.o.
4602 (MINGW_OBJS): Add crtst.o.
4603 * main.c (WinMain): Fix prototype.
4604 * crtmt.c: New file.
4605 * crtst.c: New file.
4607 * include/process.h (_beginthreadex): Fix prototype.
4608 * include/_mingw.h (__int64): Define for __GNUC__.
4609 * include/tchar.h (_ttol): Add macro.
4610 * include/stdlib.h (_wtoi, _wtol, _i64toa, _ui64toa, _atoi64,
4611 _i64tow, _ui64tow, _wtoi64): Add prototypes.
4613 Reported by Emanuele Aliberti <ea@iol.it>:
4614 * include/tchar.h (_ttoi): Add macro.
4616 Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
4617 * include/stdio.h (_snprintf): Add prototype.
4618 (_vsnprintf): Likewise.
4620 Sat Aug 7 18:00:00 1999 Mumit Khan <khan@xraylith.wisc.edu>
4622 Reported by Tor Lillqvist <tml@iki.fi>:
4623 * include/stdlib.h (__p___argv): Fix return type.
4625 Fri Jul 30 22:07:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
4628 * include/errno.h (errno): It's linked in from startup, not imported.
4629 * include/stdlib.h (errno): Likewise.
4630 * include/io.h: Guard against conflicting macros and prototypes in
4632 * include/stdlib.h: Likewise.
4633 * include/string.h: Likewise.
4634 * include/time.h: Likewise.
4636 Fri Jul 30 13:47:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
4638 * include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans.
4639 * include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT.
4640 * Makefile.in (INCLUDES): Remove old windows32 include directory.
4642 * crt1.c (_gnu_exception_handler): Fix prototype.
4643 (__mingw_CRTStartup): New function based on mainCRTStartup.
4644 (mainCRTStartup): Set the app type for MSVCRT and call
4646 (WinMainCRTStartup): Likewise.
4647 * init.c (_startupinfo): Define.
4648 (_getmainargs): Add 5th parameter.
4649 (_mingw32_init_mainargs): Use.
4651 * ALL *.c files: Reformat according to GNU coding style.
4653 Fri Jul 16 00:46:04 1999 Mumit Khan <khan@xraylith.wisc.edu>
4655 * Makefile.in (INCLUDES): Add w32api include directory.
4657 * include/_mingw.h: New file.
4658 * include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h,
4659 errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h,
4660 math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h,
4661 stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h,
4662 sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and
4663 use the macros __DECLSPEC_SUPPORTED and __MINGW_IMPORT.
4665 * include/stdlib.h (atexit): Fix prototype.
4667 Mon Jun 14 18:38:49 1999 Mumit Khan <khan@xraylith.wisc.edu>
4669 * include/stdio.h (_tempnam): Fix prototype.
4670 (tempnam): Likewise.
4671 * include/stdlib.h: Replace with GCC's version, and guard
4674 From Anders Norlander <anorland@hem2.passagen.se>:
4675 * include/stdlib.h (__argc): Declare.
4678 Mon Apr 5 13:49:17 1999 Mumit Khan <khan@xraylith.wisc.edu>
4680 * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
4682 * Makefile.in (_libm_dummy.o): New target.
4685 Tue Mar 16 18:15:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4687 * Released 1999-03-16 along with egcs-1.1.2.
4689 Wed Feb 17 17:15:56 1999 Mumit Khan <khan@xraylith.wisc.edu>
4691 * Makefile.in (LIBS): Add libm.a.
4692 (libm.a): Dummy libm.a.
4694 * Makefile.in: Update from winsup 1999-02-08 snapshot.
4695 Preserve local changes.
4696 (mkinstalldirs): In ../, not ../../.
4697 (INCLUDES): Point to local windows32api headers and use -nostdinc.
4699 (LIBS): Add libmoldname-msvc.a.
4700 (libmoldname-msvc.a): Add target.
4701 (distclean): Add target.
4703 Tue Feb 9 00:26:05 1999 Mumit Khan <khan@xraylith.wisc.edu>
4705 * include/dir.h: Reintroduce as an obsolescent header.
4706 * crt1.c (signal.h): Include.
4707 (_gnu_exception_handler): New function to properly handle win32
4708 asynchronous signals.
4709 (mainCRTStartup): Use.
4711 Sun Jan 3 23:52:25 1999 Mumit Khan <khan@xraylith.wisc.edu>
4713 * include/direct.h: Include io.h instead of dir.h
4714 * include/dirent.h: Likewise.
4715 * include/dos.h: Likewise.
4716 * include/stdio.h: Replace reference to dir.h with io.h.
4718 Thu Dec 31 16:04:55 1998 Mumit Khan <khan@xraylith.wisc.edu>
4720 * 1999-01-01 release bundled with egcs-1.1.1.
4722 * include/io.h: Incorporate dir.h.
4723 * include/dir.h: Remove.
4724 * include/signal.h: Move RC_INVOKED up a bit.
4726 Tue Dec 29 15:04:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
4728 * include/signal.h (sig_atomic_t): Define.
4730 * include/malloc.h: Import defs from deprecated alloc.h.
4731 * include/alloc.h: Remove.
4733 From "Daniel J. Rodriksson" <djr@dit.upm.es>:
4734 * include/sys/types.h (_dev_t): Should be unsigned int for MSVCRT.
4735 * include/sys/stat.h (struct stat): st_uid is of type short. Use
4736 _off_t instead of long for st_size.
4738 Thu Sep 10 22:28:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4740 * include/errno.h (sys_errlist, sys_nerr): Move from here ...
4741 * include/stdlib.h: Here.
4743 * include/netdb.h: Remove.
4744 * include/arpa/inet.h: Remove.
4745 * include/netinet/in.h: Remove.
4746 * include/sys/socket.h: Remove.
4748 Fri Sep 4 15:09:11 1998 Mumit Khan <khan@xraylith.wisc.edu>
4752 * include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h,
4753 sys/utime.h}: Protect stddef.h in RC_INVOKED macro.
4755 Thu Sep 3 10:43:29 1998 Mumit Khan <khan@xraylith.wisc.edu>
4757 * setjmp.h (_JBTYPE, _JBLEN): Define correctly.
4758 (jmpbuf): typedef using above.
4759 (setjmp, longjmp): Prototype using jmpbuf.
4761 Merge with Colin Peters' 980701 snapshot. I've ignored changes to
4762 obsolescent imported names, ie., from __imp__ to _imp___.
4764 Also ignored empty include/sys/param.h and incorrect
4765 include/sys/times.h.
4767 * CRTinit.c: New file.
4768 * include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef
4770 * include/io.h (umask): Fix prototype.
4771 * include/stdlib.h (OS constants): Replace with Colin's.
4772 * include/time.h (tzset, daylight, timezone): Replace with Colin's.
4773 * include/sys/state.h: Merge.
4775 Thu Sep 3 09:49:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
4777 * include/assert.h (assert): Lose the trailing semicolon.
4779 Thu Jul 30 21:18:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4781 * include/math.h (matherr): Declare.
4782 * include/stdio.h (fileno, _fileno): Declare.
4783 * include/stdlib.h (environ, _environ): Fix to use runtime DLL.
4786 * include/stdio.h (fdopen, _fdopen): Add const.
4787 (getw, putw): Declare.
4788 * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix.
4790 Sat Jun 13 18:19:41 1998 Mumit Khan <khan@xraylith.wisc.edu>
4792 * include/time.h (_timezone): Undefine.
4793 * include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
4795 * include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
4797 * include/stdlib.h (environ): Use DLL version.
4798 * init.c (environ): Undefine it before use.
4800 Sun Mar 22 19:59:30 1998 Mumit Khan <khan@xraylith.wisc.edu>
4802 * Update to 980309 snapshot from Colin Peters.
4804 * include/utime.h: remove
4805 * include/stdlib.h (__imp__osver_dll, __imp__winver_dll,
4806 __imp__winmajor_dll, __imp__winminor_dll): Apply Jan-Jaap's
4807 patches to define these.
4808 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4809 (_daylight, _timezone, _tzname, _tzset): Define.
4811 * include/netdb.h: Add from Colin's windows32api changes.
4812 * include/sys/socket.h: Likewise.
4813 * include/arpa/inet.h: Likewise.
4814 * include/netinet/in.h: Likewise.
4816 Wed Feb 4 14:16:44 1998 Mumit Khan <khan@xraylith.wisc.edu>
4818 * Update to 980128 snapshot from Colin Peters.
4820 Sat Dec 6 21:30:35 1997 Mumit Khan <khan@xraylith.wisc.edu>
4822 * configure.in (AC_INIT): Use dllmain.c instead of defunct
4824 * configure: Regenerate.
4826 Fri Dec 5 15:57:36 1997 Mumit Khan <khan@xraylith.wisc.edu>
4828 * Update to 971205 snapshot from Colin Peters. Lots of changes.
4829 Files renamed and include hierarchy loses directories named
4832 * include/dos.h: from Jan-Jaap.
4834 Thu Dec 4 21:48:13 1997 Mumit Khan <khan@xraylith.wisc.edu>
4836 Changes to conform to FSF tree.
4838 * crt1.c: Renamed from mcrt0.c.
4839 * dllcrt1.c: Renamed from dllcrt0.c.
4840 * Makefile.in: Update above. Also renamed libmoldnames.a to
4843 Mon Dec 1 16:51:30 1997 Mumit Khan <khan@xraylith.wisc.edu>
4845 * crtdll.def: Export all functions but the ones with funny names.
4846 * moldnames.def: Add fdopen since fileno is already there.
4847 * include/nonansi/dos.h: New file from Jan-Jaap.
4848 * include/errno.h: Add extern decl + various additions from JJ.
4849 * include/stdio.h: Likewise.
4850 * include/stdlib.h: Likewise.
4851 * include/nonansi/io.h: Likewise.
4852 * include/nonansi/process.h: Likewise.
4853 * include/sys/types.h: Likewise.
4855 Tue Nov 4 14:51:01 1997 Mumit Khan <khan@xraylith.wisc.edu>
4857 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4859 * include/stdlib.h (free): Fix prototype to return void, not void*.
4860 * include/nonansi/process.h: Add P_* and WAIT_* defs.
4862 * dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
4863 * mcrt0.c: Likewise.
4865 * Makefile.in (LIBS): Delete moldnames.dll from target libs.
4866 (libmoldnames.a): Add explicit rule to create it.
4868 Fri Aug 15 18:23:43 1997 Rob Savoye <rob@cygnus.com>
4870 New directory for the minimalist cygwin environment.
4872 * crtglob.c: New file. Turn on file globbing support.
4873 * crt_noglob.c: New file. Turn off file globbing support.
4874 * ctype_old.c: New file. Wrappers for functions that don't
4876 * dirent.c: New file. Directory routines readdir, opendir, closedir.
4877 * dllcrt0.c: New file. Initialization code to use crtdll.dll.
4878 * dllmain.c: New file. A stub DllMain function.
4879 * hugeval.c: New file. A gross hack to define HUGE_VAL.
4880 * init.c: New file. Common code to initialize standard file
4881 handles and command line arguments.
4882 * main.c: New file. A main for programs that only call WinMain.
4883 * mcrt0.c: New file. Default crt0 for mingw32.
4884 * oldnames.c: New File. Wrappers for functions that don't
4886 * string_old.c: New File.
4887 * include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h
4888 math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h
4889 string.h,tchar.h,time.h,wchar.h}: New header files for mingw.
4890 * include/sys/types.h: New header file for mingw.
4891 * include/nonansi/{alloc.h,conio.h,dir.h,direct.h,dirent.h
4892 fcntl.h,io.h,malloc.h,mem.h,memory.h,process.h,share.h,unistd.h
4893 utime.h,values.h,varargs.h}: New header files for mingw.
4894 * include/nonansi/sys/{fcntl.h,locking.h,stat.h,time.h
4895 timeb.h,unistd.h}: New header files for mingw.
4896 * Makefile.in,configure.in: Build and configure support.
4897 * configure: Generated from autoconf 2.12 with Cygnus patches.