Long temp filenames



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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]