1 2009-02-08 Keith Marshall <keithmarshall@users.sourceforge.net>
3 MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.
4 (Requested by Robert Riebisch)
6 * mingwex/getopt.c (getopt_parse): Track external increments of...
7 (optind): ...this global variable.
9 2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
11 * include/_mingw.h: Increment version to 3.15.2.
13 2009-01-04 Keith Marshall <keithmarshall@users.sourceforge.net>
15 Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
16 Also add tentative support for BSD specific `optreset' feature.
18 * include/getopt.h (optreset) [_BSD_SOURCE]: Define; map it to...
19 (__mingw_optreset): ...this new global variable.
21 * mingwex/getopt.c (__mingw_optreset): Instantiate it...
22 (getopt_parse) [optind < 1]: ...make it true; use it to reset argument
25 2008-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
27 Partial fix for MinGW-Bug [2457778]: (Reported by Sisyphus).
28 Correct mishandling of invalid characters in printf() format specs.
30 * mingwex/stdio/pformat.c (__pformat): Save `fmt' scan position in...
31 (backtrack): ...this new automatic variable, at start of each format
32 conversion specification substring; use it to backtrack, and print the
33 substring literally, if any invalid character is encountered.
35 2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
37 * msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
38 ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
39 ___unguarded_readlc_active_add_func, __crtCompareStringW,
40 __crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
41 __pwctype_func, __iob_func, __uncaught_exception, __wcserror,
42 __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
43 __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
44 __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
45 _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
46 _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
47 _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
48 _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
49 _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
50 _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
52 2008-12-08 Dmitry G. Gorbachev <d.g.gorbachev@gmail.com>
54 * cpu_features.c (__cpu_features_init): Remove erroneous ';'.
56 2008-10-28 Keith Marshall <keithmarshall@users.sourceforge.net>
58 Correct some binary distribution packaging defects.
60 * Makefile.in (bindist): Remove `make' conditionals; segregate into...
61 (bindist-common, bindist-mingwrt, bindist-mingw-runtime): ...these new
62 intermediate goals; they make packages of files, as specified by...
63 (BINDIST_FILES, DEVDIST_FILES, DLLDIST_FILES): ...these new macros.
64 (dist_prefix) [target_alias !~ cygwin]: Leave it undefined.
66 2008-10-18 Keith Marshall <keithmarshall@users.sourceforge.net>
68 Fix MinGW-Bug [2136252]: (Reported by Roumen Petrov).
69 Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5
71 * mingwex/stdio/pformat.c (__pformat_emit_float): Always make output
72 of radix point conditional on precision != 0 or `#' flag specified.
74 2008-10-13 Keith Marshall <keithmarshall@users.sourceforge.net>
76 Fix MinGW-Bug [2160227]
77 Eliminate conflicting declarations and implementations of scalb().
79 * moldname.def.in (scalb): Comment out of EXPORTS list.
80 * include/math.h (scalb): Comment out OLDNAMES prototype; it conflicts
81 with GCC's built-in declaration.
83 2008-10-12 Christopher Faylor <me+cygwin@cgf.cx>
85 * Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
87 * mingwex/Makefile.in: Ditto.
88 * profile/Makefile.in: Ditto.
89 * configure.in: Record mingw front-end for building under Cygwin.
90 * mingwex/configure.in: Ditto.
91 * profile/configure.in: Ditto.
92 * configure: Regenerate.
93 * mingwex/configure: Ditto.
94 * profile/configure: Ditto.
96 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
98 Use de-facto standard Makefile goals to invoke test suite.
100 * Makefile.in: Some minor formatting adjustments.
101 (test_headers): Unconventionally named goal renamed to...
102 (check-headers): ...this; make it a prerequisite of...
103 (check): ...this new conventionally named goal.
105 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
107 Make strtod() inline definition C89 compliant.
108 (Issue reported by Ilya Shestopalov and Ian Puleston)
109 (Correction identified by Danny Smith)
111 * include/stdlib.h (strtod): Declare as `__inline__', not `inline';
112 reformat inline function definition.
114 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
116 * include/_mingw.h: Increment version to 3.15.1 and introduce
117 __MINGW32_PATCHLEVEL variable.
119 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
121 Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
122 (Reported by Christian Franke)
124 * mingwex/getopt.c (optind): Make global variable value conform to
125 behaviour specified by POSIX; do not use it for internal state in...
126 (getopt_parse): ...this static function; use...
127 (optbase): ...this new static local variable instead.
128 (getopt_resolved): Update `optind' as required.
130 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
132 Improve package identification in configure script.
134 * configure.ac (AC_INIT): Redefine parameters...
135 (PACKAGE_NAME): Set to `MinGW Runtime'.
136 (PACKAGE_BUGREPORT): Set to `http://mingw.org/reporting_bugs'
137 (PACKAGE_TARNAME): Set to `mingwrt'.
138 (PACKAGE_VERSION): Set generically to `v3.x'; reassigned by...
139 (MINGW_AC_CONFIG_SRCDIR): ...this macro, which extracts...
140 (__MINGW32_VERSION): ...this, from file `include/_mingw.h'.
142 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): Do not redefine...
143 (PACKAGE_TARNAME): ...this.
145 * configure: Regenerated.
147 2008-09-25 Keith Marshall <keithmarshall@users.sourceforge.net>
149 Fix MinGW-Bug [2125708].
150 (Reported by Alexandr Zamaraev).
152 * include/stdlib.h (intptr_t) [!_INTPTR_T_DEFINED]: Unused typedef;
153 not wanted here; remove it; replace it by...
154 (uintptr_t) [!_UINTPTR_T_DEFINED]: ...this typedef; needed by...
155 (_invalid_parameter_handler): ...this function typedef.
157 2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
159 * Makefile.in: Don't include host_os as part of snapshot filename.
161 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
163 Fix MinGW-Bug [2119504].
164 (Reported by Peiyuan Song).
166 * mingwex/getopt.c (getopt_resolved): Do not overwrite...
167 (*retindex): ...this already correctly assigned return variable...
168 (opt[index].val): ...with this; this should have been assigned to...
169 (*opt[index].flag) [opt[index].flag != NULL]: ...this instead.
171 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
173 Fix MinGW-Bug [2117379].
174 (Reported by Peiyuan Song).
176 * include/stdio.h (__argv): Replace all references in function
177 prototype argument lists and inline function local variables, with ...
178 (__local_argv): ...this, to avoid potential conflict with ...
179 * include/stdlib (__argv): ...this #defined macro.
181 2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
183 * include/_mingw.h: Increment version to 3.15.
185 2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
187 * Makefile.in: Adjust to new naming standard for MinGW while maintaining old
188 naming standard for Cygwin.
190 2008-08-31 Keith Marshall <keithmarshall@users.sourceforge.net>
192 Reimplement getopt.c to add getopt_long_only() function.
194 (N.B. this reimplementation removes support for BSD/Mac-OS-X
195 `optreset' nonsense; user code should set `optind = 0' instead,
196 to reinitialise option scanning).
198 * mingwex/getopt.c: Delete all content; reimplement it.
199 * include/getopt.h: Likewise.
201 * include/unistd.h (__UNISTD_H_SOURCED__): New macro; define it.
202 (__UNISTD_GETOPT__): This macro is no longer required; remove it.
204 2008-08-30 Keith Marshall <keithmarshall@users.sourceforge.net>
206 Implement conditional replacement for printf() family functions.
208 * include/_mingw.h (__USE_MINGW_ANSI_STDIO): New macro; define it.
209 (__MINGW_ANSI_STDIO__): New manifest constant; define as bitmapped
210 flag for use in user specified __MINGW_FEATURES__ attribute.
211 (__MINGW_LC_MESSAGES__, __MINGW_LC_ENVVARS__): New manifest constants;
212 currently unused: reserved as components of...
213 (__MINGW_LC_EXTENSIONS__): ...this new manifest constant; earmarked as
214 a __MINGW_FEATURES__ enhancement to setlocale().
216 * include/stdio.h (__mingw_printf, __mingw_vprintf): Prototype them.
217 (__mingw_fprintf, __mingw_vfprintf): Likewise.
218 (__mingw_sprintf, __mingw_vsprintf): Likewise.
219 (__msvcrt_printf, __msvcrt_vprintf): Likewise.
220 (__msvcrt_fprintf, __msvcrt_vfprintf): Likewise.
221 (__msvcrt_sprintf, __msvcrt_vsprintf): Likewise.
222 (printf, vprintf) [!__USE_MINGW_ANSI_STDIO]: Prototype for default
223 usage; link to DLL import stub, importing from MSVCRT.
224 (fprintf, vfprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
225 (sprintf, vsprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
226 (printf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_printf; use
227 locally defined static stub implementation.
228 (fprintf, sprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
229 __mingw_fprintf and __mingw_sprintf respectively.
230 (vprintf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_vprintf; use
231 static inline implementation for C++ and GNU C, or locally defined
232 static stub otherwise.
233 (vfprintf, vsprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
234 __mingw_vfprintf and __mingw_vsprintf respectively.
236 2008-08-27 Keith Marshall <keithmarshall@users.sourceforge.net>
238 Avoid access violations, passing NULL to printf( "...%s..." );
239 (inconsistencency with MSVCRT and glibc, reported by Colin Harrison).
241 * mingwex/stdio/pformat.c (__pformat_puts): Substitute "(null)"
242 for argument value, if caller passes a NULL pointer.
243 (__pformat_wcputs): Likewise, substitute L"(null)".
245 2008-08-14 Keith Marshall <keithmarshall@users.sourceforge.net>
247 Add missing dependencies for building libmingwex.a.
249 * mingwex/Makefile.in (printf.o, fprintf.o, sprintf.o): Make them...
250 (vprintf.o, vfprintf.o, vsprintf.o): ...and also these, depend on...
251 (pformat.h): ...this.
253 2008-08-11 Keith Marshall <keithmarshall@users.sourceforge.net>
255 Add replacements for remaining members of printf() family.
257 * mingwex/stdio/printf.c: New file.
258 * mingwex/stdio/fprintf.c: New file.
259 * mingwex/stdio/sprintf.c: New file.
260 * mingwex/stdio/vprintf.c: New file.
261 * mingwex/stdio/vfprintf.c: New file.
262 * mingwex/stdio/vsprintf.c: New file.
264 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
265 (STDIO_OBJS): Add their corresponding object files.
267 2008-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
269 Replace __mingw_snprintf() with new generic family implementation;
270 likewise, replace __mingw_vsnprintf().
272 * mingwex/stdio/pformat.c mingwex/stdio/pformat.h: New files.
273 * mingwex/stdio/snprintf.c mingwex/stdio/vsnprintf.c: New files.
274 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
275 (GDTOA_DISTFILES): Remove mingw_snprintf.c
276 (STDIO_OBJS): Add pformat.o, snprintf.o and vsnprintf.o
277 (GDTOA_OBJS): Remove mingw_snprintf.o
278 (PFORMAT_CFLAGS): New macro; define it, as required by...
279 (pformat.o): ...this new explicit build target.
280 (snprintf.o, vsnprintf.o): Declare prerequisites.
282 * mingwex/gdtoa/mingw_snprintf.c: Redundant file; delete it.
284 2008-07-28 Keith Marshall <keithmarshall@users.sourceforge.net>
286 Lay foundations for new printf() function family implementation.
288 * ofmt_stub.s: New file; implement forward compatibility stub for...
289 (_get_output_format): ...this MSVCR80.DLL and later function.
291 * Makefile.in (SRCDIST_FILES): Add ofmt_stub.s.
292 (NM, OBJCOPY): New macros; define them with AC_SUBSTed values.
293 (sym_prefix, NM_LOOKUP, MINGW_REPL_FUNCS): New macros; define them.
294 (lib%.a): Include ofmt_stub.o when import library does not already
295 advertise availability of the _get_output_format() function;
296 Add alias stubs for MINGW_REPL_FUNCS, such that...
297 (__msvcrt_printf): ...is an alias for Microsoft's printf().
298 (__msvcrt_fprintf): ...is an alias for Microsoft's fprintf().
299 (__msvcrt_sprintf): ...is an alias for Microsoft's sprintf().
300 (__msvcrt_vprintf): ...is an alias for Microsoft's vprintf().
301 (__msvcrt_vfprintf): ...is an alias for Microsoft's vfprintf().
302 (__msvcrt_vsprintf): ...is an alias for Microsoft's vsprintf().
303 (clean): Add msvcr*.def.
305 * configure.in (NM, OBJCOPY): Use AC_CHECK_TOOL to specify them.
306 * configure: Regenerated.
308 2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
310 * include/ctype.h (_imp____mb_cur_max): Correct spelling.
311 (_imp____mb_cur_max_dll): Likewise.
313 2008-07-04 Danny Smith <dannysmith@users,sourceforge.net>
315 * include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
316 * include/wchar.h (swprintf, vswprintf): Likewise.
318 2008-07-01 Keith Marshall <keithmarshall@users.sourceforge.net>
320 * msvcrt.def.in [__msvcr80__, __msvcr80d__, __msvcr90__, __msvcr90d__]
321 (_get_output_format, _set_output_format): Add references.
323 * include/stdio.h [__MSVCRT_VERSION__ >= 0x800]
324 (_get_output_format, _set_output_format): Declare prototypes.
325 (_TWO_DIGIT_EXPONENT): Define.
326 Some other minor formatting adjustments.
328 2008-06-14 Danny Smith <dannysmith@users.sourceforge.net>
331 * include/wchar.h (_wfdopen): Const-ify second arg.
332 * include/stdio.h (_wfdopen): Likewise.
333 Thanks to <tdragon at users dot sourceforge net>
335 2008-06-02 Keith Marshall <keithmarshall@users.sourceforge.net>
337 Avoid precision errors in round(), lround() and llround() functions.
339 * mingwex/math/round_generic.c: New file; it replaces...
340 * mingwex/math/round.c: ...this; delete it.
341 * mingwex/math/roundf.c: ...and this; ditto.
342 * mingwex/math/roundl.c: ...and this; ditto.
344 * mingwex/math/lround_generic.c: New file; it replaces...
345 * mingwex/math/lround.c: ...this; delete it.
346 * mingwex/math/lroundf.c: ...and this; ditto.
347 * mingwex/math/lroundl.c: ...and this; ditto.
348 * mingwex/math/llround.c: ...and this; ditto.
349 * mingwex/math/llroundf.c: ...and this; ditto.
350 * mingwex/math/llroundl.c: ...and this; ditto.
352 * mingwex/math/round_internal.h: New file; it provides generic common
353 code, which is shared by `round_generic.c' and `lround_generic.c'; the
354 implementation is based on techniques suggested by Danny Smith and
357 * mingwex/Makefile.in (MATH_DISTFILES): Remove `round.c', `roundf.c',
358 `roundl.c', `lround.c', `lroundf.c', `lroundl.c', `llround.c',
359 `llroundf.c' and `llroundl.c'; replace by `round_internal.h',
360 `round_generic.c' and `lround_generic.c'.
361 (MATH_OBJS): Factor out files listed in...
362 (MATH_ROUND_OBJS, MATH_LROUND_OBJS, MATH_LLROUND_OBJS): ...these new
363 macros; define them; specify dependencies and build rules; add to...
364 (LIB_OBJS): ...this list.
366 2008-05-22 Danny Smith <dannysmith@users.sourceforge.net>
368 [ mingw-Bugs-1961893 ]
369 * mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa
370 mode to 2 for E format.
372 2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
374 * include/stdlib.h: Fix strtod under C++.
376 2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
378 * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
379 * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
381 2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
383 * include/sys/types.h (useconds_t): typedef.
384 * include/unistd.h (usleep): Add prototype.
385 * mingwex/usleep.c: New file.
386 * mingwex/makefile.in: Add usleep source and object.
388 2008-05-02 Ramiro Polla <ramiro@lisha.ufsc.br>
390 Make strtod() conform to C99.
392 * include/stdlib.h (strtod): Declare this mingwex function, and...
393 (_strtod): rename this MSVCRT counterpart.
395 * mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
397 2008-04-26 Chuck Wilson <cwilso11@users.sourceforge.net>
399 * Makefile.in: correct issues with mingw10.dll having multiple relocs.
401 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
403 * include/process.h: Include stdint.h for intptr_t definition.
404 (_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
405 _spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
406 _spawnvpe): Return intptr_t.
407 (execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
408 spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
410 * include/wchar.h: Guard wide process.h functions with !__STRICT_ANSI__.
412 [!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
413 (_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
414 _wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
415 _wspawnvp, _wspawnvpe): Return intptr_t.
417 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
419 * include/wchar.h (fwide): Return success code rather than failure in inline
421 * mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
422 code rather than failure.
424 2008-03-21 Danny Smith
426 * include/math.h (float_t, double_t): Define.
428 2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
430 * mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
431 * mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
432 (x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
434 2008-02-28 Joseph Myers <joseph@codesourcery.com>
436 * include/complex.h: Don't condition contents on C99 or not
439 2008-02-01 Brian Dessent <brian@dessent.net>
441 * Makefile.in: Add rules to generate multiple versions of libmoldname.a for
442 the different runtime versions.
444 2008-01-19 Danny Smith <dannysmithusers.sourceforge.net
446 * inclue/wchar.h (fwide): Add prototype and guard inline definition.
449 2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
451 * include/_mingw.h: Increment version to 3.14.
453 2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
455 * Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
456 * msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
457 * mingwex/math/log10f.S: Correct issue with comments.
458 * mingwex/math/log10l.S: Ditto.
459 * mingwex/math/log1p.S: Ditto.
460 * mingwex/math/log1pf.S: Ditto.
461 * mingwex/math/log1pl.S: Ditto.
462 * mingwex/math/log2.S: Ditto.
463 * mingwex/math/log2f.S: Ditto.
464 * mingwex/math/log2l.S: Ditto.
465 * mingwex/math/logf.S: Ditto.
466 * mingwex/math/logl.S: Ditto.
468 2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
470 * mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
472 2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
474 * include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
475 from '_fsize_t' to '__int64' to be consistent with the other ...64
476 structures and the value set there is 8 bytes not 4. Add guard for both
477 as the are only used by functions available from 6.1 on.
479 * include/malloc.h (_HEAP_MAXREQ): Define.
480 (_aligned_offset_recalloc): Define.
481 (_aligned_recalloc()): Define.
483 * include/math.h: fixed a typo in a comment.
484 (atanhf): Fixed declaration.
486 * include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
487 to '__int64' to be consistent with the other ...64 structures and the value
488 set there is 8 bytes not 4. Added guard as this function is only used by
489 functions available from 6.1 on.
491 * include/sys/stat.h: some members of 'stat' were declared with types with
492 a prefixed underscore, while the ones without the underscore should have
493 been used. Added guard to '__stat64' as it is only used by functions
494 available from 6.1 on. Added the wide character versions of the
495 exec()/spawn() family for completion
496 (_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
499 * include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
500 from 'long' to 'time_t'
501 (__timeb64): moved declaration of structure directly before the declaration
502 of the function '_ftime64()', so it is guarded as well
504 * include/sys/utime.h (__utimbuf64): moved declaration of structure directly
505 before the declaration of the functions using it, so it is guarded as well
507 2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
509 * mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
510 case. Add missing break in 's'/LEN_S case.
512 2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
514 Make snprintf() and vsnprintf() conform to C99.
516 * include/stdio.h: Add note about incompatibility between...
517 (snprintf, vsnprintf): These two mingwex functions, and...
518 (_snprintf, _vsnprintf): these MSVCRT counterparts.
520 * mingwex/Makefile.in (STDIO_OBJS): Remove snprintf.o and vsnprintf.o
521 (STDIO_DISTFILES): Remove snprintf.c and vsnprintf.c
523 * mingwex/stdio/snprintf.c: Delete.
524 * mingwex/stdio/vsnprintf.c: Delete.
526 * mingwex/gdtoa/mingw_snprintf.c (snprintf): Alias to __mingw_snprintf
527 (vsnprintf): Alias to __mingw_vsnprintf.
529 2007-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
531 * include/_mingw.h: Increment version to 3.13.
532 * Makefile.in: Reset CYGRELEASE to 1
534 2007-07-23 Keith Marshall <keithmarshall@users.sourceforge.net>
536 * Makefile.in (SUBDIRS): Delete stray line continuation artifact,
537 resulting from incomplete removal of enclosing `for ...; do ...; done'
538 loop from compound command; (reported by Greg Chicares).
540 2007-07-19 Danny Smith <dannysmith@users.sourceforge.net>
542 * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
545 2007-07-12 Danny Smith <dannysmith@users.sourceforge.net>
548 * include/wchar.h (_wsystem) Declare.
551 (_wsearchenv): Declare.
552 (_wmakepath): Declare.
553 (_wsplitpath): Declare.
554 (_wfullpath): Declare.
555 * include/stdlib.h (_wsystem) Declare.
556 (_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath,
557 _wfullpath): Move into _WSTDLIB_DEFINED guard.
558 * include/tchar.h (_tsystem): New UNICODE mapping define.
560 2007-06-29 Danny Smith <dannysmith@users.sourceforge.net>
562 * mingwex/gdtoa/mingw_snprintf.c: New file.
563 * mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
564 (GDTOA_OBJS): Add mingw_snprintf.o.
566 2007-06-28 Danny Smith <dannysmith@users.sourceforge.net>
568 * msvcrt.def.in: Update comment.
569 Exclude _ctype stub if using msvcr71.dll or newer.
570 * include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
571 * include/wctype.h: Likewise.
573 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
575 *include/wctype.h: Qualify all functions with __MINGW_NOTHROW.
576 *include/dirent.h: Likewise.
578 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
580 * include/assert.h: Qualify all functions with __MINGW_NOTHROW.
581 * include/conio.h: Likewise.
582 * include/ctype.h: Likewise.
583 * include/direct.h: Likewise.
584 * include/dos.h: Likewise.
585 * include/errno.h: Likewise.
586 * include/fenv.h: Likewise.
587 * include/float.h: Likewise.
588 * include/inttypes.h: Likewise.
589 * include/io.h: Likewise.
590 * include/libgen.h: Likewise.
591 * include/locale.h: Likewise.
592 * include/malloc.h: Likewise.
593 * include/mbctype.h: Likewise.
594 * include/mbstring.h: Likewise.
595 * include/process.h: Likewise.
596 * include/search.h: Likewise.
597 * include/setjmp.h: Likewise.
598 * include/signal.h: Likewise.
599 * include/stdio.h: Likewise.
600 * include/stdlib.h: Likewise.
601 * include/string.h: Likewise.
602 * include/time.h: Likewise.
603 * include/wchar.h: Likewise.
604 * include/sys/stat.h: Likewise.
605 * include/sys/time.h: Likewise.
606 * include/sys/timeb.h: Likewise.
607 * include/sys/utime.h: Likewise.
609 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
611 * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
613 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
615 Add POSIX binary tree search API.
617 * mingwex/tfind.c: New file.
618 * mingwex/tdelete.c: New file.
619 * mingwex/tsearch.c: New file.
620 * mingwex/twalk.c: New file.
621 * mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
622 * mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
623 * include/search.h (tfind): Declare.
630 (node_t): Define, on condition of _SEARCH_PRIVATE.
632 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
634 * include/_mingw.h (__MINGW_NOTHROW): Define.
636 2007-06-18 Danny Smith <dannysmith@users.sourceforge.net>
638 * include/stdio.h (vsnprintf): Remove inline definition.
641 2007-06-16 Danny Smith <dannysmith@users.sourceforge.net>
643 * CRTfmode.c: Nit-pick comment fix.
645 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
647 * CRTfmode.c: Fix nested comment.
649 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
651 * include/string.h (strcasecmp): Fix typo in declaration prototype.
653 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
655 * include/io.h (lseek64) : Add prototype.
657 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
659 * include/string.h (strcasecmp): Add prototype.
660 (strncasecmp): Add prototype.
662 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
664 * Makefile.in (CRT0S): Revert last change.
665 * CRTfmode.c. Correct comment.
667 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
669 * Makefile.in (CRT0S): Add back CRTfmode.o.
671 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
673 * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
674 * include/io.h: Likewise.
676 2007-06-11 Danny Smith <dannysmith@users.sourceforge.net>
678 * crt1.c (__mingw_CRTStartup): Add explicit call to gcc's __main.
680 2007-05-08 Danny Smith <dannysmith@users.sourceforge.net>
682 * include/stdint.h (intptr_t): Fix typo.
683 Thanks to Charles Wilson for report.
685 2007-05-07 Danny Smith <dannysmith@users.sourceforge.net>
687 * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
689 (uintptr_t): Protect with _UINTPTR_T_DEFINED. Condition on _WIN64.
690 (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64.
691 (PTRDIFF_MIN): Define as INTPTR_MIN.
692 (PTRDIFF_MAX): Define as INTPTR_MAX.
693 (SIG_ATOMIC_MIN): Define as INTPTR_MIN.
694 (SIG_ATOMIC_MAX): Define as INTPTR_MAX.
696 2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
698 * Makefile.in: Removed mansuffix variable. Changed mansection to support
699 Cygwin man page location.
701 2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
703 * Makefile.in: Added mansection and mansuffix variables. Changed mandir to
704 support Cygwin man page location.
706 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
708 * Include/_mingw.h: Increment version to 3.12.
710 2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
712 * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__.
714 2007-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
716 * Makefile.in: Tweak srcdist to fix build issue.
718 2007-03-20 Keith Marshall <keithmarshall@users.sourceforge.net>
720 Add --enable-mingw-manpage-transform configure option.
722 * aclocal.m4 (MINGW_AC_MANPAGE_TRANSFORM): New macro.
723 * configure.in, Makefile.in: Use it.
724 * configure: Regenerated.
726 2007-03-18 Danny Smith <dannysmith@users.sourceforge.net>
728 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ for gcc 4.2.x too.
730 2007-03-10 Keith Marshall <keithmarshall@users.sourceforge.net>
732 Add manpages for dirname and basename functions.
734 * man: New directory.
735 * man/dirname.man: New file; it sources both manpages.
736 * Makefile.in: Add provisional rules to distribute them.
738 2007-03-08 Keith Marshall <keithmarshall@users.sourceforge.net>
740 * mingwex/basename.c: Make it work with path names containing
741 multibyte character strings.
742 * mingwex/dirname.c: Likewise.
744 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
746 * include/io.h (__mingw_access): New static inline wrapper to restore
747 pre-Vista 'access (fname, X_OK)' behaviour.
748 (__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
750 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
752 * mingwex/fesetround.c (fesetround): Use unsigned int as operand
754 Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
756 2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
758 * include/stdio.h (_unlink, unlink): Add prototypes.
760 2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
762 * include/excpt.h: Replace "_try1" in comments with "__try1".
764 2007-02-15 Danny Smith <dannysmith@users.sourceforge.net>
766 * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
767 (ALL_CXXFLAGS): Likewise.
768 * mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
769 (ALL_CXXFLAGS): Likewise.
770 * profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
771 (ALL_CXXFLAGS): Likewise.
773 2007-02-08 Danny Smith <dannysmith@users.sourceforge.net>
775 * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
777 2007-01-27 Danny Smith <dannysmith@users.sourceforge.net>
779 Expose some more msvcr80.dll functions.
780 * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
781 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
782 * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
783 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
785 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
787 Expose some msvcr80.dll functions.
788 * include/stdlib.h (_set_abort_behavior): Add prototype.
789 (_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
790 _set_abort_behavior mask argument.
791 (_invalid_parameter_handler): Add typedef.
792 (_set_invalid_parameter_handler): Add prototype.
793 * include/stdio.h (_get_printf_count_output): Add prototype.
794 (_set_printf_count_output): Add prototype.
795 * msvcrt.def.in (_get_printf_count_output,_set_printf_count_output,
796 _set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
798 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
800 * include/_mingw.h (CRT_INLINE): Correct typo.
802 2007-01-24 Danny Smith <dannysmith@users.sourceforge.net>
804 * include/io.h (X_OK): Define to F_OK.
806 2007-01-19 Danny Smith <dannysmith@users.sourceforge.net>
808 * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
809 unconditionally. Change comment.
810 * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
812 * include/io.h (rename): Declare.
815 2006-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
817 * include/libgen.h: New file; required by...
818 * mingwex/basename.c, mingwex/dirname.c: New files.
819 * mingwex/Makefile.in (DISTFILES): Add them...
820 (POSIX_OBJS): ...with corresponding basename.o, dirname.o
821 (Dependencies): Typo; s/Dependancies/Dependencies/
823 2006-11-25 Keith Marshall <keithmarshall@users.sourceforge.net>
825 * Makefile.in (VERSION): Let configure define it.
827 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): New macro.
828 * configure.in: Use it.
829 Correct quoting of autoconf macro arguments throughout.
830 (AC_INIT, AC_OUTPUT): Update to autoconf 2.5x preferred syntax.
831 (AR, AS, RANLIB, LD, DLLTOOL, DLLWRAP): Don't need AC_SUBST.
832 (AC_ALLOCA): Invalid after GCC_NO_EXECUTABLES; removed.
833 (AC_CONFIG_FILES): Add, to generate Makefile.
835 * configure: Regenerated.
837 2006-11-21 Danny Smith <dannysmith@users.sourceforge.net>
839 * Makefile.in: Add aclocal.m4 to source release.
840 * mingwex/Makefile.in: Ditto.
841 * profile/Makefile.in: Ditto.
843 2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
845 * Include/_mingw.h: Increment version to 3.11.
846 * Makefile.in: Ditto.
848 2006-11-09 Danny Smith <dannysmith@users.sourceforge.net>
850 [ mingw-Bugs-1590623 ]
851 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
854 2006-10-04 Corinna Vinschen <corinna@vinschen.de>
856 * Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
857 correctly parenthesized.
859 2006-09-19 Danny Smith <dannysmith@users.sourceforge.net>
861 * mingwex/mb_wc_common.h (get_codepage): Get it
864 2006-09-18 Danny Smith <dannysmith@users.sourceforge.net>
866 * mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity.
868 * mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to
870 * mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with
873 2006-09-16 Danny Smith <dannysmith@users.sourceforge.net>
875 * mingwex/gdtoa/strtopx.c (strtopx): Fix long double representation
878 2006-09-11 Christopher Faylor <cgf@timesys.com>
880 * Makefile.in: Semi-revert 2006-08-30 change.
882 2006-09-10 Danny Smith <dannysmith@users.sourceforge.net>
884 * include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
885 (__MINGW_IMPORT): Ansify.
886 * include/stdlib.h (_sleep, _beep, _seterrormode): Add
887 __MINGW_ATTRIB_DEPRECATED.
889 2006-09-10 Keith Marshall <keithmarshall@users.sourceforge.net>
891 * aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
892 Redundant macros; deleted.
894 * configure.in (LIB_AC_PROG_CC): Replaced by...
895 (AC_PROG_CC): ...this.
897 * configure: Regenerated.
899 2006-09-06 Danny Smith <dannysmith@users.sourceforge.net>
901 * mingwex/gdtoa/misc.c (pow5mult): Restore original code.
902 * mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
903 * mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
905 2006-09-01 Danny Smith <dannysmith@users.sourceforge.net>
907 * mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
908 g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
909 gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
910 README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
912 * mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
913 * mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
914 * mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
915 * mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
916 * mingwex/wcstold.c: Avoid using strtold internals.
917 * mingwex/wcstof.c: Rewrite.
918 * mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
919 (GDTOA_OBJS): Add to library.
920 (DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
921 (STDLIB_OBJS): Remove.
922 (STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
923 (Q8_OBJS): Add wcstof.o wcstold.o.
924 * include/stdlib.h (strtof): Remove inline definition.
926 * include/wchar.h (wcstof): Remove inline definition.
928 2006-08-30 Corinna Vinschen <corinna@vinschen.de>
930 * Makefile.in: Add with_cross_host to allow more granular checks.
931 Set installation directories accordingly. Override CC setting only
932 if building a Cygwin target.
933 * aclocal.m4: Regenerate.
934 * configure.in: Move AC_CANONICAL_SYSTEM check up. Add
935 GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files.
936 Test AC_ALLOCA only if building on a native system.
937 * configure: Regenerate.
939 2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
941 * include/ctype.h: Fix typo.
943 2006-08-25 Danny Smith <dannysmith@users.sourceforge.net>
945 * include/ctype.h: Expose iswblank if __cplusplus.
946 * include/wctype.h: Expose iswblank if __cplusplus.
948 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
950 * include/ctype.h: Remove stray ')';
952 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
954 * include/ctype.h (_BLANK): Expand comment.
955 (isblank): Add prototype and inline definition.
956 (iswblank): Add prototype and inline definition.
957 * include/wctype.h (iswblank): Add prototype and inline definition.
958 * mingwex/isblank.c: New file.
959 * mingwex/iswblank.c: New file.
960 * mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
962 2006-07-06 Danny Smith <dannysmith@users.sourceforge.net>
964 * include/math.h (__INFF,__INFL): Remove '#'.
966 2006-07-04 Danny Smith <dannysmith@users.sourceforge.net>
968 * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
970 2006-07-03 Danny Smith <dannysmith@users.sourceforge.net>
972 Support SSE float environment in fenv.h functions.
973 * cpu_features.c: New file.
974 * cpu_features.h: New file.
975 * crt1.c: Include "cpu_features.h".
976 (__mingw_CRTStartup): Call cpu_features_init().
977 * Makefile.in (MING_OBJS): Add cpu_features.c.
978 (SRCDIST_FILES): Add cpu_features.c, cpu_features.h.
979 * include/fenv,h ( fenv_t;): Append __mxcsr field.
980 (__MXCSR_EXCEPT_FLAG_SHIFT): New define.
981 (__MXCSR_EXCEPT_MASK_SHIFT): New define.
982 (__MXCSR_ROUND_FLAG_SHIFT): New define.
983 * mingwex/feclearexcept.c: Include "cpu_features.h".
984 Handle SSE environment.
985 * mingwex/fegetenv.c: Likewise.
986 * mingwex/feholdexcept.c: Likewise.
987 * mingwex/fesetenv.c: Likewise.
988 * mingwex/fesetexceptflag.c: Likewise.
989 * mingwex/fesetround.c: Likewise.
990 * mingwex/fetestexcept.c: Likewise.
991 * mingwex/feupdateenv.c: Likewise.
992 * mingwex/fegetround.c: Add comment.
994 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
996 * Include/_mingw.h: Increment version to 3.10.
997 * Makefile.in: Ditto.
999 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1001 * mingwex/math/tgamma.c (SQTPI): Add braces.
1003 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1005 * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
1006 * mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
1008 * mingwex/math/sf_erf.c (erff): Initialize z.
1010 * mingwex/math/tgamma.c (SQTPI): Avoid type punning.
1012 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1014 * Include/_mingw.h: Increment version to 3.10.
1015 * Makefile.in: Ditto.
1017 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1019 * include/sys/time.h (struct timezone): Define.
1020 * include/time.h: Correct comment about timezone.
1022 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1024 * configure.in (AC_CONFIG_AUX_DIR): Remove.
1025 * configure: Regenerate.
1027 2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
1029 * configure: add srcdir as a possible location for install-sh.
1031 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1033 * mingwex/dirent.c (_tGetFileAttributes): New helper function.
1034 (_topendir): Use it.
1036 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1038 * include/sys/time.h: Add header guard. Add extern "C" bracketing
1040 (gettimeofday): Add prototype.
1041 * mingwex/gettimeofday.c: New file.
1042 * mingwex/makefile.in: Add gettimeofday source and object.
1044 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1046 * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
1047 else global library variable.
1048 (HUGEVALF): Likewise.
1049 (HUGEVALL): Likewise.
1050 (INFINITY): Likewise.
1053 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1055 * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
1057 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1059 * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
1061 2006-05-24 Christopher Faylor <cgf@timesys.com>
1063 * configure.in: Update to newer autoconf.
1064 (thanks to Steve Ellcey)
1065 * mingwex/configure.in: Ditto.
1066 * profile/configure.in: Ditto.
1067 * configure: Regenerate.
1068 * mingwex/configure: Ditto.
1069 * profile/configure: Ditto.
1070 * aclocal.m4: New file.
1071 * mingwex/aclocal.m4: Ditto.
1072 * profile/aclocal.m4: Ditto.
1074 2006-05-17 Danny Smith <dannysmith@users.sourceforge.net>
1076 * mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.
1077 Use supplied codepage as arg to WideCharToMultiByte.
1079 2006-02-13 Earnie Boyd <earnie@users.sf.net>
1081 * Makefile.in (libmsvcr80.a): Add import lib.
1082 (libmsvcr80d.a): Ditto.
1084 2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1086 * Makefile.in: Bump cygwin build number.
1088 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1090 * Include/_mingw.h: Increment version to 3.9.
1091 * Makefile.in: Ditto.
1093 2005-10-14 Danny Smith <dannysmith@users.sourceforge.net>
1095 * include/limits.h (SSIZE_MAX): Define.
1096 (LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.
1098 2005-10-13 Wu Yongwei <adah@users.sourceforge.net>
1100 * include/tchar.h: Include <wchar.h> when _UNICODE is defined.
1101 (_TEOF): New macro definition for _UNICODE and non_UNICODE cases.
1103 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1105 * include/stddef.h: Remove.
1106 * include/stdarg.h: Remove.
1108 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1110 * mingwex/complex/csqrt.c (csqrt): The sign of real part
1111 of result is positive when real part of arg == 0;
1112 * mingwex/complex/csqrtf.c (csqrtf): Ditto.
1113 * mingwex/complex/csqrtl.c (csqrtl): Ditto.
1115 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1117 * include/time.h (_time64): Correct prototype.
1119 2005-10-08 Danny Smith <dannysmith@users.sourceforge.net>
1121 * mingwex/fegetenv.c (fegetenv): Restore exception masks.
1122 * mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
1123 to non-stop. Use "fnclex" to clear exception flags.
1125 2005-09-24 Danny Smith <dannysmith@users.sourceforge.net>
1127 * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
1128 Avoid raising FP exceptions.
1130 2005-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1132 * include/stdlib.h (strtof): Add prototype. Uglify
1133 parameter names in inline definition.
1135 (_Exit): Uglify parameter names in inline definition.
1136 (llabs): Add prototype.
1137 (_set_error_mode): Add prototype and input defines.
1139 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1141 * mingwex/fe*.c: Revert previous changes.
1142 * include/fenv.h: Revert previous changes.
1144 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1146 * mingwex/feclearexcept.c (feclearexcept): Change declaration.
1147 Do not return a value.
1148 * mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
1149 * mingwex/feraiseexcept.c (feraiseexcept): Likewise.
1150 * mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
1151 * mingwex/fegetenv.c (fegetenv): Likewise.
1152 * mingwex/fesetenv.c (fesetenv): Likewise.
1153 * mingwex/feupdateenv.c (feupdateenv): Likewise.
1154 * include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
1155 fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
1158 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1160 * mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
1161 getting filelength for SEEK_END.
1163 2005-08-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1165 * Include/_mingw.h: Increment version to 3.8.
1166 * Makefile.in: Ditto.
1168 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1170 * include/wctype.h (towupper, towlower): Change arg and return value
1172 * include/ctype.h (towupper, towlower): Likewise.
1174 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1176 * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
1177 a diagnostic, guarded by #ifdef DEBUG.
1178 (__mingwthr_remove_key_dtor): Likewise.
1180 2005-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1182 * moldname.def.in (sleep, beep, seterrormode): Remove.
1184 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1186 * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
1187 (_MCOUNT_DECL): Use it.
1188 (MCOUNT): Save and restore eax, ecx, edx registers.
1189 * profile/mcount.c (_mcount): ANSI-fy.
1191 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1193 * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
1194 guard __MINGW_ATTRIB macro definitions.
1195 * include/math.h (logb[fl]): Don't define inlines for
1196 GCC-4.0+ && __FAST_MATH__.
1197 (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up
1198 line-continuation backslashes.
1200 2005-06-06 Danny Smith <dannysmith@users.sourceforge.net>
1202 * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
1203 in GNUC version guard.
1205 2005-05-20 Danny Smith <dannysmith@users.sourceforge.net>
1207 * crt1.c (_gnu_exception_handler): Handle illegal instruction
1208 OS exception as a signal if user has defined a SIGILL handler.
1210 2005-05-10 Danny Smith <dannysmith@users.sourceforge.net>
1212 * mingwex/math/nexttoward.c: New file.
1213 * mingwex/math/nexttowardf.c: New file.
1214 * mingwex/math/nextafterl.c: Add nexttowardl alias.
1215 * mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
1217 (MATH_OBJS): Add nexttoward.o, nexttowardf.o,
1218 * include/math.h (nexttoward, nextowardf, nexttowardl): Add
1221 2005-05-09 Danny Smith <dannysmith@users.sourceforge.net>
1223 * mingwex/math/nextafterf.c (nextafterf): Correct
1225 * mingwex/math/nextafterl.c: New file.
1226 * mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
1227 (MATH_OBJS): Add nextafterl.o.
1228 * include/math.h (nextafterl): Uncomment prototype.
1230 2005-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1232 * mingwex/math/erfl.c: New file.
1233 * mingwex/Makefile.in (MATH_DISTFILES): Add erfl.c.
1234 (MATH_OBJS): Add erfl.o.
1235 * include/math.h (erfl, erfcl): Uncomment prototypes.
1237 2005-05-04 Danny Smith <dannysmith@users.sourceforge.net>
1239 * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
1240 #if (WCHAR_MAX <= WCHAR_MIN) is false.
1241 * include/stdint.h (WCHAR_MAX): Likwise.
1242 (WINT_MAX): Likewise.
1244 2005-05-03 Danny Smith <dannysmith@users.sourceforge.net>
1246 * mingwex/math/signbit.c (__signbit): Make return value
1247 consistent with GCC's __builtin_signbit.
1248 * mingwex/math/signbitf.c (__signbitf): Likewise.
1249 * mingwex/math/signbitf.c (__signbitl): Likewise.
1250 * include/math.h (__signbit, __signbitf, __signbitl): Likewise
1253 2005-05-02 Danny Smith <dannysmith@users.sourceforge.net>
1255 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
1257 * mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
1258 Remove unused MBTOWC_FLAGS define.
1260 2005-04-23 Danny Smith <dannysmith@users.sourceforge.net>
1262 * mingwex/mbrtowc.c: New file.
1263 * mingwex/wcrtomb.c: New file.
1264 * mingwex/btowc.c: New file.
1265 * mingwex/wctob.c: New file.
1266 * mingwex/mb_wc_common.h: New file.
1267 * mingwex/Makefile.in (DISTFILES): Add new files.
1268 (Q8_OBJS): Add new objects.
1269 * include/wchar.h: Adjust comment about mbrtowc() and related
1270 funcions. Add __restrict__ to pointer params in prototypes.
1271 (wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
1272 arg names from protototypes.
1274 2005-04-23 Wu Yongwei <adah@sh163.net>
1276 * mingwex/dirent.c: Formatting changes.
1277 * mingwex/dirent.c (_topendir): Make the end-of-path slash check
1280 2005-03-31 Danny Smith <dannysmith@users.sourceforge.net>
1282 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
1284 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
1286 * include/stdio.h (__mingw_fwrite): Change return value to
1288 * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
1290 2005-03-15 Hans Leidekker <hans@it.vu.nl>
1292 * include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
1294 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1296 * include/wctype.h (wctrans): Remove _CRTIMP.
1297 (towctrans): Likewise.
1300 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1302 * include/wctype.h: Add comment on wctrans, towctrans, wctype.
1304 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1306 * mingwex/wctype.c: New file.
1307 * mingwex/wctrans.c: New file.
1308 * mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c.
1309 * mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.
1311 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
1313 * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.
1315 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
1317 * include/assert.h: Remove header guard. #undef assert macro.
1318 (_assert): Use __MINGW_ATTRIB_NORETURN define.
1320 2005-02-11 Gregory W. Chicares <chicares@cox.net>
1321 Danny Smith <dannysmith@users.sourceforge.net>
1323 * include/math.h (expm1, expm1f, expmll): Add prototypes.
1324 * mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
1326 (MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
1327 * mingwex/math/expm1.c: New file.
1328 * mingwex/math/expm1f.c: New file.
1329 * mingwex/math/expm1l.c: New file.
1331 2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
1333 * include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
1334 * include/wchar.h (struct stat): Likwwise.
1335 Bug reported to Debian by Anand Kumria <wildfire@progsoc.org>
1337 * include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
1339 2005-02-01 Danny Smith <dannysmith@users.sourceforge.net>
1341 * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
1342 string is not valid.
1344 2005-01-26 Oliver Stoeneberg <oliverst@online.de>
1346 * include/malloc.h: Add missing return code defines for
1349 2005-01-17 Danny Smith <dannysmith@users.sourceforge.net>
1351 * include/sys/stat.h (struct __stat64): Change st_size type to
1353 * include/wchar.h (struct __stat64): Change st_size type to __int64.
1355 2005-01-13 Earnie Boyd <earnie@users.sf.net>
1357 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
1359 * include/errno.h (ELOOP): Ditto.
1360 * include/_mingw.h: Increment version to 3.7.
1361 * Makefile.in: Ditto.
1363 2005-01-11 Danny Smith <dannysmith@users.sourceforge.net>
1365 * include/tchar.h (_tfreopen): Add UNICODE mappings.
1367 2005-01-11 Earnie Boyd <earnie@users.sf.net>
1369 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
1370 lstat): Conditionalize defines for __STRICT_ANSI__.
1372 2005-01-10 Earnie Boyd <earnie@users.sf.net>
1374 * include/errno.h (ELOOP): Add definition.
1376 2005-01-10 Danny Smith <dannysmith@users.sourceforge.net>
1378 * mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
1379 casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
1380 clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
1381 ctanl.c ctanhl.c): New files.
1382 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
1383 (COMPLEX_OBJS): Adjust.
1384 * include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
1385 casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
1386 cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
1389 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
1391 * include/_mingw.h (__int16): Define as short.
1392 Thanks to: Leo Yuriev <leoyuriev at users dot sf dot net>
1394 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
1396 * include/stdio.h (P_tmpdir): Add define.
1398 2005-01-03 Earnie Boyd <earnie@users.sf.net>
1400 * Makefile.in (inst_docdir): For Cygwin target set to share/doc/.
1402 2005-01-02 Earnie Boyd <earnie@users.sf.net>
1404 * include/_mingw.h: Increment version to 3.6
1405 * Makefile.in: Ditto
1407 2004-12-26 Danny Smith <dannysmith@users.sourceforge.net>
1409 * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
1410 casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
1411 clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
1412 ctanf.c ctanhf.c): New files.
1413 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
1414 (COMPLEX_OBJS): Adjust.
1415 * include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
1416 casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
1417 cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
1420 2004-12-20 Danny Smith <dannysmith@users.sourceforge.net>
1422 * include/wchar.h (wcsdup): Correct prototype.
1423 * include/string.h (wcsdup): Correct prototype.
1425 2004-10-14 Danny Smith <dannysmith@users.sourceforge.net>
1427 * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
1429 2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
1431 * mingwex/math/fastmath.h: New file.
1432 * mingwex/math/asinh.c: New file.
1433 * mingwex/math/asinhf.c: New file.
1434 * mingwex/math/asinhl.c: New file.
1435 * mingwex/math/acosh.c: New file.
1436 * mingwex/math/acoshf.c: New file.
1437 * mingwex/math/acoshl.c: New file.
1438 * mingwex/math/atanh.c: New file.
1439 * mingwex/math/atanhf.c: New file.
1440 * include/math.h (asinh, asinhf, asinhl, acosh, acoshf, acoshl,
1441 atanh, atanhf, atanhl): Add prototypes.
1442 * mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
1443 (MATH_DISTFILES): Add sources for above and fastmath.h to list.
1444 Specify dependency on fastmath.h for new objects.
1446 2004-09-08 Earnie Boyd <earnie@users.sf.net>
1448 * include/sys/stat.h (_S_IFLNK): Add definition.
1455 2004-09-08 Earnie Boyd <earnie@users.sf.net>
1457 * include/sys/stat.h (_S_ISLNK): Add definition.
1460 2004-09-05 Earnie Boyd <earnie@users.sf.net>
1462 * include/_mingw.h: Increment minor version for 3.5 release.
1463 * Makefile.in: Ditto.
1464 * mingwex/Makefile.in: Correct typo in list of DISTFILES.
1466 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
1468 * include/malloc.h (__mingw_aligned_offset_malloc,
1469 __mingw_aligned_offset_realloc, __mingw_aligned_malloc,
1470 __mingw_aligned_realloc, __mingw_aligned_free): Add
1472 * mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
1473 tst-aligned-malloc.c.
1474 (REPLACE_OBJS): Add mingw-aligned-malloc.o.
1476 2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
1478 * mingwex/mingw-aligned-malloc.c: New file.
1479 * mingwex/tst-aligned-malloc.c: New file.
1481 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
1483 * crt1.c: (__mingw_CRTStartup): Change return to void. Add
1484 noreturn attribute. Align stack to 16 bytes before passing args
1486 (mainCRTStartup): Change return to void.
1487 (WinMainCRTStartup): Likewise.
1489 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
1491 * profile/COPYING: New file.
1492 * profile/CYGWIN_LICENSE: New file.
1493 * profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
1495 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
1497 * mingwex/fopen64.c: Move.
1498 * mingwex/fseeko64.c: Move.
1499 * mingwex/ftello64.c: Move.
1500 * mingwex/lseek64.c: Move.
1501 * mingwex/stdio/fopen64.c: To here.
1502 * mingwex/stdio/fseeko64.c: To here.
1503 * mingwex/stdio/ftello64.c: To here.
1504 * mingwex/stdio/lseek64.c: To here.
1506 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
1508 * profile/gmon.c [__MINGW32__]: Include string.h for
1511 2004-08-08 Christopher Faylor <cgf@timesys.com>
1513 * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
1515 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
1517 * include/complex.h: Remove __attribute__ ((const)) from
1518 transcendantal and trig functions. Replace __attribute__ ((const))
1519 with __MINGW_ATTRIB_CONST on other declarations.
1521 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
1523 * include/wchar.h: Reorganize, avoid including other headers.
1525 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
1527 * include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
1528 (strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
1531 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
1533 * include/dirent.h (struct _wdirent): Remove obsolete comment.
1535 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
1537 * include/string.h: Revert 2004-07-26 additions of
1540 2004-07-28 Danny Smith <dannysmith@users.sourceforge.net>
1542 * mingwex/math/powl.c (powl): Revert change of 2004-02-01.
1543 (__convert_inf_to_maxnum): New.static inline.
1544 (reducl): Use it to protect against Inf - Inf.
1545 (__fast_ldexpl): New function. Use in lieu of ldexpl.
1547 2004-07-27 Danny Smith <dannysmith@users.sourceforge.net>
1549 * mingwex/math/expl.c (expl): Move body of code to new static
1550 function __expl, removing tests for +/-Inf. Extern function
1551 expl calls __expl after testing for max, min log thresholds.
1553 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
1555 * mingwex/stdio/vsscanf.c: Add "edi" to registers-modified field
1556 * mingwex/stdio/vfscanf.c: Likewise.
1557 * mingwex/stdio/vswscanf.c: Likewise.
1558 * mingwex/stdio/vfwscanf.c: Likewise.
1560 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
1562 * include/_mingw.h: Use only two underscores to uglify
1563 __MINGW_ATTRIB_* macros.
1564 * include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
1565 * include/setjmp.h: Likewise.
1567 * include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
1569 (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
1571 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
1573 * include/string.h: Group wide string functions together,
1574 and protect with _WSTRING_DEFINED.
1576 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
1578 * include/_mingw.h (__MINGW_ATTR_*): Replace with
1580 * include/stdlib.h (_ATTRIB_NORETURN): Replace with
1581 __MINGW_ATTRIB_NORETURN, throughout.
1582 (malloc): Declare with __MINGW_ATTRIB_MALLOC.
1584 (abs): Declare with __MINGW_ATTRIB_CONST.
1593 * include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
1595 2004-07-21 Danny Smith <dannysmith@users.sourceforge.net>
1597 * include/_mingw.h: Undefine __attribute__.
1598 (__MINGW_ATTR_NORETURN): New define.
1599 (__MINGW_ATTR_CONST): New define.
1600 (__MINGW_ATTR_MALLOC): New define.
1601 (__MINGW_ATTR_PURE): New define.
1602 (_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
1605 2004-07-19 Danny Smith <dannysmith@users.sourceforge.net>
1607 * include/time.h (__time64_t): Add missing ';'.
1609 2004-07-17 Danny Smith <dannysmith@users.sourceforge.net>
1611 * include/time.h (wcsftime): Move out of !__STRICT_ANSI
1613 (struct tm): Protect with _TM_DEFINED.
1615 2004-07-17 Christopher Faylor <cgf@timesys.com>
1617 * Makefile.in (CC): Strip inappropriate include file settings from any
1620 2004-07-15 "dgun" <dgun@umpire.com>
1622 * include/complex.h (conj): Correct typo in prototype.
1624 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
1626 * include/math.h: Add pragma GCC system_header.
1628 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
1630 * mingwex/complex/carg.c: New file.
1631 * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
1633 2004-07-15 Corinna Vinschen <corinna@vinschen.de>
1635 * Makefile.in (INCLUDES): Temporarily revert previous change.
1636 * mingwex/Makefile,in (INCLUDES): Ditto.
1637 * profile/Makefile,in (INCLUDES): Ditto.
1638 * mingwex/Makefile,in: Drop carg.o dependency.
1640 2004-07-14 Christopher Faylor <cgf@timesys.com>
1642 * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
1644 2004-07-14 Danny Smith <dannysmith@users.sourceforge.net>
1646 * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
1648 * mingwex/Makefile,in (INCLUDES): Ditto.
1649 * profile/Makefile,in (INCLUDES): Ditto.
1651 * mingwex/Makefile,in: Add carg.o to libmingwex.a.
1653 2004-07-13 Earnie Boyd <earnie@users.sourcefourge.net>
1655 * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
1657 * mingwex/Makefile.in: Ditto.
1658 * profile/Makefile.in: Ditto.
1659 * include/limits.h: Change to new file header preamble.
1660 * include/_mingw.h: Increment minor version for 3.4 release.
1661 * Makefile.in: Ditto.
1663 2004-07-12 Danny Smith <dannysmith@users.sourceforge.net>
1665 * mingwex/math/cephes_emath.h (__etens): Remove declaration.
1667 2004-07-11 Danny Smith <dannysmith@users.sourceforge.net>
1669 * include/unistd.h (ftruncate): Add inline definition.
1670 * mingwex/ftruncate.c: New file.
1671 * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
1673 2004-07-10 Danny Smith <dannysmith@users.sourceforge.net>
1675 * include/time.h: Do not include sys/types.h.
1677 2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
1679 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
1680 (MATH_OBJS): Remove pow,o.
1681 * include/math.h (pow): Declare with _CRTIMP.
1682 Add comment on how to avoid excess precision problems.
1684 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
1686 * include/stdio.h (__mingw_fseeko64): Add prototype.
1687 * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
1688 (__mingw_fwrite): Handle huge files.
1690 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
1691 Danny Smith <dannysmith@users.sourceforge.net>
1693 * include/stdio.h (fopen64): Add inline function.
1694 (fseeko64): Add prototype.
1695 (ftello64): Add inline function.
1696 * include/io.h (lseek64): Add inline function.
1697 * include/sys/types (off64_t): Add typedef.
1698 (fpos64_t): Add typedef.
1699 * mingwex/fopen64.c: New file.
1700 * mingwex/fseeko64.c: New file.
1701 * mingwex/ftello64.c: New file.
1702 * mingwex/lseek64.c: New file.
1703 * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
1704 fseeko.64.c, ftello64.c, lseek64.c.
1705 (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
1707 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
1709 * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
1711 2004-04-22 Earnie Boyd <earnie@users.sf.net>
1713 * DISCLAIMER: Add words about "free to use".
1714 * README: Modify "Win32 runtime" to "Microsoft C Runtime".
1715 * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
1716 (inst_docdir): New variable.
1718 (FLAGS_TO_PASS): Include inst_docdir.
1719 (install-dirs): Add inst_docdir.
1720 (install): Add loop for INSTDOCS.
1721 * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
1722 section to CONTRIBUTORS file. Remove RCS tags.
1724 2004-04-22 Danny Smith <dannysmith@users.sourceforge.net>
1726 * mingwex/math/lround.c: Rewrite.
1727 * mingwex/math/lroundf.c: Rewrite.
1728 * mingwex/math/lroundl.c: Rewrite.
1729 * mingwex/math/llround.c: Rewrite.
1730 * mingwex/math/llroundf.c: Rewrite.
1731 * mingwex/math/llroundl.c: Rewrite.
1733 2004-04-20 Earnie Boyd <earnie@users.sf.net>
1735 * CONTRIBUTORS: New file.
1736 * DISCLAIMER: Ditto.
1737 * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
1738 section to CONTRIBUTORS file. Remove RCS tags.
1739 * CRTFmode.c: Ditto.
1743 * crtdll.dev: Ditto.
1753 * msvcrt.def.in: Ditto.
1754 * strcasecmp.c: Ditto.
1757 * include/assert.h: Ditto.
1758 * include/conio.h: Ditto.
1759 * include/ctype.h: Ditto.
1760 * include/direct.h: Ditto.
1761 * include/dirent.h: Ditto.
1762 * include/dos.h: Ditto.
1763 * include/errno.h: Ditto.
1764 * include/excpt.h: Ditto.
1765 * include/fcntl.h: Ditto.
1766 * include/float.h: Ditto.
1767 * include/io.h: Ditto.
1768 * include/locale.h: Ditto.
1769 * include/malloc.h: Ditto.
1770 * include/math.h: Ditto.
1771 * include/process.h: Ditto.
1772 * include/setjmp.h: Ditto.
1773 * include/share.h: Ditto.
1774 * include/signal.h: Ditto.
1775 * include/stdio.h: Ditto.
1776 * include/stdlib.h: Ditto.
1777 * include/string.h: Ditto.
1778 * include/tchar.h: Ditto.
1779 * include/time.h: Ditto.
1780 * include/wchar.h: Ditto.
1781 * include/sys/locking.h: Ditto.
1782 * include/sys/param.h: Ditto.
1783 * include/sys/stat.h: Ditto.
1784 * include/sys/timeb.h: Ditto.
1785 * include/sys/types.h: Ditto.
1786 * include/sys/utime.h: Ditto.
1787 * mingwex/dirent.c: Ditto.
1789 2004-04-19 Earnie Boyd <earnie@users.sf.net>
1791 * include/_mingw.h: Revert to primary release 3 and increment minor
1793 * Makefile.in (VERSION): Ditto.
1795 2004-04-01 Danny Smith <dannysmith@users.sourceforge.net>
1797 * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
1798 _fmode if not __MSVCRT__.
1800 2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
1802 * include/io.h: (_findfirst): Correct prototype.
1804 2004-03-30 Hans Leidekker <hans@it.vu.nl>
1806 * include/io.h: (_findnext, _findclose): Correct prototype.
1808 2004-03-28 Hans Leidekker <hans@it.vu.nl>
1810 * include/math.h (FP_*): Add defines.
1812 2004-03-29 Danny Smith <dannysmith@users.sourceforge.net>
1814 * mingwex/math/round.c: Rewrite.
1815 * mingwex/math/roundf.c: Rewrite.
1816 * mingwex/math/roundl.c: Rewrite.
1818 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
1820 * include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.
1821 * include/time.h (__time64_t): Add typedef.
1822 (_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
1823 (_ctime64): Likewise.
1824 (_wctime64): Likewise.
1825 (_gmtime64): Likewise.
1826 (_localtime64): Likewise.
1827 (wcsftime): Move into _WTIME_DEFINED block.
1828 Regroup non-ANSI prototypes.
1829 * include/io.h: Include <stdint.h>.
1830 (__finddata64_t): Add struct definition.
1831 (__wfinddata64_t): Likewise.
1832 (_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
1833 (_findnext64): Likewise.
1834 (_wfindfirst64): Likewise.
1835 (_wfindnext64): Likewise.
1836 * include/sys/timeb.h (__timeb64): Add struct definition.
1837 (_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
1838 * include/sys/utime.h (__utimbuf64): Add struct definition.
1839 (_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
1840 (_futime64): Likewise.
1841 (_wutime64): Likewise.
1842 * include/sys/stat.h (__stat64): Add struct definition.
1843 (_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
1844 (_stat64): Likewise.
1845 (_wstat64): Likwise.
1846 * include/sys/types.h (__time64_t): Add typedef.
1847 * include/wchar.h (__wfinddata64_t): Add structure definition.
1848 (__stat64): Likewise.
1849 (_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
1850 (_wfindfirst64): Likewise.
1851 (_wfindnext64): Likewise.
1852 (_wutime64): Likewise.
1853 (_wstat64): Likwise.
1854 * include/malloc.h (_aligned_free): Add prototype for
1855 __MSVCRT_VERSION__ >= 0x0700.
1856 (_aligned_malloc): Likewise.
1857 (_aligned_offset_malloc): Likewise.
1858 (_aligned_offset_realloc): Likewise.
1859 (_aligned_realloc): Likewise.
1860 * include/string.h (_wcserror): Add prototype for
1861 __MSVCRT_VERSION__ >= 0x0700.
1862 (__wcserror): Likewise.
1863 * include/math.h (_set_SSE2_enable): Add prototype for
1864 __MSVCRT_VERSION__ >= 0x0701.
1866 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
1868 * include/stdio.h (_fsopen): Add prototype.
1869 * include/tchar.h (_tfsopen): Add defines.
1870 Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
1872 2004-03-19 Danny Smith <dannysmith@users.sourceforge.net>
1874 * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
1875 msvcr70.dll, and msvcr71.dll.
1876 * Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant
1877 using basename of output def file.
1879 2004-03-13 Danny Smith <dannysmith@users.sourceforge.net>
1881 * include/malloc.h: Remove __STRICT_ANSI__ guard.
1883 2004-03-11 Brian Keener <bkeener@thesoftwaresource.com>
1885 * include/process.h: Remove the #endif associated with removal of
1886 __STRICT_ANSI__ guard from non-ANSI header.
1888 2004-03-10 Danny Smith <dannysmith@users.sourceforge.net>
1890 * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
1891 * include/direct.h: Ditto.
1892 * include/dirent.h: Ditto.
1893 * include/dos.h: Ditto.
1894 * include/excpt.h: Ditto.
1896 * include/io.h: Ditto.
1897 * inlude/mem.h: Ditto.
1898 * include/memory.h: Ditto.
1899 * include/process.h: Ditto.
1900 * inlude/search.h: Ditto.
1901 * include/share.h: Ditto.
1902 * include/unistd.h: Ditto.
1903 * include/sys/fcntl.h: Ditto.
1904 * include/file.h: Ditto.
1905 * include/sys/locking.h: Ditto.
1906 * include/sys/param.h: Ditto.
1907 * include/sys/stat,h
1908 * include/sys/time.h: Ditto.
1909 * include/sys/timeb.h: Ditto.
1910 * include/sys/types.h: Ditto.
1911 * include/sys/unistd.h: Ditto.
1912 * include/sys/utime.h: Ditto.
1914 2004-02-21 Danny Smith <dannysmith@users.sourceforge.net>
1916 * include/_mingw.h (__UNUSED_PARAM): Define macro.
1917 * include/wchar.h (fwide): Use it.
1920 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
1922 * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
1923 NetBSD getopt_long.c.
1925 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
1927 * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
1928 codes and handling of special chars.
1930 2004-02-02 Danny Smith <dannysmith@users.sourceforge.net>
1932 * include/stdio.h (feof): Add inlined definition.
1935 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
1937 * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
1938 directly, rather than via scabnl.
1940 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
1942 * mingwex/math/powl.c (powl): Return infinity if
1943 extended precision multiplication of x by log2(y)
1946 2004-01-31 Danny Smith <dannysmith@users.sourceforge.net>
1948 * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
1949 (__enan_NI16): Fix another one.
1950 (__enan_NBITS): Tidy.
1952 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
1954 * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
1955 types. (Thanks to John Maddock for report.)
1957 2004-01-14 Greg Chicares <chicares@users.sourceforge.net>
1959 * include/tchar.h (_puttchar): Define.
1961 2003-12-13 Danny Smith <dannysmith@users.sourceforge.net>
1963 * include/stdio.h:(_fileno): Define macro version after both
1964 fileno and _fileno functions declared.
1966 * include/stdio.h (_rmtmp, rmtmp): Add prototypes.
1967 * moldnames.def.in (rmtmp) Add stub.
1969 2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
1971 * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
1973 2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
1975 * include/math.h: Guard ISO C99 additions with __cplusplus
1978 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
1980 * include/_mingw.h: Define __attribute__((x)) to nothing
1983 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
1985 * include/complex.h: New file.
1986 * mingwex/complex: New directory.
1987 * mingwex/complex/cabs.c: New file.
1988 * mingwex/complex/cacos.c: New file.
1989 * mingwex/complex/cacosh.c: New file.
1990 * mingwex/complex/casin.c: New file.
1991 * mingwex/complex/casinh.c: New file.
1992 * mingwex/complex/catan.c: New file.
1993 * mingwex/complex/catanh.c: New file.
1994 * mingwex/complex/ccos.c: New file.
1995 * mingwex/complex/ccosh.c: New file.
1996 * mingwex/complex/cexp.c: New file.
1997 * mingwex/complex/cimag.c: New file.
1998 * mingwex/complex/clog.c: New file.
1999 * mingwex/complex/cpow.c: New file.
2000 * mingwex/complex/cproj.c: New file.
2001 * mingwex/complex/creal.c: New file.
2002 * mingwex/complex/csin.c: New file.
2003 * mingwex/complex/csinh.c: New file.
2004 * mingwex/complex/csqrt.c: New file.
2005 * mingwex/complex/ctan.c: New file.
2006 * mingwex/complex/ctanh.c: New file.
2007 * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
2010 (COMPLEX_OBJS): New list of objects.
2011 (LIB_OBJS): Include it in the library.
2013 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2015 * include/math.h (cabs): Remove non-ISO prototype.
2017 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2019 * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
2020 Use GCC __builtin's if available.
2021 (INFINITY, INFINITYF, INFINITYL): Likewise.
2023 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2025 * mingwex/math/s_erf.c (erf): Set errno to ERANGE if
2026 beyond approximation limit.
2027 * mingwex/math/sf_erf.c (erff): Likewise.
2029 2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
2031 * include/stdio.h (getc): Cast result to unsigned char before
2034 (getchar): Likewise.
2035 (putchar): Likewise.
2036 Thanks to M.Fujii <boochang@m4.kcn.ne.jp>
2038 2003-10-10 Earnie Boyd <earnie@users.sf.net>
2040 * include/_mingw.h: Increment version to 3.2.
2041 * Makefile.in: Ditto.
2043 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2045 * include/sys/types.h: Revert last change.
2047 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2049 * include/sys/types.h (ssize_t): Correct the definition.
2051 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2053 * include/stdio.h (_filbuf): Add prototype.
2054 (_flsbuf): Add prototype.
2055 (getc): Add inline version.
2057 (getchar): Likewise.
2058 (putchar): Likewise.
2060 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2062 * mingwex/dirent.c (_treaddir): Reset errno to 0 if end
2065 2003-09-29 Danny Smith <dannysmith@users.sourceforge.net>
2067 * include/stdlib.h: Guard non-ISO functions with
2068 !__STRICT_ANSI__, throughout.
2070 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2072 * include/io.h (_fileno): Remove prototype.
2074 (FILENAME_MAX): Define, if needed.
2075 Don't include <stdio.h>.
2076 * include/stdio.h (FILENAME_MAX): Protect against
2078 (_fileno): Define macro implementation.
2081 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2083 * include/inttypes.h: Include _mingw.h.
2085 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2087 * include/_mingw.h (__CRT_INLINE): Define.
2088 * include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
2090 * include/inttypes.h: Likewise.
2091 * include/math.h: Likewise.
2092 * include/stdio.h: Likewise.
2093 * include/stdlib.h: Likewise.
2094 * include/string.h: Likewise.
2095 * include/wchar.h: Likewise.
2096 * include/wctype.h: Likewise.
2098 2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
2100 * mingwex/dirent.c (_topendir): Allocate enough memory for
2101 DIR struct in UNICODE case too.
2103 2003-09-15 Earnie Boyd <earnie@users.sf.net>
2105 * include/_mingw.h: Increment version to 3.2.
2106 * Makefile.in: Ditto.
2108 2003-07-03 Earnie Boyd <earnie@users.sf.net>
2110 * config.guess, config.sub: Update with versions from ftp.gnu.org.
2112 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2114 * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
2115 * mingwex/math/truncf.c (truncf): Likewise.
2116 * mingwex/math/truncl.c (truncl): Likewise.
2117 * mingwex/math/modff.c (modff): Likewise.
2118 * mingwex/math/modfl.c (modfl): Likewise.
2120 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2122 * include/search.h: New file.
2123 * include/stdlib.h: Add comment about qsort, bsearch in
2125 * test_headers.c: Include search.h.
2126 * moldname.def.in (lfind, lsearch): Add.
2128 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2130 * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
2131 _execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
2132 execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
2134 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2136 * include/_mingw.h (small, hyper): Change to __small and __hyper to
2137 avoid user space name conflicts.
2139 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2141 * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
2142 Note: Also added to w32api/include/basetyps.h.
2143 * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
2144 Rename to Small (case difference).
2146 2003-06-18 Earnie Boyd <earnie@users.sf.net>
2148 * include/dirent.h (dirent): Make d_name and array instead of a pointer.
2149 * mingwex/dirent.c: Modifications througout to fill d_name array.
2150 * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
2151 libmsvcr71, including debug versions.
2152 (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
2154 2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
2156 * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
2157 __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
2159 Thanks to: Aaron W LaFramboise <AWLaFramboise@aol.com>
2161 2003-05-30 Sascha Sommer <saschasommer@freenet.de>
2163 * include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
2165 2003-05-15 Danny Smith <dannysmith@users.sourceforge.net>
2167 * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
2168 but still protect inline definition with __STRICT_ANSI__.
2170 2003-05-14 Danny Smith <dannysmith@users.sourceforge.net>
2172 * string_old.c: Remove, splitting into...
2173 * strcasecmp.c: New file.
2174 * strncasecmp.c: New file.
2175 * wscmpi.c : New file.
2176 * ctype_old.c: Remove, splitting into...
2177 * isascii.c: New file.
2178 * iscsym.c: New file.
2179 * iscsymf.c: New file.
2180 * toascii.c: New file.
2181 * Makefile.in (MOLD_OBJS): Adjust.
2182 (SRCDIST_FILES): Adjust.
2184 2003-05-13 Danny Smith <dannysmith@users.sourceforge.net>
2186 * include/math.h (fabs) : Remove inline definition.
2190 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2192 * include/_mingw.h: Change version to 3.0
2193 * Makefile.in: Ditto.
2195 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2197 * configure.in (W32API_INCLUDE): Need the -I switch in the value.
2198 * mingwex/configure.in (W32API_INCLUDE): Ditto.
2199 * profile/configure.in (W32API_INCLUDE): Ditto.
2201 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2203 * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
2204 of multiply defined symbols if the symbols is defined locally. E.G.:
2205 A local definition of malloc causes this problem.
2206 * configure: Regenerate.
2207 * profile/Makefile.in (W32API_INCLUDE): New variable.
2208 (ALL_CFLAGS): Use W32API_INCLUDE value.
2209 (ALL_CXXFLAGS): Ditto.
2210 (gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
2211 Thanks to Jeff Bonggren <jbon@users.sf.net>.
2212 * profile/configure.in (W32API_INCLUDE): Set default value.
2213 * profile/configure: Regenerate.
2214 * mingwex/Makefile.in (W32API_INCLUDE): New variable.
2215 (ALL_CFLAGS): Use W32API-INCLUDE value.
2216 (ALL_CXXFLAGS): Ditto.
2217 * mingwex/configure.in (W32API_INCLUDE): Set default value.
2218 * mingwex/configure: Regenerate.
2220 2003-05-05 Earnie Boyd <earnie@users.sf.net>
2222 * Makefile.in (W32API_INCLUDE): New variable.
2223 (ALL_CFLAGS): Use W32API_INCLUDE value.
2224 (ALL_CXXFLAGS): Ditto.
2225 * configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
2226 (W32API_INCLUDE): Set default value.
2227 * configure: Regenerate.
2229 2003-04-11 Earnie Boyd <earnie@users.sf.net>
2231 * configure.in (LIBM_A): Define for cygwin target.
2232 * configure (LIBM_A): Ditto.
2234 2003-04-07 Danny Smith <dannysmith@users.sourceforge.net>
2236 * include/time.h (strftime): Remove duplicate declaration.
2238 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2240 * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
2242 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2244 * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
2245 * mingwex/strtoimax.c (strtoimax): Likewise.
2246 * mingwex/wcstoimax.c (wcstoimax): Likewise.
2247 * mingwex/wtoll.c (wtoll): Remove unnecessary ';'
2248 * mingwex/fesentenv.c: Include float.h.
2249 * mingwex/math/powl.c: Eliminate type punning/strict aliasing
2251 * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
2253 * mingwex/math/tgammal.c: Likewise.
2255 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2257 * include/utime.h: New file, forwarding to sys/utime.h.
2259 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2261 * include/sys/param.h (MAXPATHLEN): Define.
2263 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2265 * include/tchar.h: Ansi-fy a comment.
2267 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2269 * profile/profile.h (mcount): Use __builtin_return_address
2270 rather than inline __asm statements.
2271 * profile/Makefile.in: Remove special rule for mcount.o
2272 Specify dependencies for mcount.o profil.o gmon.o.
2274 2003-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2276 * include/stdlib.h (qsort): Remove const from first parm.
2277 Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
2279 2003-03-03 Christopher Faylor <cgf@redhat.com>
2281 * mingwex/getopt.c: Refresh from NetBSD sources.
2283 2003-03-03 Danny Smith <dannysmith@users.sourceforge.net>
2285 * mingwex/getopt.c: New file, copied from cygwin srcs.
2286 * include/getopt.h: New file, copied from cygwin srcs.
2287 * include/unistd.h: Include getopt.h.
2288 * mingwex/Makefile.in (DISTFILES): Add getopt.c.
2289 (POSIX_OBJS): Add getopt.o.
2291 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
2293 * include/stdio.h (vscanf): Add prototype.
2299 * include/wchar.h (vwscanf): Add prototype.
2302 * mingwex/snprintf.c: Move to mingwex/stdio.
2303 * mingwex/vsnprintf.c: Ditto.
2304 * mingwex/snwprintf.c: Ditto.
2305 * mingwex/vsnwprintf.c: Ditto.
2306 * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
2307 (STDIO_DISTFILES): Add.
2308 (DISTFILES): Adjust.
2309 (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
2313 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com>
2315 * mingwex/stdio: New directory
2316 * mingwex/stdio/vfscanf.c: New file.
2317 * mingwex/stdio/vfwscanf.c: New file.
2318 * mingwex/stdio/vscanf.c: New file.
2319 * mingwex/stdio/vsscanf.c: New file.
2320 * mingwex/stdio/vswscanf.c: New file.
2321 * mingwex/stdio/vwscanf.c: New file.
2323 2003-02-25 Earnie Boyd <earnie@users.sf.net>
2325 * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
2326 (libmsvcrt40.a): Ditto.
2328 2003-02-21 Earnie Boyd <earnie@users.sf.net>
2330 Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
2332 * Makefile.in (libmsvcrtd.a): Add target library.
2333 (libmoldnamed.a): Ditto.
2334 (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
2336 ($(srcdir)): Remove explicit reference for depencies of object targets.
2337 * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
2338 msvcrt20.def, msvcrt40.def: Remove.
2339 * msvcrt.def.in: New file (Copy of previous msvcrt.def).
2341 2003-02-20 Corinna Vinschen <corinna@vinschen.de>
2343 * Makefile.in: Make sure libmingwex.a from current build tree is used.
2345 2003-02-14 Christopher Faylor <cgf@redhat.com>
2347 * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
2348 ensure -mno-cygwin where appropriate. Filter out -O2.
2350 2003-02-13 Danny Smith <dannysmith@users.sourceforge.net>
2352 * profile/Makefile.in (mcount.o): Use -O1 optimization
2355 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
2357 * include/math.h: Remove _CRTIMP from pow() prototype,
2358 unless __NO_ISOCEXT.
2360 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
2362 * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
2364 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
2366 * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
2367 __declspec(dllimport) supported.
2368 (__cdecl): Define if not already defined.
2369 (__stdcall): Likewise.
2370 * include/dirent.h: Qualify fuctions with __cdecl.
2371 * include/fenv.h: Likewise.
2372 * include/inttypes.h: Likewise.
2373 * include/assert.h: Qualify fuctions with __cdecl. Qualify
2374 CRT dll imports with _CRTIMP.
2375 * include/conio.h: Likewise.
2376 * include/ctype.h: Likewise.
2377 * include/direct.h: Likewise.
2378 * include/dos.h: Likewise.
2379 * include/errno.h: Likewise.
2380 * include/float.h: Likewise.
2381 * include/io.h: Likewise.
2382 * include/locale.h: Likewise.
2383 * include/malloc.h: Likewise.
2384 * include/math.h: Likewise.
2385 * include/mbctype.h: Likewise.
2386 * include/mbstring.h: Likewise.
2387 * include/process.h: Likewise.
2388 * include/setjmp.h: Likewise.
2389 * include/signal.h: Likewise.
2390 * include/stdio.h: Likewise.
2391 * include/stdlib.h: Likewise.
2392 * include/string.h: Likewise.
2393 * include/time.h: Likewise.
2394 * include/wchar.h: Likewise.
2395 * include/wctype.h: Likewise.
2396 * include/sys/stat.h: Likewise.
2397 * include/sys/timeb.h: Likewise.
2398 * include/sys/utime.h: Likewise.
2400 * include/ctype.h: Guard ctype inlines with __NO_INLINE__.
2401 * include/wctype.h: Guard wctype inlines with __NO_INLINE__.
2403 * include/stdio.h (__VALIST): Guard against prior definition.
2405 2003-02-08 Earnie Boyd <earnie@users.sf.net>
2407 * include/_mingw.h: Change version to 3.0
2408 * Makefile.in: Ditto.
2410 2003-02-08 Earnie Boyd <earnie@users.sf.net>
2412 * include/stdlib.h: Make words after #endif a comment.
2414 2003-02-07 Danny Smith <dannysmith@users.sourceforge.net>
2416 * include/locale.h: Include stddef.h for definition of NULL.
2418 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
2420 * include/math.h (tgamma): Correct typo in comment.
2422 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
2424 * mingwex/mingw-fseek.c (INLINE): Remove define.
2425 (__mingw_is_win9x): Remove static inline function.
2426 (_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
2428 2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
2430 * mingwex/math/llround.c: Correct function name and
2431 change return value to long long.
2433 2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
2435 * include/ctype.h (__isascii): Don't cast arg to unsigned.
2436 (iswascii): Likewise. Correct mask.
2437 * include/wctype.h (iswascii): Don't cast arg to unsigned.
2440 2003-01-03 Danny Smith <dannysmith@users.sourceforge.net>
2442 * include/stdlib.h (_osver, _winver, _winmajor,
2443 _winminor): Declare as direct imports from dll if
2444 __DECLSPEC_SUPPORTED.
2446 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
2448 * pseudo-reloc.c (do_pseudo_reloc): Make static.
2449 * pseudo-reloc-list.c: New file.
2450 * crt1.c (_pei386_runtime_relocator): Declare.
2451 (__mingw_CRTStartup): Call it.
2452 * dllcrt1.c (_pei386_runtime_relocator): Declare.
2453 (DllMainCRTStartup): Call it.
2454 * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to
2457 2003-01-01 Egor Duda <deo@logos-m.ru>
2459 * pseudo-reloc.c: New file.
2461 2002-12-20 Earnie Boyd <earnie@users.sf.net>
2463 * include/_mingw.h: Increment version to 2.4.
2466 2002-12-12 Earnie Boyd <earnie@users.sf.net>
2468 * include/malloc.h (_alloca): Add definition.
2471 2002-12-08 Danny Smith <dannysmith@users.sourceforge.net>
2473 * mingwex/math/s_erf.c: New file.
2474 * mingwex/math/sf_erf.c: New file.
2475 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
2476 (MATH_OBJS): Add new objects.
2477 * include/math.h (erf[f]): Add prototypes.
2478 (erfc[f]): Add prototypes.
2480 2002-12-07 Danny Smith <dannysmith@users.sourceforge.net>
2482 * include/math.h: Add traditional/XOPEN math constants.
2484 2002-11-27 Danny Smith <dannysmith@users.sourceforge.net>
2486 * mingwex/math/lgamma.c: New file.
2487 * mingwex/math/lgammaf.c: New file.
2488 * mingwex/math/lgammal.c: New file.
2489 * mingwex/math/tgamma.c: New file.
2490 * mingwex/math/tgammaf.c: New file.
2491 * mingwex/math/tgammal.c: New file.
2492 * mingwex/math/cephes_mconf (polevlf): Add float version.
2494 Define _CEPHES_USE_ERRNO.
2495 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
2496 (MATH_OBJS): Add new objects.
2497 * include/math.h (lgamma[fl]): Add prototypes.
2498 (tgamma[fl]): Add prototypes.
2500 2002-11-26 Danny Smith <dannysmith@users.sourceforge.net>
2502 * mingwex/strtold.c: New file.
2503 * mingwex/wcstold.c: New file.
2504 * mingwex/ldtoa.c: New file.
2505 * mingwex/math/cephes_emath.h: New file.
2506 * mingwex/math/cephes_emath.c: New file.
2507 * mingwex/Makefile.in (DISTFILES): Add new files.
2508 (MATH_DISTFILES): Ditto.
2509 (STDLIB_OBJS): New. Define as strtold.c wcstold.c.
2510 (MATH_OBJS): Add cephes_emath.o.
2511 (LIB_OBJS): Add $(STDLIB_OBJS).
2512 * include/stdlib.h (strtold, wcstold): Add prototypes.
2513 * include/wchar.h (wcstold): Add prototype.
2515 2002-11-09 Danny Smith <dannysmith@users.sourceforge.net>
2517 * include/math.h (sqrt): Remove inline definition.
2518 (sqrtf): Replace inline definition with prototype.
2520 * mingwex/math/sqrtf.c (sqrtf): Set domain error if
2521 argument less than zero.
2522 * mingwex/math/sqrtf.c (sqrtl): Likewise.
2524 2002-10-30 Guido Serassio <serassio@libero.it>
2526 * include/stdio.h (_getmaxstdio): Add prototype.
2527 (_setmaxstdio): Likewise.
2529 2002-10-19 Kang Li <rubylith@users.sourceforge.net>
2531 * include/fcntl.h (O_SEQUENTIAL): Correct typo.
2533 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
2535 * crt1.c: Define new macro __IN_MINGW_RUNTIME before including
2537 Define WIN32_MEAN_AND_LEAN before including windows.h
2538 * include/stdlib.h (_fmode): Protect declaration as dllimported
2539 variable with __IN_MINGW_RUNTIME.
2541 2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu>
2543 * crt1.c: Include stdlib.h.
2545 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
2547 * Makefile.in (CRT0S): Add txtmode.o binmode.o.
2548 (MINGW_OBJS): Add txtmode.o.
2549 (SRCDIST_FILES): Add txtmode.c binmode.c.
2550 crt1.c: Don't include fcntrl.h, stdlib.h.
2551 (_fmode): Declare, without dllimport attribute.
2552 (__p__fmode): Declare access function for dll's _fmode.
2553 (_mingw32_init_fmode): Sync dll _fmode with staticly linked
2555 * txtmode.c: New file.
2556 * binmode.c: New file.
2557 * samples/fmode/test2.c: New file.
2558 * samples/fmode/jamfile: Add test2.exe target.
2560 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
2562 * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
2563 macros work with C89.
2564 (INTMAX_C, UINTMAX_C): Likewise.
2566 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
2568 * include/string.h (strcasecmp): Make extern __inline__.
2569 (strncasecmp): Likewise.
2570 (wcscmpi): Likewise.
2572 2002-10-08 Heiko Gerdau <hg@technosis.de>
2574 * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
2575 _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
2578 2002-10-07 Danny Smith <dannysmith@users.sourceforge.net>
2580 * mingwex/math/powil.c: Rename powil to __powil.
2581 * mingwex/math/powl.c: Adjust declaration and call
2582 to __powil. Remove comment on powil.
2583 * mingwex/math/powi.c: New file.
2584 * mingwex/math/powif.c: New file.
2585 * mingwex/math/pow.c: New file.
2586 * mingwex/math/cephes_mconf.h. Add double and float
2587 versions of constants.
2588 (polevl): Add double precision function.
2590 * mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
2592 (MATH_OBJS): Add pow.o, powi.o, powif.o.
2594 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2596 * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
2597 (_imp____mbcur_max_dll): Likewise.
2599 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2601 * include/fcntl.h (_fmode): Remove declarations and
2602 compatibility defines.
2603 (_setmode, setmode): Remove prototypes.
2604 * include/stdlib (_fmode): Add declarations and
2605 compatibility defines. Change type to int.
2606 * include/io.h (_setmode, setmode): Add prototypes.
2607 * samples/fmode/all.c: Adjust includes.
2608 * samples/fmode/test.c: Likewise.
2609 * crt1.c (_CRT_fmode): Declare as int.
2610 * CRTfmode.c (_CRT_fmode): Likewise.
2612 * include/stdlib: Remove comment about MB_CUR_MAX.
2614 2002-10-02 Danny Smith <dannysmith@users.sourceforge.net>
2616 * include/stdlib.h (_imp____mbcur_max): Add missing ';'.
2617 (_imp____mbcur_max_dll): Likewise.
2619 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
2621 * mingwex/math/files.txt: Remove inadvertantly added file.
2623 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
2625 * include/string.h (_strerror): Move into #ifndef
2626 __STRICT_ANSI__ block.
2628 2002-09-17 Danny Smith <dannysmith@users.sourceforge.net>
2630 * include/time.h (__need_NULL): Define before including
2631 stddef.h. Thanks to: Rüdiger Dehmel <de@lmnet.de>.
2633 2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
2635 * include/stdio.h: Correct comment about directory separator.
2637 2002-09-12 Danny Smith <dannysmith@users.sourceforge.net>
2639 * include/sys/time.h (timeval): Add struct definition and
2640 associated macros (copied from w32api/include/winsock.h).
2642 2002-09-05 Earnie Boyd <earnie@users.sf.net>
2644 * include/_mingw.h: Increment version to 2.3.
2647 2002-09-05 Earnie Boyd <earnie@users.sf.net>
2649 * mingwex/fegetenv.c: Change to \n line endings.
2650 * mingwex/vsnprintf.c: Ditto.
2651 * mingwex/vsnwprintf.c: Ditto.
2653 2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
2655 * mingwex/math/hypotl.c: Replace with version based on cephes
2658 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
2660 * include/sys/param.h: Add ENDIAN defines.
2661 * test_headers.c: Include sys/param.h.
2663 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
2665 * test_headers.c: Don't include varargs.h.
2666 * Makefile.in (test_headers): Don't use -std=xx
2669 2002-08-21 Earnie Boyd <earnie@users.sf.net>
2671 * include/sys/param.h: New File.
2673 2002-08-21 Danny Smith <dannysmith@users.sourceforge.net>
2675 * include/math.h (asm): Change to __asm__ throughout.
2676 Expose ISO C99 functions if __GLIPCPP__.
2677 (hypotf): Use hypot, not _hypot in stub.
2679 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
2681 * include/tchar.h: Ansi-fy another comment.
2683 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
2685 * include/tchar.h: Ansi-fy comment.
2687 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
2689 * test_headers.c : New file.
2690 * Makefile.in (test_headers): New target, using it,
2691 (SRCDIST_FILES): Distribute it.
2693 2002-08-20 Earnie Boyd <earnie@users.sf.net>
2695 * include/_mingw.h: Increment version to 2.2.
2698 2002-08-14 Earnie Boyd <earnie@users.sf.net>
2700 * include/unistd.h: Add include of process.h.
2702 2002-08-03 Danny Smith <dannysmith@users.sourceforge.net>
2704 * include/stdio.h (_fcloseall): Add prototype.
2706 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
2708 * include/tchar.h (_tfdopen): Correct typo.
2710 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
2712 * moldname.def.in (chgsign,scalb,finite,fpclass,logb,
2713 nextafter): Add non-underscored stubs.
2714 * moldname-msvcrt.def: Regenerate.
2715 * moldname-crtdll.def: Regenerate.
2716 * mingwex/math: New directory.
2717 * mingwex/rint.c: Move to mingwex/math.
2718 * mingwex/rintf.c: Ditto.
2719 * mingwex/rintl.c: Ditto.
2720 * mingwex/round.c: Ditto.
2721 * mingwex/roundf.c: Ditto.
2722 * mingwex/roundl.c: Ditto.
2723 * mingwex/rint.c: Ditto.
2724 * mingwex/rintf.c: Ditto.
2725 * mingwex/rintl.c: Ditto.
2726 * mingwex/trunc.c: Ditto.
2727 * mingwex/truncf.c: Ditto.
2728 * mingwex/truncl.c: Ditto.
2729 * mingwex/signbit.c: Ditto.
2730 * mingwex/signbitf.c: Ditto.
2731 * mingwex/signbitl.c: Ditto.
2732 * mingwex/copysignl.S: Ditto.
2733 * mingwex/fdim.c: Ditto.
2734 * mingwex/fdimf.c: Ditto.
2735 * mingwex/fdiml.c: Ditto.
2736 * mingwex/fmin.c: Ditto.
2737 * mingwex/fminf.c: Ditto.
2738 * mingwex/fminl.c: Ditto.
2739 * mingwex/fmax.c: Ditto.
2740 * mingwex/fmaxf.c: Ditto.
2741 * mingwex/fmaxl.c: Ditto.
2742 * mingwex/fma.c: Ditto.
2743 * mingwex/fmaf.c: Ditto.
2744 * mingwex/fmal.c: Ditto.
2745 * mingwex/fpclassify.c: Ditto.
2746 * mingwex/fpclassifyl.c: Ditto.
2747 * mingwex/fpclassifyl.c: Ditto.
2748 * mingwex/isnan.c: Ditto.
2749 * mingwex/isnanf.c: Ditto.
2750 * mingwex/isnanl.c: Ditto.
2751 * mingwex/fucom.c: Ditto.
2752 * mingwex/fp_consts.c: Ditto. Split out float and long double
2754 * mingwex/math_stubs.c: Remove.
2755 * mingwex/log2.c: Remove. Replaced by math/log2.S
2756 * mingwex/log2f.c: Remove. Replaced by math/log2f.S
2757 * mingwex/log2l.c: Remove. Replaced by math/log2l.S
2758 * mingwex/math/acosf.c : New file.
2759 * mingwex/math/acosl.c: New file.
2760 * mingwex/math/asinf.c: New file.
2761 * mingwex/math/asinl.c: New file.
2762 * mingwex/math/atan2f.c: New file.
2763 * mingwex/math/atan2l.c: New file.
2764 * mingwex/math/atanf.c: New file.
2765 * mingwex/math/atanl.c: New file.
2766 * mingwex/math/cbrt.c: New file.
2767 * mingwex/math/cbrtf.c: New file.
2768 * mingwex/math/cbrtl.c: New file.
2769 * mingwex/math/ceilf.S: New file.
2770 * mingwex/math/ceill.S: New file.
2771 * mingwex/math/cephes_ld.h: New file.
2772 * mingwex/math/copysign.S: New file.
2773 * mingwex/math/copysignf.S: New file.
2774 * mingwex/math/cosf.S: New file.
2775 * mingwex/math/coshf.c: New file.
2776 * mingwex/math/coshl.c: New file.
2777 * mingwex/math/cosl.S: New file.
2778 * mingwex/math/exp2.S: New file.
2779 * mingwex/math/exp2f.S: New file.
2780 * mingwex/math/exp2l.S: New file.
2781 * mingwex/math/expf.c: New file.
2782 * mingwex/math/expl.c: New file.
2783 * mingwex/math/fabs.c: New file.
2784 * mingwex/math/fabsf.c: New file.
2785 * mingwex/math/fabsl.c: New file.
2786 * mingwex/math/floorf.S: New file.
2787 * mingwex/math/floorl.S: New file.
2788 * mingwex/math/fmodf.c: New file.
2789 * mingwex/math/fmodl.c: New file.
2790 * mingwex/math/fp_consts.h: Ditto.
2791 * mingwex/math/fp_constsf.c: Ditto.
2792 * mingwex/math/fp_constsl.c: Ditto.
2793 * mingwex/math/frexpf.c: New file.
2794 * mingwex/math/frexpl.S: New file.
2795 * mingwex/math/hypotf.c: New file.
2796 * mingwex/math/hypotl.c: New file.
2797 * mingwex/math/ilogb.S: New file.
2798 * mingwex/math/ilogbf.S: New file.
2799 * mingwex/math/ilogbl.S: New file.
2800 * mingwex/math/ldexpf.c: New file.
2801 * mingwex/math/ldexpl.c: New file.
2802 * mingwex/math/llrint.c: New file.
2803 * mingwex/math/llrintf.c: New file.
2804 * mingwex/math/llrintl.c: New file.
2805 * mingwex/math/llround.c: New file.
2806 * mingwex/math/llroundf.c: New file.
2807 * mingwex/math/llroundl.c: New file.
2808 * mingwex/math/log10f.S: New file.
2809 * mingwex/math/log10l.S: New file.
2810 * mingwex/math/log1p.S: New file.
2811 * mingwex/math/log1pf.S: New file.
2812 * mingwex/math/log1pl.S: New file.
2813 * mingwex/math/log2.S: New file.
2814 * mingwex/math/log2f.S: New file.
2815 * mingwex/math/log2l.S: New file.
2816 * mingwex/math/logb.c: New file.
2817 * mingwex/math/logbf.c: New file.
2818 * mingwex/math/logbl.c: New file.
2819 * mingwex/math/logf.S: New file.
2820 * mingwex/math/logl.S: New file.
2821 * mingwex/math/lrint.c: New file.
2822 * mingwex/math/lrintf.c: New file.
2823 * mingwex/math/lrintl.c: New file.
2824 * mingwex/math/lround.c: New file.
2825 * mingwex/math/lroundf.c: New file.
2826 * mingwex/math/lroundl.c: New file.
2827 * mingwex/math/modff.c: New file.
2828 * mingwex/math/modfl.c: New file.
2829 * mingwex/math/nearbyint.S: New file.
2830 * mingwex/math/nearbyintf.S: New file.
2831 * mingwex/math/nearbyintl.S: New file.
2832 * mingwex/math/nextafterf.c: New file.
2833 * mingwex/math/powf.c: New file.
2834 * mingwex/math/powl.c: New file.
2835 * mingwex/math/powil.c: New file.
2836 * mingwex/math/remainder.S: New file.
2837 * mingwex/math/remainderf.S: New file.
2838 * mingwex/math/remainderl.S: New file.
2839 * mingwex/math/remquo.S: New file.
2840 * mingwex/math/remquof.S: New file.
2841 * mingwex/math/remquol.S: New file.
2842 * mingwex/math/scalbn.S: New file.
2843 * mingwex/math/scalbnf.S: New file.
2844 * mingwex/math/scalbnl.S: New file.
2845 * mingwex/math/sinf.S: New file.
2846 * mingwex/math/sinhf.c: New file.
2847 * mingwex/math/sinhl.c: New file.
2848 * mingwex/math/sinl.S: New file.
2849 * mingwex/math/sqrt.c: New file.
2850 * mingwex/math/sqrtf.c: New file.
2851 * mingwex/math/sqrtl.c: New file.
2852 * mingwex/math/tanf.S: New file.
2853 * mingwex/math/tanhf.c: New file.
2854 * mingwex/math/tanhl.c: New file.
2855 * mingwex/math/tanl.S: New file.
2856 * mingwex/Makefile.in: Adjust VPATH for source files in
2859 Add MATH_DISTFILES and use it to build source distro.
2860 * include/ math.h: Add protypes for new functions and
2861 reorganise to reflect ANSI,C99 status.
2863 2002-06-19 Danny Smith <dannysmith@users.sourceforge.net>
2865 * include/tchar.h (_getts): Define as _getws for _UNICODE.
2866 (_putts): Define as _putws for _UNICODE.
2867 Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report.
2869 2002-06-18 Danny Smith <dannysmith@users.sourceforge.net>
2871 * include/float.h: #include_next<float.h> before header guard.
2873 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
2875 * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
2877 * include/excpt.h (): Include windef.h not windows.h.
2878 * include/fcntl.h (_O_SHORT_LIVED): Add define.
2879 (_chmod): Add prototype.
2880 (_creat): Correct prototype.
2881 (SH_DENY*): Rename defines to _SH_DENY*.
2882 (SH_DENY*): Add Non-ANSI names for _SH_DENY*.
2883 include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
2884 _IOAPPEND): Add defines.
2885 (_wfindfirst): Correct prototype.
2886 (_wfdopen): Add prototype.
2887 * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
2889 * include/string.h (_mbschr, _mbstok, _mbsncat): Remove
2891 (_wcsdup): Correct prototype.
2892 * include/mbstring.h: Remove comments about _mbschr, _mbstok,
2893 _mbsncat being in string.h.
2894 * include/wchar.h (_wfindfirst): Correct prototype.
2895 * include/tchar.h (_tfdopen): Add _UNICODE mappings.
2897 2002-06-15 Earnie Boyd <earnie@users.sf.net>
2899 * include/_mingw.h: Increment to version 2.1.
2900 * Makefile.in: Ditto.
2902 2002-06-15 Earnie Boyd <earnie@users.sf.net>
2904 * Makefile.in (conf_prefix): New variable.
2905 (dist_prefix): Ditto. Conditionally set to $(conf_prefix).
2906 (bindist): Use dist_prefix.
2908 2002-06-13 Danny Smith <dannysmith@users.sourceforge.net>
2910 * include/_mingw.h: Increment version to 2.0.
2911 * Makefile.in: Ditto.
2913 Merge in mingwex branch.
2915 2002-06-11 Danny Smith <dannysmith@users.sourceforge.net>
2916 * include/math.h (fdim, fdimf, fdiml): Add prototypes.
2917 * mingwex/fdim.c: New file.
2918 * mingwex/fdimf.c: New file.
2919 * mingwex/fdiml.c: New file.
2920 * mingwex/Makefile.in (DISTFILES): Add fdim.c, fdimf.c,
2922 (MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
2924 2002-05-23 Danny Smith <dannysmith@users.sourceforge.net>
2925 * mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c.
2927 2002-05-22 Danny Smith <dannysmith@users.sourceforge.net>
2928 * mingwex/isnanl.c: New file.
2930 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2931 * include/stdint.h: Include stddef.h to get
2933 (WINT_MAX): Define to ((wint_t)-1).
2935 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2936 * include/wctype.h: Replace 'inline' with '__inline__'.
2937 * include/inttypes.h: Likewise.
2939 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
2940 * include/_mingw.h (__MINGW_IMPORT): Put extern at start
2941 to avoid warnings. Thanks to: Oscar Fuentes <ofv@wanadoo.es>.
2943 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
2944 * mingwex/snprintf.c: Split out vsnprintf to....
2945 * mingwex/vsnprintf.c: New file.
2946 * mingwex/snwprintf.c: Split out vsnwprintf to...
2947 * mingwex/vsnwprintf.c: New file.
2948 * mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
2950 2002-05-15 Pascal Obry <obry@gnat.com>
2951 * include/dirent.h (DIR): Change dd_stat type to int.
2954 2002-05-07 Danny Smith <dannysmith@users.sourceforge.net>
2955 * include/stdio.h (vsnprintf): Change inline to __inline__;
2956 (vsnwprintf): Likewise.
2957 * include/wchar.h (vsnwprintf): Likewise.
2960 (mbsinit): Likewise.
2962 2002-04-29 Danny Smith <dannysmith@users.sourceforge.net>
2963 Change FP default precison from 53 to 64-bit mantissa.
2964 * Makefile.in (CRT0S): Add CRT_fp8.o.
2965 (MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o.
2966 * include/float.h: Replace standard float.h defines with
2967 #include_next<float.h> to use GCC's defines. Adjust comments
2970 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
2971 * include/dos.h: Change prefix "__imp_" to "_imp__" for
2972 __GNUC__ without __DECLSPEC_SUPPORTED.
2973 * include/fnctl.h: Likewise.
2974 * include/math.h: Likewise.
2975 * include/stdio.h: Likewise.
2976 * include/stdlib.h: Likewise.
2977 * include/time.h: Likewise.
2978 * include/wctype.h: Likewise.
2979 * include/ctype.h: Likewise.
2981 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
2982 Add atexit support for dlls.
2983 * crt1.c (atexit): Force thunk to _imp__atexit.
2984 (_onexit): Force thunk to _imp___onexit.
2985 * dllcrt1.c (DllMainCRTStartup): Initialise private atexit
2986 table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
2987 (__dll_exit): New function to run atexit-registered functions
2988 and flush output buffers on DLL_PROCESS_DETACH or failed
2990 (atexit): Force use of private atexit table via _dllonexit,
2991 (_onexit): New function. Force use of private atexit table via
2993 * msvcrt.def (atexit, _onexit): Add DATA keyword so that only
2994 _imp_<_symbol> is visible in import lib.
2995 * msvcrt20.def: Likewise.
2996 * msvcrt40.def: Likewise.
2997 * crtdll.def: Likewise.
2999 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3000 * include/fenv.h: Change header guard macro to _FENV_H_.
3001 (fenv_t, fexcept_t): Move into block protected by
3003 Cleanup some whitespace.
3004 * include/inttypes.h: Change header guard macro to
3007 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3008 * include/math.h (copysignl): Declare.
3009 * mingwex/Makefile.in (DISTFILES): Add copysignl.S.
3010 (MATHOBJS):Add copysignl.o.
3012 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3013 * include/math.h (__signbitl, __isnanl): Declare.
3015 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3016 * include/math.h (nanl, __fpcassifyl, fminl, fmaxl, rintl,
3017 roundl, truncl, fmal, log2l): Declare.
3018 Protect C99 declarations with _STDC_VERSION__ >= 199901L)
3019 || !defined __STRICT_ANSI__.
3020 * mingwex/fmax.c (fmax): Call __isnan, not _isnan.
3021 * mingwex/fmin.c (fmin): Likewise.
3022 * mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan.
3023 * mingwex/fminf.c (fminf): Likewise.
3024 * mingwex/fmaxl.c: New file.
3025 * mingwex/fminl.c: New file.
3026 * mingwex/fpclassify.c (__fpclassifyf): Split out to ...
3027 * mingwex/fpclassifyf.c: New file.
3028 * mingwex/fpclassifyl.c: New file.
3029 * mingwex/rint.c (rintf): Split out to...
3030 * mingwex/rintf.c: New file.
3031 * mingwex/rintl.c: New file.
3032 * mingwex/round.c (roundf): Split out to...
3033 * mingwex/roundf.c: New file.
3034 * mingwex/roundl.c: New file.
3035 * mingwex/trunc.c (truncf): Split out to...
3036 * mingwex/truncf.c: New file.
3037 * mingwex/truncl.c: New file.
3038 * mingwex/signbit.c (signbitf): Split out to...
3039 * mingwex/signbitf.c: New file.
3040 * mingwex/signbitl.c: New file.
3041 * mingwex/fmal.c: New file.
3042 * mingwex/copysignl.S: New file.
3043 * mingwex/log2l.c: New file.
3044 * mingwex/fp_consts.c: Add nanl definition.
3045 Comment out unused constants.
3046 * mingwex/Makefile.in (DISTFILES): Add fmaxl.c, fminl.c,
3047 fpclassifyf.c, fpclassifyl.c, rintf.c, rintl.c, roundf.c,
3048 roundl.c, truncf.c truncl.c, signbitf.c signbitl.c,
3050 (MATHOBJS): Add fmaxl.o, fminl.o, fpclassifyf.o,
3051 fpclassifyl.o, rintf.o, rintl.o, roundf.o, roundl.o,
3052 truncf.o truncl.o, signbitf.o signbitl.o, fmal.o,
3054 * mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo.
3056 2002-04-23 Danny Smith <dannysmith@users.sourceforge.net>
3057 Make wide char versions of opendir and friends.
3058 * include/dirent.h (_wdirent, _WDIR): Define wide versions of
3060 (_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
3061 _wseekdir): Add prototypes for wide versions of corresponding
3063 * include/tchar.h; Add _UNICODE mappings for dirent.h
3064 structures and functions.
3065 * mingwex/dirent.c: Make _UNICODE neutral.
3066 * mingwex/wdirent.c: New file to define _UNICODE before
3068 * mingwex/Makefile.in (DISTFILES): Add wdirent.c.
3069 (POSIX_OBJS): Add wdirent.o.
3070 (wdirent.o): Specify dependency on dirent.c as well as
3072 * samples/dirent/wtest.c: New file, wide version of test.c.
3074 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3075 * Makefile.in (INCLUDES): Add "-iwithprefixbefore include" to
3076 ensure gcc include dir is searched despite -nostdinc.
3077 * profile/Makefile.in (INCLUDES): Likewise.
3078 * mingwex/Makefile.in (INCLUDES): Likewise.
3079 * include/stdarg.h: Replace with stub that just guards the
3080 real gcc system header with #ifndef RC_INVOKED
3081 * include/varargs.h: Likewise.
3082 * include/stddef.h: Likewise.
3083 * include/stdio.h: Include stdarg.h after defining
3085 (__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
3086 Replace va_list with __VALIST throughout.
3088 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3089 * crt1.c: Revert changes of 2002-04-16. Use _fpreset again.
3090 * msvcrt.def (_fpreset): Mark as DATA so that only
3091 _imp___fpreset is exported.
3092 * msvcrt20.def (_fpreset): Likewise.
3093 * msvcrt40.def (_fpreset): Likewise.
3094 * crtdll.def (_fpreset): Likewise.
3095 * CRT_fp10.c (_fpreset): Overide library _fpreset with one
3097 (fpreset): Add alias.
3098 (__CRT_PC): Delete definition. _fpreset does it now.
3099 * CRT_fp8.c (_fpreset): Force use of library _imp___fpreset.
3100 (fpreset): Add alias.
3101 (__CRT_PC): Delete definition.
3102 * moldname.def.in: Comment out fpreset.
3103 * moldname-msvcrt.def: Regenerate.
3104 * moldname-crtdll.def: Regenerate.
3105 * include/fenv.h (FE_DFL_ENV): Define as (fenv_t*)0.
3106 * mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment
3107 with the _fpreset determined by startup CRT_fp object.
3109 2002-04-16 Danny Smith <dannysmith@users.sourceforge.net>
3110 * CRT_fp8.c: New file.
3111 * CRT_fp10.c: New file.
3112 * crt1.c (__CRT_PC) Declare.
3113 (__CRT_fesetenv): New static function, using _CRT_PC.
3114 (__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset.
3115 (_gnu_exception_handler): Likewise.
3116 * Makefile.in (CRT0S): Add CRT_fp10.o.
3117 (MINGW_OBJS): Add CRT_fp8.o.
3118 (SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c.
3119 Add CRT_fp8.o, CRT_fp10.o dependancies.
3120 * include/float.h (_fpreset): Expand comment.
3121 * include/fenv.h (FE_PC64_ENV): New define for Intel x87
3122 (extended precison) environmemt.
3123 (FE_PC53_ENV): New define for MSVCRT default environmemt.
3124 (FE_DFL_ENV): Define as FE_PC53_ENV.
3125 * mingwex/fesetenv.c: Use FE_PC53_ENV, FE_PC64_ENV to determine
3126 precision control for default environment.
3128 * include/math.h: Fix long comment line.
3129 * profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
3131 * profile/configure: Regenerate.
3133 2002-04-12 Danny Smith <dannysmith@users.sourceforge.net>
3134 * mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c.
3136 2002-04-10 Danny Smith <dannysmith@users.sourceforge.net>
3137 * mingwex/mingw-fseek.c: New file, based on Mumit Khan
3138 mingw-local patch to binutils.
3139 Sun Nov 7 04:27:07 1999 Mumit Khan <khan@xraylith.wisc.edu>
3140 (__mingw_fseek): New function to work around Win9x f/lseek bug.
3141 (__mingw_fwrite): Likewise.
3142 (__mingw_is_win9x): New helper function.
3143 * include/stdio.h (__USE_MINGW_FSEEK): New define,guarding...
3144 (__mingw_fseek): New prototype and define to replace fseek.
3145 (__mingw_fwrite): New prototype and define to replace fwrite.
3146 * mingwex/Makefile.in: Add mingw-fseek.o to libmingwex.a.
3147 * moldname-crtdll.def: Remove CR from end of line.
3148 * moldname-msvcrt.def: Ditto.
3150 2002-04-09 Danny Smith <dannysmith@users.sourceforge.net>
3151 * profile/configure.in (CRT0S): Configure name of gcrt?.o
3152 based on target, building gcrt0.o for cygwin -mno-cygwin.
3153 * profile/configure: Regenerate.
3154 * profile/Makefile.in (CRT0S): Use name from configure.
3155 (gcrt0.o): New rule.
3156 (ALL_CRT0S): New define, used to cleanup all gcrt?.o's.
3158 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3159 * include/math.h (_controlfp, _control87, _clearfp, _statusfp, _fpreset,
3160 _fpecode): Remove prototypes copied from float.h.
3161 (nan, nanf): Move into block protected against RC_INVOKED
3163 * include/stdlib.h (_Exit): Change from static inline to
3165 * mingwex/_Exit.c : New file.
3166 * mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
3168 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3169 Add libgmon.a and libmingwex.a for cygwin -mno-cygwin.
3170 * configure.in (SUBDIRS): Add profile and mingwex to cygwin target.
3171 (configdirs): Likewise.
3172 (LIBGMON_A): Define for cygwin target as well.
3173 * configure: Regenerate.
3174 * profile/configure.in (THREAD_DLL): Remove define.
3175 (LIBM_A): Remove define.
3176 (LIBGMON_A): Define for cygwin target as well.
3177 * profile/configure: Regenerate.
3178 * profile/makefile.in (install): Install to inst_libdir and
3180 * mingwex/makefile.in (CFLAGS): Move -fomit-frame-pointer to...
3181 (OPTFLAGS): New define.
3182 (ALL_CFLAGS): Add $(OPTFLAGS).
3183 (ALL_CXXFLAGS): Same.
3184 (.c.o:): Remove ALL_CXXFLAGS.
3186 2002-03-29 Danny Smith <dannysmith@users.sourceforge.net>
3187 * include/stdint.h: Add missing newline at eof.
3188 * include/stdio.h (snprintf): Add prototype.
3189 (vsnprintf): Add prototype and inline definition.
3190 (snwprintf): Add prototype.
3191 (vsnwprintf): Add prototype and inline definition.
3192 * include/wchar.h (snwprintf): Add prototype.
3193 (vsnwprintf): Add prototype and inline definition.
3194 * mingwex/Makefile.in: Add snprintf.o, snwprintf.o
3196 * mingwex/snprintf.c: New file.
3197 * mingwex/snwprintf.c: New file.
3199 2002-03-22 Danny Smith <dannysmith@users.sourceforge.net>
3200 * configure.in: Add mingwex as SUBDIRS and configdirs.
3201 * configure: Regenerate.
3202 * Makefile.in (MINGW_OBJS): Remove dirent.o.
3203 (SRC_DIST_FILES): Remove dirent.c.
3205 * include/stdlib.h (_Exit): Add static inline
3207 (struct lldiv_t): Define.
3208 (lldiv): Add prototype.
3209 (llabs): Add extern inline function.
3210 (strtoll,strtoull): Add prototypes.
3211 (wcstol, wcstoul, wcstod): Group together.
3212 (strtof, wcstof): Add extern inline definitions.
3213 (atoll,lltoa,ulltoa, wtoll, lltow ulltow): Add prototypes
3214 and extern inline definitions.
3215 * include/wchar.h (fwide, wcstoll,wcstoull, wmemchr
3216 wmemcmp, wmemcpy, wmemmove, wmemset. mbsinit): Add
3218 (wcstol, wcstoul,wcstod): Copy prototypes from stdlib.h.
3219 (wcstof): Add extern inline definition.
3220 * include/math.h (nan, nanf): Add prototypes.
3221 (NAN, INFINITE): Define constants.
3222 (fpclassify, isnan ,signbit): Add macros and supporting float
3223 and double functions.
3224 (isfinite, isinf, isnormal): Add macros.
3225 (isgreater, isless, isgreaterequal, islessequal,islessgreater):
3227 (rint, rintf, round, roundf, trunc. truncf, fmax, fmaxf,
3228 fmin, fminf, fma, fmaf, log2, log2f): Add prototypes.
3229 (copysign, logb, nextafter, scalb): Add prototypes and
3230 inline stubs for underscored versions in msvcrt.dll.
3231 * include/inttypes.h: New file.
3232 * include/fenv.h: New file
3234 Add new mingwex subdir and files.
3235 * mingwex: New directory.
3236 * mingwex/Makefile.in: New file.
3237 * mingwex/configure.in: New file.
3238 * mingwex/configure: Generate.
3239 * mingwex/dirent.c: Moved here from parent dir.
3240 * mingwex/atoll.c: New file.
3241 * mingwex/feclearexcept.c: New file.
3242 * mingwex/fegetenv.c: New file.
3243 * mingwex/fegetexceptflag.c: New file.
3244 * mingwex/fegetround.c: New file.
3245 * mingwex/feholdexcept.c: New file.
3246 * mingwex/feraiseexcept.c: New file.
3247 * mingwex/fesetenv.c: New file.
3248 * mingwex/fesetexceptflag.c: New file.
3249 * mingwex/fesetround.o: New file.
3250 * mingwex/fetestexcept.c: New file.
3251 * mingwex/feupdateenv.c: New file.
3252 * mingwex/fma.S: New file.
3253 * mingwex/fmaf.S: New file.
3254 * mingwex/fmax.c: New file.
3255 * mingwex/fmaxf.c: New file.
3256 * mingwex/fmin.c: New file.
3257 * mingwex/fminf.c: New file.
3258 * mingwex/fp_consts.c: New file.
3259 * mingwex/fpclassify.c: New file.
3260 * mingwex/fucom.c: New file.
3261 * mingwex/fwide.c: New file.
3262 * mingwex/imaxabs.c: New file.
3263 * mingwex/imaxdiv.c: New file.
3264 * mingwex/isnan.c: New file.
3265 * mingwex/isnanf.c: New file.
3266 * mingwex/lltoa.c: New file.
3267 * mingwex/lltow.c: New file.
3268 * mingwex/log2.c: New file.
3269 * mingwex/log2f.c: New file.
3270 * mingwex/math_stubs.c: New file.
3271 * mingwex/mbsinit.c: New file.
3272 * mingwex/rint.c: New file.
3273 * mingwex/round.c: New file.
3274 * mingwex/signbit.c: New file.
3275 * mingwex/sitest.c: New file.
3276 * mingwex/strtof.c: New file.
3277 * mingwex/strtoimax.c: New file.
3278 * mingwex/strtoumax.c: New file.
3279 * mingwex/testwmem.c: New file.
3280 * mingwex/trunc.c: New file.
3281 * mingwex/ulltoa.c: New file.
3282 * mingwex/ulltow.c: New file.
3283 * mingwex/wcstof.c: New file.
3284 * mingwex/wcstoimax.c: New file.
3285 * mingwex/wcstoumax.c: New file.
3286 * mingwex/wmemchr.c: New file.
3287 * mingwex/wmemcmp.c: New file.
3288 * mingwex/wmemcpy.c: New file.
3289 * mingwex/wmemmove.c: New file.
3290 * mingwex/wmemset.c: New file.
3291 * mingwex/wtoll.c: New file.
3293 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
3295 * include/mbstring.h: New file.
3296 * include/mbctype.h: New file.
3298 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
3300 * include/tchar.h (__TEXT): Make same as define in
3301 w32api/include/winnt.h.
3303 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
3305 * include/tchar.h (_tputenv): Add UNICODE mappings.
3306 (_tsearchenv): Likewise.
3307 (_tmakepath): Likewise.
3308 (_tsplitpath): Likewise.
3309 (_tfullpath): Likewise.
3311 2002-04-18 Pascal Obry <obry@gnat.com>
3313 * dirent.c (opendir): Convert given pathname to
3316 2002-04-09 Earnie Boyd <earnie@users.sf.net>
3318 * include/_mingw.h: Increment version.
3319 * Makefile.in: Ditto.
3321 2002-04-09 Earnie Boyd <earnie@users.sf.net>
3323 * moldname-crtdll.def: Remove CR from end of line.
3324 * moldname-msvcrt.def: Ditto.
3325 * Makefile.in: Use bzip2 compression for Cygwin target.
3327 2002-04-04 Danny Smith <dannysmith@sourceforge.users.net>
3329 * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
3330 TLOSS, PLOSS): Move oldname defines back, following
3331 the underscored names.
3333 2002-03-29 Danny Smith <dannysmith@sourceforge.users.net>
3335 * include/stdio.h (_snwprintf): Correct spelling.
3336 (_vsnwprintf): Likewise.
3337 * include/wchar.h (_snwprintf): Correct spelling.
3338 (_vsnwprintf): Likewise.
3340 2002-03-26 Danny Smith <dannysmith@users.sourceforge.net>
3342 * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__).
3343 (wpopen): Add if !(__CRTDLL__).
3344 * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
3346 (moldname-crtdll.def rule): Likewise.
3347 * moldname-msvcrt.def: Regenerate.
3348 * moldname-crtdll.def: Regenerate.
3349 * include/stdio.h (wpopen):Use prototype, not a define.
3350 (_swnprintf): Add prototype.
3351 (_vswnprintf): Likewise.
3353 * include/wchar.h (_swnprintf): Add prototype.
3354 (_vswnprintf): Likewise.
3357 2002-01-28 Danny Smith <dannysmith@users.sourceforge.net>
3359 * include/malloc.h (_heapinfo): Correct structure definition.
3360 (_USEDENTRY,_FREEENTRY): Add defines.
3361 Add comment on platform support for _heap* functions.
3362 (_get_sbh_threshold): Add prototype.
3363 (_set_sbh_threshold): Likewise.
3364 (_expand): Likewise.
3366 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
3368 * profile/profil.c: Update copyright info.
3369 * profile/profil.h: Likewise.
3370 * profile/gcrt0.c: Likewise.
3372 2002-01-25 Pascal Obry <obry@gnat.com>
3374 * profile/profil.h (PROFADDR): Cast idx to unsigned long long to
3376 * profile/gmon.c: Define bzero as memset if mingw32.
3377 (monstartup): Use it.
3379 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
3381 * include/tchar.h (_TCHAR): Add missing ;.
3383 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
3385 * include/tchar.h (_TCHAR): Add typedefs.
3387 2002-01-16 Danny Smith <dannysmith@users.sourceforge.net>
3389 * include/stdlib.h (_onexit_t): Add typedef.
3390 (_onexit): Add prototype.
3392 2002-01-12 Danny Smith <dannysmith@users.sourceforge.net>
3394 * msvcrt.def: Revert accidental change.
3395 * include/stdlib.h: Ditto.
3397 2001-12-07 Earnie Boyd <earnie@users.sf.net>
3399 * Makefile.in: Increment VERSION.
3400 * include/_mingw.h: Ditto.
3402 2001-12-05 Earnie Boyd <earnie@users.sf.net>
3404 * include/strings.h: New File.
3406 2001-12-02 Danny Smith <dannysmith@users.sourceforge.net>
3409 2001-06-21 Mumit Khan <khan@nanotech.wisc.edu>
3411 * include/math.h (_FPCLASS* ): Add defines from float.h.
3412 (IEEE recommended functions): Add declarations from float.h.
3413 * include/float.h (_FPCLASS* ): Protect against redefinition.
3415 2001-11-29 Wu Yongwei <adah@netstd.com>
3417 * include/_mingw.h,assert.h,conio.h,ctype.h,dir.h,direct.h
3418 dirent.h,dos.h,errno.h,excpt.h,fcntl.h,float.h,io.h,
3419 limits.h,locale.h,malloc.h,math.h,process.h,setjmp.h,
3420 share.h,signal.h,stdarg.h,stddef.h,stdint.h,stdio.h,
3421 stdlib.h,string.h,tchar.h,time.h,varargs.h,wchar.h,
3422 wctype.h,sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h:
3423 Correct spelling of "disclaimed" in comments.
3424 * include/excpt.h: Another spelling correction.
3426 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
3428 * include/errno.h: Fix "errno is not a prototype" warning.
3430 2001-11-07 Danny Smith <dannysmith@users.sourceforge.net>
3432 * include/ctype.h (tolower, toupper,_tolower,_toupper): Comment
3433 differences between ANSI and non-ANSI versions.
3434 (_ctype[],_pctype): Declare vars.
3435 (__ISCTYPE): New helper macro using _pctype.
3436 (is* ctype functions): Use __ISCTYPE to define inline versions.
3437 (_toupper, _tolower, __isascii, __toascii, __iscsym, __iscsymf):
3439 (isw* ctype functions): Inline definitions.
3440 * include/wctype.h (_ctype[],_pctype): Declare vars.
3441 (isw* ctype functions): Inline definitions.
3444 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
3446 * include/float.h (_clearfp, _statusfp, _fpreset, fpreset,
3447 __fpecode): Use __STDC__ prototypes.
3450 2001-11-06 Thomas Pfaff <tpfaff@gmx.net>
3452 * mthr_stub.c (__mingwthr_remove_key_dtor) New.
3453 * mthr_init.c (DllMain) Run dtors if a process terminates.
3454 * mthr.c (__mingwthr_add_key_dtor) Removed.
3455 (___mingwthr_add_key_dtor) New.
3456 (___mingwthr_remove_key_dtor) New.
3457 (__mingwthr_run_key_dtors) Complete rewrite.
3458 (__mingwthr_remove_key_dtor) New.
3460 2001-11-05 Egor Duda <deo@logos-m.ru>
3462 * Makefile.in: Delete unused executable after creating base-files.
3464 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
3466 * include/errno.h (_errno): Use __STDC__ prototype.
3467 Thanks to: Jim Barton.
3469 2001-11-04 "stefan" <stefan@lkcc.org>
3471 * include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names.
3473 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
3475 * include/io.h (_commit): Add declaration.
3476 Thanks to: "stefan" <stefan@lkcc.org>
3478 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
3480 * include/sys/stat.h: Make S_IS* macros safer.
3482 2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
3484 * include/stdlib.h (EXIT_FAILURE): Change value to 1.
3486 2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
3488 * include/stdlib.h (__p__environ, __p__wenviron): Use
3489 __STDC__ prototypes.
3491 2001-09-19 Earnie Boyd <earnie@SF.net>
3493 * Makefile.in: Remove the /usr from the install target.
3494 (VERSION): Increment.
3495 include/_mingw.h: Ditto.
3497 2001-09-17 Earnie Boyd <earnie@SF.net>
3499 * Makefile.in: Increment version.
3500 * include/_mingw.h: Ditto.
3502 2001-09-10 Earnie Boyd <earnie@SF.net>
3504 * dossh: Remove inadvertantly imported file.
3506 2001-09-10 Danny Smith <dannysmith@users.sourceforge.net>
3508 * dirent.c (opendir): Use GetFileAttributes rather than stat
3509 to determine if input arg is dir.
3511 2001-08-29 Danny Smith <dannysmith@users.sourceforge.net>
3513 * include/stdarg.h (va_list): Typedef as __builtin_va_list if
3515 * include/varargs.h (va_list): Ditto.
3516 * include/stdio.h (va_list): Ditto.
3518 2001-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3520 * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
3521 * include/stdio.h (_IORW): Change constant to 0x0080.
3522 (TMP_MAX): Add new define.
3524 (_wP_tmpdir): Ditto.
3525 (L_tmpnam): Change constant to 16.
3527 2001-06-28 Danny Smith <dannysmith@users.sourceforge.net>
3529 * include/malloc.h: Fix non-ANSI comment after #endif.
3531 2001-06-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3533 * profile/configure.in: Make msvcrt.dll version default.
3534 * profile/makefile.in: Build both gcrt1.o and gcrt2.o.
3535 * provile/configure: Regenerate.
3537 2001-06-11 Mattia Barbon <mbarbon@dsi.unive.it>
3539 * include/stdio.h (swscanf): Make first arugument const.
3540 * include/wchar.h (swscanf): Ditto.
3541 * include/tchar.h (_tfopen): New _UNICODE define.
3543 (_tsetlocale): Ditto.
3545 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
3547 * profile/Makefile.in (mkinstalldirs): Correct relative path.
3549 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
3551 * include/_mingw.h: Change version to 1.0.
3554 2000-02-21 Earnie Boyd <earnie@users.sourceforge.net>
3556 * include/tchar.h: (__TEXT): Remove undef.
3560 Fri Feb 2 10:34:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
3562 * include/tchar.h: (__TEXT): Add private macro.
3563 (_TEXT): Modify definition to use __TEXT.
3565 This change allows the passing of a MACRO as an argument and have that
3566 MACRO resolved first.
3567 Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
3569 Wed Jan 31 17:12:51 2001 Earnie Boyd <earnie@users.sourceforge.net>
3571 * Makefile.in: Increment version to 0.5
3572 * include/_mingw.h: Increment minor version
3574 Tue Jan 30 13:01:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
3576 * include/assert.h: (assert): Remove ; from end of definition
3577 Thanks to: AJ Reins <tbisp@qwest.net>
3579 Tue Jan 30 07:31:22 2001 Earnie Boyd <earnie@users.sourceforge.net>
3581 * include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
3582 Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
3584 Mon Jan 29 14:03:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
3586 * time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
3588 Sun Jan 28 13:01:08 2001 Earnie Boyd <earnie@users.sourceforge.net>
3590 * include/wchar.h: The 2001.01.18 Change was incorrect. The functions
3591 are actually C functions. These functions are resolved via the
3592 -lmsvcp60 library and comments were placed in the header.
3594 2001-01-28 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3596 * include/stdlib.h (__p__pgmptr): add prototype.
3597 (__p__wpgmptr): likewise.
3598 (_pgmptr_dll): move declaration from dos.h.
3599 (_wpgmptr_dll): likewise.
3600 (_pgmptr): conditional define (MSVCT/CRTDLL).
3601 (_wpgmptr): likewise.
3602 * include/dos.h (_base*_dll variables): declare only for CRTDLL.
3603 (_os*_dll variables): likewise.
3604 (_pgmptr_dll): remove declaration and associated defines to stdlib.h.
3605 (_wpgmptr_dll): likewise.
3607 2001-01-22 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3609 * include/stdint.h: New file.
3611 Thu Jan 18 10:33:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
3613 * include/wchar.h: Protect prototypes only declared in the C++ STL
3614 from being declared unless __cplusplus is defined.
3616 Tue Jan 16 11:37:31 2001 Earnie Boyd <earnie@users.sourceforge.net>
3618 * include/stdlib.h: Apply Danny Smith patch 102730
3619 2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3620 (_wgetenv) Correction to return type.
3622 Tue Jan 16 09:41:41 2001 Earnie Boyd <earnie@users.sourceforge.net>
3624 * include/locale.h: Apply Danny Smith patch 101834
3625 2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3626 (LC_MIN) Add definition.
3628 (_wsetlocale) Add prototype.
3630 2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
3632 * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
3633 Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
3634 Create a libcoldname.a for the oldname library for CRTDLL.
3635 Restrict libmoldname.a for the oldname library for MSVCRT.
3636 * configure.in: eliminate setting RUNTIME and CRT_ID variables.
3637 Restructure the $target_os case logic.
3638 Always name the MinGW thread dll helper mingwm.
3639 Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
3640 * configure: regenerate.
3642 2000-11-22 Earnie Boyd <earnie_boyd@yahoo.com>
3644 * Makefile.in: Fix bindist target to distribute the correct files.
3645 Remove the use of SNAPSHOT variable and test SNAPDATE instead.
3646 Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
3648 2000-11-21 Earnie Boyd <earnie_boyd@yahoo.com>
3650 * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
3651 Add variables and targets to control binary and source distributions.
3652 Add variables and targets to control snapshot distribution.
3653 * profile/gmon.h: Add missing #endif for #ifndef.
3654 * profile/ChangeLog: Merge entries here and remove.
3655 * profile/Makefile.in: Add variables and targets to control
3659 * config.guess: ditto.
3660 * config.sub: ditto.
3661 * mkinstalldirs: ditto.
3662 * install-sh: ditto.
3663 * configure: regenerate.
3664 * profile/configure: ditto.
3666 2000-11-20 Earnie Boyd <earnie_boyd@yahoo.com>
3668 * Merge in changes from
3669 2000-10-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3670 * include/direct.h: add guard around MSVCRT-only prototytpes
3671 * include/io.h: add __int64 struct definitions and function prototypes;
3672 add guard for MSVCRT-only prototypes
3673 * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
3674 * include/stdio.h: add wchar function prototypes (__MSVCRT__);
3675 put wchar functions together to make sync with wchar.h easier
3676 * include/stdlib.h: add wide char functions (__MSVCRT__)
3677 * include/string.h: add string collation functions ( __MSVCRT__)
3678 * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
3679 * include/tchar.h: add macros and macro function definitions
3680 * include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
3681 enclose more functions in __MSVCRT__ guard;
3682 some oldname wide char function prototypes #if (0)'d
3683 * profile/gmon.h: add guard around BSD-ish typedefs
3685 Mon Nov 20 18:58:12 2000 Christopher Faylor <cgf@cygnus.com>
3687 * Makefile.in: Use a different variable name for subdirectory since the
3688 previous one was used by the top level make.
3690 Sun Nov 19 20:50:51 2000 Christopher Faylor <cgf@cygnus.com>
3692 * Makefile.in: Install mingw stuff in a subdirectory if building under
3695 Sat Jun 17 21:48:23 2000 Christopher Faylor <cgf@cygnus.com>
3697 * Makefile.in (subdirs): Eliminate for loop.
3699 Sat Jun 17 18:27:59 2000 Christopher Faylor <cgf@cygnus.com>
3701 * Makefile.in (subdirs): Previous change did not fix problem in
3704 Sat Jun 17 13:49:12 2000 Christopher Faylor <cgf@cygnus.com>
3706 * Makefile.in: Avoid installing dll if we're cross building and the
3707 cross-host system isn't a Windows system.
3708 * configure.in: Detect cross-hosting situation and set appropriate
3709 variables in Makefile.in.
3710 * configure: Regenerate.
3712 Wed Apr 19 13:10:54 2000 Christopher Faylor <cgf@cygnus.com>
3714 * configure.in: Change HEADER_SUBDIR to mingw32.
3715 * configure: Regenerate.
3717 Mon Apr 10 17:24:28 2000 Christopher Faylor <cgf@cygnus.com>
3719 * include/string.h: Use proper prototype for _strerror.
3721 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
3723 * Makefile.in (subdirs): Workaround for broken shells.
3725 2000-02-03 Mumit Khan <khan@xraylith.wisc.edu>
3727 * Snapshot 2000-02-03.
3729 * include/{assert.h, conio.h, ctype.h, direct.h, dirent.h, fcntl.h,
3730 float.h, io.h, locale.h, malloc.h, math.h, process.h, signal.h,
3731 stdio.h, stdlib.h, string.h, time.h, wctype.h, sys/stat.h,
3732 sys/timeb.h, sys/utime.h}: Remove parameter names to avoid namespace
3735 * Makefile.in (all): Build CRT0S first.
3736 (libmingwthrd.a): Remove thread support DLL from dependency.
3738 2000-01-21 Mumit Khan <khan@xraylith.wisc.edu>
3740 * Snapshot 2000-01-21.
3742 2000-01-20 Mumit Khan <khan@xraylith.wisc.edu>
3744 Merge in changes from Cygwin:
3745 * configure.in (HEADER_SUBDIRS): New variable. Substitute.
3746 (SUBDIRS): Likewise.
3747 * Makefile.in (HEADER_SUBDIRS): New variable.
3748 (install): Use to install Mingw headers to a subdirectory if building
3750 (DLL_CC_STUFF): Add DLL entry point.
3751 * configure: Regenerate.
3753 2000-01-19 Mumit Khan <khan@xraylith.wisc.edu>
3755 * include/stdio.h (fsetpos): Fix prototype.
3756 (fpos_t): Fix for MSVCRT.
3757 * include/float.h (fpreset): Add prototype.
3758 * include/limits.h: Define UINT_MAX, USHRT_MAX and ULONG_MAX with
3760 * include/time.h: Don't define tzname as a macro for CRTDLL, and
3761 export using libmoldname.a.
3762 * crtdll.def: Add DATA tags.
3763 * msvcrt.def: Likewise.
3764 * moldname.def.in: Likewise. Add fpreset. Export tzname for
3765 both MSVCRT and CRTDLL.
3766 * moldname-crtdll.def: Regenerate.
3767 * moldname-msvcrt.def: Regenerate.
3769 Tue Dec 21 02:22:14 1999 Mumit Khan <khan@xraylith.wisc.edu>
3771 * Snapshot 1999-12-21.
3773 * include/wctype.h: New file.
3774 * include/ctype.h (MB_CUR_MAX): Define.
3776 * include/stdlib.h (MB_CUR_MAX): Define.
3777 * include/wchar.h: Define stat, _stat structures here as well.
3778 * include/float.h: Add invalid subconditions (_SW) and floating
3779 point error (_FPE) macros.
3780 * include/time.h (_CLOCK_T): Rename macro to _CLOCK_T_DEFINED.
3781 (_TIME_T): Rename macro to _TIME_T_DEFINED.
3782 * include/sys/types.h: Likewise.
3784 Thu Nov 18 00:22:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
3786 * profile/profil.c (profile_on): Set the profiler thread priority to
3787 be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
3788 * Snapshot 1999-11-18.
3790 Sun Nov 7 02:50:09 1999 Mumit Khan <khan@xraylith.wisc.edu>
3792 Released 1999-11-07.
3794 * Makefile.in (CRT0S): Add crtst.o.
3795 (install): Install in subdirs as well.
3796 * dirent.h (struct _stat): Rename from struct stat.
3797 * include/tchar.h: Add some new macros. Thanks to
3798 Eric Kohl <ekohl@abo.rhein-zeitung.de>.
3799 * profile/Makefile.in (install): Fix target.
3801 Thu Nov 4 14:32:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
3803 * Makefile.in: Add support for profile directory.
3804 * configure.in: Likewise.
3805 * configure: Regenerate.
3807 * profile: Imported profiling sources from winsup-19991026 snapshot.
3808 * profile/Makefile.in: New file.
3809 * profile/configure.in: New file.
3810 * profile/configure: Generate.
3811 * profile/gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
3812 * profile/gmon.h (u_char, u_short, u_int, u_long): Likewise.
3813 * profile/gmon.c (unistd.h): Include conditionally.
3814 (sys/param.h): Likewise.
3815 * profile/mcount.c (sys/param.h): Likewise.
3816 * profile/profil.c (profile_on): thread id is DWORD, not int.
3819 Wed Nov 3 16:26:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
3821 * include/stdlib.h: Add wide character version of argv/environ.
3823 * include/wchar.h: More wide character prototypes.
3824 * include/sys/stat.h: Likewise. Add struct stat as well as _stat.
3826 * dllcrt1.c (init.c): Don't include.
3827 (DllMainCRTStartup): Don't call _mingw32_init_mainargs().
3828 * Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists.
3830 Sat Oct 30 03:06:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
3832 * moldname.def: Remove file.
3833 * moldname.def.in: And add this.
3834 * moldname-msvcrt.def: Generate from moldname.def.in.
3835 * moldname-crtdll.def: Likewise.
3837 * mthr.c: New file for -mthread (thread-safe C++ EH) support.
3838 * mthr_init.c: New file for -mthread (thread-safe C++ EH) support.
3839 * mthr_stub.c: New file for -mthread (thread-safe C++ EH) support.
3841 * Makefile.in: Update.
3842 * configure.in: Likewise. Also add *cygwin* target for building
3843 under Cygwin winsup.
3844 * configure: Regenerate.
3846 Fri Oct 1 11:10:30 1999 Mumit Khan <khan@xraylith.wisc.edu>
3848 * include/_mingw.h: Add version macros.
3849 * include/direct.h (_diskfree_t, getdiskfree, getdrives): Add.
3850 Also add wide character versions shared with wchar.h.
3851 * include/dos.h (_diskfree_t, getdiskfree, getdrives): Add.
3852 * include/io.h (sopen, _sopen): Fix prototype.
3853 Add wide character prototypes.
3854 * include/wchar.h: Likewise.
3855 * include/stdlib.h (beep, seterrormode, sleep): Remove non-
3856 underscored versions. Potential incompatibility.
3857 * include/time.h (daylight, timezone, tzname): Fix MSVCRT cases.
3858 Add wide character prototypes.
3859 * include/sys/timeb.h (struct _timeb): Don't use macro, but real
3862 Wed Aug 18 18:38:39 1999 Mumit Khan <khan@xraylith.wisc.edu>
3864 * configure.in (RUNTIME, CRT_ID): Add to differentiate between
3865 crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
3867 * configure: Rengerate.
3868 * Makefile.in (RUNTIME, CRT_ID): Use to generate the correct
3869 dll name and crt's. CRTDLL and MSVCRT are meant to created
3870 separately, so remove all the *-msvcrt* targets.
3871 (libmingwthr.a): New target. Dummy thread support archive.
3872 (LIBS): Add libmingwthr.a.
3873 (CRT0S): Use CRT_ID. Add crtmt.o.
3874 (MINGW_OBJS): Add crtst.o.
3875 * main.c (WinMain): Fix prototype.
3876 * crtmt.c: New file.
3877 * crtst.c: New file.
3879 * include/process.h (_beginthreadex): Fix prototype.
3880 * include/_mingw.h (__int64): Define for __GNUC__.
3881 * include/tchar.h (_ttol): Add macro.
3882 * include/stdlib.h (_wtoi, _wtol, _i64toa, _ui64toa, _atoi64,
3883 _i64tow, _ui64tow, _wtoi64): Add prototypes.
3885 Reported by Emanuele Aliberti <ea@iol.it>:
3886 * include/tchar.h (_ttoi): Add macro.
3888 Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
3889 * include/stdio.h (_snprintf): Add prototype.
3890 (_vsnprintf): Likewise.
3892 Sat Aug 7 18:00:00 1999 Mumit Khan <khan@xraylith.wisc.edu>
3894 Reported by Tor Lillqvist <tml@iki.fi>:
3895 * include/stdlib.h (__p___argv): Fix return type.
3897 Fri Jul 30 22:07:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
3900 * include/errno.h (errno): It's linked in from startup, not imported.
3901 * include/stdlib.h (errno): Likewise.
3902 * include/io.h: Guard against conflicting macros and prototypes in
3904 * include/stdlib.h: Likewise.
3905 * include/string.h: Likewise.
3906 * include/time.h: Likewise.
3908 Fri Jul 30 13:47:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
3910 * include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans.
3911 * include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT.
3912 * Makefile.in (INCLUDES): Remove old windows32 include directory.
3914 * crt1.c (_gnu_exception_handler): Fix prototype.
3915 (__mingw_CRTStartup): New function based on mainCRTStartup.
3916 (mainCRTStartup): Set the app type for MSVCRT and call
3918 (WinMainCRTStartup): Likewise.
3919 * init.c (_startupinfo): Define.
3920 (_getmainargs): Add 5th parameter.
3921 (_mingw32_init_mainargs): Use.
3923 * ALL *.c files: Reformat according to GNU coding style.
3925 Fri Jul 16 00:46:04 1999 Mumit Khan <khan@xraylith.wisc.edu>
3927 * Makefile.in (INCLUDES): Add w32api include directory.
3929 * include/_mingw.h: New file.
3930 * include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h,
3931 errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h,
3932 math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h,
3933 stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h,
3934 sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and
3935 use the macros __DECLSPEC_SUPPORTED and __MINGW_IMPORT.
3937 * include/stdlib.h (atexit): Fix prototype.
3939 Mon Jun 14 18:38:49 1999 Mumit Khan <khan@xraylith.wisc.edu>
3941 * include/stdio.h (_tempnam): Fix prototype.
3942 (tempnam): Likewise.
3943 * include/stdlib.h: Replace with GCC's version, and guard
3946 From Anders Norlander <anorland@hem2.passagen.se>:
3947 * include/stdlib.h (__argc): Declare.
3950 Mon Apr 5 13:49:17 1999 Mumit Khan <khan@xraylith.wisc.edu>
3952 * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
3954 * Makefile.in (_libm_dummy.o): New target.
3957 Tue Mar 16 18:15:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
3959 * Released 1999-03-16 along with egcs-1.1.2.
3961 Wed Feb 17 17:15:56 1999 Mumit Khan <khan@xraylith.wisc.edu>
3963 * Makefile.in (LIBS): Add libm.a.
3964 (libm.a): Dummy libm.a.
3966 * Makefile.in: Update from winsup 1999-02-08 snapshot.
3967 Preserve local changes.
3968 (mkinstalldirs): In ../, not ../../.
3969 (INCLUDES): Point to local windows32api headers and use -nostdinc.
3971 (LIBS): Add libmoldname-msvc.a.
3972 (libmoldname-msvc.a): Add target.
3973 (distclean): Add target.
3975 Tue Feb 9 00:26:05 1999 Mumit Khan <khan@xraylith.wisc.edu>
3977 * include/dir.h: Reintroduce as an obsolescent header.
3978 * crt1.c (signal.h): Include.
3979 (_gnu_exception_handler): New function to properly handle win32
3980 asynchronous signals.
3981 (mainCRTStartup): Use.
3983 Sun Jan 3 23:52:25 1999 Mumit Khan <khan@xraylith.wisc.edu>
3985 * include/direct.h: Include io.h instead of dir.h
3986 * include/dirent.h: Likewise.
3987 * include/dos.h: Likewise.
3988 * include/stdio.h: Replace reference to dir.h with io.h.
3990 Thu Dec 31 16:04:55 1998 Mumit Khan <khan@xraylith.wisc.edu>
3992 * 1999-01-01 release bundled with egcs-1.1.1.
3994 * include/io.h: Incorporate dir.h.
3995 * include/dir.h: Remove.
3996 * include/signal.h: Move RC_INVOKED up a bit.
3998 Tue Dec 29 15:04:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
4000 * include/signal.h (sig_atomic_t): Define.
4002 * include/malloc.h: Import defs from deprecated alloc.h.
4003 * include/alloc.h: Remove.
4005 From "Daniel J. Rodriksson" <djr@dit.upm.es>:
4006 * include/sys/types.h (_dev_t): Should be unsigned int for MSVCRT.
4007 * include/sys/stat.h (struct stat): st_uid is of type short. Use
4008 _off_t instead of long for st_size.
4010 Thu Sep 10 22:28:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4012 * include/errno.h (sys_errlist, sys_nerr): Move from here ...
4013 * include/stdlib.h: Here.
4015 * include/netdb.h: Remove.
4016 * include/arpa/inet.h: Remove.
4017 * include/netinet/in.h: Remove.
4018 * include/sys/socket.h: Remove.
4020 Fri Sep 4 15:09:11 1998 Mumit Khan <khan@xraylith.wisc.edu>
4024 * include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h,
4025 sys/utime.h}: Protect stddef.h in RC_INVOKED macro.
4027 Thu Sep 3 10:43:29 1998 Mumit Khan <khan@xraylith.wisc.edu>
4029 * setjmp.h (_JBTYPE, _JBLEN): Define correctly.
4030 (jmpbuf): typedef using above.
4031 (setjmp, longjmp): Prototype using jmpbuf.
4033 Merge with Colin Peters' 980701 snapshot. I've ignored changes to
4034 obsolescent imported names, ie., from __imp__ to _imp___.
4036 Also ignored empty include/sys/param.h and incorrect
4037 include/sys/times.h.
4039 * CRTinit.c: New file.
4040 * include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef
4042 * include/io.h (umask): Fix prototype.
4043 * include/stdlib.h (OS constants): Replace with Colin's.
4044 * include/time.h (tzset, daylight, timezone): Replace with Colin's.
4045 * include/sys/state.h: Merge.
4047 Thu Sep 3 09:49:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
4049 * include/assert.h (assert): Lose the trailing semicolon.
4051 Thu Jul 30 21:18:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4053 * include/math.h (matherr): Declare.
4054 * include/stdio.h (fileno, _fileno): Declare.
4055 * include/stdlib.h (environ, _environ): Fix to use runtime DLL.
4058 * include/stdio.h (fdopen, _fdopen): Add const.
4059 (getw, putw): Declare.
4060 * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix.
4062 Sat Jun 13 18:19:41 1998 Mumit Khan <khan@xraylith.wisc.edu>
4064 * include/time.h (_timezone): Undefine.
4065 * include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
4067 * include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
4069 * include/stdlib.h (environ): Use DLL version.
4070 * init.c (environ): Undefine it before use.
4072 Sun Mar 22 19:59:30 1998 Mumit Khan <khan@xraylith.wisc.edu>
4074 * Update to 980309 snapshot from Colin Peters.
4076 * include/utime.h: remove
4077 * include/stdlib.h (__imp__osver_dll, __imp__winver_dll,
4078 __imp__winmajor_dll, __imp__winminor_dll): Apply Jan-Jaap's
4079 patches to define these.
4080 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4081 (_daylight, _timezone, _tzname, _tzset): Define.
4083 * include/netdb.h: Add from Colin's windows32api changes.
4084 * include/sys/socket.h: Likewise.
4085 * include/arpa/inet.h: Likewise.
4086 * include/netinet/in.h: Likewise.
4088 Wed Feb 4 14:16:44 1998 Mumit Khan <khan@xraylith.wisc.edu>
4090 * Update to 980128 snapshot from Colin Peters.
4092 Sat Dec 6 21:30:35 1997 Mumit Khan <khan@xraylith.wisc.edu>
4094 * configure.in (AC_INIT): Use dllmain.c instead of defunct
4096 * configure: Regenerate.
4098 Fri Dec 5 15:57:36 1997 Mumit Khan <khan@xraylith.wisc.edu>
4100 * Update to 971205 snapshot from Colin Peters. Lots of changes.
4101 Files renamed and include hierarchy loses directories named
4104 * include/dos.h: from Jan-Jaap.
4106 Thu Dec 4 21:48:13 1997 Mumit Khan <khan@xraylith.wisc.edu>
4108 Changes to conform to FSF tree.
4110 * crt1.c: Renamed from mcrt0.c.
4111 * dllcrt1.c: Renamed from dllcrt0.c.
4112 * Makefile.in: Update above. Also renamed libmoldnames.a to
4115 Mon Dec 1 16:51:30 1997 Mumit Khan <khan@xraylith.wisc.edu>
4117 * crtdll.def: Export all functions but the ones with funny names.
4118 * moldnames.def: Add fdopen since fileno is already there.
4119 * include/nonansi/dos.h: New file from Jan-Jaap.
4120 * include/errno.h: Add extern decl + various additions from JJ.
4121 * include/stdio.h: Likewise.
4122 * include/stdlib.h: Likewise.
4123 * include/nonansi/io.h: Likewise.
4124 * include/nonansi/process.h: Likewise.
4125 * include/sys/types.h: Likewise.
4127 Tue Nov 4 14:51:01 1997 Mumit Khan <khan@xraylith.wisc.edu>
4129 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4131 * include/stdlib.h (free): Fix prototype to return void, not void*.
4132 * include/nonansi/process.h: Add P_* and WAIT_* defs.
4134 * dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
4135 * mcrt0.c: Likewise.
4137 * Makefile.in (LIBS): Delete moldnames.dll from target libs.
4138 (libmoldnames.a): Add explicit rule to create it.
4140 Fri Aug 15 18:23:43 1997 Rob Savoye <rob@cygnus.com>
4142 New directory for the minimalist cygwin environment.
4144 * crtglob.c: New file. Turn on file globbing support.
4145 * crt_noglob.c: New file. Turn off file globbing support.
4146 * ctype_old.c: New file. Wrappers for functions that don't
4148 * dirent.c: New file. Directory routines readdir, opendir, closedir.
4149 * dllcrt0.c: New file. Initialization code to use crtdll.dll.
4150 * dllmain.c: New file. A stub DllMain function.
4151 * hugeval.c: New file. A gross hack to define HUGE_VAL.
4152 * init.c: New file. Common code to initialize standard file
4153 handles and command line arguments.
4154 * main.c: New file. A main for programs that only call WinMain.
4155 * mcrt0.c: New file. Default crt0 for mingw32.
4156 * oldnames.c: New File. Wrappers for functions that don't
4158 * string_old.c: New File.
4159 * include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h
4160 math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h
4161 string.h,tchar.h,time.h,wchar.h}: New header files for mingw.
4162 * include/sys/types.h: New header file for mingw.
4163 * include/nonansi/{alloc.h,conio.h,dir.h,direct.h,dirent.h
4164 fcntl.h,io.h,malloc.h,mem.h,memory.h,process.h,share.h,unistd.h
4165 utime.h,values.h,varargs.h}: New header files for mingw.
4166 * include/nonansi/sys/{fcntl.h,locking.h,stat.h,time.h
4167 timeb.h,unistd.h}: New header files for mingw.
4168 * Makefile.in,configure.in: Build and configure support.
4169 * configure: Generated from autoconf 2.12 with Cygnus patches.