Initial original import from: fuse-2.4.2-2.fc4
[captive.git] / src / client / cmdline / utf8.h
index 4042653..f0b7acd 100644 (file)
@@ -28,7 +28,8 @@
 
 gchar *cmd_utf8_macro_malloc_errorchecking(
                gchar *(*func)(const gchar *string,gssize len,gsize *bytes_read,gsize *bytes_written,GError **error),
-               const gchar *name);
+               const gchar *func_name,
+               const gchar *string);
 
 
 #define CMD_UTF8_MACRO_ALLOCA(func,string) ({ \
@@ -38,6 +39,7 @@ gchar *cmd_utf8_macro_malloc_errorchecking(
                 \
                _cmd_utf8_macro_alloca_r_malloc=cmd_utf8_macro_malloc_errorchecking( \
                                func, \
+                               G_STRINGIFY(func), \
                                _cmd_utf8_macro_alloca_string); \
                if (!_cmd_utf8_macro_alloca_r_malloc) \
                        _cmd_utf8_macro_alloca_r=_cmd_utf8_macro_alloca_string; \