cvs commit: src/sys/vfs/hpfs hpfs_vnops.c

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sun Aug 21 04:42:14 PDT 2005


On 20.08.2005, at 20:37, Joerg Sonnenberger wrote:

joerg       2005/08/20 11:37:21 PDT

DragonFly src repository

  Modified files:
    sys/vfs/hpfs         hpfs_vnops.c
  Log:
  HPFS != UFS, so use the right constant for directory entries. Check
  explicitly for wraparound or negative offsets, don't depend on type
  limits to do that.
[diff]
-	 * As we need to fake up . and .., and the remaining directory 
structure
-	 * can't be expressed in one off_t as well, we just increment 
uio_offset
-	 * by 1 for each entry.
-	 *
why did you remove this comment I just put in?  I think having 
explaining comments especially in source that don't get touched every 
day by the average developer are very helpful and ease understanding 
the code a big deal.  Please put it back.

cheers
  simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
Attachment:
PGP.sig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00024.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/commits/attachments/20050821/f7aae061/attachment-0020.obj>


More information about the Commits mailing list