]> git.pld-linux.org Git - packages/crossmingw32-glib2.git/blob - glib2-win32.patch
- updated to 2.34.2
[packages/crossmingw32-glib2.git] / glib2-win32.patch
1 --- glib-2.32.4/gio/gcontenttype.c.orig 2012-07-14 22:33:18.000000000 +0200
2 +++ glib-2.32.4/gio/gcontenttype.c      2012-07-24 16:48:52.400116342 +0200
3 @@ -332,7 +332,7 @@
4  
5    /* our test suite and potentially other code used -1 in the past, which is
6     * not documented and not allowed; guard against that */
7 -  g_return_val_if_fail (data_size != (gsize) -1, g_strdup (XDG_MIME_TYPE_UNKNOWN));
8 +  g_return_val_if_fail (data_size != (gsize) -1, g_strdup ("*"));
9  
10    if (filename)
11      {
12 --- glib-2.34.0/gio/gregistrysettingsbackend.c.orig     2012-08-19 16:39:53.000000000 +0200
13 +++ glib-2.34.0/gio/gregistrysettingsbackend.c  2012-09-26 17:54:44.204962755 +0200
14 @@ -233,7 +233,7 @@
15    if (result_code == ERROR_KEY_DELETED)
16      trace ("(%s)", win32_message);
17    else
18 -    g_message (win32_message);
19 +    g_message ("%s", win32_message);
20  };
21  
22  
23 --- glib-2.34.2/gio/gsocket.c.orig      2012-11-10 04:27:29.000000000 +0100
24 +++ glib-2.34.2/gio/gsocket.c   2012-11-12 21:22:20.558859131 +0100
25 @@ -2391,7 +2391,7 @@
26    g_return_val_if_fail (G_IS_SOCKET (socket), -1);
27  
28  #if defined(G_OS_WIN32)
29 -  if (WSAIoctl (socket->priv->fd, FIONREAD, NULL, 0, &avail, sizeof (avail), 0, 0) == SOCKET_ERROR)
30 +  if (WSAIoctl (socket->priv->fd, FIONREAD, NULL, 0, &avail, sizeof (avail), 0, NULL, NULL) == SOCKET_ERROR)
31      return -1;
32  #elif defined(SO_NREAD)
33    if (getsockopt (socket->priv->fd, SOL_SOCKET, SO_NREAD, &avail, &avail_len) < 0)
This page took 0.030066 seconds and 4 git commands to generate.