home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Club Elmshorn Atari PD
/
CCE_PD.iso
/
pc
/
0600
/
CCE_0638.ZIP
/
CCE_0638
/
UPDATE
/
UPDATE30.ZOO
/
gemlib
/
diffs
Wrap
Text File
|
1993-05-21
|
6KB
|
186 lines
===================================================================
RCS file: /net/acae127/home/bammi/etc/src/master/atari/gemlib/Changelog,v
retrieving revision 1.22
diff -c -r1.22 Changelog
*** 1.22 1993/03/29 03:31:10
--- Changelog 1993/05/21 15:13:44
***************
*** 364,366 ****
--- 364,382 ----
something other than [0-100], so we should be fine. ++jrb
------------------------------- Patchlevel 28 -------------------------------
+
+ vdifsm.c:: Leif: pvt1-117@nada.kth.se
+
+ vst_error takes the address of a variable in mode==1 that lives longer
+ beyond the call. therefore we must install the address that is passed
+ to vst_error() and not use the int matching temp. this also implies
+ that the pointer must be to a 16 bit entity, therefore i changed
+ the interface to be a short *.
+
+ vdiesc1.c:vm_filename() :: Erling Henanger (erlingh@pvv.unit.no)
+ The code for finding the length of the filename string was wrong.
+ It compares two pointers to short, which yields twice as much as the
+ difference between two pointers to char...
+
+
+ ------------------------------- Patchlevel 29 -------------------------------
===================================================================
RCS file: /net/acae127/home/bammi/etc/src/master/atari/gemlib/PatchLev.h,v
retrieving revision 1.20
diff -c -r1.20 PatchLev.h
*** 1.20 1993/03/29 03:31:12
--- PatchLev.h 1993/05/21 15:13:47
***************
*** 1,4 ****
! #define PatchLevel "28"
/*
* the Patch Level above is to identify the version
--- 1,4 ----
! #define PatchLevel "29"
/*
* the Patch Level above is to identify the version
===================================================================
RCS file: /net/acae127/home/bammi/etc/src/master/atari/gemlib/makefile.16,v
retrieving revision 1.4
diff -c -r1.4 makefile.16
*** 1.4 1992/03/23 01:37:42
--- makefile.16 1993/05/21 15:13:50
***************
*** 8,14 ****
LIB = d:\gnu\lib
# common subset of options; no int size or omit-frame-pointer:
! COPTS= -O -I. -fstrength-reduce -DNDEBUG $(XFLAGS)
# Base options CC; includes int size but not omit-frame-pointer
CFFLAGS = $(COPTS) -mshort
--- 8,14 ----
LIB = d:\gnu\lib
# common subset of options; no int size or omit-frame-pointer:
! COPTS= -O2 -I. -fstrength-reduce -DNDEBUG $(XFLAGS)
# Base options CC; includes int size but not omit-frame-pointer
CFFLAGS = $(COPTS) -mshort
===================================================================
RCS file: /net/acae127/home/bammi/etc/src/master/atari/gemlib/makefile.32,v
retrieving revision 1.4
diff -c -r1.4 makefile.32
*** 1.4 1992/03/23 01:37:42
--- makefile.32 1993/05/21 15:13:51
***************
*** 8,14 ****
LIB = d:\gnu\lib
# common subset of options; no int size or omit-frame-pointer:
! COPTS= -O -I. -fstrength-reduce -DNDEBUG $(XFLAGS)
# Base options CC; includes int size but not omit-frame-pointer
CFFLAGS = $(COPTS)
--- 8,14 ----
LIB = d:\gnu\lib
# common subset of options; no int size or omit-frame-pointer:
! COPTS= -O2 -I. -fstrength-reduce -DNDEBUG $(XFLAGS)
# Base options CC; includes int size but not omit-frame-pointer
CFFLAGS = $(COPTS)
===================================================================
RCS file: /net/acae127/home/bammi/etc/src/master/atari/gemlib/vdibind.h,v
retrieving revision 1.13
diff -c -r1.13 vdibind.h
*** 1.13 1993/02/22 06:07:47
--- vdibind.h 1993/05/21 15:13:53
***************
*** 332,339 ****
* Set FSM error mode.
* mode=1: (default) errors go to screen.
* mode=0: errors reported in error variable `errorvar'.
*/
! __EXTERN void vst_error __PROTO((int handle, int mode, int *errorvar));
/*
* v_gtext with optional shadow attribute
--- 332,341 ----
* Set FSM error mode.
* mode=1: (default) errors go to screen.
* mode=0: errors reported in error variable `errorvar'.
+ * NOTICE: the pointer for errorvar is a pointer to short
+ * (in 32 bit mode it would make a difference)
*/
! __EXTERN void vst_error __PROTO((int handle, int mode, short *errorvar));
/*
* v_gtext with optional shadow attribute
===================================================================
RCS file: /net/acae127/home/bammi/etc/src/master/atari/gemlib/vdiesc1.c,v
retrieving revision 1.3
diff -c -r1.3 vdiesc1.c
*** 1.3 1993/03/29 03:31:19
--- vdiesc1.c 1993/05/21 15:13:55
***************
*** 794,804 ****
short n;
register short *ptmp = _intin;
short *wptr;
/* copy string */
! while (*ptmp++ = (unsigned char) *filename++)
;
! n = (ptmp - _intin) -1;
wptr = (short *)_contrl;
*wptr++ = 5; /* 0 - opcode */
--- 794,805 ----
short n;
register short *ptmp = _intin;
short *wptr;
+ char *s=filename;
/* copy string */
! while (*ptmp++ = (unsigned char) *s++)
;
! n = (s - filename) -1;
wptr = (short *)_contrl;
*wptr++ = 5; /* 0 - opcode */
===================================================================
RCS file: /net/acae127/home/bammi/etc/src/master/atari/gemlib/vdifsm.c,v
retrieving revision 1.6
diff -c -r1.6 vdifsm.c
*** 1.6 1993/02/22 06:07:49
--- vdifsm.c 1993/05/21 15:13:56
***************
*** 183,196 ****
* mode=1: (default) errors go to screen.
* mode=0: errors reported in error variable `errorvar'.
*/
! void vst_error(int handle, int mode, int *errorvar)
{
- short errv;
_intin[0] = mode;
! *(short **)&_intin[1] = &errv;
__vdi__(VDI_CONTRL_ENCODE(245, 0, 3, 0), handle);
- *errorvar = errv;
}
#endif /* L_vst_erro */
--- 183,194 ----
* mode=1: (default) errors go to screen.
* mode=0: errors reported in error variable `errorvar'.
*/
! void vst_error(int handle, int mode, short *errorvar)
{
_intin[0] = mode;
! *(short **)&_intin[1] = &errorvar;
__vdi__(VDI_CONTRL_ENCODE(245, 0, 3, 0), handle);
}
#endif /* L_vst_erro */