On czwartek 16 grudzieÅ 2004 11:59 am, Angus Leeming wrote: > Given a file name "C:/foo/bar", I believe that the name of the temporary > file should be "C__foo_bar". Ie, the drive name should be included in the > mangling. Ruurd was addressing this idea in his patch, but he simply > removed the drive prefix from the mangled name.
[...] I vaguely recall this idea being raised at one point or another, but can't the temporary file names be simply generated from some kind of a unique global counter, maybe merged with PID? Say if PID is 16940, you'd get 16940_0000.tmp, ..., 16940_000a.tmp and so on? That would preclude any need for mangling. But I presume there must be some other reason for mangling? I'm just trying to understand. Cheers, Kuba Ober