Markus Neteler wrote:
> > Markus Neteler wrote:
> >
> >> On Mon, Jan 25, 2010 at 1:20 PM, <[email protected]> wrote:
> >> > Author: glynn
> >> > Date: 2010-01-25 07:20:13 -0500 (Mon, 25 Jan 2010)
> >> > New Revision: 40647
> >> >
> >> ...
> >> > grass/trunk/include/spawn.h
> >> ...
> >> > grass/trunk/lib/gis/spawn.c
> >
> >> should I backport above changes?
> >
> > Yes. They provide consistency between Unix and Windows.
>
> Done so for lib/gis/spawn.c. Apparently include/spawn.h is
> not needed (I take your 6.5's backport as gold standard).
spawn.h needs <unistd.h> for the STD{IN,OUT,ERR}_FILENO constants.
This hasn't shown up before as modules often end up pulling in
<unistd.h> anyhow, but this is non-portable (e.g. including some other
header may end up including <unistd.h> on some platforms but not on
others).
--
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev