Hello, I'm using glib in my tools to create a tree (GTree) with pathnames and some data (from stat(2)). I'm using this structure as the key: struct entry { char *f_name; size_t f_name_size; uid_t f_uid; gid_t f_gid; mode_t f_mode; time_t f_mtime; off_t f_size; }; When I print this structure to disk, with g_tree_foreach, something strange happens on Solaris. Some f_name entries get mangled. This happened with glib 2.4.1 and glib 2.12.x. I should get: 16832 /export/home/miek/bin/.svn/text-base 33024 /export/home/miek/bin/.svn/text-base/VI.svn-base ... But on Solaris I get: 33024 /export/hom 33024 /export/home/miek/bin/.svn/text-base/avi2vob.svn-base On other machines this code works perfectly; linux amd64, linux powerpc, linux i386 and freebsd i386. All do it ok. Could this be a GTree issue on Solaris? I'm really stuck with it :( Regards, Miek -- grtz, - Miek http://www.miek.nl PGP: 6A3C F450 6D4E 7C6B C23C F982 258B 85CF 3880 D0F6
Attachment:
signature.asc
Description: Digital signature
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list