[haiku-commits] Re: haiku: hrev49042 - headers/compatibility/bsd headers/compatibility/bsd/sys src src/add-ons/kernel/bus_managers/firewire src/bin/network
- From: François Revol <revol@xxxxxxx>
- To: haiku-commits@xxxxxxxxxxxxx
- Date: Mon, 20 Apr 2015 22:32:45 +0200
On 16/04/2015 07:33, pulkomandy@xxxxxxxxxxxxx wrote:
hrev49042 adds 1 changeset to branch 'master'
old head: e2ceb857d481debc44bcf48dece65142138cf61e
new head: 091a80aeed690e629167ea9e5603f51d950e49b8
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=091a80aeed69+%5Ee2ceb857d481
----------------------------------------------------------------------------
091a80aeed69: Protect all BSD extensions with _BSD_SOURCE
* Do not define the symbols by default, as they are not in the default
libraries.
* Adjust jamfiles of all code using BSD extensions to define
_BSD_SOURCE.
* This makes Haiku slightly more compliant to standard C/POSIX.
Btw, this seems to be what's breaking bootstrap now on PPC after I fixed
the rest:
when bootstrapping m4:
spawni.c: In function 'script_execute':
spawni.c:122:28: error: '_PATH_BSHELL' undeclared (first use in this
function)
new_argv[0] = (char *) _PATH_BSHELL;
^
headers/compatibility/bsd/paths.h | 8 ++++++++
It seems glibc also has paths.h around, although it's not documented in
the manpages in linux.
http://osxr.org/glibc/ident?v=glibc-2.14&_i=_PATH_BSHELL
So, should I fix the m4 recipe or should I move _PATH_BSHELL out of the
#ifdef ?
François.
François.
Other related posts: