[#]
http://marc.info/?l=openbsd-cvs&m=140874874218566&w=2
openbsd-cvs(obsdave,2) — All
2014-08-23 03:55:06
Module name: src
Changes by: krw@cvs.openbsd.org 2014/08/22 17:05:15
Modified files:
lib/libc/sys : stat.2
sys/sys : _types.h stat.h types.h
Log message:
POSIX/FreeBSD/NetBSD/Linux/etc agree -- blk[size|cnt]_t is the bomb.
So add the types blksize_t (a.k.a. int32_t) and blkcnt_t (a.k.a.
int64_t). Use blkcnt_t in stat.h since the base type (int64_t) does
not change. blksize_t in stat.h will follow after the tree is audited
for signed issues, since the base type will change from u_int32_t
to a POSIX compliant int32_t.
Guidance and feedback from guenther@
ok millert@