svn commit: r227487 - head/include

Stefan Farfeleder stefanf at FreeBSD.org
Mon Nov 14 08:21:35 UTC 2011


On Sun, Nov 13, 2011 at 04:18:48PM +0000, David Chisnall wrote:
> Author: theraven
> Date: Sun Nov 13 16:18:48 2011
> New Revision: 227487
> URL: http://svn.freebsd.org/changeset/base/227487
> 
> Log:
>   The spec says that FILE must be defined in wchar.h, but it wasn't.  It
>   is now.  Also hide some macros in C++ mode that will break C++
>   namespaced calls.
>   
>   Approved by:	dim (mentor)

I think this change is wrong. Whic spec are you referring to? C99
defines FILE only in 7.19.1#2 (stdio.h). In other headers FILE is used
as parameter type for functions but that does not mean it is exported to
user space.

Stefan


More information about the svn-src-head mailing list