Avoid recursively calling c_fc(). Fixes a core dump from "r r" and
authormillert <millert@openbsd.org>
Wed, 24 Aug 2016 13:32:17 +0000 (13:32 +0000)
committermillert <millert@openbsd.org>
Wed, 24 Aug 2016 13:32:17 +0000 (13:32 +0000)
commitb6fc1e07fb693569c0e865d1551ddd1976fb04a0
tree5a62aea83062ce8a546196e9115f11b7549bb734
parent31d7de9f2b354275b78a7406ca051e4b9752c15d
Avoid recursively calling c_fc().  Fixes a core dump from "r r" and
other edge cases found by gsoares@.  OK tb@ gsoares@
bin/ksh/history.c