Commit 1852bc0d authored by Committed by Tor Lillqvist
Convert message to UTF-8. Technically this breaks API, but the actual use
2004-09-15 Tor Lillqvist <email@example.com> * glib/gwin32.c (g_win32_error_message): Convert message to UTF-8. Technically this breaks API, but the actual use cases in gdk/win32 have assumed it is UTF-8 anyway. Fix documentation. (#152618, Kazuki Iwamoto) * glib/gwin32.h: Don't define ftruncate as a macro. Was never a good idea, and it clashes with newest mingw headers, which have a ftruncate implementation as an inline function. Thanks to Dominik R. * glib/gwin32.c (g_win32_ftruncate): Simplify implementation, just call _chsize() in the C library.
Showing with 88 additions and 39 deletions