CVSROOT: /cvs Module name: src Changes by: j...@cvs.openbsd.org 2017/09/07 13:08:32
Modified files: bin/ksh : history.c Log message: Keep histptr inside of the allocated history array histptr == history -1 means that the history is empty, but the behavior is then undefined. Allocate an extra array entry to work around this. Input & ok tb@