Opened 5 years ago

Closed 5 years ago

#12474 closed defect (fixed)

tor-0.2.5.5-alpha 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: 0.2.5.5-alpha
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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:

https://bugs.gentoo.org/show_bug.cgi?id=510124

Child Tickets

Attachments (1)

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

Download all attachments as: .zip

Change History (2)

comment:1 Changed 5 years ago by nickm

Resolution: fixed
Status: newclosed

Applied; thanks!

Note: See TracTickets for help on using tickets.