I'm no developer, but this seemed like the best list for this. Once in a while I try out an MC snapshot from ibiblio.org. A few months ago I noticed that something had changed that broke MC on my computer, but I didn't have time to look into it until yesterday.
I've never used CVS before, but I think I did it right. I downloaded and compiled versions of MC as of various dates, and narrowed down my problem to something that changed on January 30, 2005. The symptom is that when I try to start MC as root, it immediately gives a segmentation fault. When I start it as a normal user, it works. The only thing I can see that changed on January 30 is something called 'getgrouplist'. I don't know what that is. Below is a complete diff between the version that works for me and the one that doesn't. This is on a Linux machine; originally SuSE 7.3 but with updated versions of a lot of things. Any ideas? Any more information I should give you? Anton Common subdirectories: 2005-01-29/CVS and 2005-01-30/CVS Common subdirectories: 2005-01-29/autom4te.cache and 2005-01-30/autom4te.cache Common subdirectories: 2005-01-29/config and 2005-01-30/config diff -u 2005-01-29/config.h.in 2005-01-30/config.h.in --- 2005-01-29/config.h.in Sat Jul 2 06:31:51 2005 +++ 2005-01-30/config.h.in Sat Jul 2 06:49:51 2005 @@ -96,6 +96,9 @@ /* Define to 1 if you have the `getgid' function. */ #undef HAVE_GETGID +/* Define to 1 if you have the `getgrouplist' function. */ +#undef HAVE_GETGROUPLIST + /* Define to 1 if you have the `getmntent' function. */ #undef HAVE_GETMNTENT diff -u 2005-01-29/configure 2005-01-30/configure --- 2005-01-29/configure Sat Jul 2 06:31:53 2005 +++ 2005-01-30/configure Sat Jul 2 06:49:53 2005 @@ -10956,9 +10956,10 @@ + for ac_func in atoll cfgetospeed getsid initgroups memcpy memmove memset \ putenv setreuid setuid statfs strerror strftime \ - sysconf tcgetattr tcsetattr truncate + sysconf tcgetattr tcsetattr truncate getgrouplist do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 diff -u 2005-01-29/configure.ac 2005-01-30/configure.ac --- 2005-01-29/configure.ac Thu Jan 27 16:42:55 2005 +++ 2005-01-30/configure.ac Sat Jan 29 23:06:13 2005 @@ -170,7 +170,7 @@ AC_CHECK_FUNCS([atoll cfgetospeed getsid initgroups memcpy memmove memset \ putenv setreuid setuid statfs strerror strftime \ - sysconf tcgetattr tcsetattr truncate]) + sysconf tcgetattr tcsetattr truncate getgrouplist]) dnl S-Lang needs all four functions to be defined to use POSIX signal API AC_CHECK_FUNCS([sigaction sigemptyset sigprocmask sigaddset], , [slang_signals=no]) Common subdirectories: 2005-01-29/doc and 2005-01-30/doc Common subdirectories: 2005-01-29/edit and 2005-01-30/edit Common subdirectories: 2005-01-29/intl and 2005-01-30/intl Common subdirectories: 2005-01-29/lib and 2005-01-30/lib Common subdirectories: 2005-01-29/m4 and 2005-01-30/m4 Common subdirectories: 2005-01-29/maint and 2005-01-30/maint Common subdirectories: 2005-01-29/po and 2005-01-30/po Common subdirectories: 2005-01-29/slang and 2005-01-30/slang Common subdirectories: 2005-01-29/src and 2005-01-30/src Common subdirectories: 2005-01-29/syntax and 2005-01-30/syntax Common subdirectories: 2005-01-29/vfs and 2005-01-30/vfs _______________________________________________ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel