From: Tor Lillqvist Date: Wed, 2 Feb 2005 23:52:31 +0000 (+0000) Subject: Remove unnecessary MSVC-only typedef for pid_t. GLib does not pretend to X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=67221dc03b16e4ab2456e8c16e10801dea496a37;p=dana%2Fcg-glib.git Remove unnecessary MSVC-only typedef for pid_t. GLib does not pretend to 2005-02-02 Tor Lillqvist * glib/gwin32.h: Remove unnecessary MSVC-only typedef for pid_t. GLib does not pretend to be a POSIX emulation library. --- diff --git a/ChangeLog b/ChangeLog index 28aacb82..1c4299d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-02-02 Tor Lillqvist + * glib/gwin32.h: Remove unnecessary MSVC-only typedef for + pid_t. GLib does not pretend to be a POSIX emulation library. + * glib/gstdio.c: In the Win32 part of all functions, handle invalid UTF-8 more robustly. Don't pass the resulting NULL wide-char or codepage strings on to C library functions, but bail diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 28aacb82..1c4299d2 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-02-02 Tor Lillqvist + * glib/gwin32.h: Remove unnecessary MSVC-only typedef for + pid_t. GLib does not pretend to be a POSIX emulation library. + * glib/gstdio.c: In the Win32 part of all functions, handle invalid UTF-8 more robustly. Don't pass the resulting NULL wide-char or codepage strings on to C library functions, but bail diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 28aacb82..1c4299d2 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,5 +1,8 @@ 2005-02-02 Tor Lillqvist + * glib/gwin32.h: Remove unnecessary MSVC-only typedef for + pid_t. GLib does not pretend to be a POSIX emulation library. + * glib/gstdio.c: In the Win32 part of all functions, handle invalid UTF-8 more robustly. Don't pass the resulting NULL wide-char or codepage strings on to C library functions, but bail diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 28aacb82..1c4299d2 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 2005-02-02 Tor Lillqvist + * glib/gwin32.h: Remove unnecessary MSVC-only typedef for + pid_t. GLib does not pretend to be a POSIX emulation library. + * glib/gstdio.c: In the Win32 part of all functions, handle invalid UTF-8 more robustly. Don't pass the resulting NULL wide-char or codepage strings on to C library functions, but bail diff --git a/glib/gwin32.h b/glib/gwin32.h index 87f32403..1e70d05f 100644 --- a/glib/gwin32.h +++ b/glib/gwin32.h @@ -40,10 +40,6 @@ G_BEGIN_DECLS #define MAXPATHLEN 1024 #endif -#ifdef _MSC_VER -typedef int pid_t; -#endif - #ifdef G_OS_WIN32 /*