Subject: CVS commit: src/lib/libedit
To: None <source-changes@NetBSD.org>
From: Alistair G. Crooks <agc@netbsd.org>
List: source-changes
Date: 05/27/2005 11:35:07
Module Name:	src
Committed By:	agc
Date:		Fri May 27 11:35:07 UTC 2005

Modified Files:
	src/lib/libedit: readline.c
	src/lib/libedit/readline: readline.h

Log Message:
Sync the alternative readline interface with reality:

+ the rl_callback_handler_install takes a pointer to a void function
  which has one char * argument (it's called that way in the readline
  emulation source, otherwise there's no way to pass the line buffer
  to the function which processes the line when EOL is encountered)

+ provide a prototype for that function signature and use it

Makes the callback readline interface work now.


To generate a diff of this commit:
cvs rdiff -r1.53 -r1.54 src/lib/libedit/readline.c
cvs rdiff -r1.13 -r1.14 src/lib/libedit/readline/readline.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.