1 diff -urN ucspi-tcp-0.88/Makefile ucspi-tcp-0.88.new/Makefile
2 --- ucspi-tcp-0.88/Makefile 2000-03-18 17:18:42.000000000 +0200
3 +++ ucspi-tcp-0.88.new/Makefile 2007-09-30 16:32:55.000000000 +0300
5 compile auto-str.c buffer.h readwrite.h exit.h
10 - ./auto-str auto_home `head -1 conf-home` > auto_home.c
16 compile fmt_ulong.c fmt.h
20 -choose compile load tryvfork.c fork.h1 fork.h2
21 - ./choose cl tryvfork fork.h1 fork.h2 > fork.h
24 compile getln.c byte.h getln.h buffer.h stralloc.h gen_alloc.h
27 compile getln2.c byte.h getln.h buffer.h stralloc.h gen_alloc.h
31 -choose compile load trysgact.c hassgact.h1 hassgact.h2
32 - ./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h
35 -choose compile load trysgprm.c hassgprm.h1 hassgprm.h2
36 - ./choose cl trysgprm hassgprm.h1 hassgprm.h2 > hassgprm.h
39 -choose compile load tryshsgr.c hasshsgr.h1 hasshsgr.h2 chkshsgr \
41 - ./chkshsgr || ( cat warn-shsgr; exit 1 )
42 - ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h
45 -choose compile load trywaitp.c haswaitp.h1 haswaitp.h2
46 - ./choose cl trywaitp haswaitp.h1 haswaitp.h2 > haswaitp.h
49 compile hier.c auto_home.h
52 compile instcheck.c strerr.h error.h readwrite.h exit.h
56 -choose compile trypoll.c iopause.h1 iopause.h2
57 - ./choose clr trypoll iopause.h1 iopause.h2 > iopause.h
60 compile iopause.c taia.h tai.h uint64.h select.h iopause.h taia.h
63 compile seek_set.c seek.h
67 -choose compile trysysel.c select.h1 select.h2
68 - ./choose c trysysel select.h1 select.h2 > select.h
74 compile uint32_unpack.c uint32.h
75 ./compile uint32_unpack.c
78 -choose compile load tryulong64.c uint64.h1 uint64.h2
79 - ./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h
82 makelib alloc.o alloc_re.o buffer.o buffer_0.o buffer_1.o buffer_2.o \
83 buffer_copy.o buffer_get.o buffer_put.o env.o error.o error_str.o \
84 diff -urN ucspi-tcp-0.88/auto_home.c ucspi-tcp-0.88.new/auto_home.c
85 --- ucspi-tcp-0.88/auto_home.c 1970-01-01 03:00:00.000000000 +0300
86 +++ ucspi-tcp-0.88.new/auto_home.c 2007-09-30 16:33:13.000000000 +0300
88 +const char auto_home[] = "\
91 diff -urN ucspi-tcp-0.88/conf-cc ucspi-tcp-0.88.new/conf-cc
92 --- ucspi-tcp-0.88/conf-cc 2007-09-30 14:17:05.000000000 +0300
93 +++ ucspi-tcp-0.88.new/conf-cc 2007-09-30 15:13:43.000000000 +0300
96 +$TARGET_CC $TARGET_CFLAGS -include errno.h
98 This will be used to compile .c files.
99 diff -urN ucspi-tcp-0.88/conf-home ucspi-tcp-0.88.new/conf-home
100 --- ucspi-tcp-0.88/conf-home 2000-03-18 17:18:42.000000000 +0200
101 +++ ucspi-tcp-0.88.new/conf-home 2007-09-30 14:12:46.000000000 +0300
106 This is the ucspi-tcp home directory. Programs will be installed in
108 diff -urN ucspi-tcp-0.88/conf-ld ucspi-tcp-0.88.new/conf-ld
109 --- ucspi-tcp-0.88/conf-ld 2000-03-18 17:18:42.000000000 +0200
110 +++ ucspi-tcp-0.88.new/conf-ld 2007-09-30 15:13:53.000000000 +0300
113 +$TARGET_CC -s $TARGET_LDFLAGS
115 This will be used to link .o files into an executable.
116 diff -urN ucspi-tcp-0.88/fork.h ucspi-tcp-0.88.new/fork.h
117 --- ucspi-tcp-0.88/fork.h 1970-01-01 03:00:00.000000000 +0300
118 +++ ucspi-tcp-0.88.new/fork.h 2007-09-30 14:09:38.000000000 +0300
123 +/* sysdep: +vfork */
129 diff -urN ucspi-tcp-0.88/hassgact.h ucspi-tcp-0.88.new/hassgact.h
130 --- ucspi-tcp-0.88/hassgact.h 1970-01-01 03:00:00.000000000 +0300
131 +++ ucspi-tcp-0.88.new/hassgact.h 2007-09-30 14:09:38.000000000 +0300
133 +/* sysdep: +sigaction */
134 +#define HASSIGACTION 1
135 diff -urN ucspi-tcp-0.88/hassgprm.h ucspi-tcp-0.88.new/hassgprm.h
136 --- ucspi-tcp-0.88/hassgprm.h 1970-01-01 03:00:00.000000000 +0300
137 +++ ucspi-tcp-0.88.new/hassgprm.h 2007-09-30 14:09:38.000000000 +0300
139 +/* sysdep: +sigprocmask */
140 +#define HASSIGPROCMASK 1
141 diff -urN ucspi-tcp-0.88/hasshsgr.h ucspi-tcp-0.88.new/hasshsgr.h
142 --- ucspi-tcp-0.88/hasshsgr.h 1970-01-01 03:00:00.000000000 +0300
143 +++ ucspi-tcp-0.88.new/hasshsgr.h 2007-09-30 14:09:38.000000000 +0300
145 +/* sysdep: -shortsetgroups */
146 diff -urN ucspi-tcp-0.88/haswaitp.h ucspi-tcp-0.88.new/haswaitp.h
147 --- ucspi-tcp-0.88/haswaitp.h 1970-01-01 03:00:00.000000000 +0300
148 +++ ucspi-tcp-0.88.new/haswaitp.h 2007-09-30 14:09:38.000000000 +0300
150 +/* sysdep: +waitpid */
151 +#define HASWAITPID 1
152 diff -urN ucspi-tcp-0.88/iopause.h ucspi-tcp-0.88.new/iopause.h
153 --- ucspi-tcp-0.88/iopause.h 1970-01-01 03:00:00.000000000 +0300
154 +++ ucspi-tcp-0.88.new/iopause.h 2007-09-30 14:09:38.000000000 +0300
160 +#define IOPAUSE_POLL
162 +#include <sys/types.h>
165 +typedef struct pollfd iopause_fd;
166 +#define IOPAUSE_READ POLLIN
167 +#define IOPAUSE_WRITE POLLOUT
171 +extern void iopause(iopause_fd *,unsigned int,struct taia *,struct taia *);
174 diff -urN ucspi-tcp-0.88/select.h ucspi-tcp-0.88.new/select.h
175 --- ucspi-tcp-0.88/select.h 1970-01-01 03:00:00.000000000 +0300
176 +++ ucspi-tcp-0.88.new/select.h 2007-09-30 14:09:38.000000000 +0300
181 +/* sysdep: +sysselect */
183 +#include <sys/types.h>
184 +#include <sys/time.h>
185 +#include <sys/select.h>
186 +extern int select();
189 diff -urN ucspi-tcp-0.88/uint64.h ucspi-tcp-0.88.new/uint64.h
190 --- ucspi-tcp-0.88/uint64.h 1970-01-01 03:00:00.000000000 +0300
191 +++ ucspi-tcp-0.88.new/uint64.h 2007-09-30 14:16:22.000000000 +0300
196 +/* sysdep: -ulong64 */
198 +typedef unsigned long long uint64;