OSDN Git Service

Committed as obvious.
authordannysmith <dannysmith>
Sat, 14 Jun 2008 09:13:37 +0000 (09:13 +0000)
committerdannysmith <dannysmith>
Sat, 14 Jun 2008 09:13:37 +0000 (09:13 +0000)
[mingw-Bugs-1801641]
* include/wchar.h (_wfdopen): Const-ify second arg.
* include/stdio.h (_wfdopen): Likewise.
Thanks to <tdragon at users dot sourceforge net>

winsup/mingw/ChangeLog
winsup/mingw/include/stdio.h
winsup/mingw/include/wchar.h

index 0cc75f7..012666a 100644 (file)
@@ -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.
index 90a6ff5..45b369e 100644 (file)
@@ -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);
index 9109c5e..d72527a 100644 (file)
@@ -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);