Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2006 03:52:37 GMT
From:      Eric Anderson <anderson@centtech.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/102127: [PATCH] Simple comment fixes
Message-ID:  <200608160352.k7G3qae7034535@www.freebsd.org>
Resent-Message-ID: <200608160400.k7G40WH0006749@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         102127
>Category:       kern
>Synopsis:       [PATCH] Simple comment fixes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 16 04:00:31 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Eric Anderson
>Release:        6-STABLE
>Organization:
>Environment:
FreeBSD neutrino.centtech.com 6.1-STABLE FreeBSD 6.1-STABLE #30: Sun Aug 13 21:32:40 CDT 2006     a@b:/usr/obj/usr/src/sys/NEUTRINO  i386

>Description:
The comments are slightly incorrect.  Does not quite read correctly, and isn't exactly true.
>How-To-Repeat:
Read the source code.
>Fix:

--- sys/sys/dirent.h    7 Apr 2004 04:19:49 -0000       1.14
+++ sys/sys/dirent.h    16 Aug 2006 03:46:59 -0000
@@ -82,7 +82,7 @@
 
 /*
  * The _GENERIC_DIRSIZ macro gives the minimum record length which will hold
- * the directory entry.  This requires the amount of space in struct direct
+ * the directory entry.  This returns the amount of space in struct dirent
  * without the d_name field, plus enough space for the name with a terminating
  * null byte (dp->d_namlen+1), rounded up to a 4 byte boundary.
  *

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608160352.k7G3qae7034535>