用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Guo XIn 291e661666 first commit 3 months ago
..
editline first commit 3 months ago
np first commit 3 months ago
CMakeLists.txt first commit 3 months ago
README first commit 3 months ago
chared.c first commit 3 months ago
chared.h first commit 3 months ago
chartype.c first commit 3 months ago
chartype.h first commit 3 months ago
common.c first commit 3 months ago
config.h first commit 3 months ago
el.c first commit 3 months ago
el.h first commit 3 months ago
el_terminal.h first commit 3 months ago
eln.c first commit 3 months ago
emacs.c first commit 3 months ago
filecomplete.c first commit 3 months ago
filecomplete.h first commit 3 months ago
hist.c first commit 3 months ago
hist.h first commit 3 months ago
histedit.h first commit 3 months ago
history.c first commit 3 months ago
historyn.c first commit 3 months ago
keymacro.c first commit 3 months ago
keymacro.h first commit 3 months ago
makelist.sh first commit 3 months ago
map.c first commit 3 months ago
map.h first commit 3 months ago
parse.c first commit 3 months ago
parse.h first commit 3 months ago
prompt.c first commit 3 months ago
prompt.h first commit 3 months ago
read.c first commit 3 months ago
read.h first commit 3 months ago
readline.c first commit 3 months ago
refresh.c first commit 3 months ago
refresh.h first commit 3 months ago
search.c first commit 3 months ago
search.h first commit 3 months ago
sig.c first commit 3 months ago
sig.h first commit 3 months ago
sys.h first commit 3 months ago
terminal.c first commit 3 months ago
tokenizer.c first commit 3 months ago
tokenizern.c first commit 3 months ago
tty.c first commit 3 months ago
tty.h first commit 3 months ago
vi.c first commit 3 months ago

README

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.