[SuSE Linux] Re: The MH inc command seg faults.
Andreas Gerstlauer was kind enough to send me this patch to inc. ---------------------------------------------------------------------- Lance Heller email: lheller@unidial.com ---------------------------------------------------------------------- ------- Forwarded Message Return-Path: andreas@pacific.us.musoftware.de Return-Path: <andreas@pacific.us.musoftware.de> Received: from faust.unidial.com (mephisto@faust.unidial.com [192.9.100.100]) by faust.unidial.com (8.8.8/8.8.8) with ESMTP id UAA02865 for <mephisto@faust.unidial.com>; Thu, 10 Dec 1998 20:38:22 -0600 Received: from mail.unidial.com by faust.unidial.com (fetchmail-4.3.8 POP3) for <mephisto/faust.unidial.com> (single-drop); Thu, 10 Dec 1998 20:38:25 CST Received: from pacific.us.musoftware.de (root@pv116.pv.reshsg.uci.edu [128.195.182.41]) by mail.unidial.com (8.8.7/ntr.net 3.0.0) with ESMTP id AAA21412 for <lheller@unidial.com>; Fri, 11 Dec 1998 00:04:27 GMT Received: from pacific.us.musoftware.de (andreas@localhost [127.0.0.1]) by pacific.us.musoftware.de (8.9.1a/8.9.1) with ESMTP id QAA22442 for <lheller@unidial.com>; Thu, 10 Dec 1998 16:04:26 -0800 Message-Id: <199812110004.QAA22442@pacific.us.musoftware.de> X-Mailer: exmh version 2.0.2 To: lheller@unidial.com Subject: Re: The MH inc command seg faults. X-url: <A HREF="http://www.us.musoftware.de/~andreas"><A HREF="http://www.us.musoftware.de/~andreas</A">http://www.us.musoftware.de/~andreas</A</A>> Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_-12814482290" From: Andreas Gerstlauer <andreas@us.musoftware.de> Date: Thu, 10 Dec 1998 16:04:26 -0800 Sender: andreas@us.musoftware.de X-UIDL: d32cfed540b4bfe62858950f63c61ed5 Status: RO X-Status: A This is a multipart MIME message. - --==_Exmh_-12814482290 Content-Type: text/plain; charset=us-ascii Hi! I was just browsing the SuSE mailing list and came accross your post. I had that problem long time ago - found and fixed it (even send a bug report with the fix to SuSE but they didn't put an update on their ftp server...). I'll enclose the (commented) patch below. If you need the executable ("inc" only), let me know and I'll send it to you. BTW, since I am not on the SuSE mailing list I am sending the reply to you directly. Feel free to post a message to the list about the fix if you like. Andreas - -- Andreas Gerstlauer andreas@musoftware.de <A HREF="http://www.us.musoftware.de/~andreas"><A HREF="http://www.us.musoftware.de/~andreas</A">http://www.us.musoftware.de/~andreas</A</A>> - --==_Exmh_-12814482290 Content-Type: text/plain ; name="mh.dif"; charset=us-ascii Content-Description: mh.dif Content-Disposition: attachment; filename="mh.dif" *** uip/inc.c.orig Tue Sep 8 00:52:10 1998 - --- uip/inc.c Tue Sep 8 00:58:53 1998 *************** *** 17,20 **** - --- 17,25 ---- * attribute. Running setuid root is probably not a terribly good idea, though. * -- Peter Maydell <pmaydell@chiark.greenend.org.uk>, 04/1998 + * + * Sep 8, 1998 Andreas Gerstlauer (gerstlauer@ics.uci.edu) + * Bug: mail spool is unlocked twice (in main() and in done()) since flag + * 'locked' was not reset properly after unlocking. + * */ #endif *************** *** 887,890 **** - --- 892,896 ---- (void) lkfclose (in, newmail); DROPGROUPPRIVS(); /* And then return us to normal privileges */ + locked = 0; } else - --==_Exmh_-12814482290-- ------- End of Forwarded Message -- ------------------------------------------------------------------------------- - Lance Heller lheller@unidial.com ------------------------------------------------------------------------------- - - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (1)
-
mephisto@faust.unidial.com