Long temp filenames

Pavel Roskin proski at gnu.org
Fri Jun 8 16:49:38 UTC 2001


Hello, Pavel!

I often see filenames in the /tmp directory with long funny names like
"FIles tranferred over SHellG1kT98" (yes, with spaces but without quotes).

I understand they are created by calls to mc_mkstemps in direntry.c with
me->name as the second argument. Conversion to mc_mkstemps was quite
staightforward, so I believe those names could be created before my patch.

I suggest either using a fixed name like "vfstmp" in those two calls or
changing the names of the filesystems to short values with no spaces, i.e.
"fish", "mcfs" etc.

I just want to know what solution you prefer.

-- 
Regards,
Pavel Roskin





More information about the mc-devel mailing list