ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RP] [PATCH] unknown history events


From: Doug Kearns
Subject: [RP] [PATCH] unknown history events
Date: Sat Jul 19 00:55:04 2003
User-agent: Mutt/1.4i

This fixes a segfault caused when there is an error in the history
expansion.

Regards,
Doug

--- src/editor.c.orig   2003-06-09 23:15:02.000000000 +1000
+++ src/editor.c        2003-07-19 14:04:41.000000000 +1000
@@ -424,7 +424,7 @@
     {
       marked_message_printf (0, 0, " %s ", expansion);
       free (expansion);
-      line->buffer = NULL;
+      return EDIT_ABORT;
     }
   else /* result == 0 || result == 1 */
     { 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]