summaryrefslogtreecommitdiff
path: root/cmd-line-utils/libedit/readline.c
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: remove libedit, move readline to extra/Sergei Golubchik2014-10-011-2294/+0
|
* Fixes required to build on AIXKaren Langford2012-01-111-1/+1
|
* WL#5945 : Improve libedit libraryNirbhay Choubey2011-10-141-196/+523
| | | | | Updated libedit library.
* Bug#45288: pb2 returns a lot of compilation warningsDavi Arnaut2010-10-191-8/+15
| | | | | | | | | Tag or remove unused arguments and variables. regex/main.c: Use the real prototype. sql/ha_ndbcluster.cc: Make conditions less ambiguous.
* More portability fixes.unknown2009-02-121-4/+1
|
* From jperkin : Merge libedit 2.11 and related files, Georgi Kodinov2009-02-101-523/+320
| | | | | based on NetBSD CVS as of 2009/02/06 20:09:00.
* Fix bug#23293 "readline detection broken on NetBSD":unknown2007-01-311-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Its root cause is a difference between the "readline" and "libedit" (header files) definitions of "rl_completion_entry_function", where the "libedit" one is wrong anyway: This variable is used as a pointer to a function returning "char *", but "libedit" declares it as returning "int" and then adds casts on usage. Change it to "CPFunction *" and get rid of the casts. client/mysql.cc: Fix bug#23293 "readline detection broken on NetBSD": Now that the "libedit" header files declares "rl_completion_entry_function" correctly, it need not be cast on usage, and "no_completion()" can be declared to return "char *". cmd-line-utils/libedit/readline.c: Fix bug#23293 "readline detection broken on NetBSD": Now that the "libedit" header files declares "rl_completion_entry_function" correctly, it need not be cast on usage, and "complet_func()" is a "CPFunction *" as well. cmd-line-utils/libedit/readline/readline.h: Fix bug#23293 "readline detection broken on NetBSD": Declare "rl_completion_entry_function()" to be a "CPFunction *", this avoids casts and brings "libedit" in sync with "readline".
* Bug#16557 mysql cmd-line client does not rename .mysql_history.TMP to ↵unknown2006-02-131-2/+2
| | | | | | | | | | .mysql_history - Return error only if 'history' returns -1 cmd-line-utils/libedit/readline.c: Return 1 to indicate error only if 'history' returned -1, since the history function normally will return the number of entries written or read. Only -1 indicates error.
* readline.c:unknown2005-05-121-1/+1
| | | | | | | | | | | | Include readline/readline.h earlier, to avoid redifinition of term.h macros on AIX 5.2 search.c: FreeBSD needs <sys/types.h> to get 'off_t' defined cmd-line-utils/libedit/search.c: FreeBSD needs <sys/types.h> to get 'off_t' defined cmd-line-utils/libedit/readline.c: Include readline/readline.h earlier, to avoid redifinition of term.h macros on AIX 5.2
* Reverting back to original path of readline.hunknown2005-04-211-1/+1
| | | | | cmd-line-utils/libedit/readline/readline.h: mvdir
* Upgrade to libedit-2.9unknown2005-04-211-428/+813
| | | | | BitKeeper/deleted/.del-readline.h~ac6080227e4b72fc: Delete: cmd-line-utils/libedit/readline/readline.h
* fixed two compiling bugs for libeditunknown2004-08-311-2/+2
| | | | | | | | | | | | acinclude.m4: added macro to check if dirent.d_namlen is defined cmd-line-utils/libedit/config.h: added define for __attribute__ cmd-line-utils/libedit/readline.c: checked STRUCT_DIRENT_HAS_D_NAMLEN instead of old enumeration of problem platforms configure.in: added checking if dirent has d_namlen member field
* upgrade to libedit-2.6.7unknown2004-08-241-61/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (fixed Bug #4462 libedit compile failure) BitKeeper/etc/ignore: change config.h -> config.h to commit cmd-line-utils/libedit/config.h cmd-line-utils/libedit/Makefile.am: upgrade to libedit-2.6.7 cmd-line-utils/libedit/chared.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/chared.h: upgrade to libedit-2.6.7 cmd-line-utils/libedit/common.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/el.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/el.h: upgrade to libedit-2.6.7 cmd-line-utils/libedit/emacs.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/hist.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/hist.h: upgrade to libedit-2.6.7 cmd-line-utils/libedit/histedit.h: upgrade to libedit-2.6.7 cmd-line-utils/libedit/history.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/key.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/key.h: upgrade to libedit-2.6.7 cmd-line-utils/libedit/makelist.sh: upgrade to libedit-2.6.7 cmd-line-utils/libedit/map.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/map.h: upgrade to libedit-2.6.7 cmd-line-utils/libedit/parse.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/prompt.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/read.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/readline.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/readline/readline.h: upgrade to libedit-2.6.7 cmd-line-utils/libedit/refresh.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/search.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/search.h: upgrade to libedit-2.6.7 cmd-line-utils/libedit/sig.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/sig.h: upgrade to libedit-2.6.7 cmd-line-utils/libedit/sys.h: upgrade to libedit-2.6.7 cmd-line-utils/libedit/term.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/tokenizer.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/tokenizer.h: upgrade to libedit-2.6.7 cmd-line-utils/libedit/tty.c: upgrade to libedit-2.6.7 cmd-line-utils/libedit/tty.h: upgrade to libedit-2.6.7 cmd-line-utils/libedit/vi.c: upgrade to libedit-2.6.7 configure.in: change liblibedit.a to correct libedit.a
* Portability fixesunknown2003-02-281-2/+2
| | | | | | | | | | | | cmd-line-utils/libedit/readline.c: Portability fix (For IRIX) include/my_global.h: Portability fix (For Tru64) include/my_xml.h: Portability fix (True64) ('leave' is already defined) strings/xml.c: Portability fix (True64)
* Portability fixesunknown2003-02-271-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't define crc32 if we are not linking with gzip cmd-line-utils/libedit/libedit_term.h: Rename: cmd-line-utils/libedit/term.h -> cmd-line-utils/libedit/libedit_term.h BitKeeper/etc/ignore: added scripts/make_win_src_distribution client/connect_test.c: Removed wrong include file (my_global.h should never be included by an external client) client/insert_test.c: Removed wrong include file (my_global.h should never be included by an external client) client/select_test.c: Removed wrong include file (my_global.h should never be included by an external client) cmd-line-utils/libedit/Makefile.am: Portability fixes (for HPUX11 and AIX) cmd-line-utils/libedit/el.h: Portability fixes (for HPUX11 and AIX) cmd-line-utils/libedit/key.h: Portability fixes (for HPUX11 and AIX) cmd-line-utils/libedit/makelist: Portability fixes (for HPUX11 and AIX) cmd-line-utils/libedit/read.c: Portability fixes (for HPUX11 and AIX) cmd-line-utils/libedit/readline.c: Portability fixes (for HPUX11 and AIX) cmd-line-utils/libedit/readline/readline.h: Systems that has sys/cdefs may not have __BEGIN_DECLS cmd-line-utils/libedit/sig.c: sig_t is not portable cmd-line-utils/libedit/sig.h: sig_t is not portable cmd-line-utils/libedit/term.c: Portablity fixes Fixed core dump when using a terminal without arrow key definitions heap/_check.c: Portability fix heap/hp_hash.c: Portability fix heap/hp_rkey.c: Portability fix include/my_global.h: Portability fixes for HPUX11 libmysql/libmysql.c: Removed wrong cast mysql-test/r/union.result: New union tests mysql-test/t/union.test: New union tests sql/gen_lex_hash.cc: Fixed portability bug. sql/gstream.h: Portablity fix sql/item_create.cc: Don't define crc32 if we are not linking with gzip sql/item_create.h: Don't define crc32 if we are not linking with gzip sql/item_func.cc: Don't define crc32 if we are not linking with gzip sql/item_func.h: Don't define crc32 if we are not linking with gzip sql/lex.h: Don't define crc32 if we are not linking with gzip sql/sql_show.cc: Name can't be NULL
* Removed compiler warningsunknown2003-01-191-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cmd-line-utils/libedit/chared.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/common.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/el.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/emacs.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/fgetln.c: Removed RCSID to get rid of compiler warnings Removed compiler warning cmd-line-utils/libedit/hist.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/history.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/key.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/map.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/parse.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/prompt.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/read.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/readline.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/refresh.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/search.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/sig.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/term.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/tokenizer.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/tty.c: Removed RCSID to get rid of compiler warnings cmd-line-utils/libedit/vi.c: Removed RCSID to get rid of compiler warnings mysys/Makefile.am: Remove library dependency for charset2html to get correct makefile tests/client_test.c: Indentation change
* changes for readline/libedit configurationunknown2003-01-181-0/+1665