SVN r278414 is incorrect

Michael Butler imb at protected-networks.net
Sun Feb 8 23:10:02 UTC 2015


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();





More information about the freebsd-current mailing list