[tor-bugs] #1376 [Tor]: router_rebuild_store() uses a needless tmp file

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 11 12:06:53 UTC 2014


#1376: router_rebuild_store() uses a needless tmp file
-------------------------+--------------------------------
     Reporter:  nickm    |      Owner:  pranavrc
         Type:  defect   |     Status:  closed
     Priority:  trivial  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor      |    Version:  Tor: 0.2.2.35
   Resolution:  fixed    |   Keywords:  easy tor-client
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+--------------------------------

Comment (by arma):

 Is this a fair description of the result of the ticket?
 {{{
 diff --git a/changes/bug1376 b/changes/bug1376
 index bee42a3..531a68e 100644
 --- a/changes/bug1376
 +++ b/changes/bug1376
 @@ -1,4 +1,3 @@
 -  o Minor bugfixes:
 -
 -    - Added additional argument to write_chunks_to_file to optionally
 skip
 -      using a temp file to do non-atomic writes. Implements ticket #1376.
 +  o Code simplification and refactoring:
 +    - Previously we used two temporary files when writing descriptors to
 +      disk; now we only use one. Implements ticket 1376.
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1376#comment:17>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list