Hey, Looking at SVN head you have ignored my g_strndup patch and introduced a bug in your alternative implementation. Please look at it, we need to alloc n+1 bytes, not n, or jay and genmdesc etc. will produce garbage. Also, in glib the g* types should be used. Andreas