https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201167

Jilles Tjoelker <jil...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jil...@freebsd.org

--- Comment #4 from Jilles Tjoelker <jil...@freebsd.org> ---
The corruption is because units does not shut down libedit via el_end(). The
el_end() call is dead code, since the loop exits via exit(), not break.

Other issues: the (inhistory == 0) check is dead code since it has already
crashed before that point; it should be moved directly after the history_init()
call. Also, the history_end() call should probably be after the el_end() call,
not before.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to