diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2008-06-14 13:13:38 +0400 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2008-06-14 13:13:38 +0400 |
commit | e161debaba6356c9a77353659c27e15e5eb87093 (patch) | |
tree | 48229b45c169eb90a8b1a141d6bb9491eaaa0bc2 /winsup/mingw | |
parent | bc089f5083991e89a71e76997a81e8883f15df2b (diff) |
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>
Diffstat (limited to 'winsup/mingw')
-rw-r--r-- | winsup/mingw/ChangeLog | 7 | ||||
-rw-r--r-- | winsup/mingw/include/stdio.h | 2 | ||||
-rw-r--r-- | winsup/mingw/include/wchar.h | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 0cc75f7df..012666a16 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,10 @@ +2008-06-14 Danny Smith <dannysmith@users.sourceforge.net> + + [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-02 Keith Marshall <keithmarshall@users.sourceforge.net> Avoid precision errors in round(), lround() and llround() functions. diff --git a/winsup/mingw/include/stdio.h b/winsup/mingw/include/stdio.h index 90a6ff584..45b369ea5 100644 --- a/winsup/mingw/include/stdio.h +++ b/winsup/mingw/include/stdio.h @@ -464,7 +464,7 @@ _CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _getws (wchar_t*); _CRTIMP wint_t __cdecl __MINGW_NOTHROW putwc (wint_t, FILE*); _CRTIMP int __cdecl __MINGW_NOTHROW _putws (const wchar_t*); _CRTIMP wint_t __cdecl __MINGW_NOTHROW putwchar (wint_t); -_CRTIMP FILE* __cdecl __MINGW_NOTHROW _wfdopen(int, wchar_t *); +_CRTIMP FILE* __cdecl __MINGW_NOTHROW _wfdopen(int, const wchar_t *); _CRTIMP FILE* __cdecl __MINGW_NOTHROW _wfopen (const wchar_t*, const wchar_t*); _CRTIMP FILE* __cdecl __MINGW_NOTHROW _wfreopen (const wchar_t*, const wchar_t*, FILE*); _CRTIMP FILE* __cdecl __MINGW_NOTHROW _wfsopen (const wchar_t*, const wchar_t*, int); diff --git a/winsup/mingw/include/wchar.h b/winsup/mingw/include/wchar.h index 9109c5e27..d72527a1f 100644 --- a/winsup/mingw/include/wchar.h +++ b/winsup/mingw/include/wchar.h @@ -125,7 +125,7 @@ _CRTIMP wint_t __cdecl __MINGW_NOTHROW putwchar (wint_t); #ifndef __STRICT_ANSI__ _CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _getws (wchar_t*); _CRTIMP int __cdecl __MINGW_NOTHROW _putws (const wchar_t*); -_CRTIMP FILE* __cdecl __MINGW_NOTHROW _wfdopen(int, wchar_t *); +_CRTIMP FILE* __cdecl __MINGW_NOTHROW _wfdopen(int, const wchar_t *); _CRTIMP FILE* __cdecl __MINGW_NOTHROW _wfopen (const wchar_t*, const wchar_t*); _CRTIMP FILE* __cdecl __MINGW_NOTHROW _wfreopen (const wchar_t*, const wchar_t*, FILE*); _CRTIMP FILE* __cdecl __MINGW_NOTHROW _wfsopen (const wchar_t*, const wchar_t*, int); |