dpointer@uicsrd.csrd.uiuc.edu (David B. Pointer) (04/15/89)
In case there are some folks who can't get to the minix archives and need the usr/include/sys .h files for the P-H v1.3 upgrade kit, here are the four files that I got from d1.2-1.3.a.Z file on bugs.nosc.mil. I know that the minix v1.3 upgrade kit from P-H requires sys/types.h for ls.c. I don't know about the others three files, but here they are anyway. BTW, thanks, bugs.nosc.mil. *dave ---------------------------------------------------------------------- #! /bin/sh # This is a shell archive, meaning: # 1. Remove everything above the #! /bin/sh line. # 2. Save the resulting text in a file. # 3. Execute the file with /bin/sh (not csh) to create: # ./sys/dir.h # ./sys/timeb.h # ./sys/times.h # ./sys/types.h # This archive created: Fri Apr 14 10:37:59 1989 export PATH; PATH=/bin:/usr/bin:$PATH echo shar: "extracting './sys/dir.h'" '(96 characters)' if test -f './sys/dir.h' then echo shar: "will not over-write existing file './sys/dir.h'" else cat << \SHAR_EOF > './sys/dir.h' #ifndef DIRSIZ #define DIRSIZ 14 #endif struct direct { ino_t d_ino; char d_name[DIRSIZ]; }; SHAR_EOF if test 96 -ne "`wc -c < './sys/dir.h'`" then echo shar: "error transmitting './sys/dir.h'" '(should have been 96 characters)' fi fi echo shar: "extracting './sys/timeb.h'" '(88 characters)' if test -f './sys/timeb.h' then echo shar: "will not over-write existing file './sys/timeb.h'" else cat << \SHAR_EOF > './sys/timeb.h' struct timeb { long time; unsigned short millitm; short timezone; short dstflag; }; SHAR_EOF if test 88 -ne "`wc -c < './sys/timeb.h'`" then echo shar: "error transmitting './sys/timeb.h'" '(should have been 88 characters)' fi fi echo shar: "extracting './sys/times.h'" '(94 characters)' if test -f './sys/times.h' then echo shar: "will not over-write existing file './sys/times.h'" else cat << \SHAR_EOF > './sys/times.h' struct tms { time_t tms_utime; time_t tms_stime; time_t tms_cutime; time_t tms_cstime; }; SHAR_EOF if test 94 -ne "`wc -c < './sys/times.h'`" then echo shar: "error transmitting './sys/times.h'" '(should have been 94 characters)' fi fi echo shar: "extracting './sys/types.h'" '(218 characters)' if test -f './sys/types.h' then echo shar: "will not over-write existing file './sys/types.h'" else cat << \SHAR_EOF > './sys/types.h' typedef long off_t; typedef long time_t; typedef unsigned short ino_t; typedef short dev_t; #define makedev(maj, min) (((maj)<<8) | (min)) #define minor(dev) ((dev) & 0xFF) #define major(dev) (((dev)>>8) & 0xFF) SHAR_EOF if test 218 -ne "`wc -c < './sys/types.h'`" then echo shar: "error transmitting './sys/types.h'" '(should have been 218 characters)' fi fi exit 0 # End of shell archive ---------------------------------------------------------------------- David Pointer Center for Supercomputing R&D dpointer@uicsrd.csrd.uiuc.edu 305 Talbot Lab 104 S. Wright St. (217) 244-6392 Urbana, IL 61801 ----------------------------------------------------------------------