Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/include



On Tue, 01 Apr 2008, Matthias Drochner wrote:
> Modified Files:
>       src/include: stdlib.h time.h unistd.h wordexp.h
> 
> Log Message:
> everyone else assumes that defining "_XOPEN_SOURCE" means XPG4.2,
> so remove comparisions against the numerical values "3" or "4"

Is this really a good idea?  I'd prefer NetBSD to follow a strict
interpretation of the relevant standards.  Broken applications can
easily change from

        #define _XOPEN_SOURCE

to

        #define _XOPEN_SOURCE 600

(or adding "-D_NETBSD_SOURCE" to the compiler flags, or whatever).

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index