Home
last modified time | relevance | path

Searched refs:hist_new (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhistory.c463 register History_t *hist_new, *hist_old = hp; in hist_trim() local
504 hist_new = hist_ptr; in hist_trim()
513 c = hist_ind(hist_new,++hist_new->histind); in hist_trim()
514 hist_new->histcmds[c] = hist_new->histcnt; in hist_trim()
515 if(hist_new->histcnt > hist_new->histmarker+HIST_BSIZE/2) in hist_trim()
518 hist_marker(locbuff,hist_new->histind); in hist_trim()
519 sfwrite(hist_new->histfp,locbuff,HIST_MARKSZ); in hist_trim()
520 hist_new->histcnt += HIST_MARKSZ; in hist_trim()
521 hist_new->histmarker = hist_new->histcmds[hist_ind(hist_new,c)] = hist_new->histcnt; in hist_trim()
541 hist_new->histcnt += c; in hist_trim()
[all …]