POV-Ray : Newsgroups : povray.unix : [beta] source distribution of POV-Ray 3.6 for UNIX : Re: [beta] source distribution of POV-Ray 3.6 for UNIX Server Time
5 Jul 2024 13:42:17 EDT (-0400)
  Re: [beta] source distribution of POV-Ray 3.6 for UNIX  
From: Thorsten Froehlich
Date: 3 Jul 2004 12:07:34
Message: <40e6d9c6@news.povray.org>
In article <40e6c587@news.povray.org> , Wolfgang Wieser <wwi### [at] gmxde>  
wrote:

> FreeBSD (as e.g. also used inside a Mac computer) is most likely
> such a system!
>
> me@x86-freebsd1# sh -c "exit 2000" ; echo $?
> 208
> ...whic is the LSByte of 2000.
>
> And there are others, too.

No, it is most likely just the shell that is broken (given the source of the
shells in most free Unix distributions, this is hardly surprising).  Try
something like

#include <stdlib.h>
#include <stdio.h>
int main(int ac, char **av)
{
    printf("Result: %d\n", system(av[1]));
    return 0;
}

This should work and demonstrate that the system works correctly and only
the shell is broken.  Then file a bug report at the appropriate place.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.