On Apr 18,  3:24pm, m...@eterna.com.au (matthew green) wrote:
-- Subject: re: CVS commit: src/usr.bin/xlint/lint1

| 
| "Christos Zoulas" writes:
| > Module Name:        src
| > Committed By:       christos
| > Date:               Fri Apr 18 02:17:14 UTC 2014
| > 
| > Modified Files:
| >     src/usr.bin/xlint/lint1: main1.c
| > 
| > Log Message:
| > don't include fmemopen in tools builds. Since tools does not define
| > _NETBSD_SOURCE, we don't get the fmemopen prototype
| 
| hmm.... is that because we define _SOMEOTHER_SOURCE?
| 
| _NETBSD_SOURCE should be defined normally, unless you start to ask
| for restricted namespaces...

Yes, I think we define _POSIX_SOURCE. fmemopen is problematic because
it uses funopen() which cannot be easily implemented with 3rd party
stdio.

christos

Reply via email to