Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2015 23:03:42 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r278422 - head/lib/libedit
Message-ID:  <201502082303.t18N3ggX062331@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Feb  8 23:03:41 2015
New Revision: 278422
URL: https://svnweb.freebsd.org/changeset/base/278422

Log:
  revert r278414
  
  Reported by:	bz

Modified:
  head/lib/libedit/readline.c

Modified: head/lib/libedit/readline.c
==============================================================================
--- head/lib/libedit/readline.c	Sun Feb  8 22:47:34 2015	(r278421)
+++ head/lib/libedit/readline.c	Sun Feb  8 23:03:41 2015	(r278422)
@@ -395,9 +395,6 @@ readline(const char *p)
 	char *buf;
 	static int used_event_hook;
 
-	if (line == NULL)
-		return 0;
-
 	if (e == NULL || h == NULL)
 		rl_initialize();
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502082303.t18N3ggX062331>