tech-userlevel archive

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

Re: libcodecs(3), take 4



On Sat, Oct 09, 2010 at 11:55:07PM -0400, Thor Lancelot Simon wrote:
> On Sat, Oct 09, 2010 at 10:20:18PM -0400, der Mouse wrote:
> >
> > tweaks.)  Admittedly, base64 comes from /local rather than the base
> > system, but so what?  Putting a base64 command-line tool into base is a
> > mostly orthogonal issue.  For command-line use I prefer separate
> 
>       uudecode -m!

And from library context? (which is where I need it most these days).

I suppose we can take the gpgme approach, and do the moral equivalent
of:

        fd = mkstemp(temp);
        write(temp)
        system("uudecode -m temp > temp2")
        read(temp2);
        close(fd);
        unlink(temp);
        unlink(temp2)
        

Best,
Alistair


Home | Main Index | Thread Index | Old Index