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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"