cvs more flexible now; ZRLE encoding only when HAVE_ZRLE defined

pull/1/head
dscho 20 years ago
parent 1e4c2e7369
commit 3c5d1b0ff2

@ -1,9 +1,13 @@
if [ a"$1" = adiff -o a"$1" = aexport ]; then
cmd="$1"
shift
else
cmd=update
fi
#!/bin/bash
case "$1" in
#cvs --help-commands 2>&1 | sed "s/[ ][ ]*/ /g" | cut -d " " -f 2
add|admin|annotate|checkout|commit|diff|edit|editors|export|history|import|\
init|log|login|logout|pserver|rdiff|release|remove|rtag|server|status|\
tag|unedit|update|watch|watchers)
cmd="$1"; shift;;
*) cmd=update;;
esac
cvs -z3 -d :pserver:anonymous@cvs.libvncserver.sf.net:/cvsroot/libvncserver $cmd "$@"

@ -304,7 +304,9 @@ typedef struct {
#ifdef BACKCHANNEL
#define rfbEncodingBackChannel 15
#endif
#ifdef HAVE_ZRLE
#define rfbEncodingZRLE 16
#endif
/*
* Special encoding numbers:

Loading…
Cancel
Save