On Wed, Nov 28, 2012 at 4:16 PM, Glenn Fowler <[email protected]> wrote:

> > >
> > > can you send arch/*/src/lib/libast/FEATURE/spawn
> > >
>
> > $ cat arch/sol11.sun4/src/lib/libast/FEATURE/spawn
> > /* : : generated from
> > /root/tmp/ksh.2012-11-21/src/lib/libast/features/spawn by iffe version
> > 2012-08-24 : : */
> > #ifndef _def_spawn_ast
> > #define _def_spawn_ast  1
> > #define _sys_types      1       /* #include <sys/types.h> ok */
> > #define _hdr_spawn      1       /* #include <spawn.h> ok */
> > #define _hdr_unistd     1       /* #include <unistd.h> ok */
> > #define _hdr_stdlib     1       /* #include <stdlib.h> ok */
> > #define _lib_posix_spawn        2       /* posix_spawn exists and it
> works
> > and its worth using */
> > #endif
> > $
>
> try this
> edit src/lib/libast/misc/spawnvex.c and change
>         #if _lib_posix_spawn < 2
> to
>         #if _lib_posix_spawn < 99
> if this works then src/lib/libast/features/spawn is inadequate
>

It works on all 3 systems I tested. Thanks.
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to