Date: Thu, 6 Dec 2018 07:36:08 +1100 (EST) From: Bruce Evans <brde@optusnet.com.au> To: Bruce Evans <brde@optusnet.com.au> Cc: Alan Somers <asomers@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r341598 - head/lib/libc/sys Message-ID: <20181206072628.M4013@besplex.bde.org> In-Reply-To: <20181206062019.I3775@besplex.bde.org> References: <201812051728.wB5HSes8099327@repo.freebsd.org> <20181206062019.I3775@besplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 6 Dec 2018, Bruce Evans wrote: > On Wed, 5 Dec 2018, Alan Somers wrote: > >> Log: >> stat(2): clarify which syscalls modify file timestamps >> ... > > These fields shouldn't exist. They are misimplemented compatibility cruft. > ... > which I fixed in FreeBSD-5 using bit-fields. Now the support for POSIX > before about 2007 is broken by declaring struct timespec undonditionally > and using it for st_atim, etc. API compatibility with old versions of > FreeBSD is broken by renaming st_atimespec to st_atim, etc. API compatibility with old versions of FreeBSD is actually preserved using another macro hack (define st_atimespec as st_atime, etc.). This uses a correct visibility ifdef, but the man page says that it uses a different, incorrect one. The man page only attempts to document the ifdef tangles for st_*tim*. > ... Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181206072628.M4013>