Hi,

> > > I get this:
> > 
> > Thanks for the report, I found a place space wasn't properly handled in 
> > cowdancer.
> 
> Hmm, just looked at the source code and saw where the problem is.
> Shouldn't you be using the exec*() family of functions instead of
> system()?
> 
> This way you don't have to worry about incorrect quoting and so on,
> since the arguments/environment/etc are passed directly to the program
> instead of going through a shell. IIRC, I noticed the same in that
> cowbuilder program you once wrote.

I now locally have a version that uses exec, it passes most of the
tests but not the memory-leak test.  either it's mtrace confused, or
there's some memory leak I really introduced.

regards,
        junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to