[net.bugs.2bsd] diffs for RCS diffdir program

keith@seismo.UUCP (Keith Bostic) (11/01/84)

RCS seems to compile quite nicely on 2.9; just make sure that you
put in the bug fix to cc so that the -i flag gets passed.

The program rdiff has a module diffdir.c which is used when
you execute rdiff with two directories.  The directory reading
subrouines are a part of the 2.9 release -- it's in the uucp source
directory in a sub-directory call LIBNDIR.  Anyway, apply the
following diffs to diffdir.c and compile as normal.

Enjoy...
		Keith Bostic
			ARPA: keith@seismo 
			UUCP: seismo!keith

======================================================================
diff diffdir.orig diffdir.c

7c7
< #define	d_flags	d_ino
---
> #define	d_flags	dd_ino
15,17c15,17
< 	u_long	d_ino;
< 	short	d_reclen;
< 	short	d_namlen;
---
> 	u_long	dd_ino;
> 	short	dd_reclen;
> 	short	dd_namelen;
188,189c188,189
< 		ep->d_reclen = rp->d_reclen;
< 		ep->d_namlen = rp->d_namlen;
---
> 		ep->dd_reclen = rp->d_reclen;
> 		ep->dd_namelen = rp->d_namlen;
192,193c192,193
< 		if (ep->d_namlen > 0) {
< 			ep->d_entry = malloc(ep->d_namlen + 1);
---
> 		if (ep->dd_namelen > 0) {
> 			ep->d_entry = malloc(ep->dd_namelen + 1);
======================================================================