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

Jilles Tjoelker <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Jilles Tjoelker <[email protected]> ---
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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to