1 diff -r -c --exclude=*.[oa] --exclude=*.bak --exclude=Makefile* zdist102b1-1/libz3950/z3950.h zdist102b1-1f/libz3950/z3950.h
2 *** zdist102b1-1/libz3950/z3950.h Fri Oct 28 18:42:20 1994
3 --- zdist102b1-1f/libz3950/z3950.h Thu Feb 16 17:33:39 1995
7 #define MEMCOPY(a,b,c) memcpy(a,b,c)
8 #define NEWSTRUCT(a) (a far *)imem_calloc(1,sizeof(a))
9 ! #define NEWSTRING(a) (PCHR)imem_calloc(1,a)
10 #define NEWUSTRING(a) (PUCHR)imem_calloc(1,a)
11 #define FREE(a) imem_free(a)
12 #define Z3950_VERSION_2 "11000000"
15 #define MEMCOPY(a,b,c) memcpy(a,b,c)
16 #define NEWSTRUCT(a) (a far *)imem_calloc(1,sizeof(a))
17 ! #define NEWSTRING(a) (PCHR)imem_calloc(1,(a) + 1)
18 #define NEWUSTRING(a) (PUCHR)imem_calloc(1,a)
19 #define FREE(a) imem_free(a)
20 #define Z3950_VERSION_2 "11000000"
21 diff -r -c --exclude=*.[oa] --exclude=*.bak --exclude=Makefile* zdist102b1-1/libz3950/z3950sup.c zdist102b1-1f/libz3950/z3950sup.c
22 *** zdist102b1-1/libz3950/z3950sup.c Sun Dec 4 14:28:04 1994
23 --- zdist102b1-1f/libz3950/z3950sup.c Thu Jul 6 14:02:12 1995
29 /* Hang it under the Operator node */
31 Operator_SetType(Operator, OP);
33 RpnRpnOp_SetOp(rro, Operator);
39 ! if((a=dmake(AND_TAG, ASN1_CONTEXT, 1))==NULL) {
40 /* Enter any error logging here */
47 ! if((a=dmake(AND_TAG, ASN1_CONTEXT, 2))==NULL) {
48 /* Enter any error logging here */
56 ! if((a=dmake(OR_TAG, ASN1_CONTEXT, 1))==NULL) {
57 /* Enter any error logging here */
64 ! if((a=dmake(OR_TAG, ASN1_CONTEXT, 2))==NULL) {
65 /* Enter any error logging here */
73 ! if((a=dmake(ANDNOT_TAG, ASN1_CONTEXT, 1))==NULL) {
74 /* Enter any error logging here */
81 ! if((a=dmake(ANDNOT_TAG, ASN1_CONTEXT, 2))==NULL) {
82 /* Enter any error logging here */
85 diff -r -c --exclude=*.[oa] --exclude=*.bak --exclude=Makefile* zdist102b1-1/libz3950/zstats.c zdist102b1-1f/libz3950/zstats.c
86 *** zdist102b1-1/libz3950/zstats.c Fri Oct 28 18:42:22 1994
87 --- zdist102b1-1f/libz3950/zstats.c Tue Dec 20 16:17:45 1994
95 if(lockf(fd, F_LOCK, 0)!=0) {
96 perror("zstats_WriteLog:locking");
102 fwrite(s->Host, sizeof(s->Host), 1, ffp);
103 fwrite(&s->Time, sizeof(time_t), 1, ffp);
107 fwrite(&s->ExtendedServicesResponseCount, sizeof(INT4), 1, ffp);
108 fwrite(&s->CloseRequestCount, sizeof(INT4), 1, ffp);
111 if(lockf(fd, F_ULOCK, 0)!=0) {
112 perror("zstats_WriteLog:unlocking");