From 67221dc03b16e4ab2456e8c16e10801dea496a37 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 2 Feb 2005 23:52:31 +0000 Subject: [PATCH] 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. --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ ChangeLog.pre-2-12 | 3 +++ ChangeLog.pre-2-8 | 3 +++ glib/gwin32.h | 4 ---- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 28aacb829..1c4299d24 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 28aacb829..1c4299d24 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 28aacb829..1c4299d24 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 28aacb829..1c4299d24 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 87f32403e..1e70d05fc 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 /*