diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-08-29 19:02:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-08-29 19:02:37 +0000 |
commit | 8408122222bda77347e46dedafc12abcd2b45e1e (patch) | |
tree | f2f29a1c3194f5da885334375813c858d9534894 /src/tools | |
parent | 91f83cfc2d380aa76fd049d13cf9fb097fecaab6 (diff) | |
download | tor-8408122222bda77347e46dedafc12abcd2b45e1e.tar tor-8408122222bda77347e46dedafc12abcd2b45e1e.tar.gz |
r14831@catbus: nickm | 2007-08-29 14:17:42 -0400
Refactor write_chunks_to_file_impl: break out the "pick a temporary name if it makes sense, and open the right filename" logic and the "close the file and unlink or rename if necessary" logic. This will let us write big files in a smarter way than "Build a big string" or "make a list of chunks", once we get around to using it.
svn:r11300
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions