Rationalize arguments to syscalls, make unimplemented syscalls report on stderr befor...
authorNick Downing <downing.nick@gmail.com>
Fri, 20 Jan 2017 03:20:32 +0000 (14:20 +1100)
committerNick Downing <downing.nick@gmail.com>
Fri, 20 Jan 2017 03:20:32 +0000 (14:20 +1100)
147 files changed:
cross/include/sys/x_file.h
cross/include/sys/x_proc.h
cross/include/sys/x_quota.h
cross/include/sys/x_socket.h
cross/include/sys/x_wait.h
lib/libx_c/gen/_setjmp.c
lib/libx_c/gen/abs.c
lib/libx_c/gen/atof.c
lib/libx_c/gen/ldexp.c
lib/libx_c/gen/modf.c
lib/libx_c/gen/setjmp.c
lib/libx_c/linux/csu/crt0.c
lib/libx_c/linux/sys/Makefile
lib/libx_c/linux/sys/_exit.c [new file with mode: 0644]
lib/libx_c/linux/sys/close.c [new file with mode: 0644]
lib/libx_c/linux/sys/lseek.c [new file with mode: 0644]
lib/libx_c/linux/sys/read.c [new file with mode: 0644]
lib/libx_c/linux/sys/vopen.c [new file with mode: 0644]
lib/libx_c/llib-lc
lib/libx_c/llib-lc.patch
lib/libx_c/llib-lc.temp [deleted file]
lib/libx_c/n.sh
lib/libx_c/net/htonl.c
lib/libx_c/net/htons.c
lib/libx_c/net/ntohl.c
lib/libx_c/net/ntohs.c
lib/libx_c/post.patch
lib/libx_c/pre.patch
lib/libx_c/s.sh
lib/libx_c/sys/_exit.c
lib/libx_c/sys/accept.c
lib/libx_c/sys/access.c
lib/libx_c/sys/acct.c
lib/libx_c/sys/adjtime.c
lib/libx_c/sys/bind.c
lib/libx_c/sys/brk.c
lib/libx_c/sys/chdir.c
lib/libx_c/sys/chmod.c
lib/libx_c/sys/chown.c
lib/libx_c/sys/chroot.c
lib/libx_c/sys/close.c
lib/libx_c/sys/connect.c
lib/libx_c/sys/creat.c
lib/libx_c/sys/dup.c
lib/libx_c/sys/dup2.c
lib/libx_c/sys/execl.c
lib/libx_c/sys/execle.c
lib/libx_c/sys/exect.c
lib/libx_c/sys/execv.c
lib/libx_c/sys/execve.c
lib/libx_c/sys/fchmod.c
lib/libx_c/sys/fchown.c
lib/libx_c/sys/fcntl.c
lib/libx_c/sys/file.h
lib/libx_c/sys/flock.c
lib/libx_c/sys/fork.c
lib/libx_c/sys/fstat.c
lib/libx_c/sys/fsync.c
lib/libx_c/sys/ftruncate.c
lib/libx_c/sys/getdtablesize.c
lib/libx_c/sys/getegid.c
lib/libx_c/sys/geteuid.c
lib/libx_c/sys/getgid.c
lib/libx_c/sys/getgroups.c
lib/libx_c/sys/gethostid.c
lib/libx_c/sys/gethostname.c
lib/libx_c/sys/getitimer.c
lib/libx_c/sys/getpagesize.c
lib/libx_c/sys/getpeername.c
lib/libx_c/sys/getpgrp.c
lib/libx_c/sys/getpid.c
lib/libx_c/sys/getppid.c
lib/libx_c/sys/getpriority.c
lib/libx_c/sys/getrlimit.c
lib/libx_c/sys/getrusage.c
lib/libx_c/sys/getsockname.c
lib/libx_c/sys/getsockopt.c
lib/libx_c/sys/gettimeofday.c
lib/libx_c/sys/getuid.c
lib/libx_c/sys/ioctl.c
lib/libx_c/sys/kill.c
lib/libx_c/sys/killpg.c
lib/libx_c/sys/link.c
lib/libx_c/sys/listen.c
lib/libx_c/sys/lseek.c
lib/libx_c/sys/lstat.c
lib/libx_c/sys/mkdir.c
lib/libx_c/sys/mknod.c
lib/libx_c/sys/mount.c
lib/libx_c/sys/open.c
lib/libx_c/sys/pipe.c
lib/libx_c/sys/profil.c
lib/libx_c/sys/ptrace.c
lib/libx_c/sys/quota.c
lib/libx_c/sys/quota.h
lib/libx_c/sys/read.c
lib/libx_c/sys/readlink.c
lib/libx_c/sys/readv.c
lib/libx_c/sys/reboot.c
lib/libx_c/sys/recv.c
lib/libx_c/sys/recvfrom.c
lib/libx_c/sys/recvmsg.c
lib/libx_c/sys/rename.c
lib/libx_c/sys/rmdir.c
lib/libx_c/sys/sbrk.c
lib/libx_c/sys/select.c
lib/libx_c/sys/send.c
lib/libx_c/sys/sendmsg.c
lib/libx_c/sys/sendto.c
lib/libx_c/sys/setgroups.c
lib/libx_c/sys/sethostid.c
lib/libx_c/sys/sethostname.c
lib/libx_c/sys/setitimer.c
lib/libx_c/sys/setpgrp.c
lib/libx_c/sys/setpriority.c
lib/libx_c/sys/setquota.c
lib/libx_c/sys/setregid.c
lib/libx_c/sys/setreuid.c
lib/libx_c/sys/setrlimit.c
lib/libx_c/sys/setsockopt.c
lib/libx_c/sys/settimeofday.c
lib/libx_c/sys/shutdown.c
lib/libx_c/sys/sigblock.c
lib/libx_c/sys/sigpause.c
lib/libx_c/sys/sigreturn.c
lib/libx_c/sys/sigsetmask.c
lib/libx_c/sys/sigstack.c
lib/libx_c/sys/sigvec.c
lib/libx_c/sys/socket.c
lib/libx_c/sys/socket.h
lib/libx_c/sys/socketpair.c
lib/libx_c/sys/stat.c
lib/libx_c/sys/swapon.c
lib/libx_c/sys/symlink.c
lib/libx_c/sys/sync.c
lib/libx_c/sys/truncate.c
lib/libx_c/sys/umask.c
lib/libx_c/sys/umount.c
lib/libx_c/sys/unlink.c
lib/libx_c/sys/utimes.c
lib/libx_c/sys/vhangup.c
lib/libx_c/sys/vopen.c
lib/libx_c/sys/wait.c
lib/libx_c/sys/wait.h
lib/libx_c/sys/wait3.c
lib/libx_c/sys/write.c
lib/libx_c/sys/writev.c

index b6d1a5c..ab78fdc 100644 (file)
@@ -6,9 +6,6 @@
 #include <sys/x_errno.h>
 #include <sys/x_param.h>
 #include <sys/x_types.h>
-#ifdef __STDC__
-#include <stdarg.h>
-#endif
 
 /*
  * Copyright (c) 1982, 1986 Regents of the University of California.
@@ -222,9 +219,6 @@ x_int x_umask __P((x_int x_n));
 /* sys/unlink.c */
 x_int x_unlink __P((char *x_s));
 
-/* sys/vopen.c */
-x_int x_vopen __P((char *x_f, x_int x_m, va_list x_argp));
-
 /* sys/write.c */
 x_int x_write __P((x_int x_f, void *x_b, x_int x_l));
 #endif
index dd24d8a..d30f755 100644 (file)
@@ -159,7 +159,7 @@ x_int x_setruid __P((x_int x_ruid));
 x_int x_setuid __P((x_int x_uid));
 
 /* sys/brk.c */
-char *x_brk __P((char *x_a));
+void *x_brk __P((void *x_a));
 
 /* sys/chdir.c */
 x_int x_chdir __P((char *x_s));
@@ -198,7 +198,7 @@ x_int x_getppid __P((void));
 x_uid_t x_getuid __P((void));
 
 /* sys/sbrk.c */
-char *x_sbrk __P((x_int x_i));
+void *x_sbrk __P((x_int x_i));
 
 /* sys/setgroups.c */
 x_int x_setgroups __P((x_int x_n, x_int *x_g));
index 6c84142..570d58e 100644 (file)
@@ -161,7 +161,7 @@ struct      x_dqwarn {
 #endif
 
 /* sys/quota.c */
-x_int x_quota __P((x_int x_c, x_int x_u, x_int x_a, char *x_ad));
+x_int x_quota __P((x_int x_c, x_int x_u, x_int x_a, void *x_ad));
 
 /* sys/setquota.c */
 x_int x_setquota __P((char *x_s, char *x_f));
index baac7c4..1d23e5a 100644 (file)
@@ -173,10 +173,10 @@ x_int x_connect __P((x_int x_s, struct x_sockaddr *x_n, x_int x_l));
 x_int x_getpeername __P((x_int x_s, struct x_sockaddr *x_n, x_int *x_l));
 
 /* sys/getsockname.c */
-x_int x_getsockname __P((x_int x_s, char *x_name, x_int *x_namelen));
+x_int x_getsockname __P((x_int x_s, struct x_sockaddr *x_name, x_int *x_namelen));
 
 /* sys/getsockopt.c */
-x_int x_getsockopt __P((x_int x_s, x_int x_level, x_int x_opt, char *x_buf, x_int *x_len));
+x_int x_getsockopt __P((x_int x_s, x_int x_level, x_int x_opt, void *x_buf, x_int *x_len));
 
 /* sys/listen.c */
 x_int x_listen __P((x_int x_s, x_int x_b));
@@ -200,7 +200,7 @@ x_int x_sendmsg __P((x_int x_s, struct x_msghdr x_m[], x_int x_l));
 x_int x_sendto __P((x_int x_s, void *x_m, x_int x_l, x_int x_f, struct x_sockaddr *x_t, x_int x_tl));
 
 /* sys/setsockopt.c */
-x_int x_setsockopt __P((x_int x_s, x_int x_level, x_int x_opt, char *x_buf, x_int x_len));
+x_int x_setsockopt __P((x_int x_s, x_int x_level, x_int x_opt, void *x_buf, x_int x_len));
 
 /* sys/socket.c */
 x_int x_socket __P((x_int x_a, x_int x_t, x_int x_p));
index 2817d5a..0854c82 100644 (file)
@@ -81,7 +81,7 @@ union x_wait  {
 #endif
 
 /* sys/wait3.c */
-x_int x_wait3 __P((union x_wait *x_s, x_int x_o, struct x_rusage *x_r));
+x_int x_wait3 __P((x_int *x_s, x_int x_o, struct x_rusage *x_r));
 
 /* sys/wait.c */
 x_int x_wait __P((x_int *x_s));
index f2ee7fe..f11f521 100644 (file)
@@ -1,10 +1,13 @@
 #include <gen.h>
 #include <setjmp.h>
+#include <sys/file.h>
 
 /*#include <setjmp.h>*/
 int _setjmp(e) jmp_buf e; {
-  abort();
+       write(2, "_setjmp()\n", 10);
+       abort();
 }
 void _longjmp(e, v) jmp_buf e; int v; {
-  abort();
+       write(2, "_longjmp()\n", 11);
+       abort();
 }
index 8cb6610..5a7d93a 100644 (file)
@@ -1,5 +1,7 @@
 #include <gen.h>
+#include <sys/file.h>
 
 int abs(i) int i; {
-  abort();
+       write(2, "abs()\n", 6);
+       abort();
 }
index 2cf16ac..d3e5020 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <math.h>
+#include <sys/file.h>
 
 double atof(s) char *s; {
-  abort();
+       write(2, "atof()\n", 7);
+       abort();
 }
index 38edbd4..9cb2836 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <math.h>
+#include <sys/file.h>
 
 double ldexp(v, e) double v; int e; {
-  abort();
+       write(2, "ldexp()\n", 8);
+       abort();
 }
index c917140..102bd00 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <math.h>
+#include <sys/file.h>
 
 double modf(v, p) double v; double *p; {
-  abort();
+       write(2, "modf()\n", 7);
+       abort();
 }
index 4514ba1..0accb72 100644 (file)
@@ -1,10 +1,13 @@
 #include <gen.h>
 #include <setjmp.h>
+#include <sys/file.h>
 
 /*#include <setjmp.h>*/
 int setjmp(e) jmp_buf e; {
-  abort();
+       write(2, "setjmp()\n", 9);
+       abort();
 }
 void longjmp(e, v) jmp_buf e; int v; {
-  abort();
+       write(2, "longjmp()\n", 10);
+       abort();
 }
index 9bcbeda..5640b92 100644 (file)
@@ -1,3 +1,5 @@
+#include <stdio.h>
+
 extern char **nox_environ;
 char **environ;
 
@@ -13,5 +15,5 @@ int main __P((int argc, char **argv));
 
 nox_int nox_main(argc, argv) nox_int argc; char **argv; {
        environ = nox_environ;
-       return main(argc, argv);
+       exit(main(argc, argv));
 }
index 6362122..875d939 100644 (file)
@@ -8,8 +8,10 @@ CC=gcc -g -I${ROOT}/cross/include -Dx_vax -Wall -Wno-char-subscripts -Wno-deprec
 #      @(#)Makefile    5.4 (Berkeley) 9/5/85
 #
 
-SRCS=  fstat.c getpagesize.c isatty.c sbrk.c write.c
-OBJS=  fstat.o getpagesize.o isatty.o sbrk.o write.o
+SRCS=  close.c fstat.c getpagesize.c isatty.c lseek.c read.c sbrk.c vopen.c \
+       write.c _exit.c
+OBJS=  close.o fstat.o getpagesize.o isatty.o lseek.o read.o sbrk.o vopen.o \
+       write.o _exit.o
 TAGSFILE=tags
 
 .c.o:
diff --git a/lib/libx_c/linux/sys/_exit.c b/lib/libx_c/linux/sys/_exit.c
new file mode 100644 (file)
index 0000000..6738361
--- /dev/null
@@ -0,0 +1,7 @@
+#include <nox_unistd.h>
+
+#include <sys/proc.h>
+
+void _exit(s) int s; {
+       nox__exit(s);
+}
diff --git a/lib/libx_c/linux/sys/close.c b/lib/libx_c/linux/sys/close.c
new file mode 100644 (file)
index 0000000..081b87e
--- /dev/null
@@ -0,0 +1,13 @@
+#include <nox_unistd.h>
+
+#include <sys/errno.h>
+#include <sys/file.h>
+
+int close(f) int f; {
+       int res;
+
+       res = nox_close(f);
+       if (res == -1)
+               errno = EBADF;
+       return res;
+}
diff --git a/lib/libx_c/linux/sys/lseek.c b/lib/libx_c/linux/sys/lseek.c
new file mode 100644 (file)
index 0000000..e7fbbe3
--- /dev/null
@@ -0,0 +1,15 @@
+#include <nox_unistd.h>
+#include <sys/nox_types.h>
+
+#include <sys/errno.h>
+#include <sys/file.h>
+#include <sys/types.h>
+
+off_t lseek(f, o, d) int f; off_t o; int d; {
+       off_t res;
+
+       res = (off_t)nox_lseek(f, (nox_off_t)o, d);
+       if (res == (off_t)-1)
+               errno = EINVAL;
+       return res;
+}
diff --git a/lib/libx_c/linux/sys/read.c b/lib/libx_c/linux/sys/read.c
new file mode 100644 (file)
index 0000000..a73b7e9
--- /dev/null
@@ -0,0 +1,15 @@
+#include <nox_unistd.h>
+
+#include <sys/errno.h>
+#include <sys/file.h>
+
+int read(f, b, l) int f; void *b; int l; {
+       nox_size_t res;
+       
+       res = nox_read(f, b, l);
+       if (res == (nox_size_t)-1) {
+               errno = EIO;
+               return -1;
+       }
+       return (int)res;
+}
diff --git a/lib/libx_c/linux/sys/vopen.c b/lib/libx_c/linux/sys/vopen.c
new file mode 100644 (file)
index 0000000..b030acd
--- /dev/null
@@ -0,0 +1,20 @@
+#include <nox_fcntl.h>
+
+#include <sys/errno.h>
+#include <sys/file.h>
+#ifdef __STDC__
+#include <stdarg.h>
+#define _va_start(argp, arg) va_start(argp, arg)
+#else
+#include <varargs.h>
+#define _va_start(argp, arg) va_start(argp)
+#endif
+
+int vopen(f, m, argp) char *f; va_list argp; {
+       int res;
+
+       res = nox_open(f, m, m & O_CREAT ? va_arg(argp, int) : 0);
+       if (res == -1)
+               errno = ENOENT;
+       return res;
+}
index e176096..d8e3b2c 100644 (file)
@@ -42,7 +42,7 @@ int   access( p, m) char *p; { return 0; }
 int    acct(f) char *f; { return 0;}
 int    adjtime(delta, odelta) struct timeval *delta, *odelta; { return 0; }
 int    bind(s, n, l) struct sockaddr *n; { return 0; }
-char   *brk(a) char *a; { return(a); }
+void   *brk(a) void *a; { return(a); }
 int    chdir(s) char *s; { return(0); }
 int    chmod(s, m) char *s; { return(0); }
 int    chown(s, u, g) char *s; { return(0); }
@@ -77,11 +77,11 @@ int getppid() { return(1); }
 int    getpriority( w, who) { return 1;}
 int    getrlimit( res, rip) struct rlimit *rip; { return 0;}
 int    getrusage( res, rip) struct rusage *rip; { return 0;}
-int    getsockname(s, name, namelen) char *name; int *namelen; { return(0); }
-int    getsockopt( s, level, opt, buf, len ) char *buf; int *len; { return 0;}
+int    getsockname(s, name, namelen) struct sockaddr *name; int *namelen; { return(0); }
+int    getsockopt( s, level, opt, buf, len ) void *buf; int *len; { return 0;}
 int    gettimeofday( t, z ) struct timeval *t; struct timezone *z; { return 0;}
 uid_t  getuid() { return((uid_t)1); }
-int    ioctl( d, r, p) u_long r; char *p; { return 0;}
+int    ioctl( d, r, p) u_long r; void *p; { return 0;}
 int    kill(p, s) { return(0); }
 int    killpg( pg, s) { return 0;}
 int    link(a, b) char *a, *b; { return(0); }
@@ -102,24 +102,24 @@ int       mremap( a, l, p, s, f) char * a, f; { return 0;}
 int    munmap( a, l) char * a; { return 0;}
 #endif
        /* VARARGS2 */
-int    open(f, m, stuff) char *f; { return(0); }
+int    open(f, m, va_alist) char *f; va_dcl { return(0); }
 int    pipe(f) int f[2]; { return(0); }
        profil(b, s, o, i) char *b; {;}
 int    ptrace(r, p, a, d) int *a; { return(0); }
-int    quota(c, u, a, ad) char *ad; { return(0); }
-int    read(f, b, l) char *b; { return(l); }
+int    quota(c, u, a, ad) void *ad; { return(0); }
+int    read(f, b, l) void *b; { return(l); }
 int    readv( d, v, l) struct iovec *v; { return l; }
 int    readlink( p, b, s ) char *p, *b; { return 1; }
        reboot( h ) {;}
-int    recv( s, b, l, f ) char *b; { return l ; }
-int    recvfrom( s, b, l, f, fr, fl ) char *b; struct sockaddr *fr; int *fl; { return l; }
+int    recv( s, b, l, f ) void *b; { return l ; }
+int    recvfrom( s, b, l, f, fr, fl ) void *b; struct sockaddr *fr; int *fl; { return l; }
 int    recvmsg( s, m, f ) struct msghdr m[]; { return 1; }
 int    rename( f, t ) char *f, *t; { return 0;}
 int    rmdir( p ) char *p; { return 0;}
-char   *sbrk(i) { return((char *)0); }
+void   *sbrk(i) { return((void *)0); }
 int    select( n, r, w, e, t ) fd_set *r, *w, *e; struct timeval *t; { return n; }
-int    send( s, m, l, f )  char *m; { return l; }
-int    sendto( s, m, l, f, t, tl ) char *m; struct sockaddr *t; { return l; }
+int    send( s, m, l, f )  void *m; { return l; }
+int    sendto( s, m, l, f, t, tl ) void *m; struct sockaddr *t; { return l; }
 int    sendmsg( s, m, l) struct msghdr m[]; { return l; }
 int    setgroups( n, g) int *g; { return 0; }
 int    sethostid( h ) long h; { return 0;}
@@ -132,7 +132,7 @@ int setregid( r, e) int r, e; { return 0; }
 int    setreuid( r, e) int r, e; { return 0; }
 int    setrlimit( res, rip) struct rlimit *rip; { return 0;}
        /* VARARGS */
-int    setsockopt( s, level, opt, buf, len ) char *buf; { return 0;}
+int    setsockopt( s, level, opt, buf, len ) void *buf; { return 0;}
 int    settimeofday( t, z ) struct timeval *t; struct timezone *z; { return 0;}
 int    shutdown( s, h ){ return 0;}
 int    (*signal(c, f))() int (*f)(); { return(f); }
@@ -159,9 +159,9 @@ int unlink(s) char *s; { return(0); }
 int    utimes( f, t ) char *f; struct timeval t[2]; { return 0 ;}
 int    vfork() { return(0); }
        vhangup() { ; }
-int    wait(s) union wait *s; { return(1); }
-int    wait3( s, o, r) union wait *s; struct rusage *r; { return 1;}
-int    write(f, b, l) char *b; { return(l); }
+int    wait(s) int *s; { return(1); }
+int    wait3( s, o, r) int *s; struct rusage *r; { return 1;}
+int    write(f, b, l) void *b; { return(l); }
 int    writev( f, v, l) struct iovec *v; { return l; }
 
 
index aac05bc..6ef84c8 100644 (file)
@@ -1,18 +1,86 @@
-diff --git a/usr.bin/lint/llib-lc b/usr.bin/lint/llib-lc
-index d040b51..e176096 100644
---- a/usr.bin/lint/llib-lc
-+++ b/usr.bin/lint/llib-lc
-@@ -112,8 +112,7 @@ int        readv( d, v, l) struct iovec *v; { return l; }
+--- ../../usr.bin/lint/llib-lc 2017-01-17 01:42:54.064222260 +1100
++++ llib-lc    2017-01-20 14:05:22.847303283 +1100
+@@ -42,7 +42,7 @@
+ int   acct(f) char *f; { return 0;}
+ int   adjtime(delta, odelta) struct timeval *delta, *odelta; { return 0; }
+ int   bind(s, n, l) struct sockaddr *n; { return 0; }
+-char  *brk(a) char *a; { return(a); }
++void  *brk(a) void *a; { return(a); }
+ int   chdir(s) char *s; { return(0); }
+ int   chmod(s, m) char *s; { return(0); }
+ int   chown(s, u, g) char *s; { return(0); }
+@@ -77,11 +77,11 @@
+ int   getpriority( w, who) { return 1;}
+ int   getrlimit( res, rip) struct rlimit *rip; { return 0;}
+ int   getrusage( res, rip) struct rusage *rip; { return 0;}
+-int   getsockname(s, name, namelen) char *name; int *namelen; { return(0); }
+-int   getsockopt( s, level, opt, buf, len ) char *buf; int *len; { return 0;}
++int   getsockname(s, name, namelen) struct sockaddr *name; int *namelen; { return(0); }
++int   getsockopt( s, level, opt, buf, len ) void *buf; int *len; { return 0;}
+ int   gettimeofday( t, z ) struct timeval *t; struct timezone *z; { return 0;}
+ uid_t getuid() { return((uid_t)1); }
+-int   ioctl( d, r, p) u_long r; char *p; { return 0;}
++int   ioctl( d, r, p) u_long r; void *p; { return 0;}
+ int   kill(p, s) { return(0); }
+ int   killpg( pg, s) { return 0;}
+ int   link(a, b) char *a, *b; { return(0); }
+@@ -102,25 +102,24 @@
+ int   munmap( a, l) char * a; { return 0;}
+ #endif
+       /* VARARGS2 */
+-int   open(f, m, stuff) char *f; { return(0); }
++int   open(f, m, va_alist) char *f; va_dcl { return(0); }
+ int   pipe(f) int f[2]; { return(0); }
+       profil(b, s, o, i) char *b; {;}
+ int   ptrace(r, p, a, d) int *a; { return(0); }
+-int   quota(c, u, a, ad) char *ad; { return(0); }
+-int   read(f, b, l) char *b; { return(l); }
++int   quota(c, u, a, ad) void *ad; { return(0); }
++int   read(f, b, l) void *b; { return(l); }
+ int   readv( d, v, l) struct iovec *v; { return l; }
  int   readlink( p, b, s ) char *p, *b; { return 1; }
        reboot( h ) {;}
- int   recv( s, b, l, f ) char *b; { return l ; }
+-int   recv( s, b, l, f ) char *b; { return l ; }
 -int   recvfrom( s, b, l, f, fr, fl ) char *b; struct sockaddr *fr; int *fl;
 -              { return l; }
-+int   recvfrom( s, b, l, f, fr, fl ) char *b; struct sockaddr *fr; int *fl; { return l; }
++int   recv( s, b, l, f ) void *b; { return l ; }
++int   recvfrom( s, b, l, f, fr, fl ) void *b; struct sockaddr *fr; int *fl; { return l; }
  int   recvmsg( s, m, f ) struct msghdr m[]; { return 1; }
  int   rename( f, t ) char *f, *t; { return 0;}
  int   rmdir( p ) char *p; { return 0;}
-@@ -326,8 +325,7 @@ int        rexec(a, rp, n, p, c, f) char **a, *n, *p, *c; u_short rp; int *f; { return
+-char  *sbrk(i) { return((char *)0); }
++void  *sbrk(i) { return((void *)0); }
+ int   select( n, r, w, e, t ) fd_set *r, *w, *e; struct timeval *t; { return n; }
+-int   send( s, m, l, f )  char *m; { return l; }
+-int   sendto( s, m, l, f, t, tl ) char *m; struct sockaddr *t; { return l; }
++int   send( s, m, l, f )  void *m; { return l; }
++int   sendto( s, m, l, f, t, tl ) void *m; struct sockaddr *t; { return l; }
+ int   sendmsg( s, m, l) struct msghdr m[]; { return l; }
+ int   setgroups( n, g) int *g; { return 0; }
+ int   sethostid( h ) long h; { return 0;}
+@@ -133,7 +132,7 @@
+ int   setreuid( r, e) int r, e; { return 0; }
+ int   setrlimit( res, rip) struct rlimit *rip; { return 0;}
+       /* VARARGS */
+-int   setsockopt( s, level, opt, buf, len ) char *buf; { return 0;}
++int   setsockopt( s, level, opt, buf, len ) void *buf; { return 0;}
+ int   settimeofday( t, z ) struct timeval *t; struct timezone *z; { return 0;}
+ int   shutdown( s, h ){ return 0;}
+ int   (*signal(c, f))() int (*f)(); { return(f); }
+@@ -160,9 +159,9 @@
+ int   utimes( f, t ) char *f; struct timeval t[2]; { return 0 ;}
+ int   vfork() { return(0); }
+       vhangup() { ; }
+-int   wait(s) union wait *s; { return(1); }
+-int   wait3( s, o, r) union wait *s; struct rusage *r; { return 1;}
+-int   write(f, b, l) char *b; { return(l); }
++int   wait(s) int *s; { return(1); }
++int   wait3( s, o, r) int *s; struct rusage *r; { return 1;}
++int   write(f, b, l) void *b; { return(l); }
+ int   writev( f, v, l) struct iovec *v; { return l; }
+@@ -326,8 +325,7 @@
  char *        rindex(s, c) char *s, c; { return s; }
  int   rresvport(p) int *p; { return 0; }
  int   ruserok(rh, su, ru, lu) char *rh, *ru, *lu; { return 0; }
diff --git a/lib/libx_c/llib-lc.temp b/lib/libx_c/llib-lc.temp
deleted file mode 100644 (file)
index 53bbcb8..0000000
+++ /dev/null
@@ -1,439 +0,0 @@
-/*@(#)llib-lc 1.37 (Berkeley) 5/17/86 */
-
-/*LINTLIBRARY */
-
-#include <sys/types.h>
-#include <sys/time.h>
-
-#include <sys/dir.h>
-#include <sys/resource.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/timeb.h>
-#include <sys/times.h>
-#include <sys/uio.h>
-#include <sys/vtimes.h>
-#include <sys/wait.h>
-
-#include <netinet/in.h>
-
-#include <netns/ns.h>
-
-#include <arpa/inet.h>
-
-#include <disktab.h>
-#include <fstab.h>
-#include <grp.h>
-#include <ndbm.h>
-#include <netdb.h>
-#include <nlist.h>
-#include <pwd.h>
-#include <setjmp.h>
-#include <sgtty.h>
-#include <signal.h>
-#include <stdio.h>
-#include <ttyent.h>
-
-void /***SECTION 2 ***/
-int errno;
-
-int accept(s, a, l) struct sockaddr *a; int *l; { return s; }
-int access(p, m) char *p; { return 0; }
-int acct(f) char *f; { return 0;}
-int adjtime(delta, odelta) struct timeval *delta, *odelta; { return 0; }
-int bind(s, n, l) struct sockaddr *n; { return 0; }
-char *brk(a) char *a; { return(a); }
-int chdir(s) char *s; { return(0); }
-int chmod(s, m) char *s; { return(0); }
-int chown(s, u, g) char *s; { return(0); }
-int chroot(d) char *d; { return 0; }
-int close(f) { return(0); }
-int connect(s, n, l) struct sockaddr *n; { return 0; }
-int dup(f) { return(f); }
-int dup2(o, n) { return o; }
-void execve(s, v, e) char *s, *v[], *e[]; {;}
-void _exit(s) {;}
-int fchmod(f, m) { return(0); }
-int fchown(f, u, g) { return(0); }
-int fcntl(f, c, a) { return (0); }
-int flock(f, o) { return 0; }
-int fork() { return(0); }
-int fsync(f) { return 0; }
-int fstat(f, b) struct stat *b; { return(0); }
-int ftruncate(d, l) off_t l; { return 0;}
-int getdtablesize() { return 20 ; }
-gid_t getegid() { return((gid_t)1); }
-uid_t geteuid() { return((uid_t)1); }
-gid_t getgid() { return((gid_t)1); }
-int getgroups(n, g) int n, *g; { return 0; }
-long gethostid() { return 1L; }
-int gethostname(n, l) char *n; int l; { return 0 ;}
-int getitimer(w, v) struct itimerval *v; { return 0; }
-int getpagesize() { return 1; }
-int getpeername(s, n, l) struct sockaddr *n; int *l; { return (0); }
-int getpgrp(p) { return 1; }
-int getpid() { return(1); }
-int getppid() { return(1); }
-int getpriority(w, who) { return 1;}
-int getrlimit(res, rip) struct rlimit *rip; { return 0;}
-int getrusage(res, rip) struct rusage *rip; { return 0;}
-int getsockname(s, name, namelen) char *name; int *namelen; { return(0); }
-int getsockopt(s, level, opt, buf, len) char *buf; int *len; { return 0;}
-int gettimeofday(t, z) struct timeval *t; struct timezone *z; { return 0;}
-uid_t getuid() { return((uid_t)1); }
-int ioctl(d, r, p) u_long r; char *p; { return 0;}
-int kill(p, s) { return(0); }
-int killpg(pg, s) { return 0;}
-int link(a, b) char *a, *b; { return(0); }
-int listen(s, b){ return 0; }
-off_t lseek(f, o, d) off_t o; { return(o); }
-int lstat(s, b) char *s; struct stat *b; { return(0); }
-#ifdef notdef
-int madvise(a, l, b) char *a; int l, b; { return 0;}
-int mmap(a, l, p, s, f, o) char *a; off_t o; { return 0;}
-int mincore(a, l, v) char *a; int l; char *v; { return 0; }
-#endif
-int mkdir(p, m) char *p; { return 0; }
-int mknod(n, m, a) char *n; { return(0); }
-int mount(s, n, f) char *s, *n; { return(0); }
-#ifdef notdef
-int mprotect(a, l, p) char *a; { return 0;}
-int mremap(a, l, p, s, f) char *a, f; { return 0;}
-int munmap(a, l) char *a; { return 0;}
-#endif
-void /*VARARGS2 */
-int open(f, m, stuff) char *f; { return(0); }
-int pipe(f) int f[2]; { return(0); }
-void profil(b, s, o, i) char *b; {;}
-int ptrace(r, p, a, d) int *a; { return(0); }
-int quota(c, u, a, ad) char *ad; { return(0); }
-int read(f, b, l) char *b; { return(l); }
-int readv(d, v, l) struct iovec *v; { return l; }
-int readlink(p, b, s) char *p, *b; { return 1; }
-void reboot(h) {;}
-int recv(s, b, l, f) char *b; { return l ; }
-int recvfrom(s, b, l, f, fr, fl) char *b; struct sockaddr *fr; int *fl; { return l; }
-int recvmsg(s, m, f) struct msghdr m[]; { return 1; }
-int rename(f, t) char *f, *t; { return 0;}
-int rmdir(p) char *p; { return 0;}
-char *sbrk(i) { return((char *)0); }
-int select(n, r, w, e, t) fd_set *r, *w, *e; struct timeval *t; { return n; }
-int send(s, m, l, f) char *m; { return l; }
-int sendto(s, m, l, f, t, tl) char *m; struct sockaddr *t; { return l; }
-int sendmsg(s, m, l) struct msghdr m[]; { return l; }
-int setgroups(n, g) int *g; { return 0; }
-int sethostid(h) long h; { return 0;}
-int sethostname(n, l) char *n; int l; { return 0 ;}
-int setitimer(w, v, ov) struct itimerval *v, *ov; { return 0; }
-int setpgrp(g, pg) { return 0; }
-int setpriority(w, who, pri) { return 1;}
-int setquota(s, f) char *s, *f; { return 0; }
-int setregid(r, e) int r, e; { return 0; }
-int setreuid(r, e) int r, e; { return 0; }
-int setrlimit(res, rip) struct rlimit *rip; { return 0;}
-void /*VARARGS */
-int setsockopt(s, level, opt, buf, len) char *buf; { return 0;}
-int settimeofday(t, z) struct timeval *t; struct timezone *z; { return 0;}
-int shutdown(s, h){ return 0;}
-int (*signal(c, f))() int (*f)(); { return(f); }
-int sigvec(c, f, m) struct sigvec *f, *m; { return 0; }
-int sigblock(m) { return (m); }
-int sigsetmask(m) { return (m); }
-void sigpause(m) { ; }
-int sigreturn(scp) struct sigcontext *scp; { return -1; }
-int sigstack(ss, oss) struct sigstack *ss, *oss; { return 0 ; }
-int socket(a, t, p) {return 1;}
-int socketpair(d, t, p, s) int s[2]; { return 0; }
-int stat(s, b) char *s; struct stat *b; { return(0); }
-#ifdef notdef
-char *stk(a) char *a; { return a; }
-char *sstk(a) int a; { return (char *)0; }
-#endif
-int swapon(s) char *s; { return 0;}
-int symlink(t, f) char *t, *f; { return 0;}
-void sync(){;}
-int truncate(p, l) char *p; off_t l; { return 0;}
-int umask(n) { return n; }
-int umount(s) char *s; { return 0; }
-int unlink(s) char *s; { return(0); }
-int utimes(f, t) char *f; struct timeval t[2]; { return 0 ;}
-int vfork() { return(0); }
-void vhangup() { ; }
-int wait(s) union wait *s; { return(1); }
-int wait3(s, o, r) union wait *s; struct rusage *r; { return 1;}
-int write(f, b, l) char *b; { return(l); }
-int writev(f, v, l) struct iovec *v; { return l; }
-
-
-void /***SECTION 3 ***/
-
-struct qelem { /*this should really be defined in an include file */
-void struct qelem *q_forw;
-void struct qelem *q_back;
-void char data[1];
-}
-
-void /*antique system calls and unclassified */
-void _longjmp(e, v) jmp_buf e; {;}
-int _setjmp(e) jmp_buf e; { return(0); }
-void abort() {;}
-int abs(i) int i; { return(i); }
-int alarm(s) unsigned s; { return(s); }
-void alphasort(d1, d2) struct direct **d1, **d2; { return 0;}
-char *asctime(t) struct tm *t; { return(""); }
-double atof(s) char *s; { return(1.); }
-int atoi(s) char *s; { return 1; }
-long atol(s) char *s; { return 1L; }
-int bcmp(b1, b2, length) char *b1, *b2; { return 0; }
-void bcopy(src, dst, length) char *src, *dst; { ; }
-void bzero(b, length) char *b; { ; }
-char *calloc(n,s) unsigned n, s; { static char c[1]; return(c); }
-void closedir(p) DIR *p; {}
-void closelog() {}
-int creat(s, m) char *s; { return(0); }
-char *crypt(k,s) char *k, *s; { return(""); }
-char *ctime(c) long *c;{ return(""); }
-char _ctype_[];
-DBM *dbm_open(file, flags, mode) char *file; { return (DBM *) 0; }
-void dbm_close(db) DBM *db; { ; }
-datum dbm_fetch(db, key) DBM *db; datum key; { return key; }
-int dbm_store(db, key, cont, flags) DBM *db; datum key, cont; { return 0; }
-int dbm_delete(db, key) DBM *db; datum key; { return 0; }
-datum dbm_firstkey(db) DBM *db; { datum key; return key; }
-datum dbm_nextkey(db) DBM *db; { datum key; return key; }
-char *ecvt(v, n, d, s) double v; int *d, *s; { return(""); }
-void encrypt(s, i) char *s; {}
-int endfsent() { return 0; }
-int endgrent() { return 0; }
-void endhostent() { ; }
-void endnetent() { ; }
-void endprotoent() { ; }
-void endpwent() {}
-void endservent() { ; }
-void endttyent() { ; }
-void endusershell() { ; }
-char **environ;
-void /*VARARGS */
-void execl(f, a) char *f, *a; {;}
-void /*VARARGS */
-void execle(f, a) char *f, *a; {;}
-void /*VARARGS */
-void execlp(f, a) char *f, *a; {;}
-void execv(s, v) char *s, *v[]; {;}
-void execvp(s, v) char *s, *v[]; {;}
-void exect(s, v, e) char *s, *v[], *e[]; {;}
-void exit(s) {;}
-char *fcvt(v, n, d, s) double v; int *d, *s; { return(""); }
-int ffs(i) { return i; }
-void free(p) char *p; {;}
-double frexp(v, e) double v; int *e; { return v; }
-void ftime(tp) struct timeb *tp; { ; }
-char *gcvt(v, n, b) double v; char *b; { return(""); }
-struct disktab *getdiskbyname(name) char *name; { return (struct disktab *) 0; }
-char *getenv(n) char *n; { return n; }
-struct fstab *getfsent() { return (struct fstab *)NULL; }
-struct fstab *getfsspec(n) char *n; { return (struct fstab *)NULL; }
-struct fstab *getfsfile(n) char *n; { return (struct fstab *)NULL; }
-struct fstab *getfstype(t) char *t; { return (struct fstab *)NULL; }
-struct group *getgrent() { return (struct group *)NULL; }
-struct group *getgrgid(n) { return (struct group *)NULL; }
-struct group *getgrnam(n) char *n; { return (struct group *)NULL; }
-struct hostent *gethostbyaddr(addr, len, type) char *addr; { return (struct hostent *) 0; }
-struct hostent *gethostbyname(name) char *name; { return (struct hostent *) 0; }
-struct hostent *gethostent() { return (struct hostent *) 0; }
-char *getlogin(){ return " "; }
-struct netent *getnetbyaddr(net, type) { return (struct netent *) 0; }
-struct netent *getnetbyname(name) char *name; { return (struct netent *) 0; }
-struct netent *getnetent() { return (struct netent *) 0; }
-int getopt(argc, argv, optstr) char **argv, *optstr; { return EOF; }
-char *getpass(n) char *n ; { return n; }
-struct protoent *getprotobyname(name) char *name; { return (struct protoent *) 0; }
-struct protoent *getprotobynumber(proto) { return (struct protoent *) 0; }
-struct protoent *getprotoent() { return (struct protoent *) 0; }
-int getpw(u, b) char *b; { return 0; }
-struct passwd *getpwent() { return (struct passwd *)NULL; }
-struct passwd *getpwuid(n) { return (struct passwd *)NULL; }
-struct passwd *getpwnam(n) char *n; { return (struct passwd *)NULL; }
-struct servent *getservbyname(name, proto) char *name, *proto; { return (struct servent *) 0; }
-struct servent *getservbyport(port, proto) char *proto; { return (struct servent *) 0; }
-struct servent *getservent() { return (struct servent *) 0; }
-struct ttyent *getttynam(name) char *name; { return (struct ttyent *) 0; }
-char *getusershell() { return (char *) 0; }
-char *getwd(pathname) char *pathname; { return pathname; }
-struct tm *gmtime(c) long *c; { return gmtime(c); }
-int gtty(f, b) struct sgttyb *b; { return(0); }
-#ifndef htonl
-u_long htonl(hostlong) u_long hostlong; { return hostlong; }
-#endif htonl
-#ifndef htons
-u_short htons(hostshort) u_short hostshort; { return hostshort; }
-#endif htons
-char *index(s, c) char *s, c; { return s; }
-u_long inet_addr(cp) char *cp; { return 0L; }
-int inet_lnaof(in) struct in_addr in; { return 0; }
-int inet_netof(in) struct in_addr in; { return 0; }
-struct in_addr inet_makeaddr(net, host) { struct in_addr in; return in; }
-u_long inet_network(cp) char *cp; { return 0L; }
-char *inet_ntoa(in) struct in_addr in; { return (char *) 0; }
-int initgroups(uname, agroup) char *uname; { return 0; }
-char *initstate(s, st, n) unsigned s; char *st; { return st; }
-void insque(elem, pred) struct qelem *elem, pred; { ; }
-int isatty(f) { return 1; }
-double ldexp(v, e) double v; { return v; }
-void longjmp(e, v) jmp_buf e; {;}
-void longjmperror() {;}
-struct tm *localtime(c) long *c; { return localtime(c); }
-char *malloc(n) unsigned n; {static char c; return(&c);}
-char *memccpy(t, f, c, n) char *t, *f; { return t; }
-char *memchr(s, c, n) char *s; { return s; }
-int memcmp(s1, s2, n) char *s1, *s2; { return 0; }
-char *memcpy(t, f, n) char *t, *f; { return t; }
-char *memset(s, c, n) char *s; { return s; }
-char *mktemp(p) char *p; { return(p);}
-int mkstemp(p) char *p; { return(0);}
-double modf(v, p) double v, *p; { return v; }
-void moncontrol(mode) { ; }
-void monitor(l, h, b, s, n) int (*l)(), (*h)(); short *b; {}
-void monstartup(l, h) int (*l)(), (*h)(); {;}
-int nice(incr) { return 0; }
-int nlist(f, n) char *f; struct nlist n[]; { return (0);}
-struct ns_addr ns_addr(name) char *name; { struct ns_addr ns; return ns; }
-char *ns_ntoa(addr) struct ns_addr addr; { return (char *) 0; }
-#ifndef ntohl
-u_long ntohl(netlong) u_long netlong; { return netlong; }
-#endif ntohl
-#ifndef ntohs
-u_short ntohs(netshort) u_short netshort; { return netshort; }
-#endif ntohs
-DIR *opendir(f) char *f; { return (DIR *)NULL; }
-void openlog(s, f, l) char *s; {}
-char *optarg;
-int optind;
-void pause() {;}
-void perror(s) char *s; {}
-void psignal(sig, s) unsigned sig; char *s; {}
-void qsort(b, n, w, c) char *b; int (*c)(); {;}
-int rand(){ return 1; }
-long random() { return 1L; }
-int rcmd(a, rp, lu, ru, c, f) char **a, *lu, *ru, *c; u_short rp; int *f; { return 0; }
-char *re_comp(s) char *s ; { return s; }
-int re_exec(s) char *s ; { return 1; }
-struct direct *readdir(p) DIR *p; { return (struct direct *)NULL; }
-char *realloc(p, n) char *p; unsigned n; { static char c[1]; return(c);}
-void remque(elem) struct qelem *elem; { ; }
-int rexec(a, rp, n, p, c, f) char **a, *n, *p, *c; u_short rp; int *f; { return 0; }
-char *rindex(s, c) char *s, c; { return s; }
-int rresvport(p) int *p; { return 0; }
-int ruserok(rh, su, ru, lu) char *rh, *ru, *lu; { return 0; }
-int scandir(d, n, s, c) char *d; struct direct *(*n[]); int (*s)(),(*c)(); { return 1; }
-void seekdir(p, l) DIR *p; long l; {}
-int setegid(egid) gid_t egid; { return 0; }
-int seteuid(euid) uid_t euid; { return 0; }
-int setfsent() { return 0; }
-int setgrent() { return 0; }
-int setgid(g) gid_t g; { return(0); }
-void sethostent(stayopen) { ; }
-void sethostfile(name) char *name; { ; }
-int setjmp(e) jmp_buf e; { return(0); }
-void setkey(k) char *k; {}
-int setlogmask(m) { return(0); }
-void setnetent(stayopen) { ; }
-void setprotoent(stayopen) { ; }
-void setpwent() {}
-void setpwfile(file) char *file; {}
-int setrgid(rgid) gid_t rgid; { return 0; }
-int setruid(ruid) uid_t ruid; { return 0; }
-void setservent(stayopen) { ; }
-char *setstate(st) char *st; { return st; }
-void setttyent() { ; }
-int setuid(u) uid_t u; { return(0); }
-void setusershell() { ; }
-int siginterrupt(sig, flag) { return 0; }
-void sleep(i) unsigned i; {}
-int srand(s){ return s; }
-char *strcat(a, b) char *a, *b; { return a; }
-char *strcatn(a, b, n) char *a, *b; { return a;}
-char *strchr(s, c) char *s, c; { return s; }
-int strcmp(a, b) char *a, *b; { return(1); }
-int strcmpn(a, b, n) char *a, *b; { return(1); }
-char *strcpy(a, b) char *a, *b; { return a; }
-char *strcpyn(a, b, n) char *a, *b; { return a; }
-int strcspn(s, set) char *s, *set; { return(0); }
-int strlen(s) char *s; { return(1); }
-char *strncat(a, b, n) char *a, *b; { return a;}
-int strncmp(a, b, n) char *a, *b; { return(1); }
-char *strncpy(a, b, n) char *a, *b; { return a; }
-char *strpbrk(s, brk) char *s, *brk; { return s; }
-char *strrchr(s, c) char *s, c; { return s; }
-int strspn(s, set) char *s, *set; { return(0); }
-char *strtok(s, sep) char *s, *sep; { return s; }
-int stty(f, b) struct sgttyb *b; { return(0); }
-void swab(f, t, n) char *f, *t; {;}
-void /*VARARGS2 */
-void syslog(l, f) char *f; {}
-char *sys_errlist[];
-char *sys_siglist[];
-int sys_nerr;
-int system(s) char *s; { return(0); }
-long tell(f) { return((long)0); }
-long telldir(p) DIR *p; { return 1L; }
-long time(t) long *t; { return(0L);}
-int times(tmsp) struct tms *tmsp; { return 0; }
-char *timezone(z, d){ return (char *)0; }
-char *tmpnam(s) char *s; { return s; }
-char *ttyname(f) { return " "; }
-int ttyslot() { return 1; }
-unsigned ualarm(value, interval) unsigned value, interval; { return 0; }
-void usleep(useconds) unsigned useconds; { ; }
-int utime(name, timep) char *name; time_t *timep; { return 0; }
-char *valloc(s) unsigned s; { return malloc(s); }
-int vlimit(limit, value) { return 0; }
-int vtimes(par, ch) struct vtimes *par, *ch; { return 0; }
-
-void /*standard I/O library */
-
-int fclose(f) FILE *f; {return(0);}
-FILE *fdopen(fd, m) char *m; { return(stdin);}
-int fflush(f) FILE *f; {return(0);}
-int fgetc(f) FILE *f; {return 0; }
-char *fgets(s, l, f) char *s; FILE *f; { return(s); }
-int _filbuf(f) FILE *f; { return 0; }
-int _flsbuf(c, f) unsigned char c; FILE *f; { return 0; }
-FILE *fopen(s,m) char *s, *m; { return(stdin); }
-void /*VARARGS2 */
-void fprintf(f, s) FILE *f; char *s; {;}
-int fputc(c, f) char c; FILE *f; {return 0; }
-void fputs(s,f) char *s; FILE *f; {;}
-int fread(p, s, n, f) char *p; FILE *f; {return(1);}
-FILE *freopen(s, m, f) char *s, *m; FILE *f; { return(stdin); }
-void /*VARARGS2 */
-void fscanf(f, s) FILE *f; char *s; {return(1);}
-int fseek(f, o, p) FILE *f; long o; { return(0); }
-long ftell(f) FILE *f; { return(0L); }
-int fwrite(p, s, n, f) char *p; FILE *f; {return(0);}
-#ifndef getc
-int getc(f) FILE *f; { return EOF; }
-#endif getc
-int getw(f) FILE *f; { return 0;}
-char *gets(s) char *s; { return(s); }
-struct _iobuf _iob[];
-int pclose(f) FILE *f; { return 0; }
-FILE *popen(c, t) char *c, *t; { return(stdin); }
-void /*VARARGS1 */
-void printf(s) char *s; {;}
-void puts(s) char *s;{;}
-#ifndef putc
-int putc(c, f) char c; FILE *f; { return 0; }
-#endif putc
-int putw(w, f) FILE *f; { return 0;}
-void rewind(f) FILE *f; {;}
-void /*VARARGS1 */
-void scanf(f) char *f; {return(1); }
-void setbuf(f, b) FILE *f; char *b; {;}
-void setbuffer(f, b, s) FILE *f; char *b; {;}
-void setlinebuf(f) FILE *f; {;}
-void /*VARARGS2 */
-char *sprintf(s, f) char *s, *f; { return(s);}
-void /*VARARGS2 */
-void sscanf(s, f) char *s, *f; { return(1); }
-void ungetc(c, f) FILE *f; { return(c); }
index 72c813a..dcab5b0 100755 (executable)
@@ -56,8 +56,7 @@ do
       for j in $entries
       do
         grep "[^0-9A-Za-z_]$j[  ]*(" llib-lc.temp |\
-        #sed -e 's/{.*}/{\n  errno = ENOSYS;\n  return -1;\n}/'
-        sed -e 's/{.*}/{\n  abort();\n}/'
+        sed -e "s/{.*}/{\\n\\twrite(2, \"$j()\\\\n\", `expr length $j + 3`);\\n\\tabort();\\n}/"
       done >a
       if test -s a
       then
index b19b4d6..d243dc6 100644 (file)
@@ -1,8 +1,10 @@
 #include <gen.h>
 #include <net.h>
+#include <sys/file.h>
 #include <sys/types.h>
 
 /*#include <sys/types.h>*/
 u_long htonl(hostlong) u_long hostlong; {
-  abort();
+       write(2, "htonl()\n", 8);
+       abort();
 }
index d791a01..bc6e657 100644 (file)
@@ -1,8 +1,10 @@
 #include <gen.h>
 #include <net.h>
+#include <sys/file.h>
 #include <sys/types.h>
 
 /*#include <sys/types.h>*/
 u_short htons(hostshort) int hostshort; {
-  abort();
+       write(2, "htons()\n", 8);
+       abort();
 }
index 8caa668..e6a9ad4 100644 (file)
@@ -1,8 +1,10 @@
 #include <gen.h>
 #include <net.h>
+#include <sys/file.h>
 #include <sys/types.h>
 
 /*#include <sys/types.h>*/
 u_long ntohl(netlong) u_long netlong; {
-  abort();
+       write(2, "ntohl()\n", 8);
+       abort();
 }
index 4546299..29c139d 100644 (file)
@@ -1,8 +1,10 @@
 #include <gen.h>
 #include <net.h>
+#include <sys/file.h>
 #include <sys/types.h>
 
 /*#include <sys/types.h>*/
 u_short ntohs(netshort) int netshort; {
-  abort();
+       write(2, "ntohs()\n", 8);
+       abort();
 }
index 2bc1773..434d64f 100644 (file)
@@ -1,6 +1,6 @@
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/compat-4.1/Makefile libx_c/compat-4.1/Makefile
---- libx_c.post/compat-4.1/Makefile    2017-01-20 12:09:42.936568593 +1100
-+++ libx_c/compat-4.1/Makefile 2017-01-20 12:09:42.972567617 +1100
+--- libx_c.post/compat-4.1/Makefile    2017-01-20 14:13:50.265402116 +1100
++++ libx_c/compat-4.1/Makefile 2017-01-20 14:13:50.297402309 +1100
 @@ -1,3 +1,5 @@
 +ROOT=../../..
 +CC=gcc -g -I${ROOT}/cross/include -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
@@ -52,8 +52,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  
 -
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/compat-sys5/Makefile libx_c/compat-sys5/Makefile
---- libx_c.post/compat-sys5/Makefile   2017-01-20 12:09:42.960567942 +1100
-+++ libx_c/compat-sys5/Makefile        2017-01-20 12:09:42.972567617 +1100
+--- libx_c.post/compat-sys5/Makefile   2017-01-20 14:13:50.289402261 +1100
++++ libx_c/compat-sys5/Makefile        2017-01-20 14:13:50.297402309 +1100
 @@ -1,3 +1,5 @@
 +ROOT=../../..
 +CC=gcc -g -I${ROOT}/cross/include -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
@@ -123,8 +123,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 -# IF YOU PUT STUFF HERE IT WILL GO AWAY
 -# see make depend above
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/bcopy.c libx_c/gen/bcopy.c
---- libx_c.post/gen/bcopy.c    2017-01-20 12:09:42.964567834 +1100
-+++ libx_c/gen/bcopy.c 2017-01-20 12:09:42.972567617 +1100
+--- libx_c.post/gen/bcopy.c    2017-01-20 14:13:50.289402261 +1100
++++ libx_c/gen/bcopy.c 2017-01-20 14:13:50.297402309 +1100
 @@ -1,6 +1,12 @@
  #include <gen.h>
  #include <sys/types.h>
@@ -159,8 +159,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
                                        *--dst = *--src;
                                while (--length);
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/getpass.c libx_c/gen/getpass.c
---- libx_c.post/gen/getpass.c  2017-01-20 12:09:42.964567834 +1100
-+++ libx_c/gen/getpass.c       2017-01-20 12:09:42.972567617 +1100
+--- libx_c.post/gen/getpass.c  2017-01-20 14:13:50.289402261 +1100
++++ libx_c/gen/getpass.c       2017-01-20 14:13:50.297402309 +1100
 @@ -20,7 +20,7 @@
        FILE *fi;
        static char pbuf[9];
@@ -171,8 +171,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        if ((fi = fdopen(open("/dev/tty", 2), "r")) == NULL)
                fi = stdin;
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/getpwnamuid.c libx_c/gen/getpwnamuid.c
---- libx_c.post/gen/getpwnamuid.c      2017-01-20 12:09:42.964567834 +1100
-+++ libx_c/gen/getpwnamuid.c   2017-01-20 12:09:42.972567617 +1100
+--- libx_c.post/gen/getpwnamuid.c      2017-01-20 14:13:50.289402261 +1100
++++ libx_c/gen/getpwnamuid.c   2017-01-20 14:13:50.297402309 +1100
 @@ -44,19 +44,37 @@
          cp = key.dptr;
        tp = line;
@@ -212,8 +212,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  }
  
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/Makefile libx_c/gen/Makefile
---- libx_c.post/gen/Makefile   2017-01-20 12:09:42.964567834 +1100
-+++ libx_c/gen/Makefile        2017-01-20 12:09:42.972567617 +1100
+--- libx_c.post/gen/Makefile   2017-01-20 14:13:50.293402285 +1100
++++ libx_c/gen/Makefile        2017-01-20 14:13:50.297402309 +1100
 @@ -1,3 +1,5 @@
 +ROOT=../../..
 +CC=gcc -g -I${ROOT}/cross/include -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
@@ -446,8 +446,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 -# IF YOU PUT STUFF HERE IT WILL GO AWAY
 -# see make depend above
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/malloc.c libx_c/gen/malloc.c
---- libx_c.post/gen/malloc.c   2017-01-20 12:09:42.964567834 +1100
-+++ libx_c/gen/malloc.c        2017-01-20 12:09:42.972567617 +1100
+--- libx_c.post/gen/malloc.c   2017-01-20 14:13:50.289402261 +1100
++++ libx_c/gen/malloc.c        2017-01-20 14:13:50.301402334 +1100
 @@ -4,6 +4,12 @@
  #include <sys/proc.h>
  #include <sys/types.h>
@@ -508,8 +508,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        /*
         * Add new memory allocated to that on
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/ndbm.c libx_c/gen/ndbm.c
---- libx_c.post/gen/ndbm.c     2017-01-20 12:09:42.964567834 +1100
-+++ libx_c/gen/ndbm.c  2017-01-20 12:09:42.972567617 +1100
+--- libx_c.post/gen/ndbm.c     2017-01-20 14:13:50.289402261 +1100
++++ libx_c/gen/ndbm.c  2017-01-20 14:13:50.301402334 +1100
 @@ -70,14 +70,14 @@
                flags = (flags & ~03) | O_RDWR;
        strcpy(db->dbm_pagbuf, file);
@@ -528,8 +528,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        va_end(argp);
        if (db->dbm_dirf < 0)
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/qsort.c libx_c/gen/qsort.c
---- libx_c.post/gen/qsort.c    2017-01-20 12:09:42.964567834 +1100
-+++ libx_c/gen/qsort.c 2017-01-20 12:09:42.972567617 +1100
+--- libx_c.post/gen/qsort.c    2017-01-20 14:13:50.293402285 +1100
++++ libx_c/gen/qsort.c 2017-01-20 14:13:50.301402334 +1100
 @@ -36,7 +36,7 @@
  
  static void qst __P((char *base, char *max));
@@ -540,8 +540,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        register char c, *i, *j, *lo, *hi;
        char *min, *max;
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/scandir.c libx_c/gen/scandir.c
---- libx_c.post/gen/scandir.c  2017-01-20 12:09:42.964567834 +1100
-+++ libx_c/gen/scandir.c       2017-01-20 12:09:42.972567617 +1100
+--- libx_c.post/gen/scandir.c  2017-01-20 14:13:50.289402261 +1100
++++ libx_c/gen/scandir.c       2017-01-20 14:13:50.301402334 +1100
 @@ -24,7 +24,7 @@
  /*#include <sys/stat.h>*/
  /*#include <sys/dir.h>*/
@@ -561,8 +561,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        return(nitems);
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/signal.c libx_c/gen/signal.c
---- libx_c.post/gen/signal.c   2017-01-20 12:09:42.964567834 +1100
-+++ libx_c/gen/signal.c        2017-01-20 12:09:42.972567617 +1100
+--- libx_c.post/gen/signal.c   2017-01-20 14:13:50.289402261 +1100
++++ libx_c/gen/signal.c        2017-01-20 14:13:50.301402334 +1100
 @@ -15,12 +15,12 @@
   */
  /*#include <signal.h>*/
@@ -586,8 +586,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +      return ((void (*) __P((int sig)))osv.sv_handler);
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/sleep.c libx_c/gen/sleep.c
---- libx_c.post/gen/sleep.c    2017-01-20 12:09:42.964567834 +1100
-+++ libx_c/gen/sleep.c 2017-01-20 12:09:42.972567617 +1100
+--- libx_c.post/gen/sleep.c    2017-01-20 14:13:50.293402285 +1100
++++ libx_c/gen/sleep.c 2017-01-20 14:13:50.301402334 +1100
 @@ -15,7 +15,7 @@
  /*#include <signal.h>*/
  
@@ -598,8 +598,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  static int ringring;
  
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/system.c libx_c/gen/system.c
---- libx_c.post/gen/system.c   2017-01-20 12:09:42.964567834 +1100
-+++ libx_c/gen/system.c        2017-01-20 12:09:42.972567617 +1100
+--- libx_c.post/gen/system.c   2017-01-20 14:13:50.289402261 +1100
++++ libx_c/gen/system.c        2017-01-20 14:13:50.301402334 +1100
 @@ -11,7 +11,7 @@
  
  int system(s) char *s; {
@@ -610,8 +610,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        if ((pid = vfork()) == 0) {
                execl("/bin/sh", "sh", "-c", s, 0);
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/usleep.c libx_c/gen/usleep.c
---- libx_c.post/gen/usleep.c   2017-01-20 12:09:42.964567834 +1100
-+++ libx_c/gen/usleep.c        2017-01-20 12:09:42.972567617 +1100
+--- libx_c.post/gen/usleep.c   2017-01-20 14:13:50.289402261 +1100
++++ libx_c/gen/usleep.c        2017-01-20 14:13:50.301402334 +1100
 @@ -18,7 +18,7 @@
  #define TICK  10000           /* system clock resolution in microseconds */
  
@@ -622,8 +622,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  static int ringring;
  
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen/valloc.c libx_c/gen/valloc.c
---- libx_c.post/gen/valloc.c   2017-01-20 12:09:42.964567834 +1100
-+++ libx_c/gen/valloc.c        2017-01-20 12:09:42.972567617 +1100
+--- libx_c.post/gen/valloc.c   2017-01-20 14:13:50.289402261 +1100
++++ libx_c/gen/valloc.c        2017-01-20 14:13:50.301402334 +1100
 @@ -1,6 +1,12 @@
  #include <gen.h>
  #include <sys.h>
@@ -651,8 +651,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        return ((char *)j);
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/gen.h libx_c/gen.h
---- libx_c.post/gen.h  2017-01-20 12:09:42.940568485 +1100
-+++ libx_c/gen.h       2017-01-20 12:09:42.972567617 +1100
+--- libx_c.post/gen.h  2017-01-20 14:13:50.269402140 +1100
++++ libx_c/gen.h       2017-01-20 14:13:50.301402334 +1100
 @@ -108,7 +108,7 @@
  char *mktemp __P((char *as));
  
@@ -663,8 +663,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  /* gen/random.c */
  int srandom __P((unsigned x));
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/inet/Makefile libx_c/inet/Makefile
---- libx_c.post/inet/Makefile  2017-01-20 12:09:42.940568485 +1100
-+++ libx_c/inet/Makefile       2017-01-20 12:09:42.972567617 +1100
+--- libx_c.post/inet/Makefile  2017-01-20 14:13:50.269402140 +1100
++++ libx_c/inet/Makefile       2017-01-20 14:13:50.301402334 +1100
 @@ -1,3 +1,5 @@
 +ROOT=../../..
 +CC=gcc -g -I${ROOT}/cross/include -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
@@ -727,8 +727,10 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 -# see make depend above
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/csu/crt0.c libx_c/linux/csu/crt0.c
 --- libx_c.post/linux/csu/crt0.c       1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/csu/crt0.c    2017-01-20 12:09:42.972567617 +1100
-@@ -0,0 +1,17 @@
++++ libx_c/linux/csu/crt0.c    2017-01-20 12:19:51.000000000 +1100
+@@ -0,0 +1,19 @@
++#include <stdio.h>
++
 +extern char **nox_environ;
 +char **environ;
 +
@@ -744,11 +746,11 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +
 +nox_int nox_main(argc, argv) nox_int argc; char **argv; {
 +      environ = nox_environ;
-+      return main(argc, argv);
++      exit(main(argc, argv));
 +}
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/csu/Makefile libx_c/linux/csu/Makefile
 --- libx_c.post/linux/csu/Makefile     1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/csu/Makefile  2017-01-20 12:09:42.976567508 +1100
++++ libx_c/linux/csu/Makefile  2017-01-20 12:09:42.000000000 +1100
 @@ -0,0 +1,97 @@
 +ROOT=../../../..
 +CC=gcc -g -I${ROOT}/cross/include -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
@@ -849,7 +851,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/gen/abort.c libx_c/linux/gen/abort.c
 --- libx_c.post/linux/gen/abort.c      1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/gen/abort.c   2017-01-20 12:11:05.722624305 +1100
++++ libx_c/linux/gen/abort.c   2017-01-20 12:11:05.000000000 +1100
 @@ -0,0 +1,7 @@
 +#include <nox_stdlib.h>
 +
@@ -858,9 +860,10 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +int abort() {
 +      nox_abort();
 +}
+Binary files libx_c.post/linux/gen/genlib and libx_c/linux/gen/genlib differ
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/gen/Makefile libx_c/linux/gen/Makefile
 --- libx_c.post/linux/gen/Makefile     1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/gen/Makefile  2017-01-20 12:11:05.722624305 +1100
++++ libx_c/linux/gen/Makefile  2017-01-20 12:11:05.000000000 +1100
 @@ -0,0 +1,55 @@
 +ROOT=../../../..
 +CC=gcc -g -I${ROOT}/cross/include -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
@@ -919,7 +922,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/gen/modf.c libx_c/linux/gen/modf.c
 --- libx_c.post/linux/gen/modf.c       1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/gen/modf.c    2017-01-20 12:11:05.722624305 +1100
++++ libx_c/linux/gen/modf.c    2017-01-20 12:11:05.000000000 +1100
 @@ -0,0 +1,7 @@
 +#include <nox_math.h>
 +
@@ -928,9 +931,10 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +double modf(v, p) double v; double *p; {
 +      return nox_modf(v, p);
 +}
+Binary files libx_c.post/linux/linuxlib and libx_c/linux/linuxlib differ
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/Makefile libx_c/linux/Makefile
 --- libx_c.post/linux/Makefile 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/Makefile      2017-01-20 12:09:42.976567508 +1100
++++ libx_c/linux/Makefile      2017-01-20 12:09:42.000000000 +1100
 @@ -0,0 +1,43 @@
 +#
 +# Copyright (c) 1980 Regents of the University of California.
@@ -975,9 +979,37 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +depend:
 +      for i in ${ALL}; do \
 +              (cd $$i; make ${MFLAGS} DEFS=${DEFS} depend); done
+diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/close.c libx_c/linux/sys/close.c
+--- libx_c.post/linux/sys/close.c      1970-01-01 10:00:00.000000000 +1000
++++ libx_c/linux/sys/close.c   2017-01-20 12:24:42.000000000 +1100
+@@ -0,0 +1,13 @@
++#include <nox_unistd.h>
++
++#include <sys/errno.h>
++#include <sys/file.h>
++
++int close(f) int f; {
++      int res;
++
++      res = nox_close(f);
++      if (res == -1)
++              errno = EBADF;
++      return res;
++}
+diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/_exit.c libx_c/linux/sys/_exit.c
+--- libx_c.post/linux/sys/_exit.c      1970-01-01 10:00:00.000000000 +1000
++++ libx_c/linux/sys/_exit.c   2017-01-20 12:21:29.000000000 +1100
+@@ -0,0 +1,7 @@
++#include <nox_unistd.h>
++
++#include <sys/proc.h>
++
++void _exit(s) int s; {
++      nox__exit(s);
++}
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/fstat.c libx_c/linux/sys/fstat.c
 --- libx_c.post/linux/sys/fstat.c      1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/fstat.c   2017-01-20 12:11:05.722624305 +1100
++++ libx_c/linux/sys/fstat.c   2017-01-20 12:11:05.000000000 +1100
 @@ -0,0 +1,17 @@
 +#include <sys/nox_stat.h>
 +#include <nox_unistd.h>
@@ -998,7 +1030,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +}
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/getpagesize.c libx_c/linux/sys/getpagesize.c
 --- libx_c.post/linux/sys/getpagesize.c        1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/getpagesize.c     2017-01-20 12:11:05.722624305 +1100
++++ libx_c/linux/sys/getpagesize.c     2017-01-20 12:11:05.000000000 +1100
 @@ -0,0 +1,7 @@
 +#include <nox_unistd.h>
 +
@@ -1009,7 +1041,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +}
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/isatty.c libx_c/linux/sys/isatty.c
 --- libx_c.post/linux/sys/isatty.c     1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/isatty.c  2017-01-20 12:11:05.722624305 +1100
++++ libx_c/linux/sys/isatty.c  2017-01-20 12:11:05.000000000 +1100
 @@ -0,0 +1,13 @@
 +#include <nox_unistd.h>
 +
@@ -1024,10 +1056,29 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +              errno = EBADF;
 +      return res;
 +}
+diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/lseek.c libx_c/linux/sys/lseek.c
+--- libx_c.post/linux/sys/lseek.c      1970-01-01 10:00:00.000000000 +1000
++++ libx_c/linux/sys/lseek.c   2017-01-20 12:32:39.000000000 +1100
+@@ -0,0 +1,15 @@
++#include <nox_unistd.h>
++#include <sys/nox_types.h>
++
++#include <sys/errno.h>
++#include <sys/file.h>
++#include <sys/types.h>
++
++off_t lseek(f, o, d) int f; off_t o; int d; {
++      off_t res;
++
++      res = (off_t)nox_lseek(f, (nox_off_t)o, d);
++      if (res == (off_t)-1)
++              errno = EINVAL;
++      return res;
++}
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/Makefile libx_c/linux/sys/Makefile
 --- libx_c.post/linux/sys/Makefile     1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/Makefile  2017-01-20 12:11:05.722624305 +1100
-@@ -0,0 +1,55 @@
++++ libx_c/linux/sys/Makefile  2017-01-20 14:15:29.885950308 +1100
+@@ -0,0 +1,57 @@
 +ROOT=../../../..
 +CC=gcc -g -I${ROOT}/cross/include -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
 +#
@@ -1038,8 +1089,10 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +#     @(#)Makefile    5.4 (Berkeley) 9/5/85
 +#
 +
-+SRCS= fstat.c getpagesize.c isatty.c sbrk.c write.c
-+OBJS= fstat.o getpagesize.o isatty.o sbrk.o write.o
++SRCS= close.c fstat.c getpagesize.c isatty.c lseek.c read.c sbrk.c vopen.c \
++      write.c _exit.c
++OBJS= close.o fstat.o getpagesize.o isatty.o lseek.o read.o sbrk.o vopen.o \
++      write.o _exit.o
 +TAGSFILE=tags
 +
 +.c.o:
@@ -1083,9 +1136,28 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +
 +# DO NOT DELETE THIS LINE -- make depend uses it
 +
+diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/read.c libx_c/linux/sys/read.c
+--- libx_c.post/linux/sys/read.c       1970-01-01 10:00:00.000000000 +1000
++++ libx_c/linux/sys/read.c    2017-01-20 12:23:18.000000000 +1100
+@@ -0,0 +1,15 @@
++#include <nox_unistd.h>
++
++#include <sys/errno.h>
++#include <sys/file.h>
++
++int read(f, b, l) int f; void *b; int l; {
++      nox_size_t res;
++      
++      res = nox_read(f, b, l);
++      if (res == (nox_size_t)-1) {
++              errno = EIO;
++              return -1;
++      }
++      return (int)res;
++}
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/sbrk.c libx_c/linux/sys/sbrk.c
 --- libx_c.post/linux/sys/sbrk.c       1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/sbrk.c    2017-01-20 12:11:18.866364022 +1100
++++ libx_c/linux/sys/sbrk.c    2017-01-20 12:11:18.000000000 +1100
 @@ -0,0 +1,14 @@
 +#include <nox_stdint.h>
 +#include <nox_unistd.h>
@@ -1101,9 +1173,34 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +              errno = ENOMEM;
 +      return res;
 +}
+Binary files libx_c.post/linux/sys/syslib and libx_c/linux/sys/syslib differ
+diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/vopen.c libx_c/linux/sys/vopen.c
+--- libx_c.post/linux/sys/vopen.c      1970-01-01 10:00:00.000000000 +1000
++++ libx_c/linux/sys/vopen.c   2017-01-20 14:16:40.382239502 +1100
+@@ -0,0 +1,20 @@
++#include <nox_fcntl.h>
++
++#include <sys/errno.h>
++#include <sys/file.h>
++#ifdef __STDC__
++#include <stdarg.h>
++#define _va_start(argp, arg) va_start(argp, arg)
++#else
++#include <varargs.h>
++#define _va_start(argp, arg) va_start(argp)
++#endif
++
++int vopen(f, m, argp) char *f; va_list argp; {
++      int res;
++
++      res = nox_open(f, m, m & O_CREAT ? va_arg(argp, int) : 0);
++      if (res == -1)
++              errno = ENOENT;
++      return res;
++}
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/write.c libx_c/linux/sys/write.c
 --- libx_c.post/linux/sys/write.c      1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/linux/sys/write.c   2017-01-20 12:11:05.722624305 +1100
++++ libx_c/linux/sys/write.c   2017-01-20 12:11:05.000000000 +1100
 @@ -0,0 +1,15 @@
 +#include <nox_unistd.h>
 +
@@ -1121,8 +1218,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +      return (int)res;
 +}
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/Makefile libx_c/Makefile
---- libx_c.post/Makefile       2017-01-20 12:09:42.940568485 +1100
-+++ libx_c/Makefile    2017-01-20 12:09:42.976567508 +1100
+--- libx_c.post/Makefile       2017-01-20 14:13:50.269402140 +1100
++++ libx_c/Makefile    2017-01-20 14:13:50.301402334 +1100
 @@ -1,3 +1,5 @@
 +ROOT=${shell pwd}/../..
 +DESTDIR=${ROOT}/cross
@@ -1196,8 +1293,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  
  tags:
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/net/hosttable/Makefile libx_c/net/hosttable/Makefile
---- libx_c.post/net/hosttable/Makefile 2017-01-20 12:09:42.936568593 +1100
-+++ libx_c/net/hosttable/Makefile      2017-01-20 12:09:42.976567508 +1100
+--- libx_c.post/net/hosttable/Makefile 2017-01-20 14:13:50.265402116 +1100
++++ libx_c/net/hosttable/Makefile      2017-01-20 14:13:50.301402334 +1100
 @@ -1,3 +1,5 @@
 +ROOT=../../../..
 +CC=gcc -g -I${ROOT}/cross/include -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
@@ -1253,8 +1350,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 -# IF YOU PUT STUFF HERE IT WILL GO AWAY
 -# see make depend above
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/net/Makefile libx_c/net/Makefile
---- libx_c.post/net/Makefile   2017-01-20 12:09:42.936568593 +1100
-+++ libx_c/net/Makefile        2017-01-20 12:09:42.976567508 +1100
+--- libx_c.post/net/Makefile   2017-01-20 14:13:50.265402116 +1100
++++ libx_c/net/Makefile        2017-01-20 14:13:50.301402334 +1100
 @@ -1,3 +1,5 @@
 +ROOT=../../..
 +CC=gcc -g -I${ROOT}/cross/include -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
@@ -1356,8 +1453,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 -# IF YOU PUT STUFF HERE IT WILL GO AWAY
 -# see make depend above
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/net/named/gethostnamadr.c libx_c/net/named/gethostnamadr.c
---- libx_c.post/net/named/gethostnamadr.c      2017-01-20 12:09:42.936568593 +1100
-+++ libx_c/net/named/gethostnamadr.c   2017-01-20 12:11:05.726624224 +1100
+--- libx_c.post/net/named/gethostnamadr.c      2017-01-20 14:13:50.265402116 +1100
++++ libx_c/net/named/gethostnamadr.c   2017-01-20 14:13:50.301402334 +1100
 @@ -12,6 +12,12 @@
  #include <sys/socket.h>
  #include <sys/types.h>
@@ -1383,8 +1480,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
                if (bp + n >= &hostbuf[sizeof(hostbuf)]) {
  #ifdef DEBUG
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/net/named/Makefile libx_c/net/named/Makefile
---- libx_c.post/net/named/Makefile     2017-01-20 12:09:42.936568593 +1100
-+++ libx_c/net/named/Makefile  2017-01-20 12:09:42.976567508 +1100
+--- libx_c.post/net/named/Makefile     2017-01-20 14:13:50.265402116 +1100
++++ libx_c/net/named/Makefile  2017-01-20 14:13:50.301402334 +1100
 @@ -1,3 +1,5 @@
 +ROOT=../../../..
 +CC=gcc -g -I${ROOT}/cross/include -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
@@ -1446,8 +1543,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 -# IF YOU PUT STUFF HERE IT WILL GO AWAY
 -# see make depend above
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/ns/Makefile libx_c/ns/Makefile
---- libx_c.post/ns/Makefile    2017-01-20 12:09:42.932568701 +1100
-+++ libx_c/ns/Makefile 2017-01-20 12:09:42.976567508 +1100
+--- libx_c.post/ns/Makefile    2017-01-20 14:13:50.261402091 +1100
++++ libx_c/ns/Makefile 2017-01-20 14:13:50.301402334 +1100
 @@ -1,3 +1,5 @@
 +ROOT=../../..
 +CC=gcc -g -I${ROOT}/cross/include -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
@@ -1503,8 +1600,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 -# IF YOU PUT STUFF HERE IT WILL GO AWAY
 -# see make depend above
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/stdio/doprnt.c libx_c/stdio/doprnt.c
---- libx_c.post/stdio/doprnt.c 2017-01-20 12:09:42.932568701 +1100
-+++ libx_c/stdio/doprnt.c      2017-01-20 12:09:42.976567508 +1100
+--- libx_c.post/stdio/doprnt.c 2017-01-20 14:13:50.261402091 +1100
++++ libx_c/stdio/doprnt.c      2017-01-20 14:13:50.301402334 +1100
 @@ -13,6 +13,14 @@
  #define _va_start(argp, arg) va_start(argp)
  #endif
@@ -1549,8 +1646,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
                        goto nosign;
                case 's':
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/stdio/findiop.c libx_c/stdio/findiop.c
---- libx_c.post/stdio/findiop.c        2017-01-20 12:09:42.932568701 +1100
-+++ libx_c/stdio/findiop.c     2017-01-20 12:09:42.976567508 +1100
+--- libx_c.post/stdio/findiop.c        2017-01-20 14:13:50.261402091 +1100
++++ libx_c/stdio/findiop.c     2017-01-20 14:13:50.301402334 +1100
 @@ -105,7 +105,7 @@
                        *iov = (FILE *)calloc(1, sizeof **iov);
  }
@@ -1561,8 +1658,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        register FILE *fp;
  
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/stdio/Makefile libx_c/stdio/Makefile
---- libx_c.post/stdio/Makefile 2017-01-20 12:09:42.932568701 +1100
-+++ libx_c/stdio/Makefile      2017-01-20 12:09:42.976567508 +1100
+--- libx_c.post/stdio/Makefile 2017-01-20 14:13:50.261402091 +1100
++++ libx_c/stdio/Makefile      2017-01-20 14:13:50.301402334 +1100
 @@ -1,3 +1,5 @@
 +ROOT=../../..
 +CC=gcc -g -I${ROOT}/cross/include -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
@@ -1695,8 +1792,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 -# IF YOU PUT STUFF HERE IT WILL GO AWAY
 -# see make depend above
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/stdio.h libx_c/stdio.h
---- libx_c.post/stdio.h        2017-01-20 12:09:42.944568376 +1100
-+++ libx_c/stdio.h     2017-01-20 12:09:42.976567508 +1100
+--- libx_c.post/stdio.h        2017-01-20 14:13:50.273402164 +1100
++++ libx_c/stdio.h     2017-01-20 14:13:50.301402334 +1100
 @@ -109,7 +109,7 @@
  FILE *_findiop __P((void));
  int _f_morefiles __P((void));
@@ -1707,8 +1804,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  
  /* stdio/flsbuf.c */
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/sys/dir.h libx_c/sys/dir.h
---- libx_c.post/sys/dir.h      2017-01-20 12:09:42.948568268 +1100
-+++ libx_c/sys/dir.h   2017-01-20 12:09:42.976567508 +1100
+--- libx_c.post/sys/dir.h      2017-01-20 14:13:50.277402188 +1100
++++ libx_c/sys/dir.h   2017-01-20 14:13:50.301402334 +1100
 @@ -122,7 +122,7 @@
  struct direct *readdir __P((register DIR *dirp));
  
@@ -1720,7 +1817,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  /* gen/seekdir.c */
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/sys/Makefile libx_c/sys/Makefile
 --- libx_c.post/sys/Makefile   1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/sys/Makefile        2017-01-20 12:09:42.976567508 +1100
++++ libx_c/sys/Makefile        2017-01-20 14:13:50.301402334 +1100
 @@ -0,0 +1,93 @@
 +ROOT=../../..
 +CC=gcc -g -I${ROOT}/cross/include -Dx_vax -Wall -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format -Wno-maybe-uninitialized -Wno-parentheses -Wno-unused-result
@@ -1815,9 +1912,21 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +
 +# DO NOT DELETE THIS LINE -- make depend uses it
 +
+diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/sys/open.c libx_c/sys/open.c
+--- libx_c.post/sys/open.c     2017-01-20 14:13:50.277402188 +1100
++++ libx_c/sys/open.c  2017-01-20 14:14:59.497806536 +1100
+@@ -17,7 +17,7 @@
+       va_list argp;
+       int res;
+-      _va_start(argp, fmt);
++      _va_start(argp, m);
+       res = vopen(f, m, argp);
+       va_end(argp);
+       return res;
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/sys/signal.h libx_c/sys/signal.h
---- libx_c.post/sys/signal.h   2017-01-20 12:09:42.948568268 +1100
-+++ libx_c/sys/signal.h        2017-01-20 12:09:42.976567508 +1100
+--- libx_c.post/sys/signal.h   2017-01-20 14:13:50.273402164 +1100
++++ libx_c/sys/signal.h        2017-01-20 14:13:50.301402334 +1100
 @@ -9,7 +9,7 @@
   *    @(#)signal.h    7.1 (Berkeley) 6/4/86
   */
index 6798000..03574cc 100644 (file)
@@ -1,6 +1,6 @@
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/compat-4.1/ftime.c libx_c/compat-4.1/ftime.c
---- libx_c.pre/compat-4.1/ftime.c      2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/compat-4.1/ftime.c  2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/compat-4.1/ftime.c      2017-01-20 14:09:48.623935316 +1100
++++ libx_c/compat-4.1/ftime.c  2017-01-20 14:09:48.631935348 +1100
 @@ -10,18 +10,20 @@
  
  #include <sys/types.h>
@@ -29,8 +29,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  ftime(tp)
        register struct timeb *tp; {
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/compat-4.1/gtty.c libx_c/compat-4.1/gtty.c
---- libx_c.pre/compat-4.1/gtty.c       2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/compat-4.1/gtty.c   2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/compat-4.1/gtty.c       2017-01-20 14:09:48.623935316 +1100
++++ libx_c/compat-4.1/gtty.c   2017-01-20 14:09:48.631935348 +1100
 @@ -15,7 +15,7 @@
  #include <sgtty.h>
  
@@ -41,8 +41,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        return(ioctl(fd, TIOCGETP, ap));
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/compat-4.1/stty.c libx_c/compat-4.1/stty.c
---- libx_c.pre/compat-4.1/stty.c       2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/compat-4.1/stty.c   2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/compat-4.1/stty.c       2017-01-20 14:09:48.623935316 +1100
++++ libx_c/compat-4.1/stty.c   2017-01-20 14:09:48.631935348 +1100
 @@ -15,7 +15,7 @@
  #include <sgtty.h>
  
@@ -53,8 +53,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        return(ioctl(fd, TIOCSETP, ap));
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/compat-4.1/times.c libx_c/compat-4.1/times.c
---- libx_c.pre/compat-4.1/times.c      2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/compat-4.1/times.c  2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/compat-4.1/times.c      2017-01-20 14:09:48.623935316 +1100
++++ libx_c/compat-4.1/times.c  2017-01-20 14:09:48.631935348 +1100
 @@ -10,16 +10,18 @@
  
  #include <sys/time.h>
@@ -81,8 +81,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  times(tmsp)
        register struct tms *tmsp; {
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/compat-4.1/vtimes.c libx_c/compat-4.1/vtimes.c
---- libx_c.pre/compat-4.1/vtimes.c     2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/compat-4.1/vtimes.c 2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/compat-4.1/vtimes.c     2017-01-20 14:09:48.623935316 +1100
++++ libx_c/compat-4.1/vtimes.c 2017-01-20 14:09:48.631935348 +1100
 @@ -10,23 +10,25 @@
  
  #include <sys/time.h>
@@ -122,8 +122,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  vtimes(par, chi)
        register struct vtimes *par, *chi; {
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/compat-sys5/memccpy.c libx_c/compat-sys5/memccpy.c
---- libx_c.pre/compat-sys5/memccpy.c   2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/compat-sys5/memccpy.c       2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/compat-sys5/memccpy.c   2017-01-20 14:09:48.627935332 +1100
++++ libx_c/compat-sys5/memccpy.c       2017-01-20 14:09:48.631935348 +1100
 @@ -13,11 +13,15 @@
  #endif
  
@@ -143,8 +143,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +#undef f
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/compat-sys5/memchr.c libx_c/compat-sys5/memchr.c
---- libx_c.pre/compat-sys5/memchr.c    2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/compat-sys5/memchr.c        2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/compat-sys5/memchr.c    2017-01-20 14:09:48.627935332 +1100
++++ libx_c/compat-sys5/memchr.c        2017-01-20 14:09:48.631935348 +1100
 @@ -12,12 +12,14 @@
  static char sccsid[] = "@(#)memchr.c  5.2 (Berkeley) 86/03/09";
  #endif
@@ -164,8 +164,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +#undef s
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/compat-sys5/memcmp.c libx_c/compat-sys5/memcmp.c
---- libx_c.pre/compat-sys5/memcmp.c    2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/compat-sys5/memcmp.c        2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/compat-sys5/memcmp.c    2017-01-20 14:09:48.627935332 +1100
++++ libx_c/compat-sys5/memcmp.c        2017-01-20 14:09:48.631935348 +1100
 @@ -12,11 +12,15 @@
  static char sccsid[] = "@(#)memcmp.c  5.2 (Berkeley) 86/03/09";
  #endif
@@ -185,8 +185,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +#undef s2
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/compat-sys5/memcpy.c libx_c/compat-sys5/memcpy.c
---- libx_c.pre/compat-sys5/memcpy.c    2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/compat-sys5/memcpy.c        2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/compat-sys5/memcpy.c    2017-01-20 14:09:48.627935332 +1100
++++ libx_c/compat-sys5/memcpy.c        2017-01-20 14:09:48.631935348 +1100
 @@ -12,14 +12,18 @@
  static char sccsid[] = "@(#)memcpy.c  5.2 (Berkeley) 86/03/09";
  #endif
@@ -210,8 +210,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +#undef f
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/compat-sys5/memset.c libx_c/compat-sys5/memset.c
---- libx_c.pre/compat-sys5/memset.c    2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/compat-sys5/memset.c        2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/compat-sys5/memset.c    2017-01-20 14:09:48.627935332 +1100
++++ libx_c/compat-sys5/memset.c        2017-01-20 14:09:48.631935348 +1100
 @@ -12,14 +12,16 @@
  static char sccsid[] = "@(#)memset.c  5.2 (Berkeley) 86/03/09";
  #endif
@@ -233,7 +233,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +#undef s
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/fcntl.h libx_c/fcntl.h
---- libx_c.pre/fcntl.h 2017-01-20 12:04:56.153620511 +1100
+--- libx_c.pre/fcntl.h 2017-01-20 14:09:48.623935316 +1100
 +++ libx_c/fcntl.h     1970-01-01 10:00:00.000000000 +1000
 @@ -1,40 +0,0 @@
 -/*
@@ -277,8 +277,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 -#define       FEXCL           04000           /* error if already created */
 -#endif
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/bcmp.c libx_c/gen/bcmp.c
---- libx_c.pre/gen/bcmp.c      2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/bcmp.c  2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/bcmp.c      2017-01-20 14:09:48.631935348 +1100
++++ libx_c/gen/bcmp.c  2017-01-20 14:09:48.631935348 +1100
 @@ -11,10 +11,11 @@
  /*
   * bcmp -- vax cmpc3 instruction
@@ -302,8 +302,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +#undef b2
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/bcopy.c libx_c/gen/bcopy.c
---- libx_c.pre/gen/bcopy.c     2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/bcopy.c 2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/bcopy.c     2017-01-20 14:09:48.627935332 +1100
++++ libx_c/gen/bcopy.c 2017-01-20 14:09:48.631935348 +1100
 @@ -11,9 +11,11 @@
  /*
   * bcopy -- vax movc3 instruction
@@ -341,8 +341,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +#undef dst
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/bzero.c libx_c/gen/bzero.c
---- libx_c.pre/gen/bzero.c     2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/bzero.c 2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/bzero.c     2017-01-20 14:09:48.631935348 +1100
++++ libx_c/gen/bzero.c 2017-01-20 14:09:48.631935348 +1100
 @@ -11,13 +11,14 @@
  /*
   * bzero -- vax movc5 instruction
@@ -362,8 +362,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +#undef b
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/calloc.c libx_c/gen/calloc.c
---- libx_c.pre/gen/calloc.c    2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/calloc.c        2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/calloc.c    2017-01-20 14:09:48.627935332 +1100
++++ libx_c/gen/calloc.c        2017-01-20 14:09:48.631935348 +1100
 @@ -5,11 +5,11 @@
  /*
   * Calloc - allocate and clear memory block
@@ -389,8 +389,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        unsigned size; {
        free(p);
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/fakcu.c libx_c/gen/fakcu.c
---- libx_c.pre/gen/fakcu.c     2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/fakcu.c 2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/fakcu.c     2017-01-20 14:09:48.627935332 +1100
++++ libx_c/gen/fakcu.c 2017-01-20 14:09:48.631935348 +1100
 @@ -6,5 +6,6 @@
   * Null cleanup routine to resolve reference in exit() 
   * if not using stdio.
@@ -399,8 +399,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  _cleanup() {
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/getpass.c libx_c/gen/getpass.c
---- libx_c.pre/gen/getpass.c   2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/getpass.c       2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/getpass.c   2017-01-20 14:09:48.627935332 +1100
++++ libx_c/gen/getpass.c       2017-01-20 14:09:48.631935348 +1100
 @@ -15,8 +15,8 @@
        register c;
        FILE *fi;
@@ -413,8 +413,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        if ((fi = fdopen(open("/dev/tty", 2), "r")) == NULL)
                fi = stdin;
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/getusershell.c libx_c/gen/getusershell.c
---- libx_c.pre/gen/getusershell.c      2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/getusershell.c  2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/getusershell.c      2017-01-20 14:09:48.631935348 +1100
++++ libx_c/gen/getusershell.c  2017-01-20 14:09:48.631935348 +1100
 @@ -62,7 +62,7 @@
        register char **sp, *cp;
        register FILE *fp;
@@ -434,8 +434,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
                return(okshells);
        }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/insque.c libx_c/gen/insque.c
---- libx_c.pre/gen/insque.c    2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/insque.c        2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/insque.c    2017-01-20 14:09:48.627935332 +1100
++++ libx_c/gen/insque.c        2017-01-20 14:09:48.635935365 +1100
 @@ -8,16 +8,19 @@
  static char sccsid[] = "@(#)insque.c  5.1 (Berkeley) 1/27/87";
  #endif
@@ -461,7 +461,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  insque(e, prev)
        register struct vaxque *e, *prev; {
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/isatty.c libx_c/gen/isatty.c
---- libx_c.pre/gen/isatty.c    2017-01-20 12:04:56.157620384 +1100
+--- libx_c.pre/gen/isatty.c    2017-01-20 14:09:48.627935332 +1100
 +++ libx_c/gen/isatty.c        1970-01-01 10:00:00.000000000 +1000
 @@ -1,17 +0,0 @@
 -#if defined(LIBC_SCCS) && !defined(lint)
@@ -482,8 +482,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 -      return(1);
 -}
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/malloc.c libx_c/gen/malloc.c
---- libx_c.pre/gen/malloc.c    2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/malloc.c        2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/malloc.c    2017-01-20 14:09:48.631935348 +1100
++++ libx_c/gen/malloc.c        2017-01-20 14:09:48.635935365 +1100
 @@ -82,7 +82,7 @@
  #if defined(DEBUG) || defined(RCHECK)
  #define       ASSERT(p)   if (!(p)) botch("p")
@@ -542,8 +542,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        char *s; {
        register int i, j;
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/ndbm.c libx_c/gen/ndbm.c
---- libx_c.pre/gen/ndbm.c      2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/ndbm.c  2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/ndbm.c      2017-01-20 14:09:48.627935332 +1100
++++ libx_c/gen/ndbm.c  2017-01-20 14:09:48.635935365 +1100
 @@ -14,6 +14,7 @@
  #include <stdio.h>
  #include <errno.h>
@@ -586,8 +586,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
                goto bad1;
        fstat(db->dbm_dirf, &statb);
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/perror.c libx_c/gen/perror.c
---- libx_c.pre/gen/perror.c    2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/perror.c        2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/perror.c    2017-01-20 14:09:48.627935332 +1100
++++ libx_c/gen/perror.c        2017-01-20 14:09:48.635935365 +1100
 @@ -17,7 +17,7 @@
  
  int   errno;
@@ -598,7 +598,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        char *s; {
        struct iovec iov[4];
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/popen.c libx_c/gen/popen.c
---- libx_c.pre/gen/popen.c     2017-01-20 12:04:56.157620384 +1100
+--- libx_c.pre/gen/popen.c     2017-01-20 14:09:48.631935348 +1100
 +++ libx_c/gen/popen.c 1970-01-01 10:00:00.000000000 +1000
 @@ -1,77 +0,0 @@
 -/*
@@ -679,8 +679,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 -      return (pid == -1 ? -1 : status);
 -}
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/qsort.c libx_c/gen/qsort.c
---- libx_c.pre/gen/qsort.c     2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/qsort.c 2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/qsort.c     2017-01-20 14:09:48.631935348 +1100
++++ libx_c/gen/qsort.c 2017-01-20 14:09:48.635935365 +1100
 @@ -32,11 +32,13 @@
   * It's not...
   */
@@ -715,8 +715,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        char *base, *max; {
        register char c, *i, *j, *jj;
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/random.c libx_c/gen/random.c
---- libx_c.pre/gen/random.c    2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/random.c        2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/random.c    2017-01-20 14:09:48.627935332 +1100
++++ libx_c/gen/random.c        2017-01-20 14:09:48.635935365 +1100
 @@ -222,7 +222,7 @@
        if(  n  <  BREAK_1  )  {
            if(  n  <  BREAK_0  )  {
@@ -727,8 +727,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
            rand_type = TYPE_0;
            rand_deg = DEG_0;
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/regex.c libx_c/gen/regex.c
---- libx_c.pre/gen/regex.c     2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/regex.c 2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/regex.c     2017-01-20 14:09:48.631935348 +1100
++++ libx_c/gen/regex.c 2017-01-20 14:09:48.635935365 +1100
 @@ -8,8 +8,6 @@
  static char sccsid[] = "@(#)regex.c   5.2 (Berkeley) 3/9/86";
  #endif
@@ -739,8 +739,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
   * routines to do regular expression matching
   *
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/remque.c libx_c/gen/remque.c
---- libx_c.pre/gen/remque.c    2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/remque.c        2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/remque.c    2017-01-20 14:09:48.631935348 +1100
++++ libx_c/gen/remque.c        2017-01-20 14:09:48.635935365 +1100
 @@ -8,16 +8,19 @@
  static char sccsid[] = "@(#)remque.c  5.1 (Berkeley) 1/27/87";
  #endif
@@ -766,8 +766,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  remque(e)
        register struct vaxque *e; {
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/signal.c libx_c/gen/signal.c
---- libx_c.pre/gen/signal.c    2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/signal.c        2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/signal.c    2017-01-20 14:09:48.627935332 +1100
++++ libx_c/gen/signal.c        2017-01-20 14:09:48.635935365 +1100
 @@ -13,9 +13,10 @@
   */
  #include <signal.h>
@@ -782,8 +782,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        static int mask[NSIG];
        static int flags[NSIG];
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/sleep.c libx_c/gen/sleep.c
---- libx_c.pre/gen/sleep.c     2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/sleep.c 2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/sleep.c     2017-01-20 14:09:48.631935348 +1100
++++ libx_c/gen/sleep.c 2017-01-20 14:09:48.635935365 +1100
 @@ -16,9 +16,11 @@
  
  static int ringring;
@@ -808,8 +808,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        ringring = 1;
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/syslog.c libx_c/gen/syslog.c
---- libx_c.pre/gen/syslog.c    2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/syslog.c        2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/syslog.c    2017-01-20 14:09:48.631935348 +1100
++++ libx_c/gen/syslog.c        2017-01-20 14:09:48.635935365 +1100
 @@ -54,6 +54,7 @@
  extern        int errno, sys_nerr;
  extern        char *sys_errlist[];
@@ -837,8 +837,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        LogFile = -1;
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/system.c libx_c/gen/system.c
---- libx_c.pre/gen/system.c    2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/system.c        2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/system.c    2017-01-20 14:09:48.627935332 +1100
++++ libx_c/gen/system.c        2017-01-20 14:09:48.635935365 +1100
 @@ -7,7 +7,7 @@
  system(s)
  char *s; {
@@ -849,8 +849,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        if ((pid = vfork()) == 0) {
                execl("/bin/sh", "sh", "-c", s, 0);
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/usleep.c libx_c/gen/usleep.c
---- libx_c.pre/gen/usleep.c    2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/usleep.c        2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/usleep.c    2017-01-20 14:09:48.627935332 +1100
++++ libx_c/gen/usleep.c        2017-01-20 14:09:48.635935365 +1100
 @@ -19,9 +19,11 @@
  
  static int ringring;
@@ -875,8 +875,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        ringring = 1;
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/valloc.c libx_c/gen/valloc.c
---- libx_c.pre/gen/valloc.c    2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/gen/valloc.c        2017-01-20 12:04:56.161620257 +1100
+--- libx_c.pre/gen/valloc.c    2017-01-20 14:09:48.627935332 +1100
++++ libx_c/gen/valloc.c        2017-01-20 14:09:48.635935365 +1100
 @@ -8,9 +8,9 @@
  static char sccsid[] = "@(#)valloc.c  5.2 (Berkeley) 3/9/86";
  #endif
@@ -891,7 +891,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        int valsiz = getpagesize(), j;
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen.h libx_c/gen.h
 --- libx_c.pre/gen.h   1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/gen.h       2017-01-20 12:04:56.165620130 +1100
++++ libx_c/gen.h       2017-01-20 14:09:48.635935365 +1100
 @@ -0,0 +1,5 @@
 +/* formerly duplicated in gen/insque.c and gen/remque.c */
 +struct vaxque {               /* queue format expected by VAX queue instructions */
@@ -899,8 +899,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +      struct vaxque   *vq_prev;
 +};
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/net/rcmd.c libx_c/net/rcmd.c
---- libx_c.pre/net/rcmd.c      2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/net/rcmd.c  2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/net/rcmd.c      2017-01-20 14:09:48.623935316 +1100
++++ libx_c/net/rcmd.c  2017-01-20 14:09:48.635935365 +1100
 @@ -58,7 +58,7 @@
                sin.sin_family = hp->h_addrtype;
                bcopy(hp->h_addr_list[0], (caddr_t)&sin.sin_addr, hp->h_length);
@@ -929,8 +929,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
                if (errno != EADDRINUSE) {
                        (void) close(s);
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/net/res_debug.c libx_c/net/res_debug.c
---- libx_c.pre/net/res_debug.c 2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/net/res_debug.c     2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/net/res_debug.c 2017-01-20 14:09:48.623935316 +1100
++++ libx_c/net/res_debug.c     2017-01-20 14:09:48.635935365 +1100
 @@ -324,7 +324,9 @@
  }
  
@@ -966,8 +966,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        }
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/net/res_mkquery.c libx_c/net/res_mkquery.c
---- libx_c.pre/net/res_mkquery.c       2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/net/res_mkquery.c   2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/net/res_mkquery.c       2017-01-20 14:09:48.623935316 +1100
++++ libx_c/net/res_mkquery.c   2017-01-20 14:09:48.635935365 +1100
 @@ -14,7 +14,10 @@
  #include <arpa/nameser.h>
  #include <resolv.h>
@@ -992,8 +992,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        /*
         * perform opcode specific processing
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/net/res_send.c libx_c/net/res_send.c
---- libx_c.pre/net/res_send.c  2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/net/res_send.c      2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/net/res_send.c  2017-01-20 14:09:48.623935316 +1100
++++ libx_c/net/res_send.c      2017-01-20 14:09:48.635935365 +1100
 @@ -82,7 +82,7 @@
  #endif
                                        continue;
@@ -1013,8 +1013,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
                            send(s, buf, buflen, 0) != buflen) {
  #ifdef DEBUG
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/net/rexec.c libx_c/net/rexec.c
---- libx_c.pre/net/rexec.c     2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/net/rexec.c 2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/net/rexec.c     2017-01-20 14:09:48.623935316 +1100
++++ libx_c/net/rexec.c 2017-01-20 14:09:48.635935365 +1100
 @@ -49,7 +49,7 @@
        sin.sin_family = hp->h_addrtype;
        sin.sin_port = rport;
@@ -1034,8 +1034,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
                  if (s3 < 0) {
                        perror("accept");
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/net/ruserpass.c libx_c/net/ruserpass.c
---- libx_c.pre/net/ruserpass.c 2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/net/ruserpass.c     2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/net/ruserpass.c 2017-01-20 14:09:48.623935316 +1100
++++ libx_c/net/ruserpass.c     2017-01-20 14:09:48.635935365 +1100
 @@ -19,6 +19,7 @@
  struct        utmp *getutmp();
  static        FILE *cfile;
@@ -1117,7 +1117,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        register char *skey;
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/net.h libx_c/net.h
 --- libx_c.pre/net.h   1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/net.h       2017-01-20 12:04:56.165620130 +1100
++++ libx_c/net.h       2017-01-20 14:09:48.635935365 +1100
 @@ -0,0 +1,16 @@
 +/* formerly duplicated in netinet/in.h and netns/ns.h */
 +/* confuses cproto which thinks #define names are types or type modifiers */
@@ -1136,8 +1136,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +u_long        ntohl(), htonl();
 +/*#endif*/
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/netinet/in.h libx_c/netinet/in.h
---- libx_c.pre/netinet/in.h    2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/netinet/in.h        2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/netinet/in.h    2017-01-20 14:09:48.623935316 +1100
++++ libx_c/netinet/in.h        2017-01-20 14:09:48.635935365 +1100
 @@ -90,20 +90,21 @@
   */
  #define       IP_OPTIONS      1               /* set/get IP per-packet options */
@@ -1171,8 +1171,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  #ifdef KERNEL
  extern        struct domain inetdomain;
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/netinet/ip.h libx_c/netinet/ip.h
---- libx_c.pre/netinet/ip.h    2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/netinet/ip.h        2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/netinet/ip.h    2017-01-20 14:09:48.623935316 +1100
++++ libx_c/netinet/ip.h        2017-01-20 14:09:48.639935381 +1100
 @@ -81,7 +81,7 @@
                        struct in_addr ipt_addr;
                        n_long ipt_time;
@@ -1183,8 +1183,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  
  /* flag bits for ipt_flg */
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/netinet/tcp.h libx_c/netinet/tcp.h
---- libx_c.pre/netinet/tcp.h   2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/netinet/tcp.h       2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/netinet/tcp.h   2017-01-20 14:09:48.623935316 +1100
++++ libx_c/netinet/tcp.h       2017-01-20 14:09:48.639935381 +1100
 @@ -44,7 +44,9 @@
  #ifdef        lint
  #define       TCP_MSS 536
@@ -1197,8 +1197,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  
  /*
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/netns/ns.h libx_c/netns/ns.h
---- libx_c.pre/netns/ns.h      2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/netns/ns.h  2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/netns/ns.h      2017-01-20 14:09:48.623935316 +1100
++++ libx_c/netns/ns.h  2017-01-20 14:09:48.639935381 +1100
 @@ -103,20 +103,21 @@
  #define ns_nullhost(x) (((x).x_host.s_host[0]==0) && \
        ((x).x_host.s_host[1]==0) && ((x).x_host.s_host[2]==0))
@@ -1232,7 +1232,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  #ifdef KERNEL
  extern struct domain nsdomain;
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/nlist.h libx_c/nlist.h
---- libx_c.pre/nlist.h 2017-01-20 12:04:56.153620511 +1100
+--- libx_c.pre/nlist.h 2017-01-20 14:09:48.623935316 +1100
 +++ libx_c/nlist.h     1970-01-01 10:00:00.000000000 +1000
 @@ -1,46 +0,0 @@
 -/*
@@ -1282,8 +1282,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 - */
 -#define       N_FORMAT        "%08x"
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/ns/ns_addr.c libx_c/ns/ns_addr.c
---- libx_c.pre/ns/ns_addr.c    2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/ns/ns_addr.c        2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/ns/ns_addr.c    2017-01-20 14:09:48.623935316 +1100
++++ libx_c/ns/ns_addr.c        2017-01-20 14:09:48.639935381 +1100
 @@ -54,7 +54,7 @@
        socketname = index(hostname, separator);
        if (socketname) {
@@ -1303,8 +1303,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  char *buf;
  u_char *out;
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/stdio/doprnt.c libx_c/stdio/doprnt.c
---- libx_c.pre/stdio/doprnt.c  2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/stdio/doprnt.c      2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/stdio/doprnt.c  2017-01-20 14:09:48.623935316 +1100
++++ libx_c/stdio/doprnt.c      2017-01-20 14:09:48.639935381 +1100
 @@ -271,9 +271,10 @@
                                 * NUL in the first `prec' characters, and
                                 * strlen() will go further.
@@ -1319,8 +1319,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
                                        if (size > prec)
                                                size = prec;
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/stdio/doscan.c libx_c/stdio/doscan.c
---- libx_c.pre/stdio/doscan.c  2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/stdio/doscan.c      2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/stdio/doscan.c  2017-01-20 14:09:48.623935316 +1100
++++ libx_c/stdio/doscan.c      2017-01-20 14:09:48.639935381 +1100
 @@ -3,7 +3,8 @@
  #endif
  
@@ -1401,8 +1401,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        }
        return(1);
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/stdio/findiop.c libx_c/stdio/findiop.c
---- libx_c.pre/stdio/findiop.c 2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/stdio/findiop.c     2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/stdio/findiop.c 2017-01-20 14:09:48.623935316 +1100
++++ libx_c/stdio/findiop.c     2017-01-20 14:09:48.639935381 +1100
 @@ -23,7 +23,7 @@
        { 0, NULL, NULL, 0, _IOWRT|_IONBF,      2 },    /* stderr */
  };
@@ -1442,8 +1442,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
        extern int fclose();
  
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/stdio/fprintf.c libx_c/stdio/fprintf.c
---- libx_c.pre/stdio/fprintf.c 2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/stdio/fprintf.c     2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/stdio/fprintf.c 2017-01-20 14:09:48.623935316 +1100
++++ libx_c/stdio/fprintf.c     2017-01-20 14:09:48.639935381 +1100
 @@ -1,31 +1,48 @@
  /*
   * Copyright (c) 1980 Regents of the University of California.
@@ -1504,8 +1504,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +      return(ferror(iop) ? EOF : len);
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/stdio/fread.c libx_c/stdio/fread.c
---- libx_c.pre/stdio/fread.c   2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/stdio/fread.c       2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/stdio/fread.c   2017-01-20 14:09:48.623935316 +1100
++++ libx_c/stdio/fread.c       2017-01-20 14:09:48.639935381 +1100
 @@ -10,10 +10,11 @@
  
  #include      <stdio.h>
@@ -1527,8 +1527,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +#undef ptr
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/stdio/fwrite.c libx_c/stdio/fwrite.c
---- libx_c.pre/stdio/fwrite.c  2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/stdio/fwrite.c      2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/stdio/fwrite.c  2017-01-20 14:09:48.623935316 +1100
++++ libx_c/stdio/fwrite.c      2017-01-20 14:09:48.639935381 +1100
 @@ -10,10 +10,11 @@
  
  #include      <stdio.h>
@@ -1551,7 +1551,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/stdio/popen.c libx_c/stdio/popen.c
 --- libx_c.pre/stdio/popen.c   1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/stdio/popen.c       2017-01-20 12:04:56.165620130 +1100
++++ libx_c/stdio/popen.c       2017-01-20 14:09:48.639935381 +1100
 @@ -0,0 +1,77 @@
 +/*
 + * Copyright (c) 1980 Regents of the University of California.
@@ -1631,8 +1631,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +      return (pid == -1 ? -1 : status);
 +}
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/stdio/printf.c libx_c/stdio/printf.c
---- libx_c.pre/stdio/printf.c  2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/stdio/printf.c      2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/stdio/printf.c  2017-01-20 14:09:48.623935316 +1100
++++ libx_c/stdio/printf.c      2017-01-20 14:09:48.639935381 +1100
 @@ -1,11 +1,35 @@
 +/*
 + * Copyright (c) 1987 Regents of the University of California.
@@ -1676,8 +1676,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +      return(ferror(stdout) ? EOF : len);
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/stdio/scanf.c libx_c/stdio/scanf.c
---- libx_c.pre/stdio/scanf.c   2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/stdio/scanf.c       2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/stdio/scanf.c   2017-01-20 14:09:48.623935316 +1100
++++ libx_c/stdio/scanf.c       2017-01-20 14:09:48.639935381 +1100
 @@ -2,29 +2,50 @@
  static char sccsid[] = "@(#)scanf.c   5.2 (Berkeley) 3/9/86";
  #endif
@@ -1740,8 +1740,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +      return len;
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/stdio/setbuffer.c libx_c/stdio/setbuffer.c
---- libx_c.pre/stdio/setbuffer.c       2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/stdio/setbuffer.c   2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/stdio/setbuffer.c       2017-01-20 14:09:48.623935316 +1100
++++ libx_c/stdio/setbuffer.c   2017-01-20 14:09:48.639935381 +1100
 @@ -33,11 +33,11 @@
  setlinebuf(iop)
        register FILE *iop; {
@@ -1757,8 +1757,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
                setbuffer(iop, buf, BUFSIZ);
                iop->_flag |= _IOLBF|_IOMYBUF;
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/stdio/sprintf.c libx_c/stdio/sprintf.c
---- libx_c.pre/stdio/sprintf.c 2017-01-20 12:04:56.149620637 +1100
-+++ libx_c/stdio/sprintf.c     2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/stdio/sprintf.c 2017-01-20 14:09:48.623935316 +1100
++++ libx_c/stdio/sprintf.c     2017-01-20 14:09:48.639935381 +1100
 @@ -1,17 +1,40 @@
 +/*
 + * Copyright (c) 1987 Regents of the University of California.
@@ -1809,7 +1809,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/stdio/vfprintf.c libx_c/stdio/vfprintf.c
 --- libx_c.pre/stdio/vfprintf.c        1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/stdio/vfprintf.c    2017-01-20 12:04:56.165620130 +1100
++++ libx_c/stdio/vfprintf.c    2017-01-20 14:09:48.639935381 +1100
 @@ -0,0 +1,46 @@
 +/*
 + * Copyright (c) 1988 Regents of the University of California.
@@ -1859,7 +1859,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +}
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/stdio/vprintf.c libx_c/stdio/vprintf.c
 --- libx_c.pre/stdio/vprintf.c 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/stdio/vprintf.c     2017-01-20 12:04:56.165620130 +1100
++++ libx_c/stdio/vprintf.c     2017-01-20 14:09:48.639935381 +1100
 @@ -0,0 +1,33 @@
 +/*
 + * Copyright (c) 1988 Regents of the University of California.
@@ -1896,7 +1896,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +}
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/stdio/vsprintf.c libx_c/stdio/vsprintf.c
 --- libx_c.pre/stdio/vsprintf.c        1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/stdio/vsprintf.c    2017-01-20 12:04:56.165620130 +1100
++++ libx_c/stdio/vsprintf.c    2017-01-20 14:09:48.639935381 +1100
 @@ -0,0 +1,38 @@
 +/*
 + * Copyright (c) 1988 Regents of the University of California.
@@ -1937,8 +1937,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +      return (len);
 +}
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/stdio.h libx_c/stdio.h
---- libx_c.pre/stdio.h 2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/stdio.h     2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/stdio.h 2017-01-20 14:09:48.623935316 +1100
++++ libx_c/stdio.h     2017-01-20 14:09:48.639935381 +1100
 @@ -59,7 +59,7 @@
  long  ftell();
  char  *fgets();
@@ -1948,17 +1948,9 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  char  *sprintf();             /* too painful to do right */
  #endif
  # endif
-diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/brk.c libx_c/sys/brk.c
---- libx_c.pre/sys/brk.c       2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/brk.c   2017-01-20 12:06:02.720360567 +1100
-@@ -1,3 +1,3 @@
--char *brk(a) char *a; {
-+void *brk(a) void *a; {
-   abort();
- }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/dir.h libx_c/sys/dir.h
---- libx_c.pre/sys/dir.h       2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/sys/dir.h   2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/sys/dir.h       2017-01-20 14:09:48.627935332 +1100
++++ libx_c/sys/dir.h   2017-01-20 14:09:48.639935381 +1100
 @@ -32,9 +32,9 @@
   * dp->d_ino set to 0.
   */
@@ -1973,8 +1965,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  #define       MAXNAMLEN       255
  
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/errno.h libx_c/sys/errno.h
---- libx_c.pre/sys/errno.h     2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/errno.h 2017-01-20 12:04:56.165620130 +1100
+--- libx_c.pre/sys/errno.h     2017-01-20 14:09:48.627935332 +1100
++++ libx_c/sys/errno.h 2017-01-20 14:09:48.639935381 +1100
 @@ -96,3 +96,7 @@
  #define       EPROCLIM        67              /* Too many processes */
  #define       EUSERS          68              /* Too many users */
@@ -1984,34 +1976,28 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +extern int errno;
 +#endif
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/execl.c libx_c/sys/execl.c
---- libx_c.pre/sys/execl.c     2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/sys/execl.c 2017-01-20 12:04:56.165620130 +1100
-@@ -1,3 +1,4 @@
+--- libx_c.pre/sys/execl.c     2017-01-20 14:09:48.627935332 +1100
++++ libx_c/sys/execl.c 2017-01-20 14:09:48.639935381 +1100
+@@ -1,4 +1,5 @@
 -void execl(f, a) char *f, *a; {
 +#include <varargs.h>
 +void execl(f, va_alist) char *f; va_dcl {
-   abort();
+       write(2, "execl()\n", 8);
+       abort();
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/execle.c libx_c/sys/execle.c
---- libx_c.pre/sys/execle.c    2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/execle.c        2017-01-20 12:04:56.165620130 +1100
-@@ -1,3 +1,4 @@
+--- libx_c.pre/sys/execle.c    2017-01-20 14:09:48.627935332 +1100
++++ libx_c/sys/execle.c        2017-01-20 14:09:48.639935381 +1100
+@@ -1,4 +1,5 @@
 -void execle(f, a) char *f, *a; {
 +#include <varargs.h>
 +void execle(f, va_alist) char *f; va_dcl {
-   abort();
- }
-diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/ioctl.c libx_c/sys/ioctl.c
---- libx_c.pre/sys/ioctl.c     2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/ioctl.c 2017-01-20 12:04:56.165620130 +1100
-@@ -1,3 +1,3 @@
--int ioctl(d, r, p) u_long r; char *p; {
-+int ioctl(d, r, p) u_long r; void *p; {
-   abort();
+       write(2, "execle()\n", 9);
+       abort();
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/isatty.c libx_c/sys/isatty.c
 --- libx_c.pre/sys/isatty.c    1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/sys/isatty.c        2017-01-20 12:04:56.165620130 +1100
++++ libx_c/sys/isatty.c        2017-01-20 14:09:48.639935381 +1100
 @@ -0,0 +1,17 @@
 +#if defined(LIBC_SCCS) && !defined(lint)
 +static char sccsid[] = "@(#)isatty.c  5.2 (Berkeley) 3/9/86";
@@ -2031,17 +2017,23 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +      return(1);
 +}
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/open.c libx_c/sys/open.c
---- libx_c.pre/sys/open.c      2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/open.c  2017-01-20 12:04:56.165620130 +1100
-@@ -1,3 +1,4 @@
--int open(f, m, stuff) char *f; {
-+#include <varargs.h>
-+int open(f, m, va_alist) char *f; va_dcl {
-   abort();
+--- libx_c.pre/sys/open.c      2017-01-20 14:09:48.627935332 +1100
++++ libx_c/sys/open.c  2017-01-20 14:11:49.080620797 +1100
+@@ -1,4 +1,9 @@
+ int open(f, m, va_alist) char *f; va_dcl {
+-      write(2, "open()\n", 7);
+-      abort();
++      va_list argp;
++      int res;
++
++      va_start(argp);
++      res = vopen(f, m, argp);
++      va_end(argp);
++      return res;
  }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/param.h libx_c/sys/param.h
---- libx_c.pre/sys/param.h     2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/param.h 2017-01-20 12:04:56.169620003 +1100
+--- libx_c.pre/sys/param.h     2017-01-20 14:09:48.627935332 +1100
++++ libx_c/sys/param.h 2017-01-20 14:09:48.639935381 +1100
 @@ -53,15 +53,16 @@
  /*
   * Signals
@@ -2088,8 +2080,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +/* moved this from sys/types.h */
 +#define       NBBY    8               /* number of bits in a byte */
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/proc.h libx_c/sys/proc.h
---- libx_c.pre/sys/proc.h      2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/proc.h  2017-01-20 12:04:56.169620003 +1100
+--- libx_c.pre/sys/proc.h      2017-01-20 14:09:48.627935332 +1100
++++ libx_c/sys/proc.h  2017-01-20 14:09:48.639935381 +1100
 @@ -117,3 +117,8 @@
  #define       SSEL    0x0400000       /* selecting; wakeup/waiting danger */
  #define       SLOGIN  0x0800000       /* a login process (legit child of init) */
@@ -2099,41 +2091,9 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +#define       ISSIG(p) \
 +      ((p)->p_sig && ((p)->p_flag&STRC || \
 +       ((p)->p_sig &~ ((p)->p_sigignore | (p)->p_sigmask))) && issig())
-diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/read.c libx_c/sys/read.c
---- libx_c.pre/sys/read.c      2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/read.c  2017-01-20 12:04:56.169620003 +1100
-@@ -1,3 +1,3 @@
--int read(f, b, l) char *b; {
-+int read(f, b, l) void *b; {
-   abort();
- }
-diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/recv.c libx_c/sys/recv.c
---- libx_c.pre/sys/recv.c      2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/recv.c  2017-01-20 12:04:56.169620003 +1100
-@@ -1,3 +1,3 @@
--int recv(s, b, l, f) char *b; {
-+int recv(s, b, l, f) void *b; {
-   abort();
- }
-diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/recvfrom.c libx_c/sys/recvfrom.c
---- libx_c.pre/sys/recvfrom.c  2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/recvfrom.c      2017-01-20 12:04:56.169620003 +1100
-@@ -1,3 +1,3 @@
--int recvfrom(s, b, l, f, fr, fl) char *b; struct sockaddr *fr; int *fl; {
-+int recvfrom(s, b, l, f, fr, fl) void *b; struct sockaddr *fr; int *fl; {
-   abort();
- }
-diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/sbrk.c libx_c/sys/sbrk.c
---- libx_c.pre/sys/sbrk.c      2017-01-20 12:04:56.157620384 +1100
-+++ libx_c/sys/sbrk.c  2017-01-20 12:05:49.029437799 +1100
-@@ -1,3 +1,3 @@
--char *sbrk(i) {
-+void *sbrk(i) {
-   abort();
- }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/select.h libx_c/sys/select.h
 --- libx_c.pre/sys/select.h    1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/sys/select.h        2017-01-20 12:04:56.169620003 +1100
++++ libx_c/sys/select.h        2017-01-20 14:09:48.639935381 +1100
 @@ -0,0 +1,28 @@
 +#include <sys/param.h>
 +
@@ -2163,25 +2123,9 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +#define       FD_CLR(n, p)    ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS)))
 +#define       FD_ISSET(n, p)  ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS)))
 +#define FD_ZERO(p)    bzero((char *)(p), sizeof(*(p)))
-diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/send.c libx_c/sys/send.c
---- libx_c.pre/sys/send.c      2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/send.c  2017-01-20 12:04:56.169620003 +1100
-@@ -1,3 +1,3 @@
--int send(s, m, l, f) char *m; {
-+int send(s, m, l, f) void *m; {
-   abort();
- }
-diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/sendto.c libx_c/sys/sendto.c
---- libx_c.pre/sys/sendto.c    2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/sendto.c        2017-01-20 12:04:56.169620003 +1100
-@@ -1,3 +1,3 @@
--int sendto(s, m, l, f, t, tl) char *m; struct sockaddr *t; {
-+int sendto(s, m, l, f, t, tl) void *m; struct sockaddr *t; {
-   abort();
- }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/signal.h libx_c/sys/signal.h
---- libx_c.pre/sys/signal.h    2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/signal.h        2017-01-20 12:04:56.169620003 +1100
+--- libx_c.pre/sys/signal.h    2017-01-20 14:09:48.627935332 +1100
++++ libx_c/sys/signal.h        2017-01-20 14:09:48.639935381 +1100
 @@ -57,14 +57,14 @@
  #define SIGUSR2 31    /* user defined signal 2 */
  
@@ -2219,8 +2163,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  #endif
  
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/tty.h libx_c/sys/tty.h
---- libx_c.pre/sys/tty.h       2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/tty.h   2017-01-20 12:04:56.169620003 +1100
+--- libx_c.pre/sys/tty.h       2017-01-20 14:09:48.627935332 +1100
++++ libx_c/sys/tty.h   2017-01-20 14:09:48.639935381 +1100
 @@ -70,20 +70,22 @@
        struct  ttychars t_chars;       /* tty */
        struct  winsize t_winsize;      /* window size */
@@ -2259,8 +2203,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  
  #define       TTIPRI  28
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/types.h libx_c/sys/types.h
---- libx_c.pre/sys/types.h     2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/types.h 2017-01-20 12:04:56.169620003 +1100
+--- libx_c.pre/sys/types.h     2017-01-20 14:09:48.627935332 +1100
++++ libx_c/sys/types.h 2017-01-20 14:09:48.639935381 +1100
 @@ -45,30 +45,32 @@
  typedef       u_short uid_t;
  typedef       u_short gid_t;
@@ -2312,14 +2256,14 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
  #endif
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/vfork.c libx_c/sys/vfork.c
 --- libx_c.pre/sys/vfork.c     1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/sys/vfork.c 2017-01-20 12:04:56.169620003 +1100
++++ libx_c/sys/vfork.c 2017-01-20 14:09:48.639935381 +1100
 @@ -0,0 +1,3 @@
 +int vfork() {
 +  abort();
 +}
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/vmmac.h libx_c/sys/vmmac.h
---- libx_c.pre/sys/vmmac.h     2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/vmmac.h 2017-01-20 12:04:56.169620003 +1100
+--- libx_c.pre/sys/vmmac.h     2017-01-20 14:09:48.627935332 +1100
++++ libx_c/sys/vmmac.h 2017-01-20 14:09:48.639935381 +1100
 @@ -157,3 +157,10 @@
        } \
        c->c_lock = 0; \
@@ -2333,31 +2277,15 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '
 +      (*(int *)(pte) = (pfnum) | (prot), mtpr(TBIS, ptob(v)))
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/vopen.c libx_c/sys/vopen.c
 --- libx_c.pre/sys/vopen.c     1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/sys/vopen.c 2017-01-20 12:04:56.169620003 +1100
++++ libx_c/sys/vopen.c 2017-01-20 14:10:41.576142959 +1100
 @@ -0,0 +1,4 @@
-+#include <varargs.h>
 +int vopen(f, m, argp) char *f; va_list argp; {
-+  abort();
++      write(2, "vopen()\n", 8);
++      abort();
 +}
-diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/wait.c libx_c/sys/wait.c
---- libx_c.pre/sys/wait.c      2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/wait.c  2017-01-20 12:04:56.169620003 +1100
-@@ -1,3 +1,3 @@
--int wait(s) union wait *s; {
-+int wait(s) int *s; {
-   abort();
- }
-diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/write.c libx_c/sys/write.c
---- libx_c.pre/sys/write.c     2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/sys/write.c 2017-01-20 12:04:56.169620003 +1100
-@@ -1,3 +1,3 @@
--int write(f, b, l) char *b; {
-+int write(f, b, l) void *b; {
-   abort();
- }
 diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/vax/vmparam.h libx_c/vax/vmparam.h
---- libx_c.pre/vax/vmparam.h   2017-01-20 12:04:56.153620511 +1100
-+++ libx_c/vax/vmparam.h       2017-01-20 12:04:56.169620003 +1100
+--- libx_c.pre/vax/vmparam.h   2017-01-20 14:09:48.623935316 +1100
++++ libx_c/vax/vmparam.h       2017-01-20 14:09:48.639935381 +1100
 @@ -156,5 +156,6 @@
  /*
   * BEWARE THIS DEFINITION WORKS ONLY WITH COUNT OF 1
index 1883387..bcfc927 100755 (executable)
@@ -26,28 +26,28 @@ do
   ../../xify/xify.sh <$i >../../cross/include/`dirname $i`/x_`basename $i`
 done
 
-find . -name '*.h' -print |\
-sed -e 's:\./::' |\
-while read i
-do
-  echo "i=$i"
-  name=`echo $i |tr '.\-/' '___'`
-  echo "name=$name"
-  echo "#include <$i>" |../../xify/xify.sh >$name.temp.c
-  echo "===$i===" >&2
-  gcc -I../../cross/include -Dx_vax -Dx_NCMD=1 -Dx_NRSP=1 -c $name.temp.c
-  rm $name.temp.c
-done
-
-find . -name '*.c' -print |\
-sed -e 's:\./::' |\
-while read i
-do
-  echo "i=$i"
-  name=`echo $i |tr '.\-/' '___'`
-  echo "name=$name"
-  ../../xify/xify.sh <$i >$name.temp.c
-  echo "===$i===" >&2
-  gcc -I../../cross/include -Dx_vax -c $name.temp.c
-  rm $name.temp.c
-done
+#find . -name '*.h' -print |\
+#sed -e 's:\./::' |\
+#while read i
+#do
+#  echo "i=$i"
+#  name=`echo $i |tr '.\-/' '___'`
+#  echo "name=$name"
+#  echo "#include <$i>" |../../xify/xify.sh >$name.temp.c
+#  echo "===$i===" >&2
+#  gcc -I../../cross/include -Dx_vax -Dx_NCMD=1 -Dx_NRSP=1 -c $name.temp.c
+#  rm $name.temp.c
+#done
+#
+#find . -name '*.c' -print |\
+#sed -e 's:\./::' |\
+#while read i
+#do
+#  echo "i=$i"
+#  name=`echo $i |tr '.\-/' '___'`
+#  echo "name=$name"
+#  ../../xify/xify.sh <$i >$name.temp.c
+#  echo "===$i===" >&2
+#  gcc -I../../cross/include -Dx_vax -c $name.temp.c
+#  rm $name.temp.c
+#done
index f3b57df..1023afe 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 
 void _exit(s) int s; {
-  abort();
+       write(2, "_exit()\n", 8);
+       abort();
 }
index 988cf31..0720bfa 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/socket.h>
 
 /*#include <sys/socket.h>*/
 int accept(s, a, l) int s; struct sockaddr *a; int *l; {
-  abort();
+       write(2, "accept()\n", 9);
+       abort();
 }
index f5bfafa..bb4628d 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int access(p, m) char *p; int m; {
-  abort();
+       write(2, "access()\n", 9);
+       abort();
 }
index 3a1ecc3..deb5bb1 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <sys/acct.h>
+#include <sys/file.h>
 
 int acct(f) char *f; {
-  abort();
+       write(2, "acct()\n", 7);
+       abort();
 }
index 2f4451b..bcc9802 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/time.h>
 
 /*#include <sys/time.h>*/
 int adjtime(delta, odelta) struct timeval *delta; struct timeval *odelta; {
-  abort();
+       write(2, "adjtime()\n", 10);
+       abort();
 }
index 04f3808..f42e723 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/socket.h>
 
 /*#include <sys/socket.h>*/
 int bind(s, n, l) int s; struct sockaddr *n; int l; {
-  abort();
+       write(2, "bind()\n", 7);
+       abort();
 }
index 4f2cd09..47604ef 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 
 void *brk(a) void *a; {
-  abort();
+       write(2, "brk()\n", 6);
+       abort();
 }
index 727cb39..de21965 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 
 int chdir(s) char *s; {
-  abort();
+       write(2, "chdir()\n", 8);
+       abort();
 }
index 6c87af8..7ca3826 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int chmod(s, m) char *s; int m; {
-  abort();
+       write(2, "chmod()\n", 8);
+       abort();
 }
index e2ad367..505304e 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int chown(s, u, g) char *s; int u; int g; {
-  abort();
+       write(2, "chown()\n", 8);
+       abort();
 }
index e6ea5e9..1c57d50 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 
 int chroot(d) char *d; {
-  abort();
+       write(2, "chroot()\n", 9);
+       abort();
 }
index 76c0c76..da0072a 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int close(f) int f; {
-  abort();
+       write(2, "close()\n", 8);
+       abort();
 }
index 36e6738..a3a2d3d 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/socket.h>
 
 /*#include <sys/socket.h>*/
 int connect(s, n, l) int s; struct sockaddr *n; int l; {
-  abort();
+       write(2, "connect()\n", 10);
+       abort();
 }
index cc3066b..ef21e42 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int creat(s, m) char *s; int m; {
-  abort();
+       write(2, "creat()\n", 8);
+       abort();
 }
index dd4d321..1aec890 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int dup(f) int f; {
-  abort();
+       write(2, "dup()\n", 6);
+       abort();
 }
index c7ec418..af389fe 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int dup2(o, n) int o; int n; {
-  abort();
+       write(2, "dup2()\n", 7);
+       abort();
 }
index 3d1950f..2616b8b 100644 (file)
@@ -1,5 +1,6 @@
 #include <gen.h>
 #include <sys/exec.h>
+#include <sys/file.h>
 #ifdef __STDC__
 #include <stdarg.h>
 #define _va_start(argp, arg) va_start(argp, arg)
@@ -15,5 +16,6 @@ void execl(char *f, ...)
 void execl(f, va_alist) char *f; va_dcl
 #endif
 {
-  abort();
+       write(2, "execl()\n", 8);
+       abort();
 }
index 74d2d86..4cb8c90 100644 (file)
@@ -1,5 +1,6 @@
 #include <gen.h>
 #include <sys/exec.h>
+#include <sys/file.h>
 #ifdef __STDC__
 #include <stdarg.h>
 #define _va_start(argp, arg) va_start(argp, arg)
@@ -15,5 +16,6 @@ void execle(char *f, ...)
 void execle(f, va_alist) char *f; va_dcl
 #endif
 {
-  abort();
+       write(2, "execle()\n", 9);
+       abort();
 }
index 4c56ee2..ba20415 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <sys/exec.h>
+#include <sys/file.h>
 
 void exect(s, v, e) char *s; char *v[]; char *e[]; {
-  abort();
+       write(2, "exect()\n", 8);
+       abort();
 }
index 7f20aff..4926975 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <sys/exec.h>
+#include <sys/file.h>
 
 void execv(s, v) char *s; char *v[]; {
-  abort();
+       write(2, "execv()\n", 8);
+       abort();
 }
index 5e5c873..cffcca5 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <sys/exec.h>
+#include <sys/file.h>
 
 void execve(s, v, e) char *s; char *v[]; char *e[]; {
-  abort();
+       write(2, "execve()\n", 9);
+       abort();
 }
index 95b8a7a..9e73446 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int fchmod(f, m) int f; int m; {
-  abort();
+       write(2, "fchmod()\n", 9);
+       abort();
 }
index 5a58887..4fc5b0e 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int fchown(f, u, g) int f; int u; int g; {
-  abort();
+       write(2, "fchown()\n", 9);
+       abort();
 }
index dc041e8..035bad9 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int fcntl(f, c, a) int f; int c; int a; {
-  abort();
+       write(2, "fcntl()\n", 8);
+       abort();
 }
index 1e56f30..6cd4215 100644 (file)
@@ -4,9 +4,6 @@
 #include <sys/errno.h>
 #include <sys/param.h>
 #include <sys/types.h>
-#ifdef __STDC__
-#include <stdarg.h>
-#endif
 
 /*
  * Copyright (c) 1982, 1986 Regents of the University of California.
@@ -220,9 +217,6 @@ int umask __P((int n));
 /* sys/unlink.c */
 int unlink __P((char *s));
 
-/* sys/vopen.c */
-int vopen __P((char *f, int m, va_list argp));
-
 /* sys/write.c */
 int write __P((int f, void *b, int l));
 #endif
index a522d04..09c7b45 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int flock(f, o) int f; int o; {
-  abort();
+       write(2, "flock()\n", 8);
+       abort();
 }
index fe715fd..54ebd8d 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 
 int fork() {
-  abort();
+       write(2, "fork()\n", 7);
+       abort();
 }
index f8cf913..a527a55 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/stat.h>
 
 /*#include <sys/stat.h>*/
 int fstat(f, b) int f; struct stat *b; {
-  abort();
+       write(2, "fstat()\n", 8);
+       abort();
 }
index e51763e..4dfd8f3 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int fsync(f) int f; {
-  abort();
+       write(2, "fsync()\n", 8);
+       abort();
 }
index afe1f79..56168b3 100644 (file)
@@ -4,5 +4,6 @@
 
 /*#include <sys/types.h>*/
 int ftruncate(d, l) int d; off_t l; {
-  abort();
+       write(2, "ftruncate()\n", 12);
+       abort();
 }
index 14762ff..d61474b 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int getdtablesize() {
-  abort();
+       write(2, "getdtablesize()\n", 16);
+       abort();
 }
index 8d29d6c..e745b9b 100644 (file)
@@ -1,8 +1,10 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 #include <sys/types.h>
 
 /*#include <sys/types.h>*/
 gid_t getegid() {
-  abort();
+       write(2, "getegid()\n", 10);
+       abort();
 }
index 401fbb8..b058fc2 100644 (file)
@@ -1,8 +1,10 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 #include <sys/types.h>
 
 /*#include <sys/types.h>*/
 uid_t geteuid() {
-  abort();
+       write(2, "geteuid()\n", 10);
+       abort();
 }
index 6077008..b7c4f60 100644 (file)
@@ -1,8 +1,10 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 #include <sys/types.h>
 
 /*#include <sys/types.h>*/
 gid_t getgid() {
-  abort();
+       write(2, "getgid()\n", 9);
+       abort();
 }
index 66997ea..ff8f3b7 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 
 int getgroups(n, g) int n; int *g; {
-  abort();
+       write(2, "getgroups()\n", 12);
+       abort();
 }
index 2111a51..d496908 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <sys.h>
+#include <sys/file.h>
 
 long gethostid() {
-  abort();
+       write(2, "gethostid()\n", 12);
+       abort();
 }
index 3287d80..94369e3 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <sys.h>
+#include <sys/file.h>
 
 int gethostname(n, l) char *n; int l; {
-  abort();
+       write(2, "gethostname()\n", 14);
+       abort();
 }
index 52ed6bb..51de7cf 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/time.h>
 
 /*#include <sys/time.h>*/
 int getitimer(w, v) int w; struct itimerval *v; {
-  abort();
+       write(2, "getitimer()\n", 12);
+       abort();
 }
index cd48754..2a6c3e3 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <sys.h>
+#include <sys/file.h>
 
 int getpagesize() {
-  abort();
+       write(2, "getpagesize()\n", 14);
+       abort();
 }
index 7b9da47..402e142 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/socket.h>
 
 /*#include <sys/socket.h>*/
 int getpeername(s, n, l) int s; struct sockaddr *n; int *l; {
-  abort();
+       write(2, "getpeername()\n", 14);
+       abort();
 }
index 9a25071..468e5d1 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 
 int getpgrp(p) int p; {
-  abort();
+       write(2, "getpgrp()\n", 10);
+       abort();
 }
index 521d029..334f90f 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 
 int getpid() {
-  abort();
+       write(2, "getpid()\n", 9);
+       abort();
 }
index 8b34a8e..15a6c85 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 
 int getppid() {
-  abort();
+       write(2, "getppid()\n", 10);
+       abort();
 }
index 4ece97c..9cc207a 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/resource.h>
 
 int getpriority(w, who) int w; int who; {
-  abort();
+       write(2, "getpriority()\n", 14);
+       abort();
 }
index d8de514..e5e4ded 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/resource.h>
 
 /*#include <sys/resource.h>*/
 int getrlimit(res, rip) int res; struct rlimit *rip; {
-  abort();
+       write(2, "getrlimit()\n", 12);
+       abort();
 }
index 516940d..b029ac3 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/resource.h>
 
 /*#include <sys/resource.h>*/
 int getrusage(res, rip) int res; struct rusage *rip; {
-  abort();
+       write(2, "getrusage()\n", 12);
+       abort();
 }
index 1595fa2..a84edac 100644 (file)
@@ -1,6 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/socket.h>
 
-int getsockname(s, name, namelen) int s; char *name; int *namelen; {
-  abort();
+/*#include <sys/socket.h>*/
+int getsockname(s, name, namelen) int s; struct sockaddr *name; int *namelen; {
+       write(2, "getsockname()\n", 14);
+       abort();
 }
index e281a96..2f500bc 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/socket.h>
 
-int getsockopt(s, level, opt, buf, len) int s; int level; int opt; char *buf; int *len; {
-  abort();
+int getsockopt(s, level, opt, buf, len) int s; int level; int opt; void *buf; int *len; {
+       write(2, "getsockopt()\n", 13);
+       abort();
 }
index 5fa6072..40d1f8b 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/time.h>
 
 /*#include <sys/time.h>*/
 int gettimeofday(t, z) struct timeval *t; struct timezone *z; {
-  abort();
+       write(2, "gettimeofday()\n", 15);
+       abort();
 }
index addc64e..c03b508 100644 (file)
@@ -1,8 +1,10 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 #include <sys/types.h>
 
 /*#include <sys/types.h>*/
 uid_t getuid() {
-  abort();
+       write(2, "getuid()\n", 9);
+       abort();
 }
index 3e37f00..392d886 100644 (file)
@@ -1,8 +1,10 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
 
 /*#include <sys/types.h>*/
 int ioctl(d, r, p) int d; u_long r; void *p; {
-  abort();
+       write(2, "ioctl()\n", 8);
+       abort();
 }
index dfaffad..f52121d 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/signal.h>
 
 int kill(p, s) int p; int s; {
-  abort();
+       write(2, "kill()\n", 7);
+       abort();
 }
index 71a29d9..06d58c8 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/signal.h>
 
 int killpg(pg, s) int pg; int s; {
-  abort();
+       write(2, "killpg()\n", 9);
+       abort();
 }
index c7e58f9..a46e747 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int link(a, b) char *a; char *b; {
-  abort();
+       write(2, "link()\n", 7);
+       abort();
 }
index 094b5a3..3b4f269 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/socket.h>
 
 int listen(s, b) int s; int b; {
-  abort();
+       write(2, "listen()\n", 9);
+       abort();
 }
index ea07e75..34cb84d 100644 (file)
@@ -4,5 +4,6 @@
 
 /*#include <sys/types.h>*/
 off_t lseek(f, o, d) int f; off_t o; int d; {
-  abort();
+       write(2, "lseek()\n", 8);
+       abort();
 }
index 5586e31..336642f 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/stat.h>
 
 /*#include <sys/stat.h>*/
 int lstat(s, b) char *s; struct stat *b; {
-  abort();
+       write(2, "lstat()\n", 8);
+       abort();
 }
index 55855c2..c133031 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <sys/dir.h>
+#include <sys/file.h>
 
 int mkdir(p, m) char *p; int m; {
-  abort();
+       write(2, "mkdir()\n", 8);
+       abort();
 }
index 30a7d89..2aadb31 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int mknod(n, m, a) char *n; int m; int a; {
-  abort();
+       write(2, "mknod()\n", 8);
+       abort();
 }
index 03b9c16..cc51990 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/mount.h>
 
 int mount(s, n, f) char *s; char *n; int f; {
-  abort();
+       write(2, "mount()\n", 8);
+       abort();
 }
index 02d0a4e..eacfece 100644 (file)
@@ -1,4 +1,3 @@
-#include <gen.h>
 #include <sys/file.h>
 #ifdef __STDC__
 #include <stdarg.h>
@@ -15,5 +14,11 @@ int open(char *f, int m, ...)
 int open(f, m, va_alist) char *f; int m; va_dcl
 #endif
 {
-  abort();
+       va_list argp;
+       int res;
+
+       _va_start(argp, m);
+       res = vopen(f, m, argp);
+       va_end(argp);
+       return res;
 }
index 9389ceb..e23542c 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int pipe(f) int f[2]; {
-  abort();
+       write(2, "pipe()\n", 7);
+       abort();
 }
index 9434cfd..b4b7e50 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <sys.h>
+#include <sys/file.h>
 
 void profil(b, s, o, i) char *b; int s; int o; int i; {
-  abort();
+       write(2, "profil()\n", 9);
+       abort();
 }
index 9b677b6..c746598 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/ptrace.h>
 
 int ptrace(r, p, a, d) int r; int p; int *a; int d; {
-  abort();
+       write(2, "ptrace()\n", 9);
+       abort();
 }
index 7950492..9dc2884 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/quota.h>
 
-int quota(c, u, a, ad) int c; int u; int a; char *ad; {
-  abort();
+int quota(c, u, a, ad) int c; int u; int a; void *ad; {
+       write(2, "quota()\n", 8);
+       abort();
 }
index 0d06423..d11626c 100644 (file)
@@ -159,7 +159,7 @@ struct      dqwarn {
 #endif
 
 /* sys/quota.c */
-int quota __P((int c, int u, int a, char *ad));
+int quota __P((int c, int u, int a, void *ad));
 
 /* sys/setquota.c */
 int setquota __P((char *s, char *f));
index 6770d21..f43b3f6 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int read(f, b, l) int f; void *b; int l; {
-  abort();
+       write(2, "read()\n", 7);
+       abort();
 }
index eb2ac71..0771738 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int readlink(p, b, s) char *p; char *b; int s; {
-  abort();
+       write(2, "readlink()\n", 11);
+       abort();
 }
index 932b8cb..c638d02 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/uio.h>
 
 /*#include <sys/uio.h>*/
 int readv(d, v, l) int d; struct iovec *v; int l; {
-  abort();
+       write(2, "readv()\n", 8);
+       abort();
 }
index 1f9004f..db48c45 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <sys.h>
+#include <sys/file.h>
 
 void reboot(h) int h; {
-  abort();
+       write(2, "reboot()\n", 9);
+       abort();
 }
index 1433877..1d32034 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/socket.h>
 
 int recv(s, b, l, f) int s; void *b; int l; int f; {
-  abort();
+       write(2, "recv()\n", 7);
+       abort();
 }
index 8b315c6..d50f99e 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/socket.h>
 
 /*#include <sys/socket.h>*/
 int recvfrom(s, b, l, f, fr, fl) int s; void *b; int l; int f; struct sockaddr *fr; int *fl; {
-  abort();
+       write(2, "recvfrom()\n", 11);
+       abort();
 }
index ffafe3e..cb0b6f9 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/socket.h>
 
 /*#include <sys/socket.h>*/
 int recvmsg(s, m, f) int s; struct msghdr m[]; int f; {
-  abort();
+       write(2, "recvmsg()\n", 10);
+       abort();
 }
index 7ae70a9..6cecd11 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int rename(f, t) char *f; char *t; {
-  abort();
+       write(2, "rename()\n", 9);
+       abort();
 }
index b3cf959..47229a4 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <sys/dir.h>
+#include <sys/file.h>
 
 int rmdir(p) char *p; {
-  abort();
+       write(2, "rmdir()\n", 8);
+       abort();
 }
index b5afd77..ceca77d 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 
 void *sbrk(i) int i; {
-  abort();
+       write(2, "sbrk()\n", 7);
+       abort();
 }
index 97e5138..3d83391 100644 (file)
@@ -1,9 +1,11 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/select.h>
 #include <sys/time.h>
 
 /*#include <sys/select.h>*/
 /*#include <sys/time.h>*/
 int select(n, r, w, e, t) int n; fd_set *r; fd_set *w; fd_set *e; struct timeval *t; {
-  abort();
+       write(2, "select()\n", 9);
+       abort();
 }
index 7540dc4..d0eb2d5 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/socket.h>
 
 int send(s, m, l, f) int s; void *m; int l; int f; {
-  abort();
+       write(2, "send()\n", 7);
+       abort();
 }
index b83ebb3..fbe6d9f 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/socket.h>
 
 /*#include <sys/socket.h>*/
 int sendmsg(s, m, l) int s; struct msghdr m[]; int l; {
-  abort();
+       write(2, "sendmsg()\n", 10);
+       abort();
 }
index a4bbd49..e560c2f 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/socket.h>
 
 /*#include <sys/socket.h>*/
 int sendto(s, m, l, f, t, tl) int s; void *m; int l; int f; struct sockaddr *t; int tl; {
-  abort();
+       write(2, "sendto()\n", 9);
+       abort();
 }
index f97e210..6fcc376 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 
 int setgroups(n, g) int n; int *g; {
-  abort();
+       write(2, "setgroups()\n", 12);
+       abort();
 }
index 27bfb2a..588819b 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <sys.h>
+#include <sys/file.h>
 
 int sethostid(h) long h; {
-  abort();
+       write(2, "sethostid()\n", 12);
+       abort();
 }
index e6468e2..6696f0c 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <sys.h>
+#include <sys/file.h>
 
 int sethostname(n, l) char *n; int l; {
-  abort();
+       write(2, "sethostname()\n", 14);
+       abort();
 }
index 72273f4..cdeca17 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/time.h>
 
 /*#include <sys/time.h>*/
 int setitimer(w, v, ov) int w; struct itimerval *v; struct itimerval *ov; {
-  abort();
+       write(2, "setitimer()\n", 12);
+       abort();
 }
index 8228005..9e3c891 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 
 int setpgrp(g, pg) int g; int pg; {
-  abort();
+       write(2, "setpgrp()\n", 10);
+       abort();
 }
index e7bd627..a76f6ce 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/resource.h>
 
 int setpriority(w, who, pri) int w; int who; int pri; {
-  abort();
+       write(2, "setpriority()\n", 14);
+       abort();
 }
index ede27bb..397c430 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/quota.h>
 
 int setquota(s, f) char *s; char *f; {
-  abort();
+       write(2, "setquota()\n", 11);
+       abort();
 }
index 161e626..6e907e0 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 
 int setregid(r, e) int r; int e; {
-  abort();
+       write(2, "setregid()\n", 11);
+       abort();
 }
index 06367db..4dd7bd8 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/proc.h>
 
 int setreuid(r, e) int r; int e; {
-  abort();
+       write(2, "setreuid()\n", 11);
+       abort();
 }
index d472975..ff6a55d 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/resource.h>
 
 /*#include <sys/resource.h>*/
 int setrlimit(res, rip) int res; struct rlimit *rip; {
-  abort();
+       write(2, "setrlimit()\n", 12);
+       abort();
 }
index 0df0d2e..e65dcc0 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/socket.h>
 
-int setsockopt(s, level, opt, buf, len) int s; int level; int opt; char *buf; int len; {
-  abort();
+int setsockopt(s, level, opt, buf, len) int s; int level; int opt; void *buf; int len; {
+       write(2, "setsockopt()\n", 13);
+       abort();
 }
index 6a78f4a..fb5190c 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/time.h>
 
 /*#include <sys/time.h>*/
 int settimeofday(t, z) struct timeval *t; struct timezone *z; {
-  abort();
+       write(2, "settimeofday()\n", 15);
+       abort();
 }
index 388a978..0db1020 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <sys.h>
+#include <sys/file.h>
 
 int shutdown(s, h) int s; int h; {
-  abort();
+       write(2, "shutdown()\n", 11);
+       abort();
 }
index dc378bf..b09c8b0 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/signal.h>
 
 int sigblock(m) int m; {
-  abort();
+       write(2, "sigblock()\n", 11);
+       abort();
 }
index 5a555c6..2e1cf48 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/signal.h>
 
 void sigpause(m) int m; {
-  abort();
+       write(2, "sigpause()\n", 11);
+       abort();
 }
index ba3a54a..12da423 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/signal.h>
 
 /*#include <sys/signal.h>*/
 int sigreturn(scp) struct sigcontext *scp; {
-  abort();
+       write(2, "sigreturn()\n", 12);
+       abort();
 }
index eb714b5..5f5fa33 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/signal.h>
 
 int sigsetmask(m) int m; {
-  abort();
+       write(2, "sigsetmask()\n", 13);
+       abort();
 }
index ae5dc7d..8944e6e 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/signal.h>
 
 /*#include <sys/signal.h>*/
 int sigstack(ss, oss) struct sigstack *ss; struct sigstack *oss; {
-  abort();
+       write(2, "sigstack()\n", 11);
+       abort();
 }
index 930c54f..1f291e5 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/signal.h>
 
 /*#include <sys/signal.h>*/
 int sigvec(c, f, m) int c; struct sigvec *f; struct sigvec *m; {
-  abort();
+       write(2, "sigvec()\n", 9);
+       abort();
 }
index ecd4fdc..f7e1e3a 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/socket.h>
 
 int socket(a, t, p) int a; int t; int p; {
-  abort();
+       write(2, "socket()\n", 9);
+       abort();
 }
index 1a1f458..0f41a77 100644 (file)
@@ -171,10 +171,10 @@ int connect __P((int s, struct sockaddr *n, int l));
 int getpeername __P((int s, struct sockaddr *n, int *l));
 
 /* sys/getsockname.c */
-int getsockname __P((int s, char *name, int *namelen));
+int getsockname __P((int s, struct sockaddr *name, int *namelen));
 
 /* sys/getsockopt.c */
-int getsockopt __P((int s, int level, int opt, char *buf, int *len));
+int getsockopt __P((int s, int level, int opt, void *buf, int *len));
 
 /* sys/listen.c */
 int listen __P((int s, int b));
@@ -198,7 +198,7 @@ int sendmsg __P((int s, struct msghdr m[], int l));
 int sendto __P((int s, void *m, int l, int f, struct sockaddr *t, int tl));
 
 /* sys/setsockopt.c */
-int setsockopt __P((int s, int level, int opt, char *buf, int len));
+int setsockopt __P((int s, int level, int opt, void *buf, int len));
 
 /* sys/socket.c */
 int socket __P((int a, int t, int p));
index 8b4eb6e..e223c45 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/socket.h>
 
 int socketpair(d, t, p, s) int d; int t; int p; int s[2]; {
-  abort();
+       write(2, "socketpair()\n", 13);
+       abort();
 }
index 36b6d20..faeb13a 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/stat.h>
 
 /*#include <sys/stat.h>*/
 int stat(s, b) char *s; struct stat *b; {
-  abort();
+       write(2, "stat()\n", 7);
+       abort();
 }
index 250f920..8d9fa44 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <sys.h>
+#include <sys/file.h>
 
 int swapon(s) char *s; {
-  abort();
+       write(2, "swapon()\n", 9);
+       abort();
 }
index 8d368e3..c0689da 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int symlink(t, f) char *t; char *f; {
-  abort();
+       write(2, "symlink()\n", 10);
+       abort();
 }
index e7c5992..3aac77a 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 void sync() {
-  abort();
+       write(2, "sync()\n", 7);
+       abort();
 }
index fb7fd77..ed8cc1b 100644 (file)
@@ -4,5 +4,6 @@
 
 /*#include <sys/types.h>*/
 int truncate(p, l) char *p; off_t l; {
-  abort();
+       write(2, "truncate()\n", 11);
+       abort();
 }
index 4c9753b..fa72be3 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int umask(n) int n; {
-  abort();
+       write(2, "umask()\n", 8);
+       abort();
 }
index 37bab9a..a6ac43f 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/mount.h>
 
 int umount(s) char *s; {
-  abort();
+       write(2, "umount()\n", 9);
+       abort();
 }
index 4f84696..d62245e 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int unlink(s) char *s; {
-  abort();
+       write(2, "unlink()\n", 9);
+       abort();
 }
index 12ed9f8..d9f59f4 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/time.h>
 
 /*#include <sys/time.h>*/
 int utimes(f, t) char *f; struct timeval t[2]; {
-  abort();
+       write(2, "utimes()\n", 9);
+       abort();
 }
index 5765c8f..ea08508 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
 #include <sys.h>
+#include <sys/file.h>
 
 void vhangup() {
-  abort();
+       write(2, "vhangup()\n", 10);
+       abort();
 }
index f22a8f0..bde1485 100644 (file)
@@ -8,7 +8,7 @@
 #define _va_start(argp, arg) va_start(argp)
 #endif
 
-/*#include <varargs.h>*/
-int vopen(f, m, argp) char *f; int m; va_list argp; {
-  abort();
+int vopen(f, m, argp) char *f; va_list argp; {
+       write(2, "vopen()\n", 8);
+       abort();
 }
index cb69e2d..1b0be79 100644 (file)
@@ -1,6 +1,8 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/wait.h>
 
 int wait(s) int *s; {
-  abort();
+       write(2, "wait()\n", 7);
+       abort();
 }
index 9a867e2..748182f 100644 (file)
@@ -79,7 +79,7 @@ union wait    {
 #endif
 
 /* sys/wait3.c */
-int wait3 __P((union wait *s, int o, struct rusage *r));
+int wait3 __P((int *s, int o, struct rusage *r));
 
 /* sys/wait.c */
 int wait __P((int *s));
index 8588eed..e6906fe 100644 (file)
@@ -1,9 +1,10 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/resource.h>
 #include <sys/wait.h>
 
 /*#include <sys/resource.h>*/
-/*#include <sys/wait.h>*/
-int wait3(s, o, r) union wait *s; int o; struct rusage *r; {
-  abort();
+int wait3(s, o, r) int *s; int o; struct rusage *r; {
+       write(2, "wait3()\n", 8);
+       abort();
 }
index 8665af7..c603fa9 100644 (file)
@@ -2,5 +2,6 @@
 #include <sys/file.h>
 
 int write(f, b, l) int f; void *b; int l; {
-  abort();
+       write(2, "write()\n", 8);
+       abort();
 }
index 9a4bbf4..ca1b0c4 100644 (file)
@@ -1,7 +1,9 @@
 #include <gen.h>
+#include <sys/file.h>
 #include <sys/uio.h>
 
 /*#include <sys/uio.h>*/
 int writev(f, v, l) int f; struct iovec *v; int l; {
-  abort();
+       write(2, "writev()\n", 9);
+       abort();
 }