Re: [Chicken-users] easyffi virtual=0 methods

2007-03-14 Thread felix winkelmann
On 3/12/07, Carlos Pita <[EMAIL PROTECTED]> wrote: Specifically, the problematic line is: ScmStkFrames( unsigned int nFrames, unsigned int nChannels, bool interleaved ) : StkFrames(nFrames, nChannels, interleaved) {} And the reported error is: Error: during expansion of (foreign-parse ...) -

Re: [Chicken-users] automatic egg update

2007-03-14 Thread felix winkelmann
On 3/14/07, Ivan Raikov <[EMAIL PROTECTED]> wrote: "felix winkelmann" <[EMAIL PROTECTED]> writes: > > - To wrap up eggs that refer to .html files in the .meta description, the html > must exist. For eggdoc based documentation, this has to be done manually, > so the html files should be checke

Re: [Chicken-users] Return value of `system'

2007-03-14 Thread felix winkelmann
On 3/15/07, Zbigniew <[EMAIL PROTECTED]> wrote: To answer Mario's question, the result returned from system() is either the exit status or the signal number on any modern UNIX machine; this is the same as described in process-wait. It also returns 127 upon shell execution failure (I tested thi

Re: [Chicken-users] Return value of `system'

2007-03-14 Thread Zbigniew
I appreciate your insight, but please, please do not cripple (system) any further by making the return value a boolean--it reduces its utility immensely. 'process' is not always a good substitute [and has the same signal/exit code conflation issue]. And 'osprocess' is just far too heavy for what

Re: [Chicken-users] Return value of `system'

2007-03-14 Thread Kon Lovett
On Mar 14, 2007, at 6:33 PM, Zbigniew wrote: On 3/14/07, Kon Lovett <[EMAIL PROTECTED]> wrote: Zbigniew wrote: > Exit values should be distinguishable from signals (and even from > signals+core dumps). return C_fix(WIFEXITED(n) ? WEXITSTATUS(n) : (WIFSIGNALED(n) ? WTERMSIG(n) : WSTOPSIG(n

Re: [Chicken-users] Return value of `system'

2007-03-14 Thread Zbigniew
On 3/14/07, Kon Lovett <[EMAIL PROTECTED]> wrote: Zbigniew wrote: > Exit values should be distinguishable from signals (and even from > signals+core dumps). return C_fix(WIFEXITED(n) ? WEXITSTATUS(n) : (WIFSIGNALED(n) ? WTERMSIG(n) : WSTOPSIG(n))); I don't always talk thru my hat ;-) D

Re: [Chicken-users] Return value of `system'

2007-03-14 Thread Kon Lovett
On Mar 14, 2007, at 2:55 PM, Zbigniew wrote: Exit values should be distinguishable from signals (and even from signals+core dumps). Either use the C macros, or assume bits 15-8 are the exit return code, bit 7 is the core dump, and bits 6-0 are the signal number (with 127 being shell exec failur

Re: [Chicken-users] Return value of `system'

2007-03-14 Thread Zbigniew
Exit values should be distinguishable from signals (and even from signals+core dumps). Either use the C macros, or assume bits 15-8 are the exit return code, bit 7 is the core dump, and bits 6-0 are the signal number (with 127 being shell exec failure). It's the same as in Perl unless Chicken do

Re: [Chicken-users] Return value of `system'

2007-03-14 Thread Kon Lovett
On Mar 14, 2007, at 11:48 AM, Alex Queiroz wrote: Hallo, On 14 Mar 2007 15:38:46 -0300, Mario Domenech Goulart <[EMAIL PROTECTED]> wrote: Is the return value one of the functionalities which depend on the capabilities of the host shell? Or the documentation should mention that the return val

Re: [Chicken-users] Return value of `system'

2007-03-14 Thread Alex Queiroz
Hallo, On 14 Mar 2007 15:38:46 -0300, Mario Domenech Goulart <[EMAIL PROTECTED]> wrote: Is the return value one of the functionalities which depend on the capabilities of the host shell? Or the documentation should mention that the return value of `system' corresponds to the exit status of the

[Chicken-users] Return value of `system'

2007-03-14 Thread Mario Domenech Goulart
Hi folks, On the systems I've tried (GNU/Linux), `system' returns the exit status of the process it runs. The documentation says: ,[ http://chicken.wiki.br/Unit%20library#system ] | [procedure] (system STRING) | | Execute shell command. The functionality offered by this procedure | depends

Re: [Chicken-users] how do i set interface for tcp client socket etc.

2007-03-14 Thread John Cowan
felix winkelmann scripsit: > >I want to set it so the tcp client will use for example IP addy > >192.168.1.2 > >Also is the way to do same thing for http and xml-rpc client module ? > > Sorry, John - I must admit that I can't quite follow. Do you mean you > want to connect as a TCP client the th

Re: [Chicken-users] automatic egg update

2007-03-14 Thread Ivan Raikov
"felix winkelmann" <[EMAIL PROTECTED]> writes: > > - To wrap up eggs that refer to .html files in the .meta description, the html > must exist. For eggdoc based documentation, this has to be done manually, > so the html files should be checked inti the repository. > Is there no way to pro

Re: [Chicken-users] how do i set interface for tcp client socket etc.

2007-03-14 Thread felix winkelmann
On 3/14/07, John Janecek <[EMAIL PROTECTED]> wrote: I have a linux box. It have many network sockets ie 192.168.1.1 192.168.1.2 etc I want to set it so the tcp client will use for example IP addy 192.168.1.2 etc Also is the way to do same thing for http and xml-rpc client module ? Sorry, Joh

Re: [Chicken-users] automatic egg update

2007-03-14 Thread Mario Domenech Goulart
Hi folks, On Wed, 14 Mar 2007 08:58:06 +0100 "felix winkelmann" <[EMAIL PROTECTED]> wrote: > Mario and I have now activated automatic updating of eggs from the > SVN chicken-eggs repository. So far it seems to work ok and it currently > checks hourly for updates to the repo and wraps up and uploa