Re: ksh: extra rewind call

2017-10-19 Thread Jeremie Courreges-Anglas
On Thu, Oct 19 2017, Sebastian Benoit wrote: > Jeremie Courreges-Anglas(j...@wxcvbn.org) on 2017.10.19 00:36:00 +0200: >> >> This call was added along with the magic check, but it not actually >> needed: history_load already calls rewind(3). I feel like the magic >> check

Re: ksh: extra rewind call

2017-10-19 Thread Sebastian Benoit
Jeremie Courreges-Anglas(j...@wxcvbn.org) on 2017.10.19 00:36:00 +0200: > > This call was added along with the magic check, but it not actually > needed: history_load already calls rewind(3). I feel like the magic > check should also be in history_load(), so that a ksh process can > recover at

ksh: extra rewind call

2017-10-18 Thread Jeremie Courreges-Anglas
This call was added along with the magic check, but it not actually needed: history_load already calls rewind(3). I feel like the magic check should also be in history_load(), so that a ksh process can recover at runtime from a binary->plaintext history file migration. Worth the trouble? ok for