- Jul 16, 2014
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
(Windows doesn't have ftruncate, and some ftruncates do not move the file pointer to the start of the file.)
-
* Issue #5583
-
Nick Mathewson authored
- Don't try to rm -rf the directory before we start: somebody might have set it to ~, which would be quite sad. - Always quote the directory name - Use 'make reset-gcov' before running tests. - Use 'make check', not ./src/test/test
-
Adds a note about using `make coverage-html` to generate coverage reports. Signed-off-by:
Kevin Murray <spam@kdmurray.id.au>
-
This uses lcov to generate a nice HTML report of test code coverage, including branch coverage. Signed-off-by:
Kevin Murray <spam@kdmurray.id.au>
-
Nick Mathewson authored
The extra \ is harmless, but mildly unpleasant. Fixes 12392; bugfix on 0.2.2.25-alpha where we started using GetTempDir(). Based on a patch by Gisle Vanem.
-
Nick Mathewson authored
Otherwise, it always seems as though our Exclude* options have changed, since we're comparing modified to unmodified values. Patch from qwerty1. Fixes bug 9801. Bugfix on 0.2.4.10-alpha, where GeoIPExcludeUnknown was introduced.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
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
-
When building with bufferevents enabled, configure.ac throws an error if "$ac_cv_header_event2_bufferevent_ssl_h" is not set to "yes". However, nowhere was AC_CHECK_HEADERS(event2/bufferevent_ssl.h) done. This commit adds the check.
-
Nick Mathewson authored
-
Nick Mathewson authored
When we run into bug 8387 (if we run into it again), report when we last called circuit_expire_old_circuits_clientside(). This will let us know -- if my fix for 8387 doesn't work -- whether my diagnosis was at least correct. Suggested by Andrea.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
On a non-blocking pipe fgets sets EAGAIN when it encounters partial lines. No error is set on full lines or EOF. EOF is reached when the writing end of the pipe is closed. Partial lines and full lines are both returned by fgets, EOF results in NULL. Mention of this behaviour can be found in #1903 and #2045.
-
- Jul 09, 2014
-
-
Nick Mathewson authored
fixes bug 8387; fix on 0.1.1.11-alpha (code), or on 0.2.4.10-alpha (behavior).
-
George Kadianakis authored
-
Nick Mathewson authored
Fix for 12512.
-
- Jun 24, 2014
-
-
George Kadianakis authored
-
George Kadianakis authored
-
* Trac #11452
-
- Jun 21, 2014
-
-
Roger Dingledine authored
-
- Jun 20, 2014
-
-
Nick Mathewson authored
Long ago we supported systems where there was no support for threads, or where the threading library was broken. We shouldn't have do that any more: on every OS that matters, threads exist, and the OS supports running threads across multiple CPUs. This resolves tickets 9495 and 12439. It's a prerequisite to making our workqueue code work better, since sensible workqueue implementations don't split across multiple processes.
-
Nick Mathewson authored
As far as I know, nobody has used this in ages. It would be a pretty big surprise if it had worked. Closes ticket 11446.
-
Nick Mathewson authored
(Whoops, thought I had committed this before) Improvement to 11683 fix. Based on patch from Karsten.
-
- Jun 19, 2014
-
-
Nick Mathewson authored
-
- Jun 18, 2014
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Jun 16, 2014
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-