Opened 6 years ago

Closed 6 years ago

#12474 closed defect (fixed)

tor- and git/HEAD fail to build tests when --enable-bufferevents

Reported by: blueness Owned by:
Priority: Medium Milestone: Tor: 0.2.5.x-final
Component: Core Tor/Tor Version: Tor:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Currently tor fails to build its test when enabled with bufferevents
because an #ifndef USE_BUFFEREVENTS hides bucket_millis_empty() and
friends. This is fine if we don't run tests, but if we do, we need
these functions in src/or/libtor-testing.a when linking src/test/test.

This patch moves the functions outside the #ifndef and exposes them.

See downstream bug:

Child Tickets

Attachments (1)

0001-src-or-connection.c-expose-bucket_millis_empty-for-b.patch (4.5 KB) - added by blueness 6 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 Changed 6 years ago by nickm

Resolution: fixed
Status: newclosed

Applied; thanks!

Note: See TracTickets for help on using tickets.