[tor-bugs] #4282 [Tor]: Extract common "make private stats dir" code from rephist.c, geoip.c
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Jan 27 15:24:36 UTC 2013
#4282: Extract common "make private stats dir" code from rephist.c, geoip.c
----------------------------------------+-----------------------------------
Reporter: nickm | Owner:
Type: defect | Status: needs_review
Priority: normal | Milestone: Tor: unspecified
Component: Tor | Version:
Keywords: easy refactoring tor-relay | Parent:
Points: | Actualpoints:
----------------------------------------+-----------------------------------
Changes (by piet):
* status: new => needs_review
Comment:
I added two new methods check_or_create_data_subdir() and
write_to_data_subdir() to config.c and used them throughout rephist.c and
geoip.c. Not sure config.c is the right place, though?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4282#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list