home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / bsd / 10527 < prev    next >
Encoding:
Text File  |  1992-12-22  |  1.0 KB  |  31 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!wotan.compaq.com!moxie!hackney
  3. From: hackney@moxie.hou.tx.us (Greg Hackney)
  4. Subject: Re: 386BSD - Bug in UFS file system + proposed fix
  5. Organization: Home
  6. References: <1992Dec16.012248.8123@moxie.hou.tx.us> <1992Dec16.211422.3663@fcom.cc.utah.edu> <1992Dec21.081943.8395@runx.oz.au>
  7. Message-ID: <BzMyAB.1y2@moxie.hou.tx.us>
  8. Date: Tue, 22 Dec 1992 00:49:22 GMT
  9. Lines: 20
  10.  
  11. bde@runx.oz.au (Bruce Evans) writes:
  12.  
  13. > I think the fix is correct.  It seems to be the same patch that I posted
  14. > the other day, but is backwards.
  15. > What is going on here?  I think that the version in the ".orig" file is
  16. > correct, but the version in the "new" file is what's already in 386BSD-0.1,
  17. > and wrong.
  18.  
  19. Bruce,
  20.  
  21. The correct line in ufs_vnops.c is:
  22.  
  23.      if ((ip->i_mode & mode) != 0)
  24.  
  25. I think that the confusion may lie in the fact that you probably
  26. have an older version of ufs_vnops.c.  It used to be the correct code,
  27. and got changed later. I'm not sure when.
  28. --
  29. Greg
  30.  
  31.