Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/27/84; site seismo.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!gatech!seismo!keith From: keith@seismo.UUCP (Keith Bostic) Newsgroups: net.bugs.2bsd Subject: diffs for RCS diffdir program Message-ID: <4933@seismo.UUCP> Date: Thu, 1-Nov-84 11:23:38 EST Article-I.D.: seismo.4933 Posted: Thu Nov 1 11:23:38 1984 Date-Received: Fri, 2-Nov-84 07:15:20 EST Organization: Center for Seismic Studies, Arlington, VA Lines: 42 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); ======================================================================