Only in .: LOG
diff ./Makefile /b/purdue/bin/diff/Makefile
1,2d0
< #	@(#)Makefile	4.1	2/9/83
< #
6,7c4,7
< CFLAGS=	-O -DDIFF='"${DIFF}"' -DDIFFH='"${DIFFH}"' -DPR='"${PR}"'
< DESTDIR=
---
> DEFS=	-DDIFF='"${DIFF}"' -DDIFFH='"${DIFFH}"' -DPR='"${PR}"'
> CFLAGS=	-O ${DEFS}
> LDFLAGS= -i
> LIBS= -lndir
14a15,25
> install: diff diffh
> 	-strip diff diffh
> 	cp diff ${DESTDIR}/bin/diff
> 	cp diffh ${DESTDIR}/usr/lib/diffh
> 	rm diff diffh *.o
> 
> cmp: diff diffh
> 	cmp diff ${DESTDIR}/bin/diff
> 	cmp diffh ${DESTDIR}/usr/lib/diffh
> 	rm *.o
> 
16c27
< 	${CC} ${CFLAGS} -o diff ${OBJS} ${LDFLAGS}
---
> 	cc ${LDFLAGS} -o diff ${OBJS} ${LIBS}
19c30
< 	${CC} -o diffh diffh.o ${LDFLAGS}
---
> 	cc ${LDFLAGS} -o diffh diffh.o
22c33
< 	rm -f diff diffh ${OBJS} diffh.o
---
> 	rm -f ${OBJS} diffh.o
24,26c35,36
< install:
< 	install -s -g bin -m bin -o 711 diff ${DESTDIR}/bin/diff
< 	install -s -g bin -m bin -o 711 diffh ${DESTDIR}/usr/lib/diffh
---
> I=/usr/include
> S=/usr/include/sys
28,29c38,39
< .c.o:
< 	${CC} ${FP} ${CFLAGS} -c $*.c
---
> depend: ${SRCS}
> 	mkdepend -a -i -s -m ${DEFS} ${SRCS}
31,34c41,56
< diff.c:		diff.o
< diffdir.c:	diffdir.o
< diffh.c:	diffh.o
< diffreg.c:	diffreg.o
---
> # DO NOT DELETE THIS LINE - make depend DEPENDS ON IT
> 
> 
> diff.o: ./diff.h ${I}/ctype.h ${I}/ndir.h ${I}/signal.h ${I}/stdio.h
> diff.o: ${S}/iopage.h ${S}/localopts.h ${S}/param.h ${S}/psw.h ${S}/stat.h
> diff.o: ${S}/types.h ${I}/whoami.h diff.c
> 
> diffdir.o: ./diff.h ${I}/a.out.h ${I}/ctype.h ${I}/ndir.h ${I}/signal.h
> diffdir.o: ${I}/stdio.h ${S}/iopage.h ${S}/localopts.h ${S}/param.h
> diffdir.o: ${S}/psw.h ${S}/stat.h ${S}/types.h ${I}/whoami.h diffdir.c
> 
> diffreg.o: ./diff.h ${I}/a.out.h ${I}/ctype.h ${I}/ndir.h ${I}/signal.h
> diffreg.o: ${I}/stdio.h ${S}/iopage.h ${S}/localopts.h ${S}/param.h
> diffreg.o: ${S}/psw.h ${S}/stat.h ${S}/types.h ${I}/whoami.h diffreg.c
> 
> # *** Do not add anything here - It will go away. ***
Only in /b/purdue/bin/diff: Old
diff ./diff.c /b/purdue/bin/diff/diff.c
1c1,2
< static	char sccsid[] = "@(#)diff.c 4.1 10/9/80";
---
> static char rcsid[] =
> "$Header: diff.c,v 1.2 85/03/29 14:25:35 root Exp $ Purdue";
2a4,5
> /* static  char sccsid[] = "@(#)diff.c 4.1 10/9/80"; */
> 
61a65,67
>                 case 'n':
>                         opt = D_NREVERSE;
>                         continue;
114c120
< 		    "diff: -h doesn't support -e, -f, -c, or -I\n");
---
>                     "diff: -h doesn't support -e, -f, -n, -c, or -I\n");
diff ./diff.h /b/purdue/bin/diff/diff.h
0a1
> /* $Id: diff.h,v 1.1 84/01/23 14:39:24 kcs Exp Locker: crl $ */
11d11
< #include <sys/dir.h>
13a14,22
> #ifdef V4_2BSD
> # include <sys/dir.h>
> #else  V4_2BSD
> # ifdef pdp11
> #  define u_long	long		/* Watch out! */
> # endif pdp11
> # include <ndir.h>
> #endif V4_2BSD
> 
23a33
> #define D_NREVERSE      4       /* Reverse editor script, no trailing '.'*/
72d81
< struct	stat stb1, stb2;
Only in .: diff.o
diff ./diffdir.c /b/purdue/bin/diff/diffdir.c
16,17c16,17
< 	short	d_reclen;
< 	short	d_namlen;
---
> 	u_short	d_reclen;
> 	u_short	d_namlen;
diff ./diffh.c /b/purdue/bin/diff/diffh.c
81,82d80
< 	int status = 0;
< 
101d98
< 			status = 1;
110c107
< 		exit(status);
---
> 		return;
115d111
< 	exit(1);
diff ./diffreg.c /b/purdue/bin/diff/diffreg.c
1c1,2
< static	char sccsid[] = "@(#)diffreg.c 4.7 2/28/83";
---
> static char rcsid[] =
> "$Header: diffreg.c,v 1.2 85/03/29 14:26:18 root Exp $ Purdue";
2a4,5
> /* static  char sccsid[] = "@(#)diffreg.c 4.7 2/28/83"; */
> 
641a645,654
>         case D_NREVERSE:
>                 if (a>b)
>                         printf("a%d %d\n",b,d-c+1);
>                 else {
>                         printf("d%d %d\n",a,b-a+1);
>                         if (!(c>d))
>                            /* add changed lines */
>                            printf("a%d %d\n",b, d-c+1);
>                 }
>                 break;
