diff options
-rw-r--r-- | misc/vbidecode/files/patch-aa | 50 |
1 files changed, 48 insertions, 2 deletions
diff --git a/misc/vbidecode/files/patch-aa b/misc/vbidecode/files/patch-aa index 6816e204e29d..5ba6b3f36812 100644 --- a/misc/vbidecode/files/patch-aa +++ b/misc/vbidecode/files/patch-aa @@ -1,5 +1,5 @@ -*** vbidecode.cc.orig Mon Jun 7 17:12:04 1999 ---- vbidecode.cc Mon Jun 7 17:12:20 1999 +*** vbidecode.cc.orig Sun Feb 28 18:18:04 1999 +--- vbidecode.cc Tue Feb 1 16:14:39 2000 *************** TODO: *** 52,58 **** #include <sys/stat.h> @@ -18,3 +18,49 @@ int verbosity=0; +*************** struct vpsinfo { +*** 214,220 **** + int namep; + unsigned char *info; + +! getname(char *name) { + memcpy(name,lastname,9); + } + vpsinfo() { +--- 215,221 ---- + int namep; + unsigned char *info; + +! int getname(char *name) { + memcpy(name,lastname,9); + } + vpsinfo() { +*************** VTchannel vtch; +*** 494,506 **** + struct VDdeco { + int Vflag; + +! write(unsigned char *data, int n) { + int i; + for (i=0; i<n; i++) + decode(data[i]); + } + +! decode(unsigned char dat) { + if (!Vflag) { + if (dat==0x56) + Vflag=1; +--- 495,507 ---- + struct VDdeco { + int Vflag; + +! int write(unsigned char *data, int n) { + int i; + for (i=0; i<n; i++) + decode(data[i]); + } + +! int decode(unsigned char dat) { + if (!Vflag) { + if (dat==0x56) + Vflag=1; |