[tor-bugs] #31336 [Core Tor/Tor]: Fix usage for add_c_file.py
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Sep 16 20:45:08 UTC 2019
#31336: Fix usage for add_c_file.py
-------------------------------------------------+-------------------------
Reporter: teor | Owner: (none)
Type: defect | Status:
| needs_review
Priority: Medium | Milestone: Tor:
| 0.4.2.x-final
Component: Core Tor/Tor | Version: Tor:
| 0.4.1.2-alpha
Severity: Normal | Resolution:
Keywords: 043-should, network-team-roadmap- | Actual Points:
september |
Parent ID: #29217 | Points: 0.1
Reviewer: | Sponsor:
| Sponsor31-can
-------------------------------------------------+-------------------------
Changes (by Jigsaw52):
* status: new => needs_review
Comment:
I've created a patch that fixes this by using os.path.relpath to get the
path relative to ./src.
Both ./src/foo.c and src/foo.c are supported.
Pull request here: https://github.com/torproject/tor/pull/1329
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31336#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list