/soc/2015/mmcc/main: 788c8cded1ce: remove no longer needed glib ...
Michael McConville
mmcconville at mykolab.com
Tue Jun 23 16:02:33 EDT 2015
Changeset: 788c8cded1ce1e411b6a4fa8a1554f3213eef905
Author: Michael McConville <mmcconville at mykolab.com>
Date: 2015-06-19 12:40 -0400
Branch: default
URL: https://hg.pidgin.im/soc/2015/mmcc/main/rev/788c8cded1ce
Description:
remove no longer needed glib compat function
diffstat:
libpurple/glibcompat.h | 20 --------------------
1 files changed, 0 insertions(+), 20 deletions(-)
diffs (30 lines):
diff --git a/libpurple/glibcompat.h b/libpurple/glibcompat.h
--- a/libpurple/glibcompat.h
+++ b/libpurple/glibcompat.h
@@ -33,26 +33,6 @@
#include <glib.h>
-static inline gboolean g_close(gint fd, GError **error)
-{
- int res;
- int errsv;
-
- res = close(fd);
-
- if (G_LIKELY(res == 0))
- return TRUE;
- if (G_UNLIKELY(errno == EINTR))
- return TRUE;
-
- errsv = errno;
- g_set_error_literal(error, G_FILE_ERROR,
- g_file_error_from_errno(errsv), g_strerror(errsv));
- errno = errsv;
-
- return FALSE;
-}
-
/* glib's definition of g_stat+GStatBuf seems to be broken on mingw64-w32 (and
* possibly other 32-bit windows), so instead of relying on it,
* we'll define our own.
More information about the Commits
mailing list