Christian Biere wrote: > Matthew Lye wrote: > > On 22-Jun-07, at 3:50 PM, Christian Biere wrote: > > > Christian Biere wrote: > > >> Matthew Lye wrote: > > >>> Hello all. I've just finished recompiling all of gtk-gnutella's > > >>> supporting libraries after a complete re-install of my system. I am > > >>> attempting to compile revision 13925 with gtk1 and fast routines. I > > >>> have hit a fatal exception problem in vmm.c. > > > >> Could you comment out the line in misc.c and see whether this fixes > > >> the crash? > > > this just moved the error to the next line, 2135, which is quite > > similar to 2134: > > "sys[i++] = g_str_hash(g_get_real_name());" > > > > Could you also try to comment out the line with "putenv(variable);" in > > > src/lib/halloc.c? > > > ** ERROR **: allocation of 4294967295 bytes failed > > aborting... >
Apparently sysconf(_SC_GETPW_R_SIZE_MAX) returns really -1 on Darwin and some other systems. pkgsrc actually has a patch to fix this bug. We don't really need this function but the initialization function is also triggered by all other g_get_*() functions. We only really use g_get_home_dir() and only as a fall-back which is unlikely to kick in on any Unix-like system. I've removed them for GLib 1.2 as their use isn't important. -- Christian ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gtk-gnutella-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
