bug-gnulib
[Top][All Lists]
Advanced

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

Re: Minix support, part 1


From: Thomas Cort
Subject: Re: Minix support, part 1
Date: Sun, 31 Jul 2011 18:03:31 -0400

Hello Bruno,

I'm just getting your e-mails now. I haven't read through them completely yet,

On Sun, Jul 31, 2011 at 10:39 AM, Bruno Haible <address@hidden> wrote:
> Thomas Cort wrote:
>> I've been working on pkgsrc for the Minix project and we've been
>> patching lib/spawni.c in several packages (bison, gettext, m4, ...)
>> because Minix lacks setpgid(). I lack the autotools and gnulib
>> knowledge to patch & test gnulib itself, but in general the fix would
>> involve adding a check for setpgid() and ifdef'ing out the part of
>> spawni.c that sets the process group id. So, something like this...
>>
>> m4/posix_spawn.m4?:
>> AC_CHECK_FUNCS([setpgid])
>>
>> lib/spawni.c:
>> #ifdef HAVE_SETPGID
>>    /* Set the process group ID.  */
>>    if ((flags & POSIX_SPAWN_SETPGROUP) != 0
>>        && setpgid (0, attrp->_pgrp) != 0)
>>      _exit (SPAWN_ERROR);
>> #endif
>
> Thanks for the suggestion. But that's only one small piece of support of
> Minix in gnulib. If one wants to go for it seriously, the first step is
> to update the documentation, and the second step is to make gnulib-tool
> generated testdirs compile fine.
>
>
> For the first step, I've updated the platforms x symbols matrix at
>  http://www.haible.de/bruno/gnu/various-symlists.tar.gz
> and added documentation:
>
>
> 2011-07-31  Bruno Haible  <address@hidden>
>
>        Documentation about Minix.
>        * doc/posix-headers/*.texi: Add info about Minix 3.1.8.
>        * doc/glibc-headers/*.texi: Likewise.
>        * doc/posix-functions/*.texi: Likewise.
>        * doc/glibc-functions/*.texi: Likewise.
>
> [patch moved to an attachment, due to its size]
> --
> In memoriam Jean Jaurès <http://en.wikipedia.org/wiki/Jean_Jaurès>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]