diff --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 13:16:08.076534021 +1100
-+++ libx_c/compat-4.1/Makefile 2017-01-22 13:16:08.112534200 +1100
+--- 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
@@ -1,3 +1,5 @@
+ROOT=../../..
+CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
#
# Copyright (c) 1980 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
-@@ -59,4 +61,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.post/compat-sys5/Makefile libx_c/compat-sys5/Makefile
---- libx_c.post/compat-sys5/Makefile 2017-01-22 13:16:08.104534161 +1100
-+++ libx_c/compat-sys5/Makefile 2017-01-22 13:16:08.112534200 +1100
+--- 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
@@ -1,3 +1,5 @@
+ROOT=../../..
+CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
# Makefile 1.5 85/09/05
#
CFLAGS= -O ${DEFS}
-@@ -51,22 +53,3 @@
-
- # DO NOT DELETE THIS LINE -- make depend uses it
-
--getopt.o: getopt.c /usr/include/stdio.h
--memccpy.o: memccpy.c
--memchr.o: memchr.c
--memcmp.o: memcmp.c
--memcpy.o: memcpy.c
--memset.o: memset.c
--strcatn.o: strcatn.c
--strchr.o: strchr.c
--strcmpn.o: strcmpn.c
--strcpyn.o: strcpyn.c
--strcspn.o: strcspn.c
--strpbrk.o: strpbrk.c
--strrchr.o: strrchr.c
--strspn.o: strspn.c
--strtok.o: strtok.c
--tmpnam.o: tmpnam.c
--# 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.post/gen/bcopy.c libx_c/gen/bcopy.c
---- libx_c.post/gen/bcopy.c 2017-01-22 13:16:08.104534161 +1100
-+++ libx_c/gen/bcopy.c 2017-01-22 13:16:08.112534200 +1100
+--- 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
@@ -1,6 +1,12 @@
#include <strings.h>
#include <sys/types.h>
*--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 13:16:08.104534161 +1100
-+++ libx_c/gen/getpass.c 2017-01-22 13:16:08.112534200 +1100
+--- 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
@@ -20,7 +20,7 @@
FILE *fi;
static char pbuf[9];
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 13:16:08.104534161 +1100
-+++ libx_c/gen/getpwnamuid.c 2017-01-22 13:16:08.112534200 +1100
+--- 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
@@ -43,19 +43,37 @@
cp = key.dptr;
tp = line;
}
diff --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 13:16:08.104534161 +1100
-+++ libx_c/gen/Makefile 2017-01-22 13:16:08.112534200 +1100
+--- 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
@@ -1,3 +1,5 @@
+ROOT=../../..
+CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
#
# Copyright (c) 1980 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
-@@ -5,44 +7,34 @@
- #
- # @(#)Makefile 5.7 (Berkeley) 3/26/86
- #
--# Several routines have been rewritten in assembly language for the VAX.
--# If you are not running on a VAX, you should use the original C sources
--# which are included in this directory. Regretably we do not have a C
--# version of the bstring(3) routines.
--#
--#ifndef vax
--#SRCS= ${STDSRC} ${VAXSRC}
--#OBJS= ${STDOBJ} ${VAXOBJ}
--#else
--SRCS= ${STDSRC}
--OBJS= ${STDOBJ}
--#endif not vax
-
--CFLAGS= -O ${DEFS}
--STDSRC= abort.c alarm.c atoi.c atol.c calloc.c closedir.c crypt.c \
-- ctime.c ctype_.c errlst.c execvp.c fakcu.c fstab.c gcvt.c getenv.c \
-+SRCS= abort.c abs.c alarm.c atof.c atoi.c atol.c bcmp.c bcopy.c bzero.c \
-+ calloc.c closedir.c crypt.c ctime.c ctype_.c disktab.c ecvt.c \
-+ errlst.c execvp.c fakcu.c ffs.c frexp.c fstab.c gcvt.c getenv.c \
- getgrent.c getgrgid.c getgrnam.c getlogin.c getpass.c getpwent.c \
-- getpwnamuid.c getttyent.c getttynam.c getusershell.c getwd.c \
-- initgroups.c isatty.c malloc.c mkstemp.c mktemp.c ndbm.c nlist.c \
-- opendir.c perror.c popen.c psignal.c qsort.c random.c readdir.c \
-- regex.c scandir.c seekdir.c setgid.c setegid.c setrgid.c setuid.c \
-- seteuid.c setruid.c siglist.c signal.c siginterrupt.c sleep.c \
-- swab.c syslog.c system.c telldir.c time.c timezone.c ttyname.c \
-- ttyslot.c ualarm.c usleep.c valloc.c
--VAXSRC= index.c rindex.c strcat.c strcmp.c strcpy.c strlen.c \
-- strncat.c strncmp.c strncpy.c
--STDOBJ= abort.o alarm.o atoi.o atol.o calloc.o closedir.o crypt.o \
-- ctime.o ctype_.o errlst.o execvp.o fakcu.o fstab.o gcvt.o getenv.o \
-+ getpwnamuid.c getttyent.c getttynam.c getusershell.c getwd.c index.c \
-+ initgroups.c insque.c ldexp.c malloc.c mkstemp.c mktemp.c modf.c \
-+ ndbm.c nlist.c opendir.c perror.c psignal.c qsort.c random.c \
-+ readdir.c regex.c remque.c rindex.c scandir.c seekdir.c setegid.c \
-+ seteuid.c setgid.c _setjmp.c setjmp.c setjmperr.c setrgid.c setruid.c \
-+ setuid.c siginterrupt.c siglist.c signal.c sleep.c strcat.c strcmp.c \
-+ strcpy.c strlen.c strncat.c strncmp.c strncpy.c swab.c syslog.c \
-+ system.c telldir.c time.c timezone.c ttyname.c ttyslot.c ualarm.c \
-+ usleep.c valloc.c
-+OBJS= abort.o abs.o alarm.o atof.o atoi.o atol.o bcmp.o bcopy.o bzero.o \
-+ calloc.o closedir.o crypt.o ctime.o ctype_.o disktab.o ecvt.o \
-+ errlst.o execvp.o fakcu.o ffs.o frexp.o fstab.o gcvt.o getenv.o \
- getgrent.o getgrgid.o getgrnam.o getlogin.o getpass.o getpwent.o \
-- getpwnamuid.o getttyent.o getttynam.o getusershell.o getwd.o \
-- initgroups.o isatty.o malloc.o mkstemp.o mktemp.o ndbm.o nlist.o \
-- opendir.o perror.o popen.o psignal.o qsort.o random.o readdir.o \
-- regex.o scandir.o seekdir.o setgid.o setegid.o setrgid.o setuid.o \
-- seteuid.o setruid.o siglist.o signal.o siginterrupt.o sleep.o \
-- swab.o syslog.o system.o telldir.o time.o timezone.o ttyname.o \
-- ttyslot.o ualarm.o usleep.o valloc.o
--VAXOBJ= index.o rindex.o strcat.o strcmp.o strcpy.o strlen.o \
-- strncat.o strncmp.o strncpy.o
-+ getpwnamuid.o getttyent.o getttynam.o getusershell.o getwd.o index.o \
-+ initgroups.o insque.o ldexp.o malloc.o mkstemp.o mktemp.o modf.o \
-+ ndbm.o nlist.o opendir.o perror.o psignal.o qsort.o random.o \
-+ readdir.o regex.o remque.o rindex.o scandir.o seekdir.o setegid.o \
-+ seteuid.o setgid.o _setjmp.o setjmp.o setjmperr.o setrgid.o setruid.o \
-+ setuid.o siginterrupt.o siglist.o signal.o sleep.o strcat.o strcmp.o \
-+ strcpy.o strlen.o strncat.o strncmp.o strncpy.o swab.o syslog.o \
-+ system.o telldir.o time.o timezone.o ttyname.o ttyslot.o ualarm.o \
-+ usleep.o valloc.o
-+CFLAGS= -O ${DEFS}
- TAGSFILE=tags
-
- .c.o:
-@@ -59,12 +51,12 @@
+@@ -49,12 +51,12 @@
@echo "buiding normal genlib"
@ar cru genlib ${OBJS}
tags:
cwd=`pwd`; \
-@@ -94,106 +86,3 @@
-
- # DO NOT DELETE THIS LINE -- make depend uses it
-
--abort.o: abort.c /usr/include/signal.h
--alarm.o: alarm.c /usr/include/sys/time.h /usr/include/time.h
--atoi.o: atoi.c
--atol.o: atol.c
--calloc.o: calloc.c
--closedir.o: closedir.c /usr/include/sys/param.h
--closedir.o: /usr/include/machine/machparam.h /usr/include/signal.h
--closedir.o: /usr/include/sys/types.h /usr/include/sys/dir.h
--crypt.o: crypt.c
--ctime.o: ctime.c /usr/include/sys/time.h /usr/include/time.h
--ctime.o: /usr/include/sys/types.h /usr/include/sys/timeb.h
--ctype_.o: ctype_.c /usr/include/ctype.h
--errlst.o: errlst.c
--execvp.o: execvp.c /usr/include/errno.h
--fakcu.o: fakcu.c
--fstab.o: fstab.c /usr/include/fstab.h /usr/include/stdio.h /usr/include/ctype.h
--gcvt.o: gcvt.c
--getenv.o: getenv.c
--getgrent.o: getgrent.c /usr/include/stdio.h /usr/include/grp.h
--getgrgid.o: getgrgid.c /usr/include/grp.h
--getgrnam.o: getgrnam.c /usr/include/grp.h
--getlogin.o: getlogin.c /usr/include/utmp.h
--getpass.o: getpass.c /usr/include/stdio.h /usr/include/signal.h
--getpass.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
--getpass.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
--getpwent.o: getpwent.c /usr/include/stdio.h /usr/include/pwd.h
--getpwent.o: /usr/include/ndbm.h
--getpwnamuid.o: getpwnamuid.c /usr/include/stdio.h /usr/include/pwd.h
--getpwnamuid.o: /usr/include/ndbm.h /usr/include/sys/file.h
--getttyent.o: getttyent.c /usr/include/stdio.h /usr/include/strings.h
--getttyent.o: /usr/include/ttyent.h
--getttynam.o: getttynam.c /usr/include/ttyent.h
--getusershell.o: getusershell.c /usr/include/sys/param.h
--getusershell.o: /usr/include/machine/machparam.h /usr/include/signal.h
--getusershell.o: /usr/include/sys/types.h /usr/include/sys/file.h
--getusershell.o: /usr/include/sys/stat.h /usr/include/ctype.h
--getusershell.o: /usr/include/stdio.h
--getwd.o: getwd.c /usr/include/sys/param.h /usr/include/machine/machparam.h
--getwd.o: /usr/include/signal.h /usr/include/sys/types.h /usr/include/sys/stat.h
--getwd.o: /usr/include/sys/dir.h
--initgroups.o: initgroups.c /usr/include/stdio.h /usr/include/sys/param.h
--initgroups.o: /usr/include/machine/machparam.h /usr/include/signal.h
--initgroups.o: /usr/include/sys/types.h /usr/include/grp.h
--isatty.o: isatty.c /usr/include/sgtty.h /usr/include/sys/ioctl.h
--isatty.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
--malloc.o: malloc.c /usr/include/sys/types.h
--mkstemp.o: mkstemp.c /usr/include/sys/file.h
--mktemp.o: mktemp.c
--ndbm.o: ndbm.c /usr/include/sys/types.h /usr/include/sys/stat.h
--ndbm.o: /usr/include/sys/file.h /usr/include/stdio.h /usr/include/errno.h
--ndbm.o: /usr/include/ndbm.h
--nlist.o: nlist.c /usr/include/sys/types.h /usr/include/a.out.h
--nlist.o: /usr/include/sys/exec.h /usr/include/stdio.h
--opendir.o: opendir.c /usr/include/sys/param.h /usr/include/machine/machparam.h
--opendir.o: /usr/include/signal.h /usr/include/sys/types.h
--opendir.o: /usr/include/sys/dir.h
--perror.o: perror.c /usr/include/sys/types.h /usr/include/sys/uio.h
--popen.o: popen.c /usr/include/stdio.h /usr/include/signal.h
--psignal.o: psignal.c /usr/include/signal.h
--qsort.o: qsort.c
--random.o: random.c /usr/include/stdio.h
--readdir.o: readdir.c /usr/include/sys/param.h /usr/include/machine/machparam.h
--readdir.o: /usr/include/signal.h /usr/include/sys/types.h
--readdir.o: /usr/include/sys/dir.h
--regex.o: regex.c
--scandir.o: scandir.c /usr/include/sys/types.h /usr/include/sys/stat.h
--scandir.o: /usr/include/sys/dir.h
--seekdir.o: seekdir.c /usr/include/sys/param.h /usr/include/machine/machparam.h
--seekdir.o: /usr/include/signal.h /usr/include/sys/types.h
--seekdir.o: /usr/include/sys/dir.h
--setgid.o: setgid.c
--setegid.o: setegid.c
--setrgid.o: setrgid.c
--setuid.o: setuid.c
--seteuid.o: seteuid.c
--setruid.o: setruid.c
--siglist.o: siglist.c /usr/include/signal.h
--signal.o: signal.c /usr/include/signal.h
--siginterrupt.o: siginterrupt.c /usr/include/signal.h
--sleep.o: sleep.c /usr/include/sys/time.h /usr/include/time.h
--sleep.o: /usr/include/signal.h
--swab.o: swab.c
--syslog.o: syslog.c /usr/include/sys/types.h /usr/include/sys/socket.h
--syslog.o: /usr/include/sys/file.h /usr/include/sys/signal.h
--syslog.o: /usr/include/sys/syslog.h /usr/include/netdb.h /usr/include/strings.h
--system.o: system.c /usr/include/signal.h
--telldir.o: telldir.c /usr/include/sys/param.h /usr/include/machine/machparam.h
--telldir.o: /usr/include/signal.h /usr/include/sys/types.h
--telldir.o: /usr/include/sys/dir.h
--time.o: time.c /usr/include/sys/types.h /usr/include/sys/time.h
--time.o: /usr/include/time.h
--timezone.o: timezone.c
--ttyname.o: ttyname.c /usr/include/sys/param.h /usr/include/machine/machparam.h
--ttyname.o: /usr/include/signal.h /usr/include/sys/types.h
--ttyname.o: /usr/include/sys/dir.h /usr/include/sys/stat.h
--ttyslot.o: ttyslot.c /usr/include/ttyent.h
--ualarm.o: ualarm.c /usr/include/sys/time.h /usr/include/time.h
--usleep.o: usleep.c /usr/include/sys/time.h /usr/include/time.h
--usleep.o: /usr/include/signal.h
--valloc.o: valloc.c
--# 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.post/gen/malloc.c libx_c/gen/malloc.c
---- libx_c.post/gen/malloc.c 2017-01-22 13:16:08.104534161 +1100
-+++ libx_c/gen/malloc.c 2017-01-22 13:16:08.112534200 +1100
+--- 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
@@ -5,6 +5,12 @@
/*#include <sys/proc.h> gen.h*/
/*#include <sys/types.h> gen.h*/
/*
* 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 13:16:08.104534161 +1100
-+++ libx_c/gen/ndbm.c 2017-01-22 13:16:08.112534200 +1100
+--- 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
@@ -70,14 +70,14 @@
flags = (flags & ~03) | O_RDWR;
strcpy(db->dbm_pagbuf, file);
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 13:16:08.104534161 +1100
-+++ libx_c/gen/qsort.c 2017-01-22 13:16:08.112534200 +1100
+--- 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
@@ -36,7 +36,7 @@
static void qst __P((char *base, char *max));
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 13:16:08.104534161 +1100
-+++ libx_c/gen/scandir.c 2017-01-22 13:16:08.112534200 +1100
+--- 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
@@ -24,7 +24,7 @@
/*#include <sys/stat.h>*/
/*#include <sys/dir.h>*/
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 13:16:08.104534161 +1100
-+++ libx_c/gen/signal.c 2017-01-22 13:16:08.112534200 +1100
+--- 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
@@ -15,12 +15,12 @@
*/
/*#include <signal.h>*/
+ 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 13:16:08.104534161 +1100
-+++ libx_c/gen/sleep.c 2017-01-22 13:16:08.112534200 +1100
+--- 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
@@ -15,7 +15,7 @@
/*#include <signal.h>*/
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 13:16:08.104534161 +1100
-+++ libx_c/gen/system.c 2017-01-22 13:16:08.116534221 +1100
+--- 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
@@ -11,7 +11,7 @@
int system(s) char *s; {
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 13:16:08.104534161 +1100
-+++ libx_c/gen/usleep.c 2017-01-22 13:16:08.116534221 +1100
+--- 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
@@ -18,7 +18,7 @@
#define TICK 10000 /* system clock resolution in microseconds */
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 13:16:08.104534161 +1100
-+++ libx_c/gen/valloc.c 2017-01-22 13:16:08.116534221 +1100
+--- 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
@@ -1,6 +1,12 @@
#include <gen.h>
#include <sys.h>
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 13:16:08.076534021 +1100
-+++ libx_c/gen.h 2017-01-22 13:16:08.116534221 +1100
+--- 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
@@ -99,7 +99,7 @@
char *mktemp __P((char *as));
/* 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 13:16:08.080534040 +1100
-+++ libx_c/inet/Makefile 2017-01-22 13:16:08.116534221 +1100
+--- 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
@@ -1,3 +1,5 @@
+ROOT=../../..
+CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
#
# Copyright (c) 1980 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
-@@ -58,14 +60,3 @@
-
- # DO NOT DELETE THIS LINE -- make depend uses it
-
--inet_addr.o: inet_addr.c /usr/include/sys/types.h /usr/include/ctype.h
--inet_addr.o: /usr/include/netinet/in.h
--inet_network.o: inet_network.c /usr/include/sys/types.h /usr/include/ctype.h
--inet_netof.o: inet_netof.c /usr/include/sys/types.h /usr/include/netinet/in.h
--inet_ntoa.o: inet_ntoa.c /usr/include/sys/types.h /usr/include/netinet/in.h
--inet_lnaof.o: inet_lnaof.c /usr/include/sys/types.h /usr/include/netinet/in.h
--inet_makeaddr.o: inet_makeaddr.c /usr/include/sys/types.h
--inet_makeaddr.o: /usr/include/netinet/in.h
--# 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.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 13:16:08.116534221 +1100
++++ libx_c/linux/csu/crt0.c 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,19 @@
+#include <stdio.h>
+
+}
diff --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 13:16:08.116534221 +1100
++++ libx_c/linux/csu/Makefile 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,104 @@
+ROOT=../../../..
+CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
+
diff --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 13:16:08.116534221 +1100
++++ libx_c/linux/gen/abort.c 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,7 @@
+#include <nox_stdlib.h>
+
+}
diff --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 13:16:08.116534221 +1100
++++ libx_c/linux/gen/Makefile 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,52 @@
+ROOT=../../../..
+CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
+
diff --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 13:16:08.116534221 +1100
++++ libx_c/linux/gen/modf.c 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,7 @@
+#include <nox_math.h>
+
+}
diff --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 13:16:08.116534221 +1100
++++ libx_c/linux/Makefile 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,43 @@
+#
+# Copyright (c) 1980 Regents of the University of California.
+ (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 13:16:08.116534221 +1100
++++ libx_c/linux/sys/close.c 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,13 @@
+#include <nox_unistd.h>
+
+}
diff --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 13:16:08.116534221 +1100
++++ libx_c/linux/sys/_exit.c 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,7 @@
+#include <nox_unistd.h>
+
+}
diff --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 13:16:08.116534221 +1100
++++ libx_c/linux/sys/fstat.c 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,17 @@
+#include <sys/nox_stat.h>
+#include <nox_unistd.h>
+}
diff --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 13:16:08.116534221 +1100
++++ libx_c/linux/sys/getpagesize.c 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,7 @@
+#include <nox_unistd.h>
+
+}
diff --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 13:16:08.116534221 +1100
++++ libx_c/linux/sys/isatty.c 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,13 @@
+#include <nox_unistd.h>
+
+}
diff --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 13:16:08.116534221 +1100
++++ libx_c/linux/sys/lseek.c 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,15 @@
+#include <nox_unistd.h>
+#include <sys/nox_types.h>
+}
diff --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 13:16:08.116534221 +1100
++++ libx_c/linux/sys/Makefile 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,54 @@
+ROOT=../../../..
+CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
+
diff --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 13:16:08.116534221 +1100
++++ libx_c/linux/sys/read.c 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,15 @@
+#include <nox_unistd.h>
+
+}
diff --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 13:16:08.116534221 +1100
++++ libx_c/linux/sys/readv.c 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,26 @@
+#include <nox_unistd.h>
+#include <sys/nox_uio.h>
+}
diff --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 13:16:08.116534221 +1100
++++ libx_c/linux/sys/sbrk.c 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,14 @@
+#include <nox_stdint.h>
+#include <nox_unistd.h>
+}
diff --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 13:16:08.116534221 +1100
++++ libx_c/linux/sys/vopen.c 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,49 @@
+#include <nox_fcntl.h>
+
+}
diff --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 13:16:08.116534221 +1100
++++ libx_c/linux/sys/write.c 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,15 @@
+#include <nox_unistd.h>
+
+}
diff --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 13:16:08.116534221 +1100
++++ libx_c/linux/sys/writev.c 2017-01-22 20:28:18.326822104 +1100
@@ -0,0 +1,26 @@
+#include <nox_unistd.h>
+#include <sys/nox_uio.h>
+ 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 13:16:08.084534061 +1100
-+++ libx_c/Makefile 2017-01-22 13:16:08.116534221 +1100
+--- libx_c.post/Makefile 2017-01-22 20:28:18.286822133 +1100
++++ libx_c/Makefile 2017-01-22 20:28:18.326822104 +1100
@@ -1,3 +1,5 @@
+ROOT=${shell pwd}/../..
+DESTDIR=${ROOT}/cross
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 13:16:08.080534040 +1100
-+++ libx_c/net/hosttable/Makefile 2017-01-22 13:16:08.116534221 +1100
+--- 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
@@ -1,3 +1,5 @@
+ROOT=../../../..
+CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
#
# Copyright (c) 1983 Regents of the University of California.
-@@ -54,11 +56,3 @@
-
- # DO NOT DELETE THIS LINE -- make depend uses it
-
--gethostnamadr.o: gethostnamadr.c /usr/include/stdio.h /usr/include/netdb.h
--gethostnamadr.o: /usr/include/sys/file.h /usr/include/ndbm.h
--gethostent.o: gethostent.c /usr/include/stdio.h /usr/include/sys/types.h
--gethostent.o: /usr/include/sys/socket.h /usr/include/netdb.h
--gethostent.o: /usr/include/ctype.h /usr/include/ndbm.h
--# 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.post/net/if.h libx_c/net/if.h
---- libx_c.post/net/if.h 2017-01-22 13:16:08.080534040 +1100
-+++ libx_c/net/if.h 2017-01-22 13:24:46.640042883 +1100
+--- 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
@@ -1,6 +1,7 @@
#ifndef _NET_IF_H_
#define _NET_IF_H_
#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 13:16:08.076534021 +1100
-+++ libx_c/net/Makefile 2017-01-22 13:16:08.116534221 +1100
+--- 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
@@ -1,3 +1,5 @@
+ROOT=../../..
+CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
#
# Copyright (c) 1983 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
-@@ -63,54 +65,3 @@
-
- # DO NOT DELETE THIS LINE -- make depend uses it
-
--getnetbyaddr.o: getnetbyaddr.c /usr/include/netdb.h
--getnetent.o: getnetent.c /usr/include/stdio.h /usr/include/sys/types.h
--getnetent.o: /usr/include/sys/socket.h /usr/include/netdb.h
--getnetent.o: /usr/include/ctype.h
--getnetbyname.o: getnetbyname.c /usr/include/netdb.h
--getproto.o: getproto.c /usr/include/netdb.h
--getnetbyaddr.o: getnetbyaddr.c /usr/include/netdb.h
--getnetent.o: getnetent.c /usr/include/stdio.h /usr/include/sys/types.h
--getnetent.o: /usr/include/sys/socket.h /usr/include/netdb.h
--getnetent.o: /usr/include/ctype.h
--getnetbyname.o: getnetbyname.c /usr/include/netdb.h
--getproto.o: getproto.c /usr/include/netdb.h
--getprotoent.o: getprotoent.c /usr/include/stdio.h /usr/include/sys/types.h
--getprotoent.o: /usr/include/sys/socket.h /usr/include/netdb.h
--getprotoent.o: /usr/include/ctype.h
--getprotoname.o: getprotoname.c /usr/include/netdb.h
--getservent.o: getservent.c /usr/include/stdio.h /usr/include/sys/types.h
--getservent.o: /usr/include/sys/socket.h /usr/include/netdb.h
--getservent.o: /usr/include/ctype.h
--getservbyport.o: getservbyport.c /usr/include/netdb.h
--getservbyname.o: getservbyname.c /usr/include/netdb.h
--rcmd.o: rcmd.c /usr/include/stdio.h /usr/include/ctype.h /usr/include/pwd.h
--rcmd.o: /usr/include/sys/param.h /usr/include/machine/machparam.h
--rcmd.o: /usr/include/signal.h /usr/include/sys/types.h
--rcmd.o: /usr/include/sys/socket.h /usr/include/sys/stat.h
--rcmd.o: /usr/include/netinet/in.h /usr/include/netdb.h /usr/include/errno.h
--rexec.o: rexec.c /usr/include/sys/types.h /usr/include/sys/socket.h
--rexec.o: /usr/include/netinet/in.h /usr/include/stdio.h /usr/include/netdb.h
--rexec.o: /usr/include/errno.h
--ruserpass.o: ruserpass.c /usr/include/stdio.h /usr/include/utmp.h
--ruserpass.o: /usr/include/ctype.h /usr/include/sys/types.h
--ruserpass.o: /usr/include/sys/stat.h /usr/include/errno.h
--res_comp.o: res_comp.c /usr/include/sys/types.h /usr/include/stdio.h
--res_comp.o: /usr/include/arpa/nameser.h
--res_debug.o: res_debug.c /usr/include/sys/types.h /usr/include/netinet/in.h
--res_debug.o: /usr/include/stdio.h /usr/include/arpa/nameser.h
--res_init.o: res_init.c /usr/include/sys/types.h /usr/include/sys/socket.h
--res_init.o: /usr/include/netinet/in.h /usr/include/stdio.h
--res_init.o: /usr/include/arpa/nameser.h /usr/include/resolv.h
--res_mkquery.o: res_mkquery.c /usr/include/stdio.h /usr/include/sys/types.h
--res_mkquery.o: /usr/include/netinet/in.h /usr/include/arpa/nameser.h
--res_mkquery.o: /usr/include/resolv.h
--res_send.o: res_send.c /usr/include/sys/param.h
--res_send.o: /usr/include/machine/machparam.h /usr/include/signal.h
--res_send.o: /usr/include/sys/types.h /usr/include/sys/time.h
--res_send.o: /usr/include/time.h /usr/include/sys/socket.h
--res_send.o: /usr/include/netinet/in.h /usr/include/stdio.h /usr/include/errno.h
--res_send.o: /usr/include/arpa/nameser.h /usr/include/resolv.h
--# 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.post/net/named/gethostnamadr.c libx_c/net/named/gethostnamadr.c
---- libx_c.post/net/named/gethostnamadr.c 2017-01-22 13:16:08.080534040 +1100
-+++ libx_c/net/named/gethostnamadr.c 2017-01-22 13:16:08.116534221 +1100
+--- 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
@@ -11,6 +11,12 @@
#include <sys/socket.h>
/*#include <sys/types.h> arpa/inet.h*/
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 13:16:08.080534040 +1100
-+++ libx_c/net/named/Makefile 2017-01-22 13:16:08.116534221 +1100
+--- 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
@@ -1,3 +1,5 @@
+ROOT=../../../..
+CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
#
# Copyright (c) 1983 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
-@@ -57,14 +59,3 @@
-
- # DO NOT DELETE THIS LINE -- make depend uses it
-
--gethostnamadr.o: gethostnamadr.c /usr/include/sys/param.h
--gethostnamadr.o: /usr/include/machine/machparam.h /usr/include/signal.h
--gethostnamadr.o: /usr/include/sys/types.h /usr/include/sys/socket.h
--gethostnamadr.o: /usr/include/netinet/in.h /usr/include/sys/types.h
--gethostnamadr.o: /usr/include/ctype.h /usr/include/netdb.h /usr/include/stdio.h
--gethostnamadr.o: /usr/include/errno.h /usr/include/arpa/nameser.h
--gethostnamadr.o: /usr/include/resolv.h
--sethostent.o: sethostent.c
--# 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.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
+@@ -109,4 +109,30 @@
+ /*u_long in_netof(), in_lnaof();*/
+ #endif
+
++#ifndef KERNEL
++#ifndef __P
++#ifdef __STDC__
++#define __P(args) args
++#else
++#define __P(args) ()
++#endif
++#endif
++
++/* these should not be here, as they have moved to net.h to be shared with */
++/* netns/ns.h, but I've duplicated them here so that older programs won't */
++/* silently fail due to truncating the return value of ntohl() and htonl() */
++
++/* net/htonl.c */
++u_long htonl __P((u_long hostlong));
++
++/* net/htons.c */
++u_short htons __P((int hostshort));
++
++/* net/ntohl.c */
++u_long ntohl __P((u_long netlong));
++
++/* net/ntohs.c */
++u_short ntohs __P((int netshort));
++#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.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
+@@ -133,6 +133,22 @@
+ #endif
+ #endif
+
++/* these should not be here, as they have moved to net.h to be shared with */
++/* netinet/in.h, but I've duplicated them here so that older programs won't */
++/* silently fail due to truncating the return value of ntohl() and htonl() */
++
++/* net/htonl.c */
++u_long htonl __P((u_long hostlong));
++
++/* net/htons.c */
++u_short htons __P((int hostshort));
++
++/* net/ntohl.c */
++u_long ntohl __P((u_long netlong));
++
++/* net/ntohs.c */
++u_short ntohs __P((int netshort));
++
+ /* ns/ns_addr.c */
+ 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 13:16:08.072534001 +1100
-+++ libx_c/ns/Makefile 2017-01-22 13:16:08.116534221 +1100
+--- 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
@@ -1,3 +1,5 @@
+ROOT=../../..
+CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
#
# Copyright (c) 1980 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
-@@ -54,8 +56,3 @@
-
- # DO NOT DELETE THIS LINE -- make depend uses it
-
--ns_addr.o: ns_addr.c /usr/include/sys/types.h /usr/include/netns/ns.h
--ns_ntoa.o: ns_ntoa.c /usr/include/sys/types.h /usr/include/netns/ns.h
--# 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.post/stdio/doprnt.c libx_c/stdio/doprnt.c
---- libx_c.post/stdio/doprnt.c 2017-01-22 13:16:08.076534021 +1100
-+++ libx_c/stdio/doprnt.c 2017-01-22 13:16:08.116534221 +1100
+--- 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
@@ -12,6 +12,13 @@
#define _va_start(argp, arg) va_start(argp)
#endif
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 13:16:08.076534021 +1100
-+++ libx_c/stdio/findiop.c 2017-01-22 13:16:08.116534221 +1100
+--- 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
@@ -105,7 +105,7 @@
*iov = (FILE *)calloc(1, sizeof **iov);
}
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 13:16:08.076534021 +1100
-+++ libx_c/stdio/Makefile 2017-01-22 13:16:08.116534221 +1100
+--- 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
@@ -1,3 +1,5 @@
+ROOT=../../..
+CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
#
# Copyright (c) 1980 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
-@@ -5,35 +7,19 @@
- #
- # @(#)Makefile 5.4 (Berkeley) 9/5/85
- #
--# Several routines have been rewritten in assembly language for the VAX.
--# If you are not running on a VAX, you should use the original C sources
--# which are included in this directory. Regretably we do not have a C
--# version of doprnt().
--#
--#ifndef vax
--#SRCS= ${STDSRC} ${VAXSRC}
--#OBJS= ${STDOBJ} ${VAXOBJ}
--#else
--SRCS= ${STDSRC}
--OBJS= ${STDOBJ}
--#endif not vax
--
-+SRCS= clrerr.c doprnt.c doscan.c exit.c fdopen.c fgetc.c fgets.c filbuf.c \
-+ findiop.c flsbuf.c fopen.c fprintf.c fputc.c fputs.c fread.c \
-+ freopen.c fseek.c ftell.c fwrite.c getchar.c gets.c getw.c popen.c \
-+ printf.c putchar.c puts.c putw.c rew.c scanf.c setbuf.c setbuffer.c \
-+ sibuf.c sobuf.c sprintf.c strout.c ungetc.c vfprintf.c vprintf.c \
-+ vsprintf.c
-+OBJS= clrerr.o doprnt.o doscan.o exit.o fdopen.o fgetc.o fgets.o filbuf.o \
-+ findiop.o flsbuf.o fopen.o fprintf.o fputc.o fputs.o fread.o \
-+ freopen.o fseek.o ftell.o fwrite.o getchar.o gets.o getw.o popen.o \
-+ printf.o putchar.o puts.o putw.o rew.o scanf.o setbuf.o setbuffer.o \
-+ sibuf.o sobuf.o sprintf.o strout.o ungetc.o vfprintf.o vprintf.o \
-+ vsprintf.o
- CFLAGS= -O ${DEFS}
--
--STDSRC= clrerr.c doscan.c \
-- exit.c fdopen.c fgetc.c filbuf.c findiop.c flsbuf.c fopen.c \
-- fprintf.c fputc.c fread.c freopen.c fseek.c ftell.c \
-- fwrite.c getchar.c getw.c printf.c putchar.c \
-- putw.c rew.c scanf.c setbuf.c setbuffer.c sibuf.c sobuf.c \
-- sprintf.c strout.c ungetc.c
--VAXSRC= fgets.c fputs.c gets.c puts.c
--STDOBJ= clrerr.o doscan.o \
-- exit.o fdopen.o fgetc.o filbuf.o findiop.o flsbuf.o fopen.o \
-- fprintf.o fputc.o fread.o freopen.o fseek.o ftell.o \
-- fwrite.o getchar.o getw.o printf.o putchar.o \
-- putw.o rew.o scanf.o setbuf.o setbuffer.o sibuf.o sobuf.o \
-- sprintf.o strout.o ungetc.o
--VAXOBJ= fgets.o fputs.o gets.o puts.o
- TAGSFILE=tags
-
- .c.o:
-@@ -78,41 +64,3 @@
-
- # DO NOT DELETE THIS LINE -- make depend uses it
-
--clrerr.o: clrerr.c /usr/include/stdio.h
--doscan.o: doscan.c /usr/include/stdio.h /usr/include/ctype.h
--exit.o: exit.c
--fdopen.o: fdopen.c /usr/include/sys/types.h /usr/include/sys/file.h
--fdopen.o: /usr/include/stdio.h
--fgetc.o: fgetc.c /usr/include/stdio.h
--filbuf.o: filbuf.c /usr/include/stdio.h /usr/include/sys/types.h
--filbuf.o: /usr/include/sys/stat.h
--findiop.o: findiop.c /usr/include/stdio.h
--flsbuf.o: flsbuf.c /usr/include/stdio.h /usr/include/sys/types.h
--flsbuf.o: /usr/include/sys/stat.h
--fopen.o: fopen.c /usr/include/sys/types.h /usr/include/sys/file.h
--fopen.o: /usr/include/stdio.h
--fprintf.o: fprintf.c /usr/include/stdio.h
--fputc.o: fputc.c /usr/include/stdio.h
--fread.o: fread.c /usr/include/stdio.h
--freopen.o: freopen.c /usr/include/sys/types.h /usr/include/sys/file.h
--freopen.o: /usr/include/stdio.h
--fseek.o: fseek.c /usr/include/stdio.h
--ftell.o: ftell.c /usr/include/stdio.h
--fwrite.o: fwrite.c /usr/include/stdio.h
--getchar.o: getchar.c /usr/include/stdio.h
--getw.o: getw.c /usr/include/stdio.h
--printf.o: printf.c /usr/include/stdio.h
--putchar.o: putchar.c /usr/include/stdio.h
--putw.o: putw.c /usr/include/stdio.h
--rew.o: rew.c /usr/include/stdio.h
--scanf.o: scanf.c /usr/include/stdio.h
--setbuf.o: setbuf.c /usr/include/stdio.h
--setbuffer.o: setbuffer.c /usr/include/stdio.h
--sibuf.o: sibuf.c /usr/include/stdio.h
--sobuf.o: sobuf.c /usr/include/stdio.h
--sprintf.o: sprintf.c /usr/include/stdio.h
--strout.o: strout.c /usr/include/stdio.h
--ungetc.o: ungetc.c /usr/include/stdio.h
--# 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.post/stdio.h libx_c/stdio.h
---- libx_c.post/stdio.h 2017-01-22 13:16:08.088534081 +1100
-+++ libx_c/stdio.h 2017-01-22 13:16:08.116534221 +1100
+--- 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
@@ -82,7 +82,7 @@
#endif
/* 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 13:16:08.084534061 +1100
-+++ libx_c/string.h 2017-01-22 13:16:08.116534221 +1100
+--- 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
@@ -9,7 +9,8 @@
* @(#)string.h 5.1 (Berkeley) 85/08/05
*/
/*
* 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 13:16:08.092534101 +1100
-+++ libx_c/sys/dir.h 2017-01-22 13:16:08.116534221 +1100
+--- 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
@@ -122,7 +122,7 @@
struct direct *readdir __P((register DIR *dirp));
/* 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 1970-01-01 10:00:00.000000000 +1000
-+++ libx_c/sys/Makefile 2017-01-22 13:16:08.116534221 +1100
-@@ -0,0 +1,90 @@
+--- 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
+@@ -1,3 +1,5 @@
+ROOT=../../..
+CC=FAKEROOT=${ROOT}/cross ${ROOT}/cross/bin/cc -Dvax
-+#
-+# Copyright (c) 1980 Regents of the University of California.
-+# All rights reserved. The Berkeley software License Agreement
-+# specifies the terms and conditions for redistribution.
-+#
-+# @(#)Makefile 6.1 (Berkeley) 1/29/86
-+#
-+
-+SRCS= accept.c access.c acct.c adjtime.c bind.c brk.c chdir.c chmod.c \
-+ chown.c chroot.c close.c connect.c creat.c dup2.c dup.c execl.c \
-+ execle.c exect.c execv.c execve.c _exit.c fchmod.c fchown.c fcntl.c \
-+ flock.c fork.c fstat.c fsync.c ftruncate.c getdtablesize.c getegid.c \
-+ geteuid.c getgid.c getgroups.c gethostid.c gethostname.c getitimer.c \
-+ getpagesize.c getpeername.c getpgrp.c getpid.c getppid.c \
-+ getpriority.c getrlimit.c getrusage.c getsockname.c getsockopt.c \
-+ gettimeofday.c getuid.c ioctl.c isatty.c kill.c killpg.c link.c \
-+ listen.c lseek.c lstat.c mkdir.c mknod.c mount.c open.c pipe.c \
-+ profil.c ptrace.c quota.c read.c readlink.c readv.c reboot.c recv.c \
-+ recvfrom.c recvmsg.c rename.c rmdir.c sbrk.c select.c send.c \
-+ sendmsg.c sendto.c setgroups.c sethostid.c sethostname.c setitimer.c \
-+ setpgrp.c setpriority.c setquota.c setregid.c setreuid.c setrlimit.c \
-+ setsockopt.c settimeofday.c shutdown.c sigblock.c sigpause.c \
-+ sigreturn.c sigsetmask.c sigstack.c sigvec.c socket.c socketpair.c \
-+ stat.c swapon.c symlink.c sync.c truncate.c umask.c umount.c unlink.c \
-+ utimes.c vfork.c vhangup.c vopen.c wait3.c wait.c write.c writev.c
-+OBJS= accept.o access.o acct.o adjtime.o bind.o brk.o chdir.o chmod.o \
-+ chown.o chroot.o close.o connect.o creat.o dup2.o dup.o execl.o \
-+ execle.o exect.o execv.o execve.o _exit.o fchmod.o fchown.o fcntl.o \
-+ flock.o fork.o fstat.o fsync.o ftruncate.o getdtablesize.o getegid.o \
-+ geteuid.o getgid.o getgroups.o gethostid.o gethostname.o getitimer.o \
-+ getpagesize.o getpeername.o getpgrp.o getpid.o getppid.o \
-+ getpriority.o getrlimit.o getrusage.o getsockname.o getsockopt.o \
-+ gettimeofday.o getuid.o ioctl.o isatty.o kill.o killpg.o link.o \
-+ listen.o lseek.o lstat.o mkdir.o mknod.o mount.o open.o pipe.o \
-+ profil.o ptrace.o quota.o read.o readlink.o readv.o reboot.o recv.o \
-+ recvfrom.o recvmsg.o rename.o rmdir.o sbrk.o select.o send.o \
-+ sendmsg.o sendto.o setgroups.o sethostid.o sethostname.o setitimer.o \
-+ setpgrp.o setpriority.o setquota.o setregid.o setreuid.o setrlimit.o \
-+ setsockopt.o settimeofday.o shutdown.o sigblock.o sigpause.o \
-+ sigreturn.o sigsetmask.o sigstack.o sigvec.o socket.o socketpair.o \
-+ stat.o swapon.o symlink.o sync.o truncate.o umask.o umount.o unlink.o \
-+ utimes.o vfork.o vhangup.o vopen.o wait3.o wait.o write.o writev.o
-+CFLAGS= -O ${DEFS}
-+TAGSFILE=tags
-+
-+.c.o:
-+ ${CC} -p -c ${CFLAGS} $*.c
-+ -ld -X -r $*.o
-+ mv a.out profiled/$*.o
-+ ${CC} ${CFLAGS} -c $*.c
-+ -ld -x -r $*.o
-+ mv a.out $*.o
-+
-+syslib syslib_p: ${OBJS}
-+ @echo "building profiled syslib"
-+ @cd profiled; ar cru ../syslib_p ${OBJS}
-+ @echo "building normal syslib"
-+ @ar cru syslib ${OBJS}
-+
-+tags:
-+ cwd=`pwd`; \
-+ for i in ${SRCS}; do \
-+ ctags -a -f ${TAGSFILE} $$cwd/$$i; \
-+ done
-+
-+clean:
-+ rm -f syslib syslib_p *.o profiled/*.o errs a.out core \
-+ tags Makefile.bak
-+
-+depend:
-+ for i in ${SRCS}; do \
-+ cc -M ${CFLAGS} $$i | awk ' { if ($$1 != prev) \
-+ { if (rec != "") print rec; rec = $$0; prev = $$1; } \
-+ else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
-+ else rec = rec " " $$2 } } \
-+ END { print rec } ' >> makedep; done
-+ echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
-+ echo '$$r makedep' >>eddep
-+ echo 'w' >>eddep
-+ cp Makefile Makefile.bak
-+ ed - Makefile < eddep
-+ rm eddep makedep
-+ echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
-+ echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
-+ echo '# see make depend above' >> Makefile
-+
-+# DO NOT DELETE THIS LINE -- make depend uses it
-+
+ #
+ # 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 13:16:08.092534101 +1100
-+++ libx_c/sys/open.c 2017-01-22 13:16:08.116534221 +1100
+--- 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 @@
va_list argp;
int res;
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 13:16:08.088534081 +1100
-+++ libx_c/sys/signal.h 2017-01-22 13:16:08.116534221 +1100
+--- 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
@@ -9,7 +9,7 @@
* @(#)signal.h 7.1 (Berkeley) 6/4/86
*/
diff --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 19:31:08.958329247 +1100
-+++ libx_c/compat-4.1/ftime.c 2017-01-22 18:45:33.000000000 +1100
+--- 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
@@ -10,18 +10,20 @@
#include <sys/types.h>
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 19:31:08.958329247 +1100
-+++ libx_c/compat-4.1/gtty.c 2017-01-22 18:53:43.000000000 +1100
+--- 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
@@ -15,8 +15,7 @@
#include <sgtty.h>
-
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
+@@ -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 19:31:08.958329247 +1100
-+++ libx_c/compat-4.1/stty.c 2017-01-22 18:53:37.000000000 +1100
+--- 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
@@ -15,8 +15,7 @@
#include <sgtty.h>
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 19:31:08.958329247 +1100
-+++ libx_c/compat-4.1/times.c 2017-01-22 18:45:33.000000000 +1100
+--- 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
@@ -10,16 +10,18 @@
#include <sys/time.h>
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 19:31:08.958329247 +1100
-+++ libx_c/compat-4.1/vtimes.c 2017-01-22 18:45:33.000000000 +1100
+--- 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
@@ -10,23 +10,25 @@
#include <sys/time.h>
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
+@@ -51,22 +51,3 @@
+
+ # DO NOT DELETE THIS LINE -- make depend uses it
+
+-getopt.o: getopt.c /usr/include/stdio.h
+-memccpy.o: memccpy.c
+-memchr.o: memchr.c
+-memcmp.o: memcmp.c
+-memcpy.o: memcpy.c
+-memset.o: memset.c
+-strcatn.o: strcatn.c
+-strchr.o: strchr.c
+-strcmpn.o: strcmpn.c
+-strcpyn.o: strcpyn.c
+-strcspn.o: strcspn.c
+-strpbrk.o: strpbrk.c
+-strrchr.o: strrchr.c
+-strspn.o: strspn.c
+-strtok.o: strtok.c
+-tmpnam.o: tmpnam.c
+-# 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/compat-sys5/memccpy.c libx_c/compat-sys5/memccpy.c
---- libx_c.pre/compat-sys5/memccpy.c 2017-01-22 19:31:08.962329268 +1100
-+++ libx_c/compat-sys5/memccpy.c 2017-01-22 18:53:54.000000000 +1100
+--- 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
@@ -13,12 +13,16 @@
#endif
+#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 19:31:08.962329268 +1100
-+++ libx_c/compat-sys5/memchr.c 2017-01-22 18:54:09.000000000 +1100
+--- 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
@@ -12,13 +12,15 @@
static char sccsid[] = "@(#)memchr.c 5.2 (Berkeley) 86/03/09";
#endif
+#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 19:31:08.962329268 +1100
-+++ libx_c/compat-sys5/memcmp.c 2017-01-22 18:54:14.000000000 +1100
+--- 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
@@ -12,12 +12,16 @@
static char sccsid[] = "@(#)memcmp.c 5.2 (Berkeley) 86/03/09";
#endif
+#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 19:31:08.962329268 +1100
-+++ libx_c/compat-sys5/memcpy.c 2017-01-22 18:54:20.000000000 +1100
+--- 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
@@ -12,15 +12,19 @@
static char sccsid[] = "@(#)memcpy.c 5.2 (Berkeley) 86/03/09";
#endif
+#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 19:31:08.962329268 +1100
-+++ libx_c/compat-sys5/memset.c 2017-01-22 18:54:02.000000000 +1100
+--- 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
@@ -12,15 +12,17 @@
static char sccsid[] = "@(#)memset.c 5.2 (Berkeley) 86/03/09";
#endif
+#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 19:31:08.954329226 +1100
+--- libx_c.pre/fcntl.h 2017-01-22 20:23:03.995147934 +1100
+++ libx_c/fcntl.h 1970-01-01 10:00:00.000000000 +1000
@@ -1,40 +0,0 @@
-/*
-#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 19:31:08.962329268 +1100
-+++ libx_c/gen/bcmp.c 2017-01-22 18:54:55.000000000 +1100
+--- 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
@@ -11,11 +11,12 @@
/*
* bcmp -- vax cmpc3 instruction
+#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 19:31:08.962329268 +1100
-+++ libx_c/gen/bcopy.c 2017-01-22 18:57:53.000000000 +1100
+--- 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
@@ -11,10 +11,12 @@
/*
* bcopy -- vax movc3 instruction
+#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 19:31:08.962329268 +1100
-+++ libx_c/gen/bzero.c 2017-01-22 19:05:53.000000000 +1100
+--- 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
@@ -11,14 +11,15 @@
/*
* bzero -- vax movc5 instruction
+#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 19:31:08.962329268 +1100
-+++ libx_c/gen/calloc.c 2017-01-22 19:06:21.000000000 +1100
+--- 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
@@ -5,12 +5,12 @@
/*
* Calloc - allocate and clear memory block
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 19:31:08.962329268 +1100
-+++ libx_c/gen/fakcu.c 2017-01-22 18:57:44.000000000 +1100
+--- 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
@@ -6,6 +6,7 @@
* Null cleanup routine to resolve reference in exit()
* if not using stdio.
{
}
diff --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 19:31:08.962329268 +1100
-+++ libx_c/gen/getpass.c 2017-01-22 18:45:33.000000000 +1100
+--- 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
@@ -16,8 +16,8 @@
register c;
FILE *fi;
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 19:31:08.962329268 +1100
-+++ libx_c/gen/getusershell.c 2017-01-22 18:45:33.000000000 +1100
+--- 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
@@ -66,7 +66,7 @@
register char **sp, *cp;
register FILE *fp;
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 19:31:08.962329268 +1100
-+++ libx_c/gen/insque.c 2017-01-22 18:45:33.000000000 +1100
+--- 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
@@ -8,16 +8,19 @@
static char sccsid[] = "@(#)insque.c 5.1 (Berkeley) 1/27/87";
#endif LIBC_SCCS and not lint
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 19:31:08.962329268 +1100
+--- libx_c.pre/gen/isatty.c 2017-01-22 20:23:03.999147929 +1100
+++ libx_c/gen/isatty.c 1970-01-01 10:00:00.000000000 +1000
@@ -1,18 +0,0 @@
-#if defined(LIBC_SCCS) && !defined(lint)
- return(0);
- 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
+@@ -5,44 +5,34 @@
+ #
+ # @(#)Makefile 5.7 (Berkeley) 3/26/86
+ #
+-# Several routines have been rewritten in assembly language for the VAX.
+-# If you are not running on a VAX, you should use the original C sources
+-# which are included in this directory. Regretably we do not have a C
+-# version of the bstring(3) routines.
+-#
+-#ifndef vax
+-#SRCS= ${STDSRC} ${VAXSRC}
+-#OBJS= ${STDOBJ} ${VAXOBJ}
+-#else
+-SRCS= ${STDSRC}
+-OBJS= ${STDOBJ}
+-#endif not vax
+
+-CFLAGS= -O ${DEFS}
+-STDSRC= abort.c alarm.c atoi.c atol.c calloc.c closedir.c crypt.c \
+- ctime.c ctype_.c errlst.c execvp.c fakcu.c fstab.c gcvt.c getenv.c \
++SRCS= abort.c abs.c alarm.c atof.c atoi.c atol.c bcmp.c bcopy.c bzero.c \
++ calloc.c closedir.c crypt.c ctime.c ctype_.c disktab.c ecvt.c \
++ errlst.c execvp.c fakcu.c ffs.c frexp.c fstab.c gcvt.c getenv.c \
+ getgrent.c getgrgid.c getgrnam.c getlogin.c getpass.c getpwent.c \
+- getpwnamuid.c getttyent.c getttynam.c getusershell.c getwd.c \
+- initgroups.c isatty.c malloc.c mkstemp.c mktemp.c ndbm.c nlist.c \
+- opendir.c perror.c popen.c psignal.c qsort.c random.c readdir.c \
+- regex.c scandir.c seekdir.c setgid.c setegid.c setrgid.c setuid.c \
+- seteuid.c setruid.c siglist.c signal.c siginterrupt.c sleep.c \
+- swab.c syslog.c system.c telldir.c time.c timezone.c ttyname.c \
+- ttyslot.c ualarm.c usleep.c valloc.c
+-VAXSRC= index.c rindex.c strcat.c strcmp.c strcpy.c strlen.c \
+- strncat.c strncmp.c strncpy.c
+-STDOBJ= abort.o alarm.o atoi.o atol.o calloc.o closedir.o crypt.o \
+- ctime.o ctype_.o errlst.o execvp.o fakcu.o fstab.o gcvt.o getenv.o \
++ getpwnamuid.c getttyent.c getttynam.c getusershell.c getwd.c index.c \
++ initgroups.c insque.c ldexp.c malloc.c mkstemp.c mktemp.c modf.c \
++ ndbm.c nlist.c opendir.c perror.c psignal.c qsort.c random.c \
++ readdir.c regex.c remque.c rindex.c scandir.c seekdir.c setegid.c \
++ seteuid.c setgid.c _setjmp.c setjmp.c setjmperr.c setrgid.c setruid.c \
++ setuid.c siginterrupt.c siglist.c signal.c sleep.c strcat.c strcmp.c \
++ strcpy.c strlen.c strncat.c strncmp.c strncpy.c swab.c syslog.c \
++ system.c telldir.c time.c timezone.c ttyname.c ttyslot.c ualarm.c \
++ usleep.c valloc.c
++OBJS= abort.o abs.o alarm.o atof.o atoi.o atol.o bcmp.o bcopy.o bzero.o \
++ calloc.o closedir.o crypt.o ctime.o ctype_.o disktab.o ecvt.o \
++ errlst.o execvp.o fakcu.o ffs.o frexp.o fstab.o gcvt.o getenv.o \
+ getgrent.o getgrgid.o getgrnam.o getlogin.o getpass.o getpwent.o \
+- getpwnamuid.o getttyent.o getttynam.o getusershell.o getwd.o \
+- initgroups.o isatty.o malloc.o mkstemp.o mktemp.o ndbm.o nlist.o \
+- opendir.o perror.o popen.o psignal.o qsort.o random.o readdir.o \
+- regex.o scandir.o seekdir.o setgid.o setegid.o setrgid.o setuid.o \
+- seteuid.o setruid.o siglist.o signal.o siginterrupt.o sleep.o \
+- swab.o syslog.o system.o telldir.o time.o timezone.o ttyname.o \
+- ttyslot.o ualarm.o usleep.o valloc.o
+-VAXOBJ= index.o rindex.o strcat.o strcmp.o strcpy.o strlen.o \
+- strncat.o strncmp.o strncpy.o
++ getpwnamuid.o getttyent.o getttynam.o getusershell.o getwd.o index.o \
++ initgroups.o insque.o ldexp.o malloc.o mkstemp.o mktemp.o modf.o \
++ ndbm.o nlist.o opendir.o perror.o psignal.o qsort.o random.o \
++ readdir.o regex.o remque.o rindex.o scandir.o seekdir.o setegid.o \
++ seteuid.o setgid.o _setjmp.o setjmp.o setjmperr.o setrgid.o setruid.o \
++ setuid.o siginterrupt.o siglist.o signal.o sleep.o strcat.o strcmp.o \
++ strcpy.o strlen.o strncat.o strncmp.o strncpy.o swab.o syslog.o \
++ system.o telldir.o time.o timezone.o ttyname.o ttyslot.o ualarm.o \
++ usleep.o valloc.o
++CFLAGS= -O ${DEFS}
+ TAGSFILE=tags
+
+ .c.o:
+@@ -94,106 +84,3 @@
+
+ # DO NOT DELETE THIS LINE -- make depend uses it
+
+-abort.o: abort.c /usr/include/signal.h
+-alarm.o: alarm.c /usr/include/sys/time.h /usr/include/time.h
+-atoi.o: atoi.c
+-atol.o: atol.c
+-calloc.o: calloc.c
+-closedir.o: closedir.c /usr/include/sys/param.h
+-closedir.o: /usr/include/machine/machparam.h /usr/include/signal.h
+-closedir.o: /usr/include/sys/types.h /usr/include/sys/dir.h
+-crypt.o: crypt.c
+-ctime.o: ctime.c /usr/include/sys/time.h /usr/include/time.h
+-ctime.o: /usr/include/sys/types.h /usr/include/sys/timeb.h
+-ctype_.o: ctype_.c /usr/include/ctype.h
+-errlst.o: errlst.c
+-execvp.o: execvp.c /usr/include/errno.h
+-fakcu.o: fakcu.c
+-fstab.o: fstab.c /usr/include/fstab.h /usr/include/stdio.h /usr/include/ctype.h
+-gcvt.o: gcvt.c
+-getenv.o: getenv.c
+-getgrent.o: getgrent.c /usr/include/stdio.h /usr/include/grp.h
+-getgrgid.o: getgrgid.c /usr/include/grp.h
+-getgrnam.o: getgrnam.c /usr/include/grp.h
+-getlogin.o: getlogin.c /usr/include/utmp.h
+-getpass.o: getpass.c /usr/include/stdio.h /usr/include/signal.h
+-getpass.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
+-getpass.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+-getpwent.o: getpwent.c /usr/include/stdio.h /usr/include/pwd.h
+-getpwent.o: /usr/include/ndbm.h
+-getpwnamuid.o: getpwnamuid.c /usr/include/stdio.h /usr/include/pwd.h
+-getpwnamuid.o: /usr/include/ndbm.h /usr/include/sys/file.h
+-getttyent.o: getttyent.c /usr/include/stdio.h /usr/include/strings.h
+-getttyent.o: /usr/include/ttyent.h
+-getttynam.o: getttynam.c /usr/include/ttyent.h
+-getusershell.o: getusershell.c /usr/include/sys/param.h
+-getusershell.o: /usr/include/machine/machparam.h /usr/include/signal.h
+-getusershell.o: /usr/include/sys/types.h /usr/include/sys/file.h
+-getusershell.o: /usr/include/sys/stat.h /usr/include/ctype.h
+-getusershell.o: /usr/include/stdio.h
+-getwd.o: getwd.c /usr/include/sys/param.h /usr/include/machine/machparam.h
+-getwd.o: /usr/include/signal.h /usr/include/sys/types.h /usr/include/sys/stat.h
+-getwd.o: /usr/include/sys/dir.h
+-initgroups.o: initgroups.c /usr/include/stdio.h /usr/include/sys/param.h
+-initgroups.o: /usr/include/machine/machparam.h /usr/include/signal.h
+-initgroups.o: /usr/include/sys/types.h /usr/include/grp.h
+-isatty.o: isatty.c /usr/include/sgtty.h /usr/include/sys/ioctl.h
+-isatty.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
+-malloc.o: malloc.c /usr/include/sys/types.h
+-mkstemp.o: mkstemp.c /usr/include/sys/file.h
+-mktemp.o: mktemp.c
+-ndbm.o: ndbm.c /usr/include/sys/types.h /usr/include/sys/stat.h
+-ndbm.o: /usr/include/sys/file.h /usr/include/stdio.h /usr/include/errno.h
+-ndbm.o: /usr/include/ndbm.h
+-nlist.o: nlist.c /usr/include/sys/types.h /usr/include/a.out.h
+-nlist.o: /usr/include/sys/exec.h /usr/include/stdio.h
+-opendir.o: opendir.c /usr/include/sys/param.h /usr/include/machine/machparam.h
+-opendir.o: /usr/include/signal.h /usr/include/sys/types.h
+-opendir.o: /usr/include/sys/dir.h
+-perror.o: perror.c /usr/include/sys/types.h /usr/include/sys/uio.h
+-popen.o: popen.c /usr/include/stdio.h /usr/include/signal.h
+-psignal.o: psignal.c /usr/include/signal.h
+-qsort.o: qsort.c
+-random.o: random.c /usr/include/stdio.h
+-readdir.o: readdir.c /usr/include/sys/param.h /usr/include/machine/machparam.h
+-readdir.o: /usr/include/signal.h /usr/include/sys/types.h
+-readdir.o: /usr/include/sys/dir.h
+-regex.o: regex.c
+-scandir.o: scandir.c /usr/include/sys/types.h /usr/include/sys/stat.h
+-scandir.o: /usr/include/sys/dir.h
+-seekdir.o: seekdir.c /usr/include/sys/param.h /usr/include/machine/machparam.h
+-seekdir.o: /usr/include/signal.h /usr/include/sys/types.h
+-seekdir.o: /usr/include/sys/dir.h
+-setgid.o: setgid.c
+-setegid.o: setegid.c
+-setrgid.o: setrgid.c
+-setuid.o: setuid.c
+-seteuid.o: seteuid.c
+-setruid.o: setruid.c
+-siglist.o: siglist.c /usr/include/signal.h
+-signal.o: signal.c /usr/include/signal.h
+-siginterrupt.o: siginterrupt.c /usr/include/signal.h
+-sleep.o: sleep.c /usr/include/sys/time.h /usr/include/time.h
+-sleep.o: /usr/include/signal.h
+-swab.o: swab.c
+-syslog.o: syslog.c /usr/include/sys/types.h /usr/include/sys/socket.h
+-syslog.o: /usr/include/sys/file.h /usr/include/sys/signal.h
+-syslog.o: /usr/include/sys/syslog.h /usr/include/netdb.h /usr/include/strings.h
+-system.o: system.c /usr/include/signal.h
+-telldir.o: telldir.c /usr/include/sys/param.h /usr/include/machine/machparam.h
+-telldir.o: /usr/include/signal.h /usr/include/sys/types.h
+-telldir.o: /usr/include/sys/dir.h
+-time.o: time.c /usr/include/sys/types.h /usr/include/sys/time.h
+-time.o: /usr/include/time.h
+-timezone.o: timezone.c
+-ttyname.o: ttyname.c /usr/include/sys/param.h /usr/include/machine/machparam.h
+-ttyname.o: /usr/include/signal.h /usr/include/sys/types.h
+-ttyname.o: /usr/include/sys/dir.h /usr/include/sys/stat.h
+-ttyslot.o: ttyslot.c /usr/include/ttyent.h
+-ualarm.o: ualarm.c /usr/include/sys/time.h /usr/include/time.h
+-usleep.o: usleep.c /usr/include/sys/time.h /usr/include/time.h
+-usleep.o: /usr/include/signal.h
+-valloc.o: valloc.c
+-# 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/gen/malloc.c libx_c/gen/malloc.c
---- libx_c.pre/gen/malloc.c 2017-01-22 19:31:08.962329268 +1100
-+++ libx_c/gen/malloc.c 2017-01-22 18:59:48.000000000 +1100
+--- 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
@@ -82,7 +82,7 @@
#if defined(DEBUG) || defined(RCHECK)
#define ASSERT(p) if (!(p)) botch("p")
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 19:31:08.962329268 +1100
-+++ libx_c/gen/ndbm.c 2017-01-22 19:08:55.000000000 +1100
+--- 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
@@ -14,6 +14,7 @@
#include <stdio.h>
#include <errno.h>
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 19:31:08.962329268 +1100
-+++ libx_c/gen/perror.c 2017-01-22 18:45:43.000000000 +1100
+--- 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
@@ -17,7 +17,7 @@
int errno;
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 19:31:08.962329268 +1100
+--- libx_c.pre/gen/popen.c 2017-01-22 20:23:03.999147929 +1100
+++ libx_c/gen/popen.c 1970-01-01 10:00:00.000000000 +1000
@@ -1,79 +0,0 @@
-/*
- 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 19:31:08.962329268 +1100
-+++ libx_c/gen/qsort.c 2017-01-22 19:06:02.000000000 +1100
+--- 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
@@ -32,12 +32,14 @@
* It's not...
*/
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 19:31:08.962329268 +1100
-+++ libx_c/gen/random.c 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -224,7 +224,7 @@
if( n < BREAK_1 ) {
if( n < BREAK_0 ) {
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 19:31:08.962329268 +1100
-+++ libx_c/gen/regex.c 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -8,8 +8,6 @@
static char sccsid[] = "@(#)regex.c 5.2 (Berkeley) 3/9/86";
#endif LIBC_SCCS and not lint
* 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 19:31:08.962329268 +1100
-+++ libx_c/gen/remque.c 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -8,16 +8,19 @@
static char sccsid[] = "@(#)remque.c 5.1 (Berkeley) 1/27/87";
#endif LIBC_SCCS and not lint
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 19:31:08.962329268 +1100
-+++ libx_c/gen/signal.c 2017-01-22 18:54:49.000000000 +1100
+--- 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
@@ -13,9 +13,10 @@
*/
#include <signal.h>
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 19:31:08.962329268 +1100
-+++ libx_c/gen/sleep.c 2017-01-22 18:57:39.000000000 +1100
+--- 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
@@ -16,10 +16,12 @@
static int ringring;
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 19:31:08.962329268 +1100
-+++ libx_c/gen/syslog.c 2017-01-22 18:57:26.000000000 +1100
+--- 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
@@ -32,6 +32,7 @@
#include <sys/syslog.h>
#include <netdb.h>
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 19:31:08.962329268 +1100
-+++ libx_c/gen/system.c 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -8,7 +8,7 @@
char *s;
{
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 19:31:08.962329268 +1100
-+++ libx_c/gen/usleep.c 2017-01-22 19:06:12.000000000 +1100
+--- 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
@@ -19,10 +19,12 @@
static int ringring;
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 19:31:08.962329268 +1100
-+++ libx_c/gen/valloc.c 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -8,9 +8,9 @@
static char sccsid[] = "@(#)valloc.c 5.2 (Berkeley) 3/9/86";
#endif LIBC_SCCS and not lint
{
diff --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 18:45:57.000000000 +1100
++++ libx_c/gen.h 2017-01-22 20:23:04.007147918 +1100
@@ -0,0 +1,5 @@
+/* formerly duplicated in gen/insque.c and gen/remque.c */
+struct vaxque { /* queue format expected by VAX queue instructions */
+ struct vaxque *vq_next;
+ 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
+@@ -58,14 +58,3 @@
+
+ # DO NOT DELETE THIS LINE -- make depend uses it
+
+-inet_addr.o: inet_addr.c /usr/include/sys/types.h /usr/include/ctype.h
+-inet_addr.o: /usr/include/netinet/in.h
+-inet_network.o: inet_network.c /usr/include/sys/types.h /usr/include/ctype.h
+-inet_netof.o: inet_netof.c /usr/include/sys/types.h /usr/include/netinet/in.h
+-inet_ntoa.o: inet_ntoa.c /usr/include/sys/types.h /usr/include/netinet/in.h
+-inet_lnaof.o: inet_lnaof.c /usr/include/sys/types.h /usr/include/netinet/in.h
+-inet_makeaddr.o: inet_makeaddr.c /usr/include/sys/types.h
+-inet_makeaddr.o: /usr/include/netinet/in.h
+-# 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/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
+@@ -54,11 +54,3 @@
+
+ # DO NOT DELETE THIS LINE -- make depend uses it
+
+-gethostnamadr.o: gethostnamadr.c /usr/include/stdio.h /usr/include/netdb.h
+-gethostnamadr.o: /usr/include/sys/file.h /usr/include/ndbm.h
+-gethostent.o: gethostent.c /usr/include/stdio.h /usr/include/sys/types.h
+-gethostent.o: /usr/include/sys/socket.h /usr/include/netdb.h
+-gethostent.o: /usr/include/ctype.h /usr/include/ndbm.h
+-# 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/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
+@@ -63,54 +63,3 @@
+
+ # DO NOT DELETE THIS LINE -- make depend uses it
+
+-getnetbyaddr.o: getnetbyaddr.c /usr/include/netdb.h
+-getnetent.o: getnetent.c /usr/include/stdio.h /usr/include/sys/types.h
+-getnetent.o: /usr/include/sys/socket.h /usr/include/netdb.h
+-getnetent.o: /usr/include/ctype.h
+-getnetbyname.o: getnetbyname.c /usr/include/netdb.h
+-getproto.o: getproto.c /usr/include/netdb.h
+-getnetbyaddr.o: getnetbyaddr.c /usr/include/netdb.h
+-getnetent.o: getnetent.c /usr/include/stdio.h /usr/include/sys/types.h
+-getnetent.o: /usr/include/sys/socket.h /usr/include/netdb.h
+-getnetent.o: /usr/include/ctype.h
+-getnetbyname.o: getnetbyname.c /usr/include/netdb.h
+-getproto.o: getproto.c /usr/include/netdb.h
+-getprotoent.o: getprotoent.c /usr/include/stdio.h /usr/include/sys/types.h
+-getprotoent.o: /usr/include/sys/socket.h /usr/include/netdb.h
+-getprotoent.o: /usr/include/ctype.h
+-getprotoname.o: getprotoname.c /usr/include/netdb.h
+-getservent.o: getservent.c /usr/include/stdio.h /usr/include/sys/types.h
+-getservent.o: /usr/include/sys/socket.h /usr/include/netdb.h
+-getservent.o: /usr/include/ctype.h
+-getservbyport.o: getservbyport.c /usr/include/netdb.h
+-getservbyname.o: getservbyname.c /usr/include/netdb.h
+-rcmd.o: rcmd.c /usr/include/stdio.h /usr/include/ctype.h /usr/include/pwd.h
+-rcmd.o: /usr/include/sys/param.h /usr/include/machine/machparam.h
+-rcmd.o: /usr/include/signal.h /usr/include/sys/types.h
+-rcmd.o: /usr/include/sys/socket.h /usr/include/sys/stat.h
+-rcmd.o: /usr/include/netinet/in.h /usr/include/netdb.h /usr/include/errno.h
+-rexec.o: rexec.c /usr/include/sys/types.h /usr/include/sys/socket.h
+-rexec.o: /usr/include/netinet/in.h /usr/include/stdio.h /usr/include/netdb.h
+-rexec.o: /usr/include/errno.h
+-ruserpass.o: ruserpass.c /usr/include/stdio.h /usr/include/utmp.h
+-ruserpass.o: /usr/include/ctype.h /usr/include/sys/types.h
+-ruserpass.o: /usr/include/sys/stat.h /usr/include/errno.h
+-res_comp.o: res_comp.c /usr/include/sys/types.h /usr/include/stdio.h
+-res_comp.o: /usr/include/arpa/nameser.h
+-res_debug.o: res_debug.c /usr/include/sys/types.h /usr/include/netinet/in.h
+-res_debug.o: /usr/include/stdio.h /usr/include/arpa/nameser.h
+-res_init.o: res_init.c /usr/include/sys/types.h /usr/include/sys/socket.h
+-res_init.o: /usr/include/netinet/in.h /usr/include/stdio.h
+-res_init.o: /usr/include/arpa/nameser.h /usr/include/resolv.h
+-res_mkquery.o: res_mkquery.c /usr/include/stdio.h /usr/include/sys/types.h
+-res_mkquery.o: /usr/include/netinet/in.h /usr/include/arpa/nameser.h
+-res_mkquery.o: /usr/include/resolv.h
+-res_send.o: res_send.c /usr/include/sys/param.h
+-res_send.o: /usr/include/machine/machparam.h /usr/include/signal.h
+-res_send.o: /usr/include/sys/types.h /usr/include/sys/time.h
+-res_send.o: /usr/include/time.h /usr/include/sys/socket.h
+-res_send.o: /usr/include/netinet/in.h /usr/include/stdio.h /usr/include/errno.h
+-res_send.o: /usr/include/arpa/nameser.h /usr/include/resolv.h
+-# 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/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
+@@ -57,14 +57,3 @@
+
+ # DO NOT DELETE THIS LINE -- make depend uses it
+
+-gethostnamadr.o: gethostnamadr.c /usr/include/sys/param.h
+-gethostnamadr.o: /usr/include/machine/machparam.h /usr/include/signal.h
+-gethostnamadr.o: /usr/include/sys/types.h /usr/include/sys/socket.h
+-gethostnamadr.o: /usr/include/netinet/in.h /usr/include/sys/types.h
+-gethostnamadr.o: /usr/include/ctype.h /usr/include/netdb.h /usr/include/stdio.h
+-gethostnamadr.o: /usr/include/errno.h /usr/include/arpa/nameser.h
+-gethostnamadr.o: /usr/include/resolv.h
+-sethostent.o: sethostent.c
+-# 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/rcmd.c libx_c/net/rcmd.c
---- libx_c.pre/net/rcmd.c 2017-01-22 19:31:08.958329247 +1100
-+++ libx_c/net/rcmd.c 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -59,7 +59,7 @@
sin.sin_family = hp->h_addrtype;
bcopy(hp->h_addr_list[0], (caddr_t)&sin.sin_addr, hp->h_length);
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 19:31:08.958329247 +1100
-+++ libx_c/net/res_debug.c 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -328,7 +328,9 @@
}
}
}
diff --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 19:31:08.958329247 +1100
-+++ libx_c/net/res_mkquery.c 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -14,7 +14,10 @@
#include <arpa/nameser.h>
#include <resolv.h>
/*
* 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 19:31:08.958329247 +1100
-+++ libx_c/net/res_send.c 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -83,7 +83,7 @@
#endif DEBUG
continue;
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 19:31:08.958329247 +1100
-+++ libx_c/net/rexec.c 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -50,7 +50,7 @@
sin.sin_family = hp->h_addrtype;
sin.sin_port = rport;
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 19:31:08.958329247 +1100
-+++ libx_c/net/ruserpass.c 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -19,6 +19,7 @@
struct utmp *getutmp();
static FILE *cfile;
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-22 18:45:57.000000000 +1100
-@@ -0,0 +1,16 @@
-+/* formerly duplicated in netinet/in.h and netns/ns.h */
-+/* confuses cproto which thinks #define names are types or type modifiers */
-+/*#if !defined(vax) && !defined(ntohl) && !defined(lint)*/
-+/*
-+ * Macros for number representation conversion.
-+ */
-+/*#define ntohl(x) (x)*/
-+/*#define ntohs(x) (x)*/
-+/*#define htonl(x) (x)*/
-+/*#define htons(x) (x)*/
-+/*#endif*/
-+
-+/*#if !defined(ntohl) && (defined(vax) || defined(lint))*/
-+u_short ntohs(), htons();
-+u_long ntohl(), htonl();
-+/*#endif*/
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--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 19:31:08.962329268 +1100
-+++ libx_c/netinet/in.h 2017-01-22 18:45:57.000000000 +1100
-@@ -90,20 +90,21 @@
+--- 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
+@@ -90,20 +90,11 @@
*/
#define IP_OPTIONS 1 /* set/get IP per-packet options */
-#if !defined(vax) && !defined(ntohl) && !defined(lint)
-+/* moved this to net.h as it's shared by netns/ns.h */
-+/*#if !defined(vax) && !defined(ntohl) && !defined(lint)*/
/*
- * Macros for number representation conversion.
+- * Macros for number representation conversion.
++ * Functions for number representation conversion.
*/
-#define ntohl(x) (x)
-#define ntohs(x) (x)
-#define htonl(x) (x)
-#define htons(x) (x)
-#endif
-+/*#define ntohl(x) (x)*/
-+/*#define ntohs(x) (x)*/
-+/*#define htonl(x) (x)*/
-+/*#define htons(x) (x)*/
-+/*#endif*/
-
+-
-#if !defined(ntohl) && (defined(vax) || defined(lint))
--u_short ntohs(), htons();
--u_long ntohl(), htonl();
+ u_short ntohs(), htons();
+ u_long ntohl(), htonl();
-#endif
-+/*#if !defined(ntohl) && (defined(vax) || defined(lint))*/
-+/*u_short ntohs(), htons();*/
-+/*u_long ntohl(), htonl();*/
-+/*#endif*/
#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 19:31:08.962329268 +1100
-+++ libx_c/netinet/ip.h 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -81,7 +81,7 @@
struct in_addr ipt_addr;
n_long ipt_time;
/* 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 19:31:08.962329268 +1100
-+++ libx_c/netinet/tcp.h 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -44,7 +44,9 @@
#ifdef lint
#define TCP_MSS 536
/*
diff --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 19:31:08.962329268 +1100
-+++ libx_c/netns/ns.h 2017-01-22 18:45:57.000000000 +1100
-@@ -103,20 +103,21 @@
+--- 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
+@@ -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))
-#if !defined(vax) && !defined(ntohl) && !defined(lint)
-+/* moved this to net.h as it's shared by netinet/in.h */
-+/*#if !defined(vax) && !defined(ntohl) && !defined(lint)*/
/*
- * Macros for number representation conversion.
+- * Macros for number representation conversion.
++ * Functions for number representation conversion.
*/
-#define ntohl(x) (x)
-#define ntohs(x) (x)
-#define htonl(x) (x)
-#define htons(x) (x)
-#endif
-+/*#define ntohl(x) (x)*/
-+/*#define ntohs(x) (x)*/
-+/*#define htonl(x) (x)*/
-+/*#define htons(x) (x)*/
-+/*#endif*/
-
+-
-#if !defined(ntohl) && (defined(vax) || defined(lint))
--u_short ntohs(), htons();
--u_long ntohl(), htonl();
+ u_short ntohs(), htons();
+ u_long ntohl(), htonl();
-#endif
-+/*#if !defined(ntohl) && (defined(vax) || defined(lint))*/
-+/*u_short ntohs(), htons();*/
-+/*u_long ntohl(), htonl();*/
-+/*#endif*/
#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 19:31:08.954329226 +1100
+--- libx_c.pre/nlist.h 2017-01-22 20:23:03.995147934 +1100
+++ libx_c/nlist.h 1970-01-01 10:00:00.000000000 +1000
@@ -1,46 +0,0 @@
-/*
- * Format for namelist values.
- */
-#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
+@@ -54,8 +54,3 @@
+
+ # DO NOT DELETE THIS LINE -- make depend uses it
+
+-ns_addr.o: ns_addr.c /usr/include/sys/types.h /usr/include/netns/ns.h
+-ns_ntoa.o: ns_ntoa.c /usr/include/sys/types.h /usr/include/netns/ns.h
+-# 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/ns/ns_addr.c libx_c/ns/ns_addr.c
---- libx_c.pre/ns/ns_addr.c 2017-01-22 19:31:08.954329226 +1100
-+++ libx_c/ns/ns_addr.c 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -55,7 +55,7 @@
socketname = index(hostname, separator);
if (socketname) {
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 19:31:08.958329247 +1100
-+++ libx_c/stdio/doprnt.c 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -272,9 +272,10 @@
* NUL in the first `prec' characters, and
* strlen() will go further.
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 19:31:08.958329247 +1100
-+++ libx_c/stdio/doscan.c 2017-01-22 18:52:36.000000000 +1100
+--- 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
@@ -3,7 +3,8 @@
#endif LIBC_SCCS and not lint
}
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 19:31:08.958329247 +1100
-+++ libx_c/stdio/findiop.c 2017-01-22 18:53:10.000000000 +1100
+--- 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
@@ -23,7 +23,7 @@
{ 0, NULL, NULL, 0, _IOWRT|_IONBF, 2 }, /* stderr */
};
{
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 19:31:08.958329247 +1100
-+++ libx_c/stdio/fprintf.c 2017-01-22 18:53:19.000000000 +1100
+--- 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
@@ -1,32 +1,49 @@
/*
* Copyright (c) 1980 Regents of the University of California.
+ 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 19:31:08.958329247 +1100
-+++ libx_c/stdio/fread.c 2017-01-22 18:52:42.000000000 +1100
+--- 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
@@ -10,11 +10,12 @@
#include <stdio.h>
+#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 19:31:08.958329247 +1100
-+++ libx_c/stdio/fwrite.c 2017-01-22 18:51:55.000000000 +1100
+--- 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
@@ -10,11 +10,12 @@
#include <stdio.h>
return (size != 0 ? count - ((s + size - 1) / size) : 0);
+#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
+@@ -5,35 +5,19 @@
+ #
+ # @(#)Makefile 5.4 (Berkeley) 9/5/85
+ #
+-# Several routines have been rewritten in assembly language for the VAX.
+-# If you are not running on a VAX, you should use the original C sources
+-# which are included in this directory. Regretably we do not have a C
+-# version of doprnt().
+-#
+-#ifndef vax
+-#SRCS= ${STDSRC} ${VAXSRC}
+-#OBJS= ${STDOBJ} ${VAXOBJ}
+-#else
+-SRCS= ${STDSRC}
+-OBJS= ${STDOBJ}
+-#endif not vax
+-
++SRCS= clrerr.c doprnt.c doscan.c exit.c fdopen.c fgetc.c fgets.c filbuf.c \
++ findiop.c flsbuf.c fopen.c fprintf.c fputc.c fputs.c fread.c \
++ freopen.c fseek.c ftell.c fwrite.c getchar.c gets.c getw.c popen.c \
++ printf.c putchar.c puts.c putw.c rew.c scanf.c setbuf.c setbuffer.c \
++ sibuf.c sobuf.c sprintf.c strout.c ungetc.c vfprintf.c vprintf.c \
++ vsprintf.c
++OBJS= clrerr.o doprnt.o doscan.o exit.o fdopen.o fgetc.o fgets.o filbuf.o \
++ findiop.o flsbuf.o fopen.o fprintf.o fputc.o fputs.o fread.o \
++ freopen.o fseek.o ftell.o fwrite.o getchar.o gets.o getw.o popen.o \
++ printf.o putchar.o puts.o putw.o rew.o scanf.o setbuf.o setbuffer.o \
++ sibuf.o sobuf.o sprintf.o strout.o ungetc.o vfprintf.o vprintf.o \
++ vsprintf.o
+ CFLAGS= -O ${DEFS}
+-
+-STDSRC= clrerr.c doscan.c \
+- exit.c fdopen.c fgetc.c filbuf.c findiop.c flsbuf.c fopen.c \
+- fprintf.c fputc.c fread.c freopen.c fseek.c ftell.c \
+- fwrite.c getchar.c getw.c printf.c putchar.c \
+- putw.c rew.c scanf.c setbuf.c setbuffer.c sibuf.c sobuf.c \
+- sprintf.c strout.c ungetc.c
+-VAXSRC= fgets.c fputs.c gets.c puts.c
+-STDOBJ= clrerr.o doscan.o \
+- exit.o fdopen.o fgetc.o filbuf.o findiop.o flsbuf.o fopen.o \
+- fprintf.o fputc.o fread.o freopen.o fseek.o ftell.o \
+- fwrite.o getchar.o getw.o printf.o putchar.o \
+- putw.o rew.o scanf.o setbuf.o setbuffer.o sibuf.o sobuf.o \
+- sprintf.o strout.o ungetc.o
+-VAXOBJ= fgets.o fputs.o gets.o puts.o
+ TAGSFILE=tags
+
+ .c.o:
+@@ -78,41 +62,3 @@
+
+ # DO NOT DELETE THIS LINE -- make depend uses it
+
+-clrerr.o: clrerr.c /usr/include/stdio.h
+-doscan.o: doscan.c /usr/include/stdio.h /usr/include/ctype.h
+-exit.o: exit.c
+-fdopen.o: fdopen.c /usr/include/sys/types.h /usr/include/sys/file.h
+-fdopen.o: /usr/include/stdio.h
+-fgetc.o: fgetc.c /usr/include/stdio.h
+-filbuf.o: filbuf.c /usr/include/stdio.h /usr/include/sys/types.h
+-filbuf.o: /usr/include/sys/stat.h
+-findiop.o: findiop.c /usr/include/stdio.h
+-flsbuf.o: flsbuf.c /usr/include/stdio.h /usr/include/sys/types.h
+-flsbuf.o: /usr/include/sys/stat.h
+-fopen.o: fopen.c /usr/include/sys/types.h /usr/include/sys/file.h
+-fopen.o: /usr/include/stdio.h
+-fprintf.o: fprintf.c /usr/include/stdio.h
+-fputc.o: fputc.c /usr/include/stdio.h
+-fread.o: fread.c /usr/include/stdio.h
+-freopen.o: freopen.c /usr/include/sys/types.h /usr/include/sys/file.h
+-freopen.o: /usr/include/stdio.h
+-fseek.o: fseek.c /usr/include/stdio.h
+-ftell.o: ftell.c /usr/include/stdio.h
+-fwrite.o: fwrite.c /usr/include/stdio.h
+-getchar.o: getchar.c /usr/include/stdio.h
+-getw.o: getw.c /usr/include/stdio.h
+-printf.o: printf.c /usr/include/stdio.h
+-putchar.o: putchar.c /usr/include/stdio.h
+-putw.o: putw.c /usr/include/stdio.h
+-rew.o: rew.c /usr/include/stdio.h
+-scanf.o: scanf.c /usr/include/stdio.h
+-setbuf.o: setbuf.c /usr/include/stdio.h
+-setbuffer.o: setbuffer.c /usr/include/stdio.h
+-sibuf.o: sibuf.c /usr/include/stdio.h
+-sobuf.o: sobuf.c /usr/include/stdio.h
+-sprintf.o: sprintf.c /usr/include/stdio.h
+-strout.o: strout.c /usr/include/stdio.h
+-ungetc.o: ungetc.c /usr/include/stdio.h
+-# 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/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 18:45:57.000000000 +1100
++++ libx_c/stdio/popen.c 2017-01-22 20:23:04.007147918 +1100
@@ -0,0 +1,77 @@
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ 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 19:31:08.958329247 +1100
-+++ libx_c/stdio/printf.c 2017-01-22 18:52:03.000000000 +1100
+--- 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
@@ -1,12 +1,36 @@
+/*
+ * Copyright (c) 1987 Regents of the University of California.
+ 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 19:31:08.958329247 +1100
-+++ libx_c/stdio/scanf.c 2017-01-22 18:51:44.000000000 +1100
+--- 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
@@ -2,32 +2,53 @@
static char sccsid[] = "@(#)scanf.c 5.2 (Berkeley) 3/9/86";
#endif LIBC_SCCS and not lint
+ 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 19:31:08.958329247 +1100
-+++ libx_c/stdio/setbuffer.c 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -35,11 +35,11 @@
register FILE *iop;
{
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 19:31:08.958329247 +1100
-+++ libx_c/stdio/sprintf.c 2017-01-22 18:53:27.000000000 +1100
+--- 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
@@ -1,18 +1,41 @@
+/*
+ * Copyright (c) 1987 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.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 18:45:57.000000000 +1100
++++ libx_c/stdio/vfprintf.c 2017-01-22 20:23:04.011147912 +1100
@@ -0,0 +1,46 @@
+/*
+ * Copyright (c) 1988 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.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 18:45:57.000000000 +1100
++++ libx_c/stdio/vprintf.c 2017-01-22 20:23:04.011147912 +1100
@@ -0,0 +1,33 @@
+/*
+ * Copyright (c) 1988 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.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 18:45:57.000000000 +1100
++++ libx_c/stdio/vsprintf.c 2017-01-22 20:23:04.011147912 +1100
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) 1988 Regents of the University of California.
+ 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 19:31:08.954329226 +1100
-+++ libx_c/stdio.h 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -59,7 +59,7 @@
long ftell();
char *fgets();
#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 19:31:08.962329268 +1100
-+++ libx_c/sys/dir.h 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -32,9 +32,9 @@
* dp->d_ino set to 0.
*/
#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 19:31:08.962329268 +1100
-+++ libx_c/sys/errno.h 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -96,3 +96,7 @@
#define EPROCLIM 67 /* Too many processes */
#define EUSERS 68 /* Too many users */
+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 19:31:08.958329247 +1100
-+++ libx_c/sys/execl.c 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -1,4 +1,5 @@
-void execl(f, a) char *f, *a; {
+#include <varargs.h>
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 19:31:08.958329247 +1100
-+++ libx_c/sys/execle.c 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -1,4 +1,5 @@
-void execle(f, a) char *f, *a; {
+#include <varargs.h>
}
diff --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 18:45:57.000000000 +1100
++++ libx_c/sys/isatty.c 2017-01-22 20:23:04.011147912 +1100
@@ -0,0 +1,17 @@
+#if defined(LIBC_SCCS) && !defined(lint)
+static char sccsid[] = "@(#)isatty.c 5.2 (Berkeley) 3/9/86";
+ return(0);
+ 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/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
+@@ -0,0 +1,88 @@
++#
++# Copyright (c) 1980 Regents of the University of California.
++# All rights reserved. The Berkeley software License Agreement
++# specifies the terms and conditions for redistribution.
++#
++# @(#)Makefile 6.1 (Berkeley) 1/29/86
++#
++
++SRCS= accept.c access.c acct.c adjtime.c bind.c brk.c chdir.c chmod.c \
++ chown.c chroot.c close.c connect.c creat.c dup2.c dup.c execl.c \
++ execle.c exect.c execv.c execve.c _exit.c fchmod.c fchown.c fcntl.c \
++ flock.c fork.c fstat.c fsync.c ftruncate.c getdtablesize.c getegid.c \
++ geteuid.c getgid.c getgroups.c gethostid.c gethostname.c getitimer.c \
++ getpagesize.c getpeername.c getpgrp.c getpid.c getppid.c \
++ getpriority.c getrlimit.c getrusage.c getsockname.c getsockopt.c \
++ gettimeofday.c getuid.c ioctl.c isatty.c kill.c killpg.c link.c \
++ listen.c lseek.c lstat.c mkdir.c mknod.c mount.c open.c pipe.c \
++ profil.c ptrace.c quota.c read.c readlink.c readv.c reboot.c recv.c \
++ recvfrom.c recvmsg.c rename.c rmdir.c sbrk.c select.c send.c \
++ sendmsg.c sendto.c setgroups.c sethostid.c sethostname.c setitimer.c \
++ setpgrp.c setpriority.c setquota.c setregid.c setreuid.c setrlimit.c \
++ setsockopt.c settimeofday.c shutdown.c sigblock.c sigpause.c \
++ sigreturn.c sigsetmask.c sigstack.c sigvec.c socket.c socketpair.c \
++ stat.c swapon.c symlink.c sync.c truncate.c umask.c umount.c unlink.c \
++ utimes.c vfork.c vhangup.c vopen.c wait3.c wait.c write.c writev.c
++OBJS= accept.o access.o acct.o adjtime.o bind.o brk.o chdir.o chmod.o \
++ chown.o chroot.o close.o connect.o creat.o dup2.o dup.o execl.o \
++ execle.o exect.o execv.o execve.o _exit.o fchmod.o fchown.o fcntl.o \
++ flock.o fork.o fstat.o fsync.o ftruncate.o getdtablesize.o getegid.o \
++ geteuid.o getgid.o getgroups.o gethostid.o gethostname.o getitimer.o \
++ getpagesize.o getpeername.o getpgrp.o getpid.o getppid.o \
++ getpriority.o getrlimit.o getrusage.o getsockname.o getsockopt.o \
++ gettimeofday.o getuid.o ioctl.o isatty.o kill.o killpg.o link.o \
++ listen.o lseek.o lstat.o mkdir.o mknod.o mount.o open.o pipe.o \
++ profil.o ptrace.o quota.o read.o readlink.o readv.o reboot.o recv.o \
++ recvfrom.o recvmsg.o rename.o rmdir.o sbrk.o select.o send.o \
++ sendmsg.o sendto.o setgroups.o sethostid.o sethostname.o setitimer.o \
++ setpgrp.o setpriority.o setquota.o setregid.o setreuid.o setrlimit.o \
++ setsockopt.o settimeofday.o shutdown.o sigblock.o sigpause.o \
++ sigreturn.o sigsetmask.o sigstack.o sigvec.o socket.o socketpair.o \
++ stat.o swapon.o symlink.o sync.o truncate.o umask.o umount.o unlink.o \
++ utimes.o vfork.o vhangup.o vopen.o wait3.o wait.o write.o writev.o
++CFLAGS= -O ${DEFS}
++TAGSFILE=tags
++
++.c.o:
++ ${CC} -p -c ${CFLAGS} $*.c
++ -ld -X -r $*.o
++ mv a.out profiled/$*.o
++ ${CC} ${CFLAGS} -c $*.c
++ -ld -x -r $*.o
++ mv a.out $*.o
++
++syslib syslib_p: ${OBJS}
++ @echo "building profiled syslib"
++ @cd profiled; ar cru ../syslib_p ${OBJS}
++ @echo "building normal syslib"
++ @ar cru syslib ${OBJS}
++
++tags:
++ cwd=`pwd`; \
++ for i in ${SRCS}; do \
++ ctags -a -f ${TAGSFILE} $$cwd/$$i; \
++ done
++
++clean:
++ rm -f syslib syslib_p *.o profiled/*.o errs a.out core \
++ tags Makefile.bak
++
++depend:
++ for i in ${SRCS}; do \
++ cc -M ${CFLAGS} $$i | awk ' { if ($$1 != prev) \
++ { if (rec != "") print rec; rec = $$0; prev = $$1; } \
++ else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
++ else rec = rec " " $$2 } } \
++ END { print rec } ' >> makedep; done
++ echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
++ echo '$$r makedep' >>eddep
++ echo 'w' >>eddep
++ cp Makefile Makefile.bak
++ ed - Makefile < eddep
++ rm eddep makedep
++ echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
++ echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
++ echo '# see make depend above' >> Makefile
++
++# 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 19:31:08.958329247 +1100
-+++ libx_c/sys/open.c 2017-01-22 18:45:57.000000000 +1100
+--- 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 @@
int open(f, m, va_alist) char *f; va_dcl {
- write(2, "open()\n", 7);
+ 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 19:31:08.962329268 +1100
-+++ libx_c/sys/param.h 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -53,15 +53,16 @@
/*
* Signals
+/* 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 19:31:08.958329247 +1100
-+++ libx_c/sys/proc.h 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -117,3 +117,8 @@
#define SSEL 0x0400000 /* selecting; wakeup/waiting danger */
#define SLOGIN 0x0800000 /* a login process (legit child of init) */
+ ((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 18:45:57.000000000 +1100
++++ libx_c/sys/select.h 2017-01-22 20:23:04.011147912 +1100
@@ -0,0 +1,28 @@
+#include <sys/param.h>
+
+#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 19:31:08.962329268 +1100
-+++ libx_c/sys/signal.h 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -57,14 +57,14 @@
#define SIGUSR2 31 /* user defined signal 2 */
#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 19:31:08.958329247 +1100
-+++ libx_c/sys/tty.h 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -70,20 +70,22 @@
struct ttychars t_chars; /* tty */
struct winsize t_winsize; /* window size */
#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 19:31:08.962329268 +1100
-+++ libx_c/sys/types.h 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -35,7 +35,7 @@
#endif
typedef struct _quad { long val[2]; } quad;
#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 18:45:57.000000000 +1100
++++ libx_c/sys/vfork.c 2017-01-22 20:23:04.011147912 +1100
@@ -0,0 +1,3 @@
+int vfork() {
+ abort();
+}
diff --unified --recursive --new-file '--exclude=[abcdefghijklmnopqrstuvwxyz]' '--exclude=*.sh' '--exclude=*.a' '--exclude=*.o' '--exclude=*.[ch].nocomm' '--exclude=*.[ch].protos' '--exclude=*.[ch].protos.nocomm' '--exclude=*.temp' '--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 19:31:08.962329268 +1100
-+++ libx_c/sys/vmmac.h 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -157,3 +157,10 @@
} \
c->c_lock = 0; \
+ (*(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 19:11:32.000000000 +1100
++++ libx_c/sys/vopen.c 2017-01-22 20:23:04.011147912 +1100
@@ -0,0 +1,5 @@
+#include <sys/file.h>
+#include <varargs.h>
+ 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 19:31:08.962329268 +1100
-+++ libx_c/vax/vmparam.h 2017-01-22 18:45:57.000000000 +1100
+--- 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
@@ -156,5 +156,6 @@
/*
* BEWARE THIS DEFINITION WORKS ONLY WITH COUNT OF 1