mariadb/cmd-line-utils/libedit
Michael Widenius d513153f77 Merge of compatibility fixes
Fixed failing tests in sys_vars as we have now stricter checking of setting of variables.

mysql-test/suite/sys_vars/r/innodb_adaptive_flushing_basic.result:
  One can now only assign 0 or 1 to boolean variables
mysql-test/suite/sys_vars/r/innodb_adaptive_hash_index_basic.result:
  One can now only assign 0 or 1 to boolean variables
mysql-test/suite/sys_vars/r/innodb_large_prefix_basic.result:
  One can now only assign 0 or 1 to boolean variables
mysql-test/suite/sys_vars/r/innodb_random_read_ahead_basic.result:
  One can now only assign 0 or 1 to boolean variables
mysql-test/suite/sys_vars/r/innodb_stats_on_metadata_basic.result:
  One can now only assign 0 or 1 to boolean variables
mysql-test/suite/sys_vars/r/innodb_strict_mode_basic.result:
  One can now only assign 0 or 1 to boolean variables
mysql-test/suite/sys_vars/r/innodb_support_xa_basic.result:
  One can now only assign 0 or 1 to boolean variables
mysql-test/suite/sys_vars/r/innodb_table_locks_basic.result:
  One can now only assign 0 or 1 to boolean variables
mysql-test/suite/sys_vars/r/rpl_semi_sync_master_enabled_basic.result:
  One can now only assign 0 or 1 to boolean variables
mysql-test/suite/sys_vars/r/rpl_semi_sync_slave_enabled_basic.result:
  One can now only assign 0 or 1 to boolean variables
mysql-test/suite/sys_vars/t/innodb_adaptive_flushing_basic.test:
  One can now only assign 0 or 1 to boolean variables
mysql-test/suite/sys_vars/t/innodb_adaptive_hash_index_basic.test:
  One can now only assign 0 or 1 to boolean variables
mysql-test/suite/sys_vars/t/innodb_large_prefix_basic.test:
  One can now only assign 0 or 1 to boolean variables
mysql-test/suite/sys_vars/t/innodb_random_read_ahead_basic.test:
  One can now only assign 0 or 1 to boolean variables
mysql-test/suite/sys_vars/t/innodb_stats_on_metadata_basic.test:
  One can now only assign 0 or 1 to boolean variables
mysql-test/suite/sys_vars/t/innodb_strict_mode_basic.test:
  One can now only assign 0 or 1 to boolean variables
mysql-test/suite/sys_vars/t/innodb_support_xa_basic.test:
  One can now only assign 0 or 1 to boolean variables
mysql-test/suite/sys_vars/t/innodb_table_locks_basic.test:
  One can now only assign 0 or 1 to boolean variables
mysys/my_getsystime.c:
  Merge + fixed bug that __NR_clock_gettime didn't work in 5.5
2012-04-02 13:33:16 +03:00
..
np Compatibility fixes by U Orsini 2012-03-30 16:00:10 +03:00
readline WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
chared.c WL#5945 - Improve libedit library 2011-10-24 13:35:28 +05:30
chared.h WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
chartype.c Bug#13106585 PUSH FOR "WL#5945 : IMPROVE LIBEDIT LIBRARY" 2011-10-21 18:10:12 +05:30
chartype.h Compatibility fixes by U Orsini 2012-03-30 16:00:10 +03:00
CMakeLists.txt merge 2012-01-16 21:13:05 +01:00
common.c WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
config.h WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
el.c WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
el.h WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
el_terminal.h WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
eln.c Fixes required to build on AIX 2012-01-11 18:40:29 +01:00
emacs.c WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
filecomplete.c WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
filecomplete.h WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
hist.c WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
hist.h WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
histedit.h Patch to fix stdint.h missing from pre Solaris 10 versions. 2011-10-29 20:08:40 +02:00
history.c WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
historyn.c WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
keymacro.c WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
keymacro.h WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
makelist.sh WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
map.c Fixed that --with-libedit --without-readline works 2011-12-01 20:11:41 +02:00
map.h WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
parse.c WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
parse.h WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
prompt.c WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
prompt.h WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
read.c Patch to fix libedit vis.h problem (OSX/FreeBSD) 2011-10-28 16:40:46 +02:00
read.h WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
readline.c Fixes required to build on AIX 2012-01-11 18:40:29 +01:00
README WL#5945 - Improve libedit library 2011-10-24 13:35:28 +05:30
refresh.c Bug#13106585 PUSH FOR "WL#5945 : IMPROVE LIBEDIT LIBRARY" 2011-10-21 18:10:12 +05:30
refresh.h WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
search.c WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
search.h WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
sig.c WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
sig.h WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
sys.h Fixed that 'make distcheck' works with automake 1.11.11 2012-02-21 17:58:43 +02:00
terminal.c Fixed that --with-libedit --without-readline works 2011-12-01 20:11:41 +02:00
tokenizer.c WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
tokenizern.c WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
tty.c Fixed that --with-libedit --without-readline works 2011-12-01 20:11:41 +02:00
tty.h WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30
vi.c WL#5945 : Improve libedit library 2011-10-14 01:03:25 +05:30

An approximate method to merge from upstream is:

	# Fetch latest from upstream (we also include some compat stuff)
	$ CVS_RSH=ssh; export CVS_RSH
	$ CVSROOT="anoncvs@anoncvs.netbsd.org:/cvsroot"
	$ cvs co -d libedit -P src/lib/libedit
	$ mkdir libedit/np
	$ for f in src/common/lib/libc/string/strlcat.c \
	>          src/common/lib/libc/string/strlcpy.c \
	>          src/include/vis.h \
	>          src/lib/libc/gen/unvis.c \
	>          src/lib/libc/gen/vis.c \
	>          src/tools/compat/fgetln.c
	> do
	>   cvs co -P ${f}
        >   mv ${f} libedit/np
	> done
	$ rm -rf src
	$ cd libedit

	# Remove files we don't need/use
	$ rm -rf CVS TEST Makefile shlib_version *.[0-9]
	$ (cd readline; rm -rf CVS Makefile)

	# Rename files to match our naming
	$ mv makelist makelist.sh
	$ mv terminal.h el_terminal.h

	# Remove NetBSD-specific bits
	$ for file in $(find . -type f)
	> do
	>   cp ${file} ${file}.orig
	>   sed -e 's/#include "terminal.h"/#include "el_terminal.h"/g' \
	>       -e 's/sig_handler/el_sig_handler/g' \
	>       -e 's/isprint/el_isprint/g' \
	>       -e '/^__RCSID/d' \
	>       ${file}.orig >${file}
	>   rm ${file}.orig
	> done

then merge remaining bits by hand.  All MySQL-specific changes should be
marked with XXXMYSQL to make them easier to identify and merge.  To generate
a 'clean' diff against upstream you can use the above commands but use

	cvs co -D "2011/10/23 17:37:55" [..]

to fetch the baseline of most recent merge.

Please feed any fixes to Jonathan Perkin <jonathan.perkin@oracle.com> who will
endeavour to merge them upstream and keep diffs minimal.