From c1b8aeece5e4d2a413fc4140706230a8652b60dd Mon Sep 17 00:00:00 2001 From: Nick Downing Date: Mon, 23 Jan 2017 12:59:55 +1100 Subject: [PATCH] Move pre.patch from n.sh into o.sh since o.sh is properly part of the n.sh syscalls stubs generation and we want the final stubs applied to lib/libc/sys, move "#endif XXX" and "XXX {" stuff again, from o.sh into p.sh, since objectionable --- lib/libx_c/gen/_setjmp.c | 1 + lib/libx_c/gen/setjmp.c | 1 + lib/libx_c/n.sh | 4 - lib/libx_c/net.h | 7 + lib/libx_c/net/htonl.c | 2 + lib/libx_c/net/htons.c | 2 + lib/libx_c/net/ntohl.c | 2 + lib/libx_c/net/ntohs.c | 2 + lib/libx_c/net/res_send.c | 2 +- lib/libx_c/o.sh | 30 +-- lib/libx_c/oldprotos.txt | 2 + lib/libx_c/p.sh | 22 ++ lib/libx_c/post.patch | 180 ++++++++-------- lib/libx_c/pre.patch | 390 +++++++++++++++++++--------------- lib/libx_c/sys/accept.c | 1 + lib/libx_c/sys/adjtime.c | 1 + lib/libx_c/sys/bind.c | 1 + lib/libx_c/sys/connect.c | 1 + lib/libx_c/sys/fstat.c | 1 + lib/libx_c/sys/ftruncate.c | 1 + lib/libx_c/sys/getegid.c | 1 + lib/libx_c/sys/geteuid.c | 1 + lib/libx_c/sys/getgid.c | 1 + lib/libx_c/sys/getitimer.c | 1 + lib/libx_c/sys/getpeername.c | 1 + lib/libx_c/sys/getrlimit.c | 1 + lib/libx_c/sys/getrusage.c | 1 + lib/libx_c/sys/getsockname.c | 1 + lib/libx_c/sys/gettimeofday.c | 1 + lib/libx_c/sys/getuid.c | 1 + lib/libx_c/sys/ioctl.c | 1 + lib/libx_c/sys/lseek.c | 1 + lib/libx_c/sys/lstat.c | 1 + lib/libx_c/sys/open.c | 1 + lib/libx_c/sys/readv.c | 1 + lib/libx_c/sys/recvfrom.c | 1 + lib/libx_c/sys/recvmsg.c | 1 + lib/libx_c/sys/select.c | 5 +- lib/libx_c/sys/select.h | 14 -- lib/libx_c/sys/sendmsg.c | 1 + lib/libx_c/sys/sendto.c | 1 + lib/libx_c/sys/setitimer.c | 1 + lib/libx_c/sys/setrlimit.c | 1 + lib/libx_c/sys/settimeofday.c | 1 + lib/libx_c/sys/sigreturn.c | 1 + lib/libx_c/sys/sigstack.c | 1 + lib/libx_c/sys/sigvec.c | 1 + lib/libx_c/sys/stat.c | 1 + lib/libx_c/sys/truncate.c | 1 + lib/libx_c/sys/utimes.c | 1 + lib/libx_c/sys/vfork.c | 4 +- lib/libx_c/sys/vopen.c | 1 + lib/libx_c/sys/wait3.c | 1 + lib/libx_c/sys/writev.c | 1 + 54 files changed, 417 insertions(+), 290 deletions(-) diff --git a/lib/libx_c/gen/_setjmp.c b/lib/libx_c/gen/_setjmp.c index 79e3816..1a59583 100644 --- a/lib/libx_c/gen/_setjmp.c +++ b/lib/libx_c/gen/_setjmp.c @@ -3,6 +3,7 @@ #include /*#include */ + int _setjmp(e) jmp_buf e; { write(2, "_setjmp()\n", 10); abort(); diff --git a/lib/libx_c/gen/setjmp.c b/lib/libx_c/gen/setjmp.c index 9350b79..49cf7c9 100644 --- a/lib/libx_c/gen/setjmp.c +++ b/lib/libx_c/gen/setjmp.c @@ -3,6 +3,7 @@ #include /*#include */ + int setjmp(e) jmp_buf e; { write(2, "setjmp()\n", 9); abort(); diff --git a/lib/libx_c/n.sh b/lib/libx_c/n.sh index c25ee55..31c143d 100755 --- a/lib/libx_c/n.sh +++ b/lib/libx_c/n.sh @@ -112,7 +112,3 @@ do cp ../../sys/$i/$j $i/$j done done - -rm -rf ../libx_c.pre -cp -r ../libx_c ../libx_c.pre -patch --strip 1 arpa/nameser.h*/ /*#include arpa/nameser.h*/ +/* + * Functions for number representation conversion. + */ +/* formerly duplicated in netinet/in.h and netns/ns.h */ +/*u_short ntohs(), htons();*/ +/*u_long ntohl(), htonl();*/ + #ifndef KERNEL #ifndef __P #ifdef __STDC__ diff --git a/lib/libx_c/net/htonl.c b/lib/libx_c/net/htonl.c index ce1546a..96adf05 100644 --- a/lib/libx_c/net/htonl.c +++ b/lib/libx_c/net/htonl.c @@ -4,6 +4,8 @@ /*#include gen.h*/ /*#include */ +/*#include */ + u_long htonl(hostlong) u_long hostlong; { write(2, "htonl()\n", 8); abort(); diff --git a/lib/libx_c/net/htons.c b/lib/libx_c/net/htons.c index 2fbdb98..4d57870 100644 --- a/lib/libx_c/net/htons.c +++ b/lib/libx_c/net/htons.c @@ -4,6 +4,8 @@ /*#include gen.h*/ /*#include */ +/*#include */ + u_short htons(hostshort) int hostshort; { write(2, "htons()\n", 8); abort(); diff --git a/lib/libx_c/net/ntohl.c b/lib/libx_c/net/ntohl.c index 34e161a..8c0f95d 100644 --- a/lib/libx_c/net/ntohl.c +++ b/lib/libx_c/net/ntohl.c @@ -4,6 +4,8 @@ /*#include gen.h*/ /*#include */ +/*#include */ + u_long ntohl(netlong) u_long netlong; { write(2, "ntohl()\n", 8); abort(); diff --git a/lib/libx_c/net/ntohs.c b/lib/libx_c/net/ntohs.c index e45bdc1..dd0eba8 100644 --- a/lib/libx_c/net/ntohs.c +++ b/lib/libx_c/net/ntohs.c @@ -4,6 +4,8 @@ /*#include gen.h*/ /*#include */ +/*#include */ + u_short ntohs(netshort) int netshort; { write(2, "ntohs()\n", 8); abort(); diff --git a/lib/libx_c/net/res_send.c b/lib/libx_c/net/res_send.c index 75bad49..395568d 100644 --- a/lib/libx_c/net/res_send.c +++ b/lib/libx_c/net/res_send.c @@ -8,7 +8,7 @@ /*#include sys/select.h*/ #include #include -/*#include sys/select.h*/ +#include /*#include arpa/inet.h*/ #include diff --git a/lib/libx_c/o.sh b/lib/libx_c/o.sh index e0f9821..b4dcdbd 100755 --- a/lib/libx_c/o.sh +++ b/lib/libx_c/o.sh @@ -1,15 +1,12 @@ #!/bin/sh -sed -e 's/^/:/;s/ /::/g;s/$/:/' conflicts.temp +#sed -e 's/^/:/;s/ /::/g;s/$/:/' conflicts.temp find . -name '*.[ch]' -print |\ sed -e 's:^\./::' |\ while read i do echo "i=$i" - - sed -e 's/^\(#[ ]*\(else\|endif\)\)\([^0-9A-Za-z_].*\)\?/\1/' -i $i - rm -f xx* csplit -b '%05d' -q $i '/^[ ]*{[ ]*$/' '{*}' for j in xx* @@ -27,15 +24,14 @@ do sed -e '$s/$/ {/' -i $k fi done - cat xx* >$i + cat xx* |sed -e 's/^\(#[ ]*\(else\|endif\)\)\([^0-9A-Za-z_].*\)\?/\1/' |../../xify/nocomment |../../xify/nostring >$i.nocomm done -find . -name '*.[ch]' -print |\ -sed -e 's:^\./::' |\ while read i do - ../../xify/nocomment <$i |../../xify/nostring >$i.nocomm -done + (echo; cat $i) >a + mv a $i +done \$" $j - then + #if ! grep -q ":$i:.*:$j\\|:$j:.*:$i:" conflicts.temp && ! grep -q "^#include <$i>\$" $j + #then sed -e "1i#include <$i>" -i $j - fi + #fi done fi fi done + +while read i +do + ../../xify/newline <$i >a + mv a $i +done >oldprotos.txt sed -e 's/^[A-Za-z_][0-9A-Za-z_]*[^0-9A-Za-z_][^;]*[A-Za-z_][0-9A-Za-z_]*[ ]*([ ]*)[ ]*\(,[^;]*\)\?;/\/\*&\*\//' -i $i + + sed -e 's/^\(#[ ]*\(else\|endif\)\)\([^0-9A-Za-z_].*\)\?/\1/' -i $i + + rm -f xx* + csplit -b '%05d' -q $i '/^[ ]*{[ ]*$/' '{*}' + for j in xx* + do + : + done + for k in xx* + do + if test $k != xx00000 + then + sed -ne '2,$p' -i $k + fi + if test $k != $j + then + sed -e '$s/$/ {/' -i $k + fi + done + cat xx* >$i done grep '\.h:' oldprotos.txt >oldprotos.temp diff --git a/lib/libx_c/post.patch b/lib/libx_c/post.patch index 641073d..4216111 100644 --- a/lib/libx_c/post.patch +++ b/lib/libx_c/post.patch @@ -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' '--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-22 20:28:18.294822127 +1100 -+++ libx_c/compat-4.1/Makefile 2017-01-22 20:28:18.322822107 +1100 +--- libx_c.post/compat-4.1/Makefile 2017-01-23 12:45:44.611282723 +1100 ++++ libx_c/compat-4.1/Makefile 2017-01-23 12:45:44.639282819 +1100 @@ -1,3 +1,5 @@ +ROOT=../../.. +CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax @@ -8,8 +8,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' # Copyright (c) 1980 Regents of the University of California. # All rights reserved. The Berkeley software License Agreement 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' '--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-22 20:28:18.314822112 +1100 -+++ libx_c/compat-sys5/Makefile 2017-01-22 20:28:18.322822107 +1100 +--- libx_c.post/compat-sys5/Makefile 2017-01-23 12:45:44.631282792 +1100 ++++ libx_c/compat-sys5/Makefile 2017-01-23 12:45:44.639282819 +1100 @@ -1,3 +1,5 @@ +ROOT=../../.. +CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax @@ -17,8 +17,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' # CFLAGS= -O ${DEFS} 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' '--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-22 20:28:18.314822112 +1100 -+++ libx_c/gen/bcopy.c 2017-01-22 20:28:18.322822107 +1100 +--- libx_c.post/gen/bcopy.c 2017-01-23 12:45:44.631282792 +1100 ++++ libx_c/gen/bcopy.c 2017-01-23 12:45:44.643282833 +1100 @@ -1,6 +1,12 @@ #include #include @@ -53,8 +53,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' '--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-22 20:28:18.314822112 +1100 -+++ libx_c/gen/getpass.c 2017-01-22 20:28:18.322822107 +1100 +--- libx_c.post/gen/getpass.c 2017-01-23 12:45:44.631282792 +1100 ++++ libx_c/gen/getpass.c 2017-01-23 12:45:44.643282833 +1100 @@ -20,7 +20,7 @@ FILE *fi; static char pbuf[9]; @@ -65,8 +65,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' '--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-22 20:28:18.314822112 +1100 -+++ libx_c/gen/getpwnamuid.c 2017-01-22 20:28:18.322822107 +1100 +--- libx_c.post/gen/getpwnamuid.c 2017-01-23 12:45:44.631282792 +1100 ++++ libx_c/gen/getpwnamuid.c 2017-01-23 12:45:44.643282833 +1100 @@ -43,19 +43,37 @@ cp = key.dptr; tp = line; @@ -106,8 +106,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' '--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-22 20:28:18.314822112 +1100 -+++ libx_c/gen/Makefile 2017-01-22 20:28:18.322822107 +1100 +--- libx_c.post/gen/Makefile 2017-01-23 12:45:44.631282792 +1100 ++++ libx_c/gen/Makefile 2017-01-23 12:45:44.643282833 +1100 @@ -1,3 +1,5 @@ +ROOT=../../.. +CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax @@ -134,8 +134,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' tags: cwd=`pwd`; \ 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' '--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-22 20:28:18.314822112 +1100 -+++ libx_c/gen/malloc.c 2017-01-22 20:28:18.322822107 +1100 +--- libx_c.post/gen/malloc.c 2017-01-23 12:45:44.631282792 +1100 ++++ libx_c/gen/malloc.c 2017-01-23 12:45:44.643282833 +1100 @@ -5,6 +5,12 @@ /*#include gen.h*/ /*#include gen.h*/ @@ -196,8 +196,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' '--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-22 20:28:18.314822112 +1100 -+++ libx_c/gen/ndbm.c 2017-01-22 20:28:18.322822107 +1100 +--- libx_c.post/gen/ndbm.c 2017-01-23 12:45:44.631282792 +1100 ++++ libx_c/gen/ndbm.c 2017-01-23 12:45:44.643282833 +1100 @@ -70,14 +70,14 @@ flags = (flags & ~03) | O_RDWR; strcpy(db->dbm_pagbuf, file); @@ -216,8 +216,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' '--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-22 20:28:18.314822112 +1100 -+++ libx_c/gen/qsort.c 2017-01-22 20:28:18.322822107 +1100 +--- libx_c.post/gen/qsort.c 2017-01-23 12:45:44.631282792 +1100 ++++ libx_c/gen/qsort.c 2017-01-23 12:45:44.643282833 +1100 @@ -36,7 +36,7 @@ static void qst __P((char *base, char *max)); @@ -228,8 +228,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' '--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-22 20:28:18.314822112 +1100 -+++ libx_c/gen/scandir.c 2017-01-22 20:28:18.322822107 +1100 +--- libx_c.post/gen/scandir.c 2017-01-23 12:45:44.631282792 +1100 ++++ libx_c/gen/scandir.c 2017-01-23 12:45:44.643282833 +1100 @@ -24,7 +24,7 @@ /*#include */ /*#include */ @@ -249,8 +249,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' '--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-22 20:28:18.314822112 +1100 -+++ libx_c/gen/signal.c 2017-01-22 20:28:18.322822107 +1100 +--- libx_c.post/gen/signal.c 2017-01-23 12:45:44.631282792 +1100 ++++ libx_c/gen/signal.c 2017-01-23 12:45:44.643282833 +1100 @@ -15,12 +15,12 @@ */ /*#include */ @@ -274,8 +274,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' '--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-22 20:28:18.314822112 +1100 -+++ libx_c/gen/sleep.c 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/gen/sleep.c 2017-01-23 12:45:44.631282792 +1100 ++++ libx_c/gen/sleep.c 2017-01-23 12:45:44.643282833 +1100 @@ -15,7 +15,7 @@ /*#include */ @@ -286,8 +286,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' '--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-22 20:28:18.314822112 +1100 -+++ libx_c/gen/system.c 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/gen/system.c 2017-01-23 12:45:44.631282792 +1100 ++++ libx_c/gen/system.c 2017-01-23 12:45:44.643282833 +1100 @@ -11,7 +11,7 @@ int system(s) char *s; { @@ -298,8 +298,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' '--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-22 20:28:18.314822112 +1100 -+++ libx_c/gen/usleep.c 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/gen/usleep.c 2017-01-23 12:45:44.631282792 +1100 ++++ libx_c/gen/usleep.c 2017-01-23 12:45:44.643282833 +1100 @@ -18,7 +18,7 @@ #define TICK 10000 /* system clock resolution in microseconds */ @@ -310,8 +310,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' '--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-22 20:28:18.314822112 +1100 -+++ libx_c/gen/valloc.c 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/gen/valloc.c 2017-01-23 12:45:44.631282792 +1100 ++++ libx_c/gen/valloc.c 2017-01-23 12:45:44.643282833 +1100 @@ -1,6 +1,12 @@ #include #include @@ -339,8 +339,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' '--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-22 20:28:18.286822133 +1100 -+++ libx_c/gen.h 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/gen.h 2017-01-23 12:45:44.603282695 +1100 ++++ libx_c/gen.h 2017-01-23 12:45:44.643282833 +1100 @@ -99,7 +99,7 @@ char *mktemp __P((char *as)); @@ -351,8 +351,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' '--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-22 20:28:18.294822127 +1100 -+++ libx_c/inet/Makefile 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/inet/Makefile 2017-01-23 12:45:44.611282723 +1100 ++++ libx_c/inet/Makefile 2017-01-23 12:45:44.643282833 +1100 @@ -1,3 +1,5 @@ +ROOT=../../.. +CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax @@ -361,7 +361,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' # All rights reserved. The Berkeley software License Agreement 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' '--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-22 20:28:18.326822104 +1100 ++++ libx_c/linux/csu/crt0.c 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,19 @@ +#include + @@ -384,7 +384,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' '--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-22 20:28:18.326822104 +1100 ++++ libx_c/linux/csu/Makefile 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,104 @@ +ROOT=../../../.. +CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax @@ -492,7 +492,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' '--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-22 20:28:18.326822104 +1100 ++++ libx_c/linux/gen/abort.c 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,7 @@ +#include + @@ -503,7 +503,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' '--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-22 20:28:18.326822104 +1100 ++++ libx_c/linux/gen/Makefile 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,52 @@ +ROOT=../../../.. +CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax @@ -559,7 +559,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' '--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-22 20:28:18.326822104 +1100 ++++ libx_c/linux/gen/modf.c 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,7 @@ +#include + @@ -570,7 +570,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' '--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-22 20:28:18.326822104 +1100 ++++ libx_c/linux/Makefile 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,43 @@ +# +# Copyright (c) 1980 Regents of the University of California. @@ -617,7 +617,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' + (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' '--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-22 20:28:18.326822104 +1100 ++++ libx_c/linux/sys/close.c 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,13 @@ +#include + @@ -634,7 +634,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' '--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-22 20:28:18.326822104 +1100 ++++ libx_c/linux/sys/_exit.c 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,7 @@ +#include + @@ -645,7 +645,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' '--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-22 20:28:18.326822104 +1100 ++++ libx_c/linux/sys/fstat.c 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,17 @@ +#include +#include @@ -666,7 +666,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' '--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-22 20:28:18.326822104 +1100 ++++ libx_c/linux/sys/getpagesize.c 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,7 @@ +#include + @@ -677,7 +677,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' '--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-22 20:28:18.326822104 +1100 ++++ libx_c/linux/sys/isatty.c 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,13 @@ +#include + @@ -694,7 +694,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' '--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-22 20:28:18.326822104 +1100 ++++ libx_c/linux/sys/lseek.c 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,15 @@ +#include +#include @@ -713,7 +713,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' '--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-22 20:28:18.326822104 +1100 ++++ libx_c/linux/sys/Makefile 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,54 @@ +ROOT=../../../.. +CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax @@ -771,7 +771,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' '--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-22 20:28:18.326822104 +1100 ++++ libx_c/linux/sys/read.c 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,15 @@ +#include + @@ -790,7 +790,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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/readv.c libx_c/linux/sys/readv.c --- libx_c.post/linux/sys/readv.c 1970-01-01 10:00:00.000000000 +1000 -+++ libx_c/linux/sys/readv.c 2017-01-22 20:28:18.326822104 +1100 ++++ libx_c/linux/sys/readv.c 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,26 @@ +#include +#include @@ -820,7 +820,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' '--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-22 20:28:18.326822104 +1100 ++++ libx_c/linux/sys/sbrk.c 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,14 @@ +#include +#include @@ -838,7 +838,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' '--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-22 20:28:18.326822104 +1100 ++++ libx_c/linux/sys/vopen.c 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,49 @@ +#include + @@ -891,7 +891,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' '--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-22 20:28:18.326822104 +1100 ++++ libx_c/linux/sys/write.c 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,15 @@ +#include + @@ -910,7 +910,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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/linux/sys/writev.c libx_c/linux/sys/writev.c --- libx_c.post/linux/sys/writev.c 1970-01-01 10:00:00.000000000 +1000 -+++ libx_c/linux/sys/writev.c 2017-01-22 20:28:18.326822104 +1100 ++++ libx_c/linux/sys/writev.c 2017-01-23 12:45:44.643282833 +1100 @@ -0,0 +1,26 @@ +#include +#include @@ -939,8 +939,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' + 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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/Makefile libx_c/Makefile ---- libx_c.post/Makefile 2017-01-22 20:28:18.286822133 +1100 -+++ libx_c/Makefile 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/Makefile 2017-01-23 12:45:44.603282695 +1100 ++++ libx_c/Makefile 2017-01-23 12:45:44.643282833 +1100 @@ -1,3 +1,5 @@ +ROOT=${shell pwd}/../.. +DESTDIR=${ROOT}/cross @@ -1029,8 +1029,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' ranlib ${DESTDIR}/lib/libc.a ${INSTALL} libc_p.a ${DESTDIR}/usr/lib/libc_p.a 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' '--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-22 20:28:18.294822127 +1100 -+++ libx_c/net/hosttable/Makefile 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/net/hosttable/Makefile 2017-01-23 12:45:44.611282723 +1100 ++++ libx_c/net/hosttable/Makefile 2017-01-23 12:45:44.643282833 +1100 @@ -1,3 +1,5 @@ +ROOT=../../../.. +CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax @@ -1038,8 +1038,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' # # Copyright (c) 1983 Regents of the University of California. 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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/net/if.h libx_c/net/if.h ---- libx_c.post/net/if.h 2017-01-22 20:28:18.294822127 +1100 -+++ libx_c/net/if.h 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/net/if.h 2017-01-23 12:45:44.611282723 +1100 ++++ libx_c/net/if.h 2017-01-23 12:45:44.643282833 +1100 @@ -1,6 +1,7 @@ #ifndef _NET_IF_H_ #define _NET_IF_H_ @@ -1058,8 +1058,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' '--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-22 20:28:18.294822127 +1100 -+++ libx_c/net/Makefile 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/net/Makefile 2017-01-23 12:45:44.611282723 +1100 ++++ libx_c/net/Makefile 2017-01-23 12:45:44.643282833 +1100 @@ -1,3 +1,5 @@ +ROOT=../../.. +CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax @@ -1067,8 +1067,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' # Copyright (c) 1983 Regents of the University of California. # All rights reserved. The Berkeley software License Agreement 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' '--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-22 20:28:18.294822127 +1100 -+++ libx_c/net/named/gethostnamadr.c 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/net/named/gethostnamadr.c 2017-01-23 12:45:44.611282723 +1100 ++++ libx_c/net/named/gethostnamadr.c 2017-01-23 12:45:44.643282833 +1100 @@ -11,6 +11,12 @@ #include /*#include arpa/inet.h*/ @@ -1094,8 +1094,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' '--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-22 20:28:18.294822127 +1100 -+++ libx_c/net/named/Makefile 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/net/named/Makefile 2017-01-23 12:45:44.611282723 +1100 ++++ libx_c/net/named/Makefile 2017-01-23 12:45:44.643282833 +1100 @@ -1,3 +1,5 @@ +ROOT=../../../.. +CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax @@ -1103,8 +1103,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' # Copyright (c) 1983 Regents of the University of California. # All rights reserved. The Berkeley software License Agreement 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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/netinet/in.h libx_c/netinet/in.h ---- libx_c.post/netinet/in.h 2017-01-22 20:28:18.310822115 +1100 -+++ libx_c/netinet/in.h 2017-01-22 20:33:29.602688881 +1100 +--- libx_c.post/netinet/in.h 2017-01-23 12:45:44.627282778 +1100 ++++ libx_c/netinet/in.h 2017-01-23 12:45:44.643282833 +1100 @@ -109,4 +109,30 @@ /*u_long in_netof(), in_lnaof();*/ #endif @@ -1137,8 +1137,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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/netns/ns.h libx_c/netns/ns.h ---- libx_c.post/netns/ns.h 2017-01-22 20:28:18.310822115 +1100 -+++ libx_c/netns/ns.h 2017-01-22 20:33:03.710693451 +1100 +--- libx_c.post/netns/ns.h 2017-01-23 12:45:44.627282778 +1100 ++++ libx_c/netns/ns.h 2017-01-23 12:45:44.643282833 +1100 @@ -133,6 +133,22 @@ #endif #endif @@ -1163,8 +1163,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' struct ns_addr ns_addr __P((char *name)); 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' '--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-22 20:28:18.286822133 +1100 -+++ libx_c/ns/Makefile 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/ns/Makefile 2017-01-23 12:45:44.607282710 +1100 ++++ libx_c/ns/Makefile 2017-01-23 12:45:44.643282833 +1100 @@ -1,3 +1,5 @@ +ROOT=../../.. +CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax @@ -1172,8 +1172,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' # Copyright (c) 1980 Regents of the University of California. # All rights reserved. The Berkeley software License Agreement 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' '--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-22 20:28:18.286822133 +1100 -+++ libx_c/stdio/doprnt.c 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/stdio/doprnt.c 2017-01-23 12:45:44.607282710 +1100 ++++ libx_c/stdio/doprnt.c 2017-01-23 12:45:44.643282833 +1100 @@ -12,6 +12,13 @@ #define _va_start(argp, arg) va_start(argp) #endif @@ -1217,8 +1217,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' '--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-22 20:28:18.290822129 +1100 -+++ libx_c/stdio/findiop.c 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/stdio/findiop.c 2017-01-23 12:45:44.607282710 +1100 ++++ libx_c/stdio/findiop.c 2017-01-23 12:45:44.643282833 +1100 @@ -105,7 +105,7 @@ *iov = (FILE *)calloc(1, sizeof **iov); } @@ -1229,8 +1229,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' '--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-22 20:28:18.286822133 +1100 -+++ libx_c/stdio/Makefile 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/stdio/Makefile 2017-01-23 12:45:44.607282710 +1100 ++++ libx_c/stdio/Makefile 2017-01-23 12:45:44.643282833 +1100 @@ -1,3 +1,5 @@ +ROOT=../../.. +CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax @@ -1238,8 +1238,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' # Copyright (c) 1980 Regents of the University of California. # All rights reserved. The Berkeley software License Agreement 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' '--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-22 20:28:18.286822133 +1100 -+++ libx_c/stdio.h 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/stdio.h 2017-01-23 12:45:44.607282710 +1100 ++++ libx_c/stdio.h 2017-01-23 12:45:44.647282847 +1100 @@ -82,7 +82,7 @@ #endif @@ -1295,8 +1295,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' /* stdio/puts.c */ int puts __P((register char *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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/string.h libx_c/string.h ---- libx_c.post/string.h 2017-01-22 20:28:18.286822133 +1100 -+++ libx_c/string.h 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/string.h 2017-01-23 12:45:44.607282710 +1100 ++++ libx_c/string.h 2017-01-23 12:45:44.647282847 +1100 @@ -9,7 +9,8 @@ * @(#)string.h 5.1 (Berkeley) 85/08/05 */ @@ -1308,8 +1308,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' /* * these next few are obsolete trash 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' '--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-22 20:28:18.298822124 +1100 -+++ libx_c/sys/dir.h 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/sys/dir.h 2017-01-23 12:45:44.615282736 +1100 ++++ libx_c/sys/dir.h 2017-01-23 12:45:44.647282847 +1100 @@ -122,7 +122,7 @@ struct direct *readdir __P((register DIR *dirp)); @@ -1320,8 +1320,8 @@ 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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.post/sys/Makefile libx_c/sys/Makefile ---- libx_c.post/sys/Makefile 2017-01-22 20:28:18.298822124 +1100 -+++ libx_c/sys/Makefile 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/sys/Makefile 2017-01-23 12:45:44.619282751 +1100 ++++ libx_c/sys/Makefile 2017-01-23 12:45:44.647282847 +1100 @@ -1,3 +1,5 @@ +ROOT=../../.. +CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax @@ -1329,9 +1329,9 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' # Copyright (c) 1980 Regents of the University of California. # All rights reserved. The Berkeley software License Agreement 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' '--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-22 20:28:18.298822124 +1100 -+++ libx_c/sys/open.c 2017-01-22 20:28:18.326822104 +1100 -@@ -17,7 +17,7 @@ +--- libx_c.post/sys/open.c 2017-01-23 12:45:44.615282736 +1100 ++++ libx_c/sys/open.c 2017-01-23 12:45:44.647282847 +1100 +@@ -18,7 +18,7 @@ va_list argp; int res; @@ -1341,8 +1341,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' 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' '--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-22 20:28:18.298822124 +1100 -+++ libx_c/sys/signal.h 2017-01-22 20:28:18.326822104 +1100 +--- libx_c.post/sys/signal.h 2017-01-23 12:45:44.615282736 +1100 ++++ libx_c/sys/signal.h 2017-01-23 12:45:44.647282847 +1100 @@ -9,7 +9,7 @@ * @(#)signal.h 7.1 (Berkeley) 6/4/86 */ diff --git a/lib/libx_c/pre.patch b/lib/libx_c/pre.patch index 96825a9..e452646 100644 --- a/lib/libx_c/pre.patch +++ b/lib/libx_c/pre.patch @@ -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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/compat-4.1/ftime.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/compat-4.1/ftime.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/compat-4.1/ftime.c 2017-01-23 12:53:13.683903829 +1100 @@ -10,18 +10,20 @@ #include @@ -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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/compat-4.1/gtty.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/compat-4.1/gtty.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/compat-4.1/gtty.c 2017-01-23 12:53:13.683903829 +1100 @@ -15,8 +15,7 @@ #include @@ -42,16 +42,16 @@ 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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/compat-4.1/Makefile libx_c/compat-4.1/Makefile ---- libx_c.pre/compat-4.1/Makefile 2017-01-22 20:23:03.995147934 +1100 -+++ libx_c/compat-4.1/Makefile 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/compat-4.1/Makefile 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/compat-4.1/Makefile 2017-01-23 12:53:13.683903829 +1100 @@ -59,4 +59,3 @@ # 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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/compat-4.1/stty.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/compat-4.1/stty.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/compat-4.1/stty.c 2017-01-23 12:53:13.683903829 +1100 @@ -15,8 +15,7 @@ #include @@ -63,8 +63,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/compat-4.1/times.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/compat-4.1/times.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/compat-4.1/times.c 2017-01-23 12:53:13.683903829 +1100 @@ -10,16 +10,18 @@ #include @@ -91,8 +91,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/compat-4.1/vtimes.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/compat-4.1/vtimes.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/compat-4.1/vtimes.c 2017-01-23 12:53:13.683903829 +1100 @@ -10,23 +10,25 @@ #include @@ -132,8 +132,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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/compat-sys5/Makefile libx_c/compat-sys5/Makefile ---- libx_c.pre/compat-sys5/Makefile 2017-01-22 20:23:03.999147929 +1100 -+++ libx_c/compat-sys5/Makefile 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/compat-sys5/Makefile 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/compat-sys5/Makefile 2017-01-23 12:53:13.683903829 +1100 @@ -51,22 +51,3 @@ # DO NOT DELETE THIS LINE -- make depend uses it @@ -158,8 +158,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/compat-sys5/memccpy.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/compat-sys5/memccpy.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/compat-sys5/memccpy.c 2017-01-23 12:53:13.683903829 +1100 @@ -13,12 +13,16 @@ #endif @@ -180,8 +180,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/compat-sys5/memchr.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/compat-sys5/memchr.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/compat-sys5/memchr.c 2017-01-23 12:53:13.683903829 +1100 @@ -12,13 +12,15 @@ static char sccsid[] = "@(#)memchr.c 5.2 (Berkeley) 86/03/09"; #endif @@ -202,8 +202,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/compat-sys5/memcmp.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/compat-sys5/memcmp.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/compat-sys5/memcmp.c 2017-01-23 12:53:13.683903829 +1100 @@ -12,12 +12,16 @@ static char sccsid[] = "@(#)memcmp.c 5.2 (Berkeley) 86/03/09"; #endif @@ -224,8 +224,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/compat-sys5/memcpy.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/compat-sys5/memcpy.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/compat-sys5/memcpy.c 2017-01-23 12:53:13.687903838 +1100 @@ -12,15 +12,19 @@ static char sccsid[] = "@(#)memcpy.c 5.2 (Berkeley) 86/03/09"; #endif @@ -250,8 +250,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/compat-sys5/memset.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/compat-sys5/memset.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/compat-sys5/memset.c 2017-01-23 12:53:13.687903838 +1100 @@ -12,15 +12,17 @@ static char sccsid[] = "@(#)memset.c 5.2 (Berkeley) 86/03/09"; #endif @@ -274,7 +274,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' '--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-22 20:23:03.995147934 +1100 +--- libx_c.pre/fcntl.h 2017-01-23 12:53:13.667903794 +1100 +++ libx_c/fcntl.h 1970-01-01 10:00:00.000000000 +1000 @@ -1,40 +0,0 @@ -/* @@ -318,8 +318,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/bcmp.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/gen/bcmp.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/bcmp.c 2017-01-23 12:53:13.687903838 +1100 @@ -11,11 +11,12 @@ /* * bcmp -- vax cmpc3 instruction @@ -344,8 +344,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/bcopy.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/gen/bcopy.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/bcopy.c 2017-01-23 12:53:13.687903838 +1100 @@ -11,10 +11,12 @@ /* * bcopy -- vax movc3 instruction @@ -384,8 +384,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/bzero.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/gen/bzero.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/bzero.c 2017-01-23 12:53:13.687903838 +1100 @@ -11,14 +11,15 @@ /* * bzero -- vax movc5 instruction @@ -406,8 +406,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/calloc.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/gen/calloc.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/calloc.c 2017-01-23 12:53:13.687903838 +1100 @@ -5,12 +5,12 @@ /* * Calloc - allocate and clear memory block @@ -434,8 +434,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' unsigned size; { 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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/fakcu.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/gen/fakcu.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/fakcu.c 2017-01-23 12:53:13.687903838 +1100 @@ -6,6 +6,7 @@ * Null cleanup routine to resolve reference in exit() * if not using stdio. @@ -445,8 +445,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/getpass.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/gen/getpass.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/getpass.c 2017-01-23 12:53:13.687903838 +1100 @@ -16,8 +16,8 @@ register c; FILE *fi; @@ -459,8 +459,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/getusershell.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/gen/getusershell.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/getusershell.c 2017-01-23 12:53:13.687903838 +1100 @@ -66,7 +66,7 @@ register char **sp, *cp; register FILE *fp; @@ -480,8 +480,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/insque.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/gen/insque.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/insque.c 2017-01-23 12:53:13.687903838 +1100 @@ -8,16 +8,19 @@ static char sccsid[] = "@(#)insque.c 5.1 (Berkeley) 1/27/87"; #endif LIBC_SCCS and not lint @@ -507,7 +507,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' '--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-22 20:23:03.999147929 +1100 +--- libx_c.pre/gen/isatty.c 2017-01-23 12:53:13.679903821 +1100 +++ libx_c/gen/isatty.c 1970-01-01 10:00:00.000000000 +1000 @@ -1,18 +0,0 @@ -#if defined(LIBC_SCCS) && !defined(lint) @@ -529,8 +529,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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/gen/Makefile libx_c/gen/Makefile ---- libx_c.pre/gen/Makefile 2017-01-22 20:23:03.999147929 +1100 -+++ libx_c/gen/Makefile 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/gen/Makefile 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/Makefile 2017-01-23 12:53:13.687903838 +1100 @@ -5,44 +5,34 @@ # # @(#)Makefile 5.7 (Berkeley) 3/26/86 @@ -709,8 +709,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/malloc.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/gen/malloc.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/malloc.c 2017-01-23 12:53:13.687903838 +1100 @@ -82,7 +82,7 @@ #if defined(DEBUG) || defined(RCHECK) #define ASSERT(p) if (!(p)) botch("p") @@ -774,8 +774,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' char *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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/ndbm.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/gen/ndbm.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/ndbm.c 2017-01-23 12:53:13.687903838 +1100 @@ -14,6 +14,7 @@ #include #include @@ -819,8 +819,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/perror.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/gen/perror.c 2017-01-23 12:53:13.683903829 +1100 ++++ libx_c/gen/perror.c 2017-01-23 12:53:13.687903838 +1100 @@ -17,7 +17,7 @@ int errno; @@ -831,7 +831,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' char *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' '--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-22 20:23:03.999147929 +1100 +--- libx_c.pre/gen/popen.c 2017-01-23 12:53:13.683903829 +1100 +++ libx_c/gen/popen.c 1970-01-01 10:00:00.000000000 +1000 @@ -1,79 +0,0 @@ -/* @@ -914,8 +914,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/qsort.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/gen/qsort.c 2017-01-23 12:53:13.683903829 +1100 ++++ libx_c/gen/qsort.c 2017-01-23 12:53:13.687903838 +1100 @@ -32,12 +32,14 @@ * It's not... */ @@ -955,8 +955,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' register int ii; char *mid, *tmp; 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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/random.c 2017-01-22 20:23:04.003147923 +1100 +--- libx_c.pre/gen/random.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/random.c 2017-01-23 12:53:13.687903838 +1100 @@ -224,7 +224,7 @@ if( n < BREAK_1 ) { if( n < BREAK_0 ) { @@ -967,8 +967,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/regex.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/gen/regex.c 2017-01-23 12:53:13.683903829 +1100 ++++ libx_c/gen/regex.c 2017-01-23 12:53:13.687903838 +1100 @@ -8,8 +8,6 @@ static char sccsid[] = "@(#)regex.c 5.2 (Berkeley) 3/9/86"; #endif LIBC_SCCS and not lint @@ -979,8 +979,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/remque.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/gen/remque.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/remque.c 2017-01-23 12:53:13.687903838 +1100 @@ -8,16 +8,19 @@ static char sccsid[] = "@(#)remque.c 5.1 (Berkeley) 1/27/87"; #endif LIBC_SCCS and not lint @@ -1006,8 +1006,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/signal.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/gen/signal.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/signal.c 2017-01-23 12:53:13.687903838 +1100 @@ -13,9 +13,10 @@ */ #include @@ -1023,8 +1023,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' struct sigvec osv, sv; static int mask[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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/sleep.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/gen/sleep.c 2017-01-23 12:53:13.683903829 +1100 ++++ libx_c/gen/sleep.c 2017-01-23 12:53:13.687903838 +1100 @@ -16,10 +16,12 @@ static int ringring; @@ -1051,8 +1051,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/syslog.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/gen/syslog.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/syslog.c 2017-01-23 12:53:13.687903838 +1100 @@ -32,6 +32,7 @@ #include #include @@ -1111,8 +1111,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/system.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/gen/system.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/system.c 2017-01-23 12:53:13.687903838 +1100 @@ -8,7 +8,7 @@ char *s; { @@ -1123,8 +1123,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/usleep.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/gen/usleep.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/usleep.c 2017-01-23 12:53:13.687903838 +1100 @@ -19,10 +19,12 @@ static int ringring; @@ -1152,8 +1152,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/gen/valloc.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/gen/valloc.c 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/gen/valloc.c 2017-01-23 12:53:13.687903838 +1100 @@ -8,9 +8,9 @@ static char sccsid[] = "@(#)valloc.c 5.2 (Berkeley) 3/9/86"; #endif LIBC_SCCS and not lint @@ -1168,7 +1168,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' '--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-22 20:23:04.007147918 +1100 ++++ libx_c/gen.h 2017-01-23 12:53:13.687903838 +1100 @@ -0,0 +1,5 @@ +/* formerly duplicated in gen/insque.c and gen/remque.c */ +struct vaxque { /* queue format expected by VAX queue instructions */ @@ -1176,8 +1176,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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/inet/Makefile libx_c/inet/Makefile ---- libx_c.pre/inet/Makefile 2017-01-22 20:23:03.995147934 +1100 -+++ libx_c/inet/Makefile 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/inet/Makefile 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/inet/Makefile 2017-01-23 12:53:13.687903838 +1100 @@ -58,14 +58,3 @@ # DO NOT DELETE THIS LINE -- make depend uses it @@ -1194,8 +1194,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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/net/hosttable/Makefile libx_c/net/hosttable/Makefile ---- libx_c.pre/net/hosttable/Makefile 2017-01-22 20:23:03.995147934 +1100 -+++ libx_c/net/hosttable/Makefile 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/net/hosttable/Makefile 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/net/hosttable/Makefile 2017-01-23 12:53:13.687903838 +1100 @@ -54,11 +54,3 @@ # DO NOT DELETE THIS LINE -- make depend uses it @@ -1208,9 +1208,31 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' -# DEPENDENCIES MUST END AT END OF FILE -# 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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/net/htonl.c libx_c/net/htonl.c +--- libx_c.pre/net/htonl.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/net/htonl.c 2017-01-23 12:56:36.556443012 +1100 +@@ -1,6 +1,5 @@ +-#include +-#include + #include ++#include + + u_long htonl(hostlong) u_long hostlong; { + write(2, "htonl()\n", 8); +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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/net/htons.c libx_c/net/htons.c +--- libx_c.pre/net/htons.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/net/htons.c 2017-01-23 12:56:40.332454535 +1100 +@@ -1,6 +1,5 @@ +-#include +-#include + #include ++#include + + u_short htons(hostshort) u_short hostshort; { + write(2, "htons()\n", 8); 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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/net/Makefile libx_c/net/Makefile ---- libx_c.pre/net/Makefile 2017-01-22 20:23:03.995147934 +1100 -+++ libx_c/net/Makefile 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/net/Makefile 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/net/Makefile 2017-01-23 12:53:13.687903838 +1100 @@ -63,54 +63,3 @@ # DO NOT DELETE THIS LINE -- make depend uses it @@ -1267,8 +1289,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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/net/named/Makefile libx_c/net/named/Makefile ---- libx_c.pre/net/named/Makefile 2017-01-22 20:23:03.995147934 +1100 -+++ libx_c/net/named/Makefile 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/net/named/Makefile 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/net/named/Makefile 2017-01-23 12:53:13.687903838 +1100 @@ -57,14 +57,3 @@ # DO NOT DELETE THIS LINE -- make depend uses it @@ -1284,9 +1306,31 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' -# DEPENDENCIES MUST END AT END OF FILE -# 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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/net/ntohl.c libx_c/net/ntohl.c +--- libx_c.pre/net/ntohl.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/net/ntohl.c 2017-01-23 12:56:44.616467665 +1100 +@@ -1,6 +1,5 @@ +-#include +-#include + #include ++#include + + u_long ntohl(netlong) u_long netlong; { + write(2, "ntohl()\n", 8); +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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/net/ntohs.c libx_c/net/ntohs.c +--- libx_c.pre/net/ntohs.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/net/ntohs.c 2017-01-23 12:56:48.096478376 +1100 +@@ -1,6 +1,5 @@ +-#include +-#include + #include ++#include + + u_short ntohs(netshort) u_short netshort; { + write(2, "ntohs()\n", 8); 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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/net/rcmd.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/net/rcmd.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/net/rcmd.c 2017-01-23 12:53:13.687903838 +1100 @@ -59,7 +59,7 @@ sin.sin_family = hp->h_addrtype; bcopy(hp->h_addr_list[0], (caddr_t)&sin.sin_addr, hp->h_length); @@ -1315,8 +1359,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/net/res_debug.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/net/res_debug.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/net/res_debug.c 2017-01-23 12:53:13.687903838 +1100 @@ -328,7 +328,9 @@ } @@ -1352,8 +1396,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/net/res_mkquery.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/net/res_mkquery.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/net/res_mkquery.c 2017-01-23 12:53:13.687903838 +1100 @@ -14,7 +14,10 @@ #include #include @@ -1378,8 +1422,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/net/res_send.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/net/res_send.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/net/res_send.c 2017-01-23 12:53:13.687903838 +1100 @@ -83,7 +83,7 @@ #endif DEBUG continue; @@ -1399,8 +1443,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/net/rexec.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/net/rexec.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/net/rexec.c 2017-01-23 12:53:13.687903838 +1100 @@ -50,7 +50,7 @@ sin.sin_family = hp->h_addrtype; sin.sin_port = rport; @@ -1420,8 +1464,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/net/ruserpass.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/net/ruserpass.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/net/ruserpass.c 2017-01-23 12:53:13.687903838 +1100 @@ -19,6 +19,7 @@ struct utmp *getutmp(); static FILE *cfile; @@ -1501,9 +1545,19 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' mkpwclear(sencpasswd,mch,spasswd) char mch, *spasswd, *sencpasswd; { +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' '--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-23 12:54:33.804096434 +1100 +@@ -0,0 +1,6 @@ ++/* ++ * Functions for number representation conversion. ++ */ ++/* formerly duplicated in netinet/in.h and netns/ns.h */ ++u_short ntohs(), htons(); ++u_long ntohl(), htonl(); 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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/netinet/in.h 2017-01-22 20:24:53.175011094 +1100 +--- libx_c.pre/netinet/in.h 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/netinet/in.h 2017-01-23 12:53:13.687903838 +1100 @@ -90,20 +90,11 @@ */ #define IP_OPTIONS 1 /* set/get IP per-packet options */ @@ -1527,8 +1581,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/netinet/ip.h 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/netinet/ip.h 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/netinet/ip.h 2017-01-23 12:53:13.687903838 +1100 @@ -81,7 +81,7 @@ struct in_addr ipt_addr; n_long ipt_time; @@ -1539,8 +1593,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/netinet/tcp.h 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/netinet/tcp.h 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/netinet/tcp.h 2017-01-23 12:53:13.687903838 +1100 @@ -44,7 +44,9 @@ #ifdef lint #define TCP_MSS 536 @@ -1553,8 +1607,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/netns/ns.h 2017-01-22 20:24:26.811041742 +1100 +--- libx_c.pre/netns/ns.h 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/netns/ns.h 2017-01-23 12:53:13.687903838 +1100 @@ -103,20 +103,11 @@ #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)) @@ -1578,7 +1632,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' '--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-22 20:23:03.995147934 +1100 +--- libx_c.pre/nlist.h 2017-01-23 12:53:13.671903803 +1100 +++ libx_c/nlist.h 1970-01-01 10:00:00.000000000 +1000 @@ -1,46 +0,0 @@ -/* @@ -1628,8 +1682,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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/ns/Makefile libx_c/ns/Makefile ---- libx_c.pre/ns/Makefile 2017-01-22 20:23:03.995147934 +1100 -+++ libx_c/ns/Makefile 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/ns/Makefile 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/ns/Makefile 2017-01-23 12:53:13.691903847 +1100 @@ -54,8 +54,3 @@ # DO NOT DELETE THIS LINE -- make depend uses it @@ -1640,8 +1694,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/ns/ns_addr.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/ns/ns_addr.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/ns/ns_addr.c 2017-01-23 12:53:13.691903847 +1100 @@ -55,7 +55,7 @@ socketname = index(hostname, separator); if (socketname) { @@ -1661,8 +1715,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/stdio/doprnt.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/stdio/doprnt.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/stdio/doprnt.c 2017-01-23 12:53:13.691903847 +1100 @@ -272,9 +272,10 @@ * NUL in the first `prec' characters, and * strlen() will go further. @@ -1677,8 +1731,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/stdio/doscan.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/stdio/doscan.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/stdio/doscan.c 2017-01-23 12:53:13.691903847 +1100 @@ -3,7 +3,8 @@ #endif LIBC_SCCS and not lint @@ -1760,8 +1814,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/stdio/findiop.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/stdio/findiop.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/stdio/findiop.c 2017-01-23 12:53:13.691903847 +1100 @@ -23,7 +23,7 @@ { 0, NULL, NULL, 0, _IOWRT|_IONBF, 2 }, /* stderr */ }; @@ -1801,8 +1855,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/stdio/fprintf.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/stdio/fprintf.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/stdio/fprintf.c 2017-01-23 12:53:13.691903847 +1100 @@ -1,32 +1,49 @@ /* * Copyright (c) 1980 Regents of the University of California. @@ -1864,8 +1918,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/stdio/fread.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/stdio/fread.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/stdio/fread.c 2017-01-23 12:53:13.691903847 +1100 @@ -10,11 +10,12 @@ #include @@ -1888,8 +1942,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/stdio/fwrite.c 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/stdio/fwrite.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/stdio/fwrite.c 2017-01-23 12:53:13.691903847 +1100 @@ -10,11 +10,12 @@ #include @@ -1912,8 +1966,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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/stdio/Makefile libx_c/stdio/Makefile ---- libx_c.pre/stdio/Makefile 2017-01-22 20:23:03.995147934 +1100 -+++ libx_c/stdio/Makefile 2017-01-22 20:23:04.007147918 +1100 +--- libx_c.pre/stdio/Makefile 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/stdio/Makefile 2017-01-23 12:53:13.691903847 +1100 @@ -5,35 +5,19 @@ # # @(#)Makefile 5.4 (Berkeley) 9/5/85 @@ -2006,7 +2060,7 @@ 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' '--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-22 20:23:04.007147918 +1100 ++++ libx_c/stdio/popen.c 2017-01-23 12:53:13.691903847 +1100 @@ -0,0 +1,77 @@ +/* + * Copyright (c) 1980 Regents of the University of California. @@ -2086,8 +2140,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/stdio/printf.c 2017-01-22 20:23:04.011147912 +1100 +--- libx_c.pre/stdio/printf.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/stdio/printf.c 2017-01-23 12:53:13.691903847 +1100 @@ -1,12 +1,36 @@ +/* + * Copyright (c) 1987 Regents of the University of California. @@ -2132,8 +2186,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/stdio/scanf.c 2017-01-22 20:23:04.011147912 +1100 +--- libx_c.pre/stdio/scanf.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/stdio/scanf.c 2017-01-23 12:53:13.691903847 +1100 @@ -2,32 +2,53 @@ static char sccsid[] = "@(#)scanf.c 5.2 (Berkeley) 3/9/86"; #endif LIBC_SCCS and not lint @@ -2196,8 +2250,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/stdio/setbuffer.c 2017-01-22 20:23:04.011147912 +1100 +--- libx_c.pre/stdio/setbuffer.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/stdio/setbuffer.c 2017-01-23 12:53:13.691903847 +1100 @@ -35,11 +35,11 @@ register FILE *iop; { @@ -2213,8 +2267,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/stdio/sprintf.c 2017-01-22 20:23:04.011147912 +1100 +--- libx_c.pre/stdio/sprintf.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/stdio/sprintf.c 2017-01-23 12:53:13.691903847 +1100 @@ -1,18 +1,41 @@ +/* + * Copyright (c) 1987 Regents of the University of California. @@ -2266,7 +2320,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' '--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-22 20:23:04.011147912 +1100 ++++ libx_c/stdio/vfprintf.c 2017-01-23 12:53:13.691903847 +1100 @@ -0,0 +1,46 @@ +/* + * Copyright (c) 1988 Regents of the University of California. @@ -2316,7 +2370,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' '--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-22 20:23:04.011147912 +1100 ++++ libx_c/stdio/vprintf.c 2017-01-23 12:53:13.691903847 +1100 @@ -0,0 +1,33 @@ +/* + * Copyright (c) 1988 Regents of the University of California. @@ -2353,7 +2407,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' '--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-22 20:23:04.011147912 +1100 ++++ libx_c/stdio/vsprintf.c 2017-01-23 12:53:13.691903847 +1100 @@ -0,0 +1,38 @@ +/* + * Copyright (c) 1988 Regents of the University of California. @@ -2394,8 +2448,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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/stdio.h 2017-01-22 20:23:04.011147912 +1100 +--- libx_c.pre/stdio.h 2017-01-23 12:53:13.667903794 +1100 ++++ libx_c/stdio.h 2017-01-23 12:53:13.691903847 +1100 @@ -59,7 +59,7 @@ long ftell(); char *fgets(); @@ -2406,8 +2460,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' #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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/sys/dir.h 2017-01-22 20:23:04.011147912 +1100 +--- libx_c.pre/sys/dir.h 2017-01-23 12:53:13.675903812 +1100 ++++ libx_c/sys/dir.h 2017-01-23 12:53:13.691903847 +1100 @@ -32,9 +32,9 @@ * dp->d_ino set to 0. */ @@ -2422,8 +2476,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/sys/errno.h 2017-01-22 20:23:04.011147912 +1100 +--- libx_c.pre/sys/errno.h 2017-01-23 12:53:13.675903812 +1100 ++++ libx_c/sys/errno.h 2017-01-23 12:53:13.691903847 +1100 @@ -96,3 +96,7 @@ #define EPROCLIM 67 /* Too many processes */ #define EUSERS 68 /* Too many users */ @@ -2433,8 +2487,8 @@ 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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/sys/execl.c 2017-01-22 20:23:04.011147912 +1100 +--- libx_c.pre/sys/execl.c 2017-01-23 12:53:13.675903812 +1100 ++++ libx_c/sys/execl.c 2017-01-23 12:53:13.691903847 +1100 @@ -1,4 +1,5 @@ -void execl(f, a) char *f, *a; { +#include @@ -2443,8 +2497,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' 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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/sys/execle.c 2017-01-22 20:23:04.011147912 +1100 +--- libx_c.pre/sys/execle.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/sys/execle.c 2017-01-23 12:53:13.691903847 +1100 @@ -1,4 +1,5 @@ -void execle(f, a) char *f, *a; { +#include @@ -2454,7 +2508,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' '--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-22 20:23:04.011147912 +1100 ++++ libx_c/sys/isatty.c 2017-01-23 12:53:13.691903847 +1100 @@ -0,0 +1,17 @@ +#if defined(LIBC_SCCS) && !defined(lint) +static char sccsid[] = "@(#)isatty.c 5.2 (Berkeley) 3/9/86"; @@ -2475,7 +2529,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' '--exclude=*.temp.c' '--exclude=*.[ch].usedby' '--exclude=*.[ch].uses' libx_c.pre/sys/Makefile libx_c/sys/Makefile --- libx_c.pre/sys/Makefile 1970-01-01 10:00:00.000000000 +1000 -+++ libx_c/sys/Makefile 2017-01-22 20:23:04.011147912 +1100 ++++ libx_c/sys/Makefile 2017-01-23 12:53:13.691903847 +1100 @@ -0,0 +1,88 @@ +# +# Copyright (c) 1980 Regents of the University of California. @@ -2566,9 +2620,11 @@ 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' '--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-22 20:23:03.995147934 +1100 -+++ libx_c/sys/open.c 2017-01-22 20:23:04.011147912 +1100 -@@ -1,4 +1,9 @@ +--- libx_c.pre/sys/open.c 2017-01-23 12:53:13.671903803 +1100 ++++ libx_c/sys/open.c 2017-01-23 12:53:13.691903847 +1100 +@@ -1,6 +1,11 @@ + #include + int open(f, m, va_alist) char *f; va_dcl { - write(2, "open()\n", 7); - abort(); @@ -2581,8 +2637,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' + 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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/sys/param.h 2017-01-22 20:23:04.011147912 +1100 +--- libx_c.pre/sys/param.h 2017-01-23 12:53:13.675903812 +1100 ++++ libx_c/sys/param.h 2017-01-23 12:53:13.691903847 +1100 @@ -53,15 +53,16 @@ /* * Signals @@ -2629,8 +2685,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/sys/proc.h 2017-01-22 20:23:04.011147912 +1100 +--- libx_c.pre/sys/proc.h 2017-01-23 12:53:13.675903812 +1100 ++++ libx_c/sys/proc.h 2017-01-23 12:53:13.691903847 +1100 @@ -117,3 +117,8 @@ #define SSEL 0x0400000 /* selecting; wakeup/waiting danger */ #define SLOGIN 0x0800000 /* a login process (legit child of init) */ @@ -2642,7 +2698,7 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' + ((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' '--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-22 20:23:04.011147912 +1100 ++++ libx_c/sys/select.h 2017-01-23 12:53:13.691903847 +1100 @@ -0,0 +1,28 @@ +#include + @@ -2673,8 +2729,8 @@ diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' ' +#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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/sys/signal.h 2017-01-22 20:23:04.011147912 +1100 +--- libx_c.pre/sys/signal.h 2017-01-23 12:53:13.675903812 +1100 ++++ libx_c/sys/signal.h 2017-01-23 12:53:13.691903847 +1100 @@ -57,14 +57,14 @@ #define SIGUSR2 31 /* user defined signal 2 */ @@ -2712,8 +2768,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/sys/tty.h 2017-01-22 20:23:04.011147912 +1100 +--- libx_c.pre/sys/tty.h 2017-01-23 12:53:13.675903812 +1100 ++++ libx_c/sys/tty.h 2017-01-23 12:53:13.691903847 +1100 @@ -70,20 +70,22 @@ struct ttychars t_chars; /* tty */ struct winsize t_winsize; /* window size */ @@ -2752,8 +2808,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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/sys/types.h 2017-01-22 20:23:04.011147912 +1100 +--- libx_c.pre/sys/types.h 2017-01-23 12:53:13.675903812 +1100 ++++ libx_c/sys/types.h 2017-01-23 12:53:13.691903847 +1100 @@ -35,7 +35,7 @@ #endif typedef struct _quad { long val[2]; } quad; @@ -2814,14 +2870,15 @@ 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' '--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-22 20:23:04.011147912 +1100 -@@ -0,0 +1,3 @@ ++++ libx_c/sys/vfork.c 2017-01-23 12:53:13.691903847 +1100 +@@ -0,0 +1,4 @@ +int vfork() { -+ abort(); ++ write(2, "vfork()\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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/sys/vmmac.h 2017-01-22 20:23:04.011147912 +1100 +--- libx_c.pre/sys/vmmac.h 2017-01-23 12:53:13.675903812 +1100 ++++ libx_c/sys/vmmac.h 2017-01-23 12:53:13.691903847 +1100 @@ -157,3 +157,10 @@ } \ c->c_lock = 0; \ @@ -2835,16 +2892,17 @@ 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' '--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-22 20:23:04.011147912 +1100 -@@ -0,0 +1,5 @@ ++++ libx_c/sys/vopen.c 2017-01-23 12:53:13.691903847 +1100 +@@ -0,0 +1,6 @@ +#include +#include ++ +int vopen(f, m, argp) char *f; va_list argp; { + return open(f, m, m & O_CREAT ? va_arg(argp, int) : 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' '--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-22 20:23:03.999147929 +1100 -+++ libx_c/vax/vmparam.h 2017-01-22 20:23:04.011147912 +1100 +--- libx_c.pre/vax/vmparam.h 2017-01-23 12:53:13.679903821 +1100 ++++ libx_c/vax/vmparam.h 2017-01-23 12:53:13.691903847 +1100 @@ -156,5 +156,6 @@ /* * BEWARE THIS DEFINITION WORKS ONLY WITH COUNT OF 1 diff --git a/lib/libx_c/sys/accept.c b/lib/libx_c/sys/accept.c index 0720bfa..a1fbe79 100644 --- a/lib/libx_c/sys/accept.c +++ b/lib/libx_c/sys/accept.c @@ -3,6 +3,7 @@ #include /*#include */ + int accept(s, a, l) int s; struct sockaddr *a; int *l; { write(2, "accept()\n", 9); abort(); diff --git a/lib/libx_c/sys/adjtime.c b/lib/libx_c/sys/adjtime.c index acb00c1..b633d9a 100644 --- a/lib/libx_c/sys/adjtime.c +++ b/lib/libx_c/sys/adjtime.c @@ -3,6 +3,7 @@ /*#include gen.h*/ /*#include */ + int adjtime(delta, odelta) struct timeval *delta; struct timeval *odelta; { write(2, "adjtime()\n", 10); abort(); diff --git a/lib/libx_c/sys/bind.c b/lib/libx_c/sys/bind.c index f42e723..a1595ce 100644 --- a/lib/libx_c/sys/bind.c +++ b/lib/libx_c/sys/bind.c @@ -3,6 +3,7 @@ #include /*#include */ + int bind(s, n, l) int s; struct sockaddr *n; int l; { write(2, "bind()\n", 7); abort(); diff --git a/lib/libx_c/sys/connect.c b/lib/libx_c/sys/connect.c index a3a2d3d..d32160c 100644 --- a/lib/libx_c/sys/connect.c +++ b/lib/libx_c/sys/connect.c @@ -3,6 +3,7 @@ #include /*#include */ + int connect(s, n, l) int s; struct sockaddr *n; int l; { write(2, "connect()\n", 10); abort(); diff --git a/lib/libx_c/sys/fstat.c b/lib/libx_c/sys/fstat.c index a527a55..386c005 100644 --- a/lib/libx_c/sys/fstat.c +++ b/lib/libx_c/sys/fstat.c @@ -3,6 +3,7 @@ #include /*#include */ + int fstat(f, b) int f; struct stat *b; { write(2, "fstat()\n", 8); abort(); diff --git a/lib/libx_c/sys/ftruncate.c b/lib/libx_c/sys/ftruncate.c index e8b9f00..26c610b 100644 --- a/lib/libx_c/sys/ftruncate.c +++ b/lib/libx_c/sys/ftruncate.c @@ -3,6 +3,7 @@ /*#include gen.h*/ /*#include */ + int ftruncate(d, l) int d; off_t l; { write(2, "ftruncate()\n", 12); abort(); diff --git a/lib/libx_c/sys/getegid.c b/lib/libx_c/sys/getegid.c index 6c4939f..9700cc4 100644 --- a/lib/libx_c/sys/getegid.c +++ b/lib/libx_c/sys/getegid.c @@ -4,6 +4,7 @@ /*#include gen.h*/ /*#include */ + gid_t getegid() { write(2, "getegid()\n", 10); abort(); diff --git a/lib/libx_c/sys/geteuid.c b/lib/libx_c/sys/geteuid.c index 8122ff0..eb8cf53 100644 --- a/lib/libx_c/sys/geteuid.c +++ b/lib/libx_c/sys/geteuid.c @@ -4,6 +4,7 @@ /*#include gen.h*/ /*#include */ + uid_t geteuid() { write(2, "geteuid()\n", 10); abort(); diff --git a/lib/libx_c/sys/getgid.c b/lib/libx_c/sys/getgid.c index 8c6013b..1ba1093 100644 --- a/lib/libx_c/sys/getgid.c +++ b/lib/libx_c/sys/getgid.c @@ -4,6 +4,7 @@ /*#include gen.h*/ /*#include */ + gid_t getgid() { write(2, "getgid()\n", 9); abort(); diff --git a/lib/libx_c/sys/getitimer.c b/lib/libx_c/sys/getitimer.c index 1d23dc8..f8bd1b8 100644 --- a/lib/libx_c/sys/getitimer.c +++ b/lib/libx_c/sys/getitimer.c @@ -3,6 +3,7 @@ /*#include gen.h*/ /*#include */ + int getitimer(w, v) int w; struct itimerval *v; { write(2, "getitimer()\n", 12); abort(); diff --git a/lib/libx_c/sys/getpeername.c b/lib/libx_c/sys/getpeername.c index 402e142..3343b61 100644 --- a/lib/libx_c/sys/getpeername.c +++ b/lib/libx_c/sys/getpeername.c @@ -3,6 +3,7 @@ #include /*#include */ + int getpeername(s, n, l) int s; struct sockaddr *n; int *l; { write(2, "getpeername()\n", 14); abort(); diff --git a/lib/libx_c/sys/getrlimit.c b/lib/libx_c/sys/getrlimit.c index e5e4ded..8a94fc4 100644 --- a/lib/libx_c/sys/getrlimit.c +++ b/lib/libx_c/sys/getrlimit.c @@ -3,6 +3,7 @@ #include /*#include */ + int getrlimit(res, rip) int res; struct rlimit *rip; { write(2, "getrlimit()\n", 12); abort(); diff --git a/lib/libx_c/sys/getrusage.c b/lib/libx_c/sys/getrusage.c index b029ac3..d6eeb9e 100644 --- a/lib/libx_c/sys/getrusage.c +++ b/lib/libx_c/sys/getrusage.c @@ -3,6 +3,7 @@ #include /*#include */ + int getrusage(res, rip) int res; struct rusage *rip; { write(2, "getrusage()\n", 12); abort(); diff --git a/lib/libx_c/sys/getsockname.c b/lib/libx_c/sys/getsockname.c index a84edac..0715dba 100644 --- a/lib/libx_c/sys/getsockname.c +++ b/lib/libx_c/sys/getsockname.c @@ -3,6 +3,7 @@ #include /*#include */ + int getsockname(s, name, namelen) int s; struct sockaddr *name; int *namelen; { write(2, "getsockname()\n", 14); abort(); diff --git a/lib/libx_c/sys/gettimeofday.c b/lib/libx_c/sys/gettimeofday.c index 8747b81..ef9fb36 100644 --- a/lib/libx_c/sys/gettimeofday.c +++ b/lib/libx_c/sys/gettimeofday.c @@ -3,6 +3,7 @@ /*#include gen.h*/ /*#include */ + int gettimeofday(t, z) struct timeval *t; struct timezone *z; { write(2, "gettimeofday()\n", 15); abort(); diff --git a/lib/libx_c/sys/getuid.c b/lib/libx_c/sys/getuid.c index 8e72e55..ae4a22b 100644 --- a/lib/libx_c/sys/getuid.c +++ b/lib/libx_c/sys/getuid.c @@ -4,6 +4,7 @@ /*#include gen.h*/ /*#include */ + uid_t getuid() { write(2, "getuid()\n", 9); abort(); diff --git a/lib/libx_c/sys/ioctl.c b/lib/libx_c/sys/ioctl.c index 5456937..4305184 100644 --- a/lib/libx_c/sys/ioctl.c +++ b/lib/libx_c/sys/ioctl.c @@ -4,6 +4,7 @@ /*#include gen.h*/ /*#include */ + int ioctl(d, r, p) int d; u_long r; void *p; { write(2, "ioctl()\n", 8); abort(); diff --git a/lib/libx_c/sys/lseek.c b/lib/libx_c/sys/lseek.c index d235a4b..9f6cfda 100644 --- a/lib/libx_c/sys/lseek.c +++ b/lib/libx_c/sys/lseek.c @@ -3,6 +3,7 @@ /*#include gen.h*/ /*#include */ + off_t lseek(f, o, d) int f; off_t o; int d; { write(2, "lseek()\n", 8); abort(); diff --git a/lib/libx_c/sys/lstat.c b/lib/libx_c/sys/lstat.c index 336642f..0212cfe 100644 --- a/lib/libx_c/sys/lstat.c +++ b/lib/libx_c/sys/lstat.c @@ -3,6 +3,7 @@ #include /*#include */ + int lstat(s, b) char *s; struct stat *b; { write(2, "lstat()\n", 8); abort(); diff --git a/lib/libx_c/sys/open.c b/lib/libx_c/sys/open.c index eacfece..5830858 100644 --- a/lib/libx_c/sys/open.c +++ b/lib/libx_c/sys/open.c @@ -8,6 +8,7 @@ #endif /*#include */ + #ifdef __STDC__ int open(char *f, int m, ...) #else diff --git a/lib/libx_c/sys/readv.c b/lib/libx_c/sys/readv.c index c638d02..94ab9b1 100644 --- a/lib/libx_c/sys/readv.c +++ b/lib/libx_c/sys/readv.c @@ -3,6 +3,7 @@ #include /*#include */ + int readv(d, v, l) int d; struct iovec *v; int l; { write(2, "readv()\n", 8); abort(); diff --git a/lib/libx_c/sys/recvfrom.c b/lib/libx_c/sys/recvfrom.c index d50f99e..b8e300f 100644 --- a/lib/libx_c/sys/recvfrom.c +++ b/lib/libx_c/sys/recvfrom.c @@ -3,6 +3,7 @@ #include /*#include */ + int recvfrom(s, b, l, f, fr, fl) int s; void *b; int l; int f; struct sockaddr *fr; int *fl; { write(2, "recvfrom()\n", 11); abort(); diff --git a/lib/libx_c/sys/recvmsg.c b/lib/libx_c/sys/recvmsg.c index cb0b6f9..fc8daeb 100644 --- a/lib/libx_c/sys/recvmsg.c +++ b/lib/libx_c/sys/recvmsg.c @@ -3,6 +3,7 @@ #include /*#include */ + int recvmsg(s, m, f) int s; struct msghdr m[]; int f; { write(2, "recvmsg()\n", 10); abort(); diff --git a/lib/libx_c/sys/select.c b/lib/libx_c/sys/select.c index c34d25d..0f39945 100644 --- a/lib/libx_c/sys/select.c +++ b/lib/libx_c/sys/select.c @@ -3,9 +3,10 @@ #include /*#include gen.h*/ -/*#include */ /*#include */ -int select(n, r, w, e, t) int n; fd_set *r; fd_set *w; fd_set *e; struct timeval *t; { +/*#include */ + +int select(n, r, w, e, t) fd_set *r, *w, *e; struct timeval *t; { write(2, "select()\n", 9); abort(); } diff --git a/lib/libx_c/sys/select.h b/lib/libx_c/sys/select.h index d4424cd..bd4250d 100644 --- a/lib/libx_c/sys/select.h +++ b/lib/libx_c/sys/select.h @@ -3,7 +3,6 @@ #include #include -#include /*#include */ @@ -34,17 +33,4 @@ typedef struct fd_set { #define FD_ISSET(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS))) #define FD_ZERO(p) bzero((char *)(p), sizeof(*(p))) -#ifndef KERNEL -#ifndef __P -#ifdef __STDC__ -#define __P(args) args -#else -#define __P(args) () -#endif -#endif - -/* sys/select.c */ -int select __P((int n, fd_set *r, fd_set *w, fd_set *e, struct timeval *t)); -#endif - #endif diff --git a/lib/libx_c/sys/sendmsg.c b/lib/libx_c/sys/sendmsg.c index fbe6d9f..45965e1 100644 --- a/lib/libx_c/sys/sendmsg.c +++ b/lib/libx_c/sys/sendmsg.c @@ -3,6 +3,7 @@ #include /*#include */ + int sendmsg(s, m, l) int s; struct msghdr m[]; int l; { write(2, "sendmsg()\n", 10); abort(); diff --git a/lib/libx_c/sys/sendto.c b/lib/libx_c/sys/sendto.c index e560c2f..5112c14 100644 --- a/lib/libx_c/sys/sendto.c +++ b/lib/libx_c/sys/sendto.c @@ -3,6 +3,7 @@ #include /*#include */ + int sendto(s, m, l, f, t, tl) int s; void *m; int l; int f; struct sockaddr *t; int tl; { write(2, "sendto()\n", 9); abort(); diff --git a/lib/libx_c/sys/setitimer.c b/lib/libx_c/sys/setitimer.c index 3d4d1f6..b9db548 100644 --- a/lib/libx_c/sys/setitimer.c +++ b/lib/libx_c/sys/setitimer.c @@ -3,6 +3,7 @@ /*#include gen.h*/ /*#include */ + int setitimer(w, v, ov) int w; struct itimerval *v; struct itimerval *ov; { write(2, "setitimer()\n", 12); abort(); diff --git a/lib/libx_c/sys/setrlimit.c b/lib/libx_c/sys/setrlimit.c index ff6a55d..5848974 100644 --- a/lib/libx_c/sys/setrlimit.c +++ b/lib/libx_c/sys/setrlimit.c @@ -3,6 +3,7 @@ #include /*#include */ + int setrlimit(res, rip) int res; struct rlimit *rip; { write(2, "setrlimit()\n", 12); abort(); diff --git a/lib/libx_c/sys/settimeofday.c b/lib/libx_c/sys/settimeofday.c index 17f55eb..1ee3978 100644 --- a/lib/libx_c/sys/settimeofday.c +++ b/lib/libx_c/sys/settimeofday.c @@ -3,6 +3,7 @@ /*#include gen.h*/ /*#include */ + int settimeofday(t, z) struct timeval *t; struct timezone *z; { write(2, "settimeofday()\n", 15); abort(); diff --git a/lib/libx_c/sys/sigreturn.c b/lib/libx_c/sys/sigreturn.c index 93c683a..dec34b0 100644 --- a/lib/libx_c/sys/sigreturn.c +++ b/lib/libx_c/sys/sigreturn.c @@ -3,6 +3,7 @@ /*#include gen.h*/ /*#include */ + int sigreturn(scp) struct sigcontext *scp; { write(2, "sigreturn()\n", 12); abort(); diff --git a/lib/libx_c/sys/sigstack.c b/lib/libx_c/sys/sigstack.c index 33d919d..6a99f23 100644 --- a/lib/libx_c/sys/sigstack.c +++ b/lib/libx_c/sys/sigstack.c @@ -3,6 +3,7 @@ /*#include gen.h*/ /*#include */ + int sigstack(ss, oss) struct sigstack *ss; struct sigstack *oss; { write(2, "sigstack()\n", 11); abort(); diff --git a/lib/libx_c/sys/sigvec.c b/lib/libx_c/sys/sigvec.c index 5c3acdb..1016d84 100644 --- a/lib/libx_c/sys/sigvec.c +++ b/lib/libx_c/sys/sigvec.c @@ -3,6 +3,7 @@ /*#include gen.h*/ /*#include */ + int sigvec(c, f, m) int c; struct sigvec *f; struct sigvec *m; { write(2, "sigvec()\n", 9); abort(); diff --git a/lib/libx_c/sys/stat.c b/lib/libx_c/sys/stat.c index faeb13a..ad18e9d 100644 --- a/lib/libx_c/sys/stat.c +++ b/lib/libx_c/sys/stat.c @@ -3,6 +3,7 @@ #include /*#include */ + int stat(s, b) char *s; struct stat *b; { write(2, "stat()\n", 7); abort(); diff --git a/lib/libx_c/sys/truncate.c b/lib/libx_c/sys/truncate.c index f53aaeb..82e42f6 100644 --- a/lib/libx_c/sys/truncate.c +++ b/lib/libx_c/sys/truncate.c @@ -3,6 +3,7 @@ /*#include gen.h*/ /*#include */ + int truncate(p, l) char *p; off_t l; { write(2, "truncate()\n", 11); abort(); diff --git a/lib/libx_c/sys/utimes.c b/lib/libx_c/sys/utimes.c index 693fc56..31f57a1 100644 --- a/lib/libx_c/sys/utimes.c +++ b/lib/libx_c/sys/utimes.c @@ -3,6 +3,7 @@ /*#include gen.h*/ /*#include */ + int utimes(f, t) char *f; struct timeval t[2]; { write(2, "utimes()\n", 9); abort(); diff --git a/lib/libx_c/sys/vfork.c b/lib/libx_c/sys/vfork.c index c190bb7..14579a2 100644 --- a/lib/libx_c/sys/vfork.c +++ b/lib/libx_c/sys/vfork.c @@ -1,6 +1,8 @@ #include +#include /*#include gen.h*/ int vfork() { - abort(); + write(2, "vfork()\n", 8); + abort(); } diff --git a/lib/libx_c/sys/vopen.c b/lib/libx_c/sys/vopen.c index 63b8855..37b2e00 100644 --- a/lib/libx_c/sys/vopen.c +++ b/lib/libx_c/sys/vopen.c @@ -9,6 +9,7 @@ /*#include */ /*#include */ + int vopen(f, m, argp) char *f; int m; va_list argp; { return open(f, m, m & O_CREAT ? va_arg(argp, int) : 0); } diff --git a/lib/libx_c/sys/wait3.c b/lib/libx_c/sys/wait3.c index d6dd6dc..1738dde 100644 --- a/lib/libx_c/sys/wait3.c +++ b/lib/libx_c/sys/wait3.c @@ -4,6 +4,7 @@ #include /*#include */ + int wait3(s, o, r) int *s; int o; struct rusage *r; { write(2, "wait3()\n", 8); abort(); diff --git a/lib/libx_c/sys/writev.c b/lib/libx_c/sys/writev.c index ca1b0c4..3614744 100644 --- a/lib/libx_c/sys/writev.c +++ b/lib/libx_c/sys/writev.c @@ -3,6 +3,7 @@ #include /*#include */ + int writev(f, v, l) int f; struct iovec *v; int l; { write(2, "writev()\n", 9); abort(); -- 2.34.1