*** ./xtail.c Sun Apr 26 01:33:47 1998 --- ../src/./xtail.c Sun Apr 26 02:00:41 1998 *************** *** 31,37 **** SIGTYPE sigcatcher(sig) int sig; { ! extern SIGTYPE (*signal)(); if ( sig == SIGQUIT ) (void) exit(0); sigcaught = sig; --- 31,37 ---- SIGTYPE sigcatcher(sig) int sig; { ! /* extern SIGTYPE (*signal)(); */ if ( sig == SIGQUIT ) (void) exit(0); sigcaught = sig; *** ./xtail.h Sun Apr 26 01:33:46 1998 --- ../src/./xtail.h Sun Apr 26 02:05:29 1998 *************** *** 19,33 **** /* * Define one of the following. It says how to use your "directory" library. */ ! #define DIR_XENIX /* include , use "struct direct" */ /*#define DIR_BSD /* include , use "struct direct" */ ! /*#define DIR_SYSV /* include , use "struct dirent" */ /* * Define one of the following. It specifies the return type of "signal()". */ ! #define SIGTYPE int /* declare as "int (*signal)()" */ ! /*#define SIGTYPE void /* declare as "void (*signal)()" */ /* * STATUS_ENAB If defined, a SIGINT causes a summary of the opened files to --- 19,34 ---- /* * Define one of the following. It says how to use your "directory" library. */ ! /* #define DIR_XENIX /* include , use "struct direct" */ /*#define DIR_BSD /* include , use "struct direct" */ ! #define DIR_SYSV /* include , use "struct dirent" */ /* * Define one of the following. It specifies the return type of "signal()". */ ! /* #define SIGTYPE int /* declare as "int (*signal)()" */ ! /* #define SIGTYPE void /* declare as "void (*signal)()" */ ! #define SIGTYPE __sigret_t /* * STATUS_ENAB If defined, a SIGINT causes a summary of the opened files to *************** *** 62,68 **** * MAX_ENTRIES The maximum number of entries in any list. It can be fairly * large -- each unused entry only eats 3*sizeof(char*) bytes. */ ! #define MAX_ENTRIES 512 /***************************************************************************** --- 63,69 ---- * MAX_ENTRIES The maximum number of entries in any list. It can be fairly * large -- each unused entry only eats 3*sizeof(char*) bytes. */ ! #define MAX_ENTRIES 4096 /***************************************************************************** *** ./Makefile Sun Apr 26 01:33:47 1998 --- ../src/./Makefile Sun Apr 26 02:10:46 1998 *************** *** 2,7 **** --- 2,10 ---- # @(#) Makefile 2.1 89/07/26 19:15:39 # Makefile for "xtail" (generated by /local/bin/makemake version 1.00.07) # Created by bin@vector on Wed Jul 26 17:36:37 CDT 1989 + # + # Edited by ariel@sgi.com so it can actuallly build elsewhere :-) + # SHELL = /bin/sh CC = cc *************** *** 8,19 **** DEFS = COPTS = -O LOPTS = ! LIBS = -lx DEBUG = -g -DDEBUG LINTFLAGS = -DLINT TARG = xtail OTHERS = SRCS = xtail.c entryfuncs.c miscfuncs.c --- 11,23 ---- DEFS = COPTS = -O LOPTS = ! LIBS = # -lx DEBUG = -g -DDEBUG LINTFLAGS = -DLINT TARG = xtail OTHERS = + PREFIX = /usr/freeware SRCS = xtail.c entryfuncs.c miscfuncs.c *************** *** 26,34 **** LFLAGS = $(LOPTS) # $(DEBUG) all: $(TARG) $(OTHERS) ! install: all ; inst Install ! clean: ; rm -f $(TARG) $(OBJS) a.out core $(TARG).lint ! clobber: clean ; inst -u Install lint: $(TARG).lint $(TARG): $(OBJS) --- 30,45 ---- LFLAGS = $(LOPTS) # $(DEBUG) all: $(TARG) $(OTHERS) ! ! install: all ! install $(TARG) $(PREFIX)/bin ! ! clean: ! rm -f $(OBJS) a.out core $(TARG).lint ! ! clobber: clean ! rm -f $(TARG) ! lint: $(TARG).lint $(TARG): $(OBJS) *************** *** 37,54 **** $(TARG).lint: $(TARG) lint $(LINTFLAGS) $(DEFS) $(SRCS) $(LIBS) > $@ ! xtail.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/sys/signal.h \ ! /usr/include/sys/stat.h /usr/include/sys/types.h xtail.c \ ! xtail.h ! entryfuncs.o: /usr/include/fcntl.h /usr/include/stdio.h \ ! /usr/include/sys/errno.h /usr/include/sys/fcntl.h \ ! /usr/include/sys/lockcmn.h /usr/include/sys/stat.h \ ! /usr/include/sys/types.h entryfuncs.c xtail.h ! miscfuncs.o: /usr/include/fcntl.h /usr/include/stdio.h \ ! /usr/include/sys/fcntl.h /usr/include/sys/lockcmn.h \ ! /usr/include/sys/ndir.h /usr/include/sys/stat.h \ ! /usr/include/sys/types.h /usr/include/time.h miscfuncs.c \ ! xtail.h make: ; /local/bin/makemake -i -v1.00.07 -aMakefile \ --- 48,56 ---- $(TARG).lint: $(TARG) lint $(LINTFLAGS) $(DEFS) $(SRCS) $(LIBS) > $@ ! xtail.o: xtail.c xtail.h ! entryfuncs.o: entryfuncs.c xtail.h ! miscfuncs.o: miscfuncs.c xtail.h make: ; /local/bin/makemake -i -v1.00.07 -aMakefile \