]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r265863
authorbapt <bapt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 8 Feb 2015 22:11:24 +0000 (22:11 +0000)
committerbapt <bapt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 8 Feb 2015 22:11:24 +0000 (22:11 +0000)
commit08d08f39d4872c22c9b75a65b7c82919a744d82a
tree7f458bb6bff4c945b98341c84db30ce89fe96a82
parent405edf5b6ae2f2b6debb9d1b120460f71f81db7d
MFC: r265863

libedit: add H_SAVE_FP which saves history to a file pointer.

H_SAVE_FP is similar to H_SAVE but operates on a FILE* instead of a filename.
This is useful when operating in capability mode.

Reviewed by: christos@NetBSD.org, pfg

git-svn-id: svn://svn.freebsd.org/base/stable/10@278411 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libedit/editline.3
lib/libedit/hist.h
lib/libedit/histedit.h
lib/libedit/history.c