bug-gnulib
[Top][All Lists]
Advanced

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

Minix support, part 1


From: Bruno Haible
Subject: Minix support, part 1
Date: Sun, 31 Jul 2011 16:39:49 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

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>

Attachment: minix-doc.diff.bz2
Description: application/bzip


reply via email to

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