Date: Sun, 28 Mar 2010 13:13:22 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/sys stat.2 src/sys/amd64/linux32 linux.h src/sys/compat/freebsd32 freebsd32.h freebsd32_misc.c src/sys/compat/linux linux_stats.c src/sys/compat/svr4 svr4_stat.c src/sys/i386/ibcs2 ibcs2_stat.c src/sys/i386/linux linux.h ... Message-ID: <201003281319.o2SDJ3Gt060981@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2010-03-28 13:13:22 UTC FreeBSD src repository Modified files: lib/libc/sys stat.2 sys/amd64/linux32 linux.h sys/compat/freebsd32 freebsd32.h freebsd32_misc.c sys/compat/linux linux_stats.c sys/compat/svr4 svr4_stat.c sys/i386/ibcs2 ibcs2_stat.c sys/i386/linux linux.h sys/kern sys_pipe.c tty_pts.c uipc_mqueue.c uipc_sem.c uipc_shm.c vfs_syscalls.c vfs_vnops.c sys/sys _timespec.h stat.h timespec.h Log: SVN rev 205792 on 2010-03-28 13:13:22Z by ed Rename st_*timespec fields to st_*tim for POSIX 2008 compliance. A nice thing about POSIX 2008 is that it finally standardizes a way to obtain file access/modification/change times in sub-second precision, namely using struct timespec, which we already have for a very long time. Unfortunately POSIX uses different names. This commit adds compatibility macros, so existing code should still build properly. Also change all source code in the kernel to work without any of the compatibility macros. This makes it all a less ambiguous. I am also renaming st_birthtime to st_birthtim, even though it was a local extension anyway. It seems Cygwin also has a st_birthtim. Revision Changes Path 1.49 +17 -11 src/lib/libc/sys/stat.2 1.30 +9 -9 src/sys/amd64/linux32/linux.h 1.12 +4 -4 src/sys/compat/freebsd32/freebsd32.h 1.104 +3 -3 src/sys/compat/freebsd32/freebsd32_misc.c 1.99 +18 -9 src/sys/compat/linux/linux_stats.c 1.34 +9 -9 src/sys/compat/svr4/svr4_stat.c 1.27 +3 -3 src/sys/i386/ibcs2/ibcs2_stat.c 1.88 +9 -9 src/sys/i386/linux/linux.h 1.207 +3 -3 src/sys/kern/sys_pipe.c 1.43 +3 -3 src/sys/kern/tty_pts.c 1.46 +4 -4 src/sys/kern/uipc_mqueue.c 1.40 +4 -4 src/sys/kern/uipc_sem.c 1.11 +4 -4 src/sys/kern/uipc_shm.c 1.496 +7 -7 src/sys/kern/vfs_syscalls.c 1.294 +4 -4 src/sys/kern/vfs_vnops.c 1.6 +9 -17 src/sys/sys/_timespec.h 1.47 +28 -43 src/sys/sys/stat.h 1.6 +2 -13 src/sys/sys/timespec.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003281319.o2SDJ3Gt060981>