Module Name: src Committed By: christos Date: Tue Apr 19 19:50:53 UTC 2016
Modified Files: src/lib/libedit: el.c el.h histedit.h read.c read.h Log Message: >From Ingo Schwarze: - Put the data type el_rfunc_t into the public header <histedit.h>. - Make el_read in struct editline an opaque pointer rather than an embedded struct. - Do not include "read.h" everywhere, but only in the two files needing access to el_read, read.c and el.c. - To functions that don't need more, pass the struct el_read_t * rather than the full EditLine *. - Of course, that means that read_init() can now fail from memory exhaustion, but it's easy to clean up after that. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/lib/libedit/el.c cvs rdiff -u -r1.37 -r1.38 src/lib/libedit/el.h cvs rdiff -u -r1.55 -r1.56 src/lib/libedit/histedit.h cvs rdiff -u -r1.94 -r1.95 src/lib/libedit/read.c cvs rdiff -u -r1.9 -r1.10 src/lib/libedit/read.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.