[PATCH] Fix includes for file-utilities to use time.h

Garrett Cooper yanegomi at gmail.com
Sat Jan 22 09:39:44 UTC 2011


Hi,
    Many of the fs-related utilities appear to include sys/time.h
instead of time.h . This is incorrect as per the manpages for the APIs
and the POSIX definitions. The attached patch replaces sys/time.h
where necessary with time.h and some minor style(9) header fixup is
included in sbin/newfs/mkfs.c only.
    The work is part of a larger effort I started in
//depot/user/gcooper/posix-conformance-work/ -- to make FreeBSD more
POSIX compliant.
    If someone could please commit the following patch it would be
much appreciated!
Thanks!
-Garrett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-missing-file-utilities-time-h-includes.patch
Type: text/x-patch
Size: 9269 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20110122/d9384b00/add-missing-file-utilities-time-h-includes.bin


More information about the freebsd-fs mailing list