public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
From: John Goerzen <jgoerzen@complete•org>
To: nncp-devel@lists.cypherpunks.ru
Subject: nncp-exec -use-tmp path
Date: Fri, 15 Jan 2021 14:42:43 -0600	[thread overview]
Message-ID: <87turiszi4.fsf@complete.org> (raw)

Hi Sergey,

Thanks again for all the work you're doing on NNCP.

I noticed an odd behavior with nncp-exec -use-tmp; it's creating a 
temporary file in /tmp instead of the spool directory like the 
other commands (especially nncp-file -) are doing (or at least are 
documented to be doing).  This resulted in a failure since my /tmp 
filled up once.

Anyhow, poking around in the code, I think that's due to to the 
call to ioutil.TempFile in src/tx.go instead of using NewTmpFile 
(defined in tmp.go).

Thanks!

- John

             reply	other threads:[~2021-01-15 20:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-15 20:42 John Goerzen [this message]
2021-01-15 21:18 ` nncp-exec -use-tmp path Sergey Matveev
2021-01-15 21:20   ` Sergey Matveev
2021-01-15 21:38     ` John Goerzen
2021-01-15 23:06       ` Sergey Matveev