ofiles (ag

dupuy at cs.columbia.edu dupuy at cs.columbia.edu
Thu Jul 26 02:58:32 AEST 1990


Paul Pomes pointed out a bug with the vanilla BSD support (it wouldn't
compile) and provided a fix.  Here's the context diff, and a new copy of
the shar for the archives.

RCS file: RCS/ofiles.c,v
retrieving revision 4.2
diff -c -r4.2 ofiles.c
*** /tmp/,RCSt1a28908	Wed Jul 25 12:56:02 1990
--- ofiles.c	Wed Jul 25 12:52:59 1990
***************
*** 1,6 ****
  #ifndef lint
  static char     rcsid[] =
! "@(#) $Header: /n/cs/src/cs/ofiles/RCS/ofiles.c,v 4.2 90/07/23 18:53:18 dupuy Exp $";
  #endif

  /*
--- 1,6 ----
  #ifndef lint
  static char     rcsid[] =
! "@(#) $Header: /n/cs/src/cs/ofiles/RCS/ofiles.c,v 4.3 90/07/25 12:52:07 dupuy Exp $";
  #endif

  /*
***************
*** 1962,1970 ****
  	    && (dvent->mode ==
  		(((node->g_mode & GFMT) == GFBLK) ? S_IFBLK : S_IFCHR)))
  # else
! 	if (dvent->rdev == node->i_rdev && dvent->ino == node->i_number)
  	    && (dvent->mode ==
! 		(((node->g_mode & IFMT) == IFBLK) ? S_IFBLK : S_IFCHR)))
  # endif /* !ULTRIX2 */
  #endif /* !NFS */
  	    {
--- 1962,1970 ----
  	    && (dvent->mode ==
  		(((node->g_mode & GFMT) == GFBLK) ? S_IFBLK : S_IFCHR)))
  # else
! 	if (dvent->rdev == node->i_rdev && dvent->ino == node->i_number
  	    && (dvent->mode ==
! 		(((node->i_mode & IFMT) == IFBLK) ? S_IFBLK : S_IFCHR)))
  # endif /* !ULTRIX2 */
  #endif /* !NFS */
  	    {

@alex

inet: dupuy at cs.columbia.edu
uucp: ...!rutgers!cs.columbia.edu!dupuy



More information about the Comp.sys.sun mailing list