cvs commit: src/include stdio.h src/sys/sys unistd.h
Andrey Chernov
ache at FreeBSD.org
Sat Apr 7 16:40:24 UTC 2007
On Sat, Apr 07, 2007 at 04:02:31PM +0000, Pawel Jakub Dawidek wrote:
> - Only define SEEK_DATA and SEEK_HOLE in sys/unistd.h when neither
> _POSIX_SOURCE nor _XOPEN_SOURCE is defined.
1) This new addition should be exluded for !define(_C99_SOURCE)
!define(_ANSI_SOURCE) !define(_POSIX_C_SOURCE) too.
2) We design our *_VISIBLE framework right for the reason to not mention
all possible *_SOURCE each time like this, making includes unnecessary big
and hard to adapt to the future *_SOURCE tags, but mention one *_VISIBLE
tag instead, so please rewrite this thing using it.
--
http://ache.pp.ru/
More information about the cvs-all
mailing list