"Cannot create temporary command file" error
Dmitry Semyonov
Dmitry.Semyonov at oktet.ru
Tue May 20 14:20:14 UTC 2003
Hello Adam.
On Tue, 20 May 2003, Adam Byrtek / alpha wrote:
> On Mon, May 19, 2003 at 11:19:51AM +0400, Dmitry Semyonov wrote:
> > Why not to check the /tmp/mc-$USER folder existence, and try to create
> > it first before showing the error?
>
> See patch in BTS:
> https://savannah.gnu.org/patch/?func=detailpatch&patch_id=1299&group_id=3521
The following note I've sent to Jindrich also applies to your patch:
-----
mc_tmpdir() function you are patching has the following comment:
* The first call should be done early, since we are using fprintf()
* and not message() to report possible problems.
So, in our case, a user will see some garbage on the screen if the mc-*
directory does not exist and can not be created.
-----
Therefore, I personally like the latest patch from Jindrich more.
...Bye..Dmitry.
More information about the mc-devel
mailing list