Gary Stampa

Unregistered less info
6 reputation
1
bio website
location
age
visits member for 2 years, 3 months
seen May 5 '12 at 14:21

Jun
26
awarded  Student
Apr
15
comment Does 7zip extract to a temporary file and then rename the temporary to the actual target?
I did the same thing but was unable to determine if the original filename was truncated and growing a buffer at a time or whether it was unpacked to a temp and then moved/renamed to the target. The latter seems like better programming practice - in the event the unpack fails at least it wouldn't have destroyed a perfectly good file.
Apr
15
comment Does 7zip extract to a temporary file and then rename the temporary to the actual target?
I was hunting throughout the 7zip docs and elsewhere trying to see if it was the practice of the program to make a temp then rename to target. Even if it does it today, it may not tomorrow if they make code changes. I'm going through the source code now.
Apr
14
asked Does 7zip extract to a temporary file and then rename the temporary to the actual target?