Mercurial > pidgin.yaz
diff libpurple/core.c @ 18204:4cc042912ac2
Bring back MAXPATHLEN (which was always guaranteed to be defined earlier
anyway, zephyr was just missing the appropriate #include) and fix core.c
for building on glib < 2.4, and a small tweak to the compatibility #define
for G_GNUC_NULL_TERMINATED
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Wed, 20 Jun 2007 01:28:57 +0000 |
parents | f160b6e84d0c |
children | 73ea3328b0d1 |
line wrap: on
line diff
--- a/libpurple/core.c Tue Jun 19 23:52:23 2007 +0000 +++ b/libpurple/core.c Wed Jun 20 01:28:57 2007 +0000 @@ -512,7 +512,7 @@ if ((linklen = readlink(name, buf, sizeof(buf) - 1) == -1)) { - char *name_utf8 = g_filename_to_utf8(name); + char *name_utf8 = g_filename_to_utf8(name, -1, NULL, NULL, NULL); purple_debug_error("core", "Error reading symlink %s: %s. Please report this at http://developer.pidgin.im\n", name_utf8, strerror(errno)); g_free(name_utf8);