On 2007-06-10 16:27:39 -0400, Jean-Pierre Radley wrote: > Brendan Cully typed (on Sat, Jun 09, 2007 at 09:03:59PM -0700): > | It's that time again. > > I think line 165 of curs_lib.c, which reads > > if (mutt_system (cmd)) > > should instead be: > > if (mutt_system (cmd) == -1)
No, it is important that if the editor returns with a nonzero exit status, one gets an error. > Otherwise, after composing a message and exiting the editor, one > gets an error: > > Error running "/usr/bin/vi '/usr/tmp/mutt-jpradley-0-23020-1'"! This is a problem with your editor. -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)