Date: Sun, 08 Feb 2015 18:10:01 -0500 From: Michael Butler <imb@protected-networks.net> To: freebsd-current@freebsd.org, Baptiste Daroussin <bapt@FreeBSD.org> Subject: Re: SVN r278414 is incorrect Message-ID: <54D7ECC9.6040907@protected-networks.net> In-Reply-To: <54D7EB4A.8080107@protected-networks.net> References: <54D7EAE7.3010100@protected-networks.net> <54D7EB4A.8080107@protected-networks.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/08/15 18:03, Michael Butler wrote: > On 02/08/15 18:01, Michael Butler wrote: >> SVN r278414 causes a 'buildworld' to fail. >> >> The fix is attached, >> >> imb <sigh> Index: lib/libedit/readline.c =================================================================== --- lib/libedit/readline.c (revision 278418) +++ lib/libedit/readline.c (working copy) @@ -395,9 +395,6 @@ char *buf; static int used_event_hook; - if (line == NULL) - return 0; - if (e == NULL || h == NULL) rl_initialize(); @@ -1443,6 +1440,9 @@ HistEvent ev; int curr_num; + if (line == NULL) + return 0; + if (h == NULL || e == NULL) rl_initialize();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54D7ECC9.6040907>