Keith Marshall
35ddfc9e28
Rationalise structure layout; add dirent.d_type field.
2011-10-01 20:18:10 +00:00
Keith Marshall
36ccb620ec
Don't expose implementation detail for opaque DIRENT structures.
2011-08-27 20:16:47 +00:00
Chris Sutcliffe
b84aabf695
2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.20.
2011-08-23 22:59:35 +00:00
Chris Sutcliffe
8d5b10a681
2011-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.19.
2011-08-20 05:00:12 +00:00
Chris Sutcliffe
0ed575b596
2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/float.h: Modify guard to accomodate CLang.
Thanks to Ruben Van Boxem for the report.
2011-08-20 04:12:22 +00:00
Chris Sutcliffe
74604ab159
2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/sys/types.h (ssize_t): Defined as int as opposed to long.
Thanks to bvassche for the report.
2011-08-20 01:38:16 +00:00
Chris Sutcliffe
7750cea91f
2011-05-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/stdlib.h (strtod): Declare as extern to resolve compilation issues.
Thanks to cgf for the report.
2011-05-24 22:43:29 +00:00
Chris Sutcliffe
3d1b423011
2011-05-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/time.h (daytime, timezone, tzname): Rework guards to expose when
compiles with __STRICT_ANSI__.
Thanks to Felipe Contreras for the report.
2011-05-23 20:04:12 +00:00
Chris Sutcliffe
6b58abe537
2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/stdlib.h (strtod): Remove possible static declaration to resolve
issue with gcc.
Thanks to Tobias Burnus for the report.
2011-05-23 03:43:30 +00:00
Chris Sutcliffe
ec05c53dde
2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/stdlib.h (_rotl, _lrotl, _rotr, _lrotr): Resolve conflict with gcc
by wrapping the functions in brackets.
Thanks to Kai Tietz for the report.
2011-05-23 03:30:01 +00:00
Chris Sutcliffe
ecf22d8044
2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
...
* include/_mingw.h: Define GCC system_header only if PCC is not defined.
* include/stdlib.h: Fix a long-standing typo which prevented correct use of
the MB_CUR_MAX macro/variable when DECLSPEC is not supported and <stdlib.h>
is included before <ctype.h>.
2011-05-23 01:01:18 +00:00
Chris Sutcliffe
07c9734518
2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/wchar.h: Include stdio.h to grab definition of FILENAME_MAX.
Thanks to Jim Bell for the report and Greg Chicares for the fix.
2011-05-23 00:03:22 +00:00
Chris Sutcliffe
d01906b839
2010-12-27 Ozkan Sezer <sezero@users.sourceforge.net>
...
* include/dirent.h (dd_handle): Define as intptr_t.
2010-12-27 21:19:42 +00:00
Keith Marshall
0f0a0b7361
Make PATH_MAX consistent with MAX_PATH
2010-08-17 21:18:21 +00:00
Keith Marshall
9411deb401
Accept that mingwrt headers are not guaranteed to precede GCC's in the system include search path; (issue reported by Mark Brand).
2010-07-25 20:20:46 +00:00
Chris Sutcliffe
125c76f59e
2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>
...
* include/io.h (_findfirst, _findnext, _findclose, _findfirst32,
_findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32,
_findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext,
_findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64,
_findnexti64): Correct definition.
2010-07-23 02:16:28 +00:00
Chris Sutcliffe
1f440e4dbe
2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.18.
2010-03-07 03:10:38 +00:00
Chris Sutcliffe
a189160220
2010-03-02 Daniel Atallah <datallah@users.sourceforge.net>
...
* include/stdio.h: (_vscprintf, _vscwprintf)
* include/tchar.h: (_vsctprintf)
2010-03-07 03:08:35 +00:00
Chris Sutcliffe
f94e2b9f58
2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
...
Issue [2134161]: time64 functions and types for msvcrt >= 8.0
(initial implementation)
* new type: __time32_t
* new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
__stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
__wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t
* new functions: _ctime32, _difftime32, _difftime64, _findfirst32
_findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
_findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
_futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
_mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
_wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
_wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
_wstat32i64, _wstat64i32,_wutime32
* new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
_fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
_stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
_wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime
2010-02-17 02:41:06 +00:00
Chris Sutcliffe
ff928075e9
2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.17.
2009-11-28 06:07:27 +00:00
Chris Sutcliffe
8b121daba4
2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/io.h (_open_osfhandle): Correct definition.
Thanks to Alexander Shaduri for the information.
2009-11-14 00:54:58 +00:00
Keith Marshall
532032a874
Avoid multiple link time definitions of _printf() for C++
2009-09-01 20:41:55 +00:00
Chris Sutcliffe
22fa213129
2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.16.
2009-08-15 02:50:19 +00:00
Chris Sutcliffe
75bf04114e
2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit,
__signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf,
__fp_unordered_compare): Add prototypes.
* include/stdio.h (vsnwprintf): Add prototype.
* include/wchar.h (vsnwprintf): Add prototype.
* include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard.
2009-08-08 13:26:11 +00:00
Chris Sutcliffe
d4e45e3b99
2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
...
* include/inttypes.h include/math.h include/stdio.h include/stdlib.h
include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard
to all inline functions.
2009-07-18 15:19:03 +00:00
Chris Sutcliffe
f9a5b8ea6a
2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
...
* include/_mingw.h: Changes required for PCC compiler.
2009-07-18 14:56:47 +00:00
Chris Sutcliffe
339dde8fe5
2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/stdlib.h (_wtof): Define.
2009-06-17 22:01:36 +00:00
Chris Sutcliffe
370a1171d8
2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
...
* include/stdint.h (int_fast8_t): Specify as signed char.
(INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
(INT32_C, UINT32_C): Remove 'L' type specifier on constant.
2009-04-11 12:41:09 +00:00
Chris Sutcliffe
45cda16a7f
2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.15.2.
2009-01-10 18:42:32 +00:00
Keith Marshall
f1170e02f2
Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
2009-01-04 17:35:36 +00:00
Keith Marshall
206473437f
Fix MinGW-Bug [2160227]: Eliminate conflicting declarations and implementations of scalb().
2008-10-13 22:47:58 +00:00
Keith Marshall
3c68dd9313
Make strtod() inline definition C89 compliant.
2008-10-11 21:47:56 +00:00
Chris Sutcliffe
665ca5231d
2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.15.1 and introduce
__MINGW32_PATCHLEVEL variable.
2008-10-04 22:27:15 +00:00
Keith Marshall
32bdff5294
Fix MinGW-Bug [2125708].
2008-09-25 21:53:17 +00:00
Keith Marshall
be66dbed41
Fix MinGW-Bug [2117379].
2008-09-19 21:32:42 +00:00
Chris Sutcliffe
49c5a1a6b2
2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.15.
2008-09-07 21:35:38 +00:00
Keith Marshall
f43d60be62
Reimplement getopt.c to add getopt_long_only() function.
2008-08-31 22:27:58 +00:00
Keith Marshall
31966e0931
Erase all file content, preparatory to rewrite.
2008-08-31 22:26:52 +00:00
Keith Marshall
20167d0a5f
Implement conditional replacement for printf() family functions.
2008-08-30 17:27:18 +00:00
Danny Smith
6f6b4e11cb
2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
...
* include/ctype.h (_imp____mb_cur_max): Correct spelling.
(_imp____mb_cur_max_dll): Likewise.
2008-07-07 07:58:33 +00:00
Danny Smith
608d5d8f36
* include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
...
* include/wchar.h (swprintf, vswprintf): Likewise.
2008-07-04 03:55:50 +00:00
Keith Marshall
278101de7f
Add _get_output_format(), _set_output_format() for MSVCRT >= MSVCR80
2008-07-01 22:57:24 +00:00
Danny Smith
e161debaba
Committed as obvious.
...
[mingw-Bugs-1801641]
* include/wchar.h (_wfdopen): Const-ify second arg.
* include/stdio.h (_wfdopen): Likewise.
Thanks to <tdragon at users dot sourceforge net>
2008-06-14 09:13:38 +00:00
Chris Sutcliffe
262059a0d8
2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
...
* include/stdlib.h: Fix strtod under C++.
2008-05-15 23:27:29 +00:00
Chris Sutcliffe
a8e45d3968
2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
...
* mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
* include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
2008-05-07 02:35:16 +00:00
Chris Sutcliffe
edce6d8546
Fix typo and commit the write header
2008-05-06 01:25:05 +00:00
Chris Sutcliffe
1e6db69571
2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
...
* include/sys/time.h (useconds_t): typedef.
* include/unistd.h (usleep): Add prototype.
* mingwex/usleep.c: New file.
* mingwex/makefile.in: Add usleep source and object.
2008-05-04 12:18:52 +00:00
Chris Sutcliffe
4f3fad2366
2008-04-02 Ramiro Polla <ramiro@lisha.ufsc.br>
...
Make strtod() conform to C99.
* include/stdlib.h (strtod): Declare this mingwex function, and...
(_strtod): rename this MSVCRT counterpart.
* mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
2008-05-03 02:13:48 +00:00
Chris Sutcliffe
1d198686da
2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/process.h: Include stdint.h for intptr_t definition.
(_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
_spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
_spawnvpe): Return intptr_t.
(execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
intptr_t.
[!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
(_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
_wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
_wspawnvp, _wspawnvpe): Return intptr_t.
2008-04-26 00:24:19 +00:00
Chris Sutcliffe
6382a9e785
2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/wchar.h (fwide): Return success code rather than failure in inline
definition.
* mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
code rather than failure.
2008-04-26 00:16:37 +00:00