[Top][All Lists]

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

Re: [Tinycc-devel] Tinycc-devel Digest, Vol 131, Issue 4

From: Jared Maddox
Subject: Re: [Tinycc-devel] Tinycc-devel Digest, Vol 131, Issue 4
Date: Wed, 5 Mar 2014 23:12:45 -0600

> Date: Wed, 05 Mar 2014 13:13:43 +0800
> From: z_axis <address@hidden>
> To: address@hidden
> Subject: [Tinycc-devel] please ignore execvl issure ...
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes

>                         execvp("xinit", (char *[]){"xinit", "clisp", NULL});

>From my memory of a post from a few days ago, you probably want
something like this instead:
    execvp( "xinit", (char **)({ const char *argument[] = { "xinit",
"clisp", NULL }; argument; }) );
Now, I've never used this extension, so I could be wrong, but I'm
mostly certain of this. Particularly the ({ }) bit: the enclosing
parentheses are liable to be absolutely required, the absence of them
is presumably where the error is coming from.

reply via email to

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