<<< Date Index >>>     <<< Thread Index >>>

Re: mutt_adv_mktemp() ?



=- Rocco Rutte wrote on Wed  4.Oct'06 at  7:45:34 +0000 -=

> >I don't have nametemplate in the mailcap file:
>
> It's bad coinsidence that '.z' in the random part can by
> considered an extension by humans (or machines). I'm not sure,
> but a wild guess is that elinks thinks by '.z' 'extension' it's
> a compressed file which isn't true in this case... Using the
> nametemplate should be fine.

If your app can read data from STDIN (as the err-msg seems to
indicate), drop %s altogether and let it read from STDIN instead
(see wiki-faq lynx-example). This saves you from potential
conflicts and extra tmp-files.

-- 
© Rado S. -- You must provide YOUR effort for your goal!
Even if it seems insignificant, in fact EVERY effort counts
for a shared task, at least to show your deserving attitude.