Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2018 16:56:42 -0800 (PST)
From:      "Rodney W. Grimes" <freebsd@pdx.rh.CN85.dnsmgr.net>
To:        Eitan Adler <eadler@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r330256 - head/sys/sys
Message-ID:  <201803020056.w220ugMV027820@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <201803012238.w21McL5j043345@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Author: eadler
> Date: Thu Mar  1 22:38:21 2018
> New Revision: 330256
> URL: https://svnweb.freebsd.org/changeset/base/330256
> 
> Log:
>   sys/sys: Use a more common spelling of 'dirent'

Actually, correct missed rename of direct to dirent,
the name of this structure in 4.2/4.3 was direct,
posix renamed it to dirent.  The comment probably
got missed when the rest of the file was changed.

>   Submitted by:	Domagoj Stolfa <domagoj.stolfa@gmail.com>
>   MFC After:	3 days
> 
> Modified:
>   head/sys/sys/dirent.h
> 
> Modified: head/sys/sys/dirent.h
> ==============================================================================
> --- head/sys/sys/dirent.h	Thu Mar  1 22:04:51 2018	(r330255)
> +++ head/sys/sys/dirent.h	Thu Mar  1 22:38:21 2018	(r330256)
> @@ -112,7 +112,7 @@ struct freebsd11_dirent {
>  
>  /*
>   * The _GENERIC_DIRSIZ macro gives the minimum record length which will hold
> - * the directory entry.  This returns 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 8 byte boundary.
>   *
> 
> 

-- 
Rod Grimes                                                 rgrimes@freebsd.org



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