| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Audit non-const char arguments; make a lot more of them const.
svn:r9466
|
|
|
|
|
|
|
| |
Add string.h include to compat.h so that strlcpy() and strlcat() will always be defined after including compat.h. This should resolve warnings on centos.
svn:r8824
|
|
|
|
|
|
|
| |
Add unit tests for tor_mmap_file(); make tor_mmap_t.size always be the size of the file (not the size of the mapping); add an extra argument to read_file_to_str() so it can return the size of the result string.
svn:r8762
|
|
|
|
| |
svn:r8427
|
|
|
|
|
|
|
| |
Fix spaces; restore support for mapping files over 4GB on win32 (?)
svn:r8326
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- made configure link to required system dll's if building for win32
- added diffs for libevent 1.1b
- forced user to turn off eventdns if win32 is set
- cleaned up tor_mmap_file()_win32 (not sure if it's stable)
- cleaned up some warnings and typos
svn:r8322
|
|
|
|
|
|
|
| |
Fix bug 327 (part 2): Cast char to unsigned char before passing to toupper/tolower. (Follow the same idiom as with isupper and friends, in case we run into the same problem on SGI or whereever it was.)
svn:r8310
|
|
|
|
|
|
|
| |
Fix bug 327 (part 1): Use correct macro to test for GCC 3 or later.
svn:r8309
|
|
|
|
|
|
|
| |
Fix compilation on GCC2 by disabling fun attributes unless __GNUC_MAJOR__ >= 3.
svn:r8303
|
|
|
|
|
|
|
| |
Aw, crap. Non-gcc bug. We need regular windows builds.
svn:r8259
|
|
|
|
|
|
|
| |
And another GCC change: predict that tor_frees() are usually real frees, and tor_asserts() usually wont happen. Other test should wait till -fprofile-arcs
svn:r7022
|
|
|
|
|
|
|
| |
Add more warnings to the list of those we tolerate. Start using GCC attributes more, for better error checking and better code generation.
svn:r7020
|
|
|
|
|
|
|
| |
Remove now-spurious size and data arguments from tor_mmap_file
svn:r6987
|
|
|
|
|
|
|
| |
Make data and size fields visible in tor_mmap_t; hide win magic differently.
svn:r6986
|
|
|
|
|
|
|
| |
Add an "mmap handle" type to encapsulate bookkeeping elements of mmap issues; add prelim win32 impl
svn:r6980
|
|
|
|
|
|
|
| |
Add isupper and islower wrappers to compat.h
svn:r6957
|
|
|
|
| |
svn:r6802
|
|
|
|
|
|
| |
and double, and needs more persuasion than usual to cast one to the other. Issue identified by Frediano Ziglio; patch revised for minimal impact on non-MSVC6 compilers.
svn:r6768
|
|
|
|
| |
svn:r6710
|
|
|
|
|
|
|
| |
what we really mean now is ">= 0", which is clearer to test for.
svn:r6543
|
|
|
|
|
|
| |
rather than on MS_WINDOWS, so that mingw builds.
svn:r6523
|
|
|
|
|
|
| |
instead. Based on code from Michael Mohr.
svn:r6510
|
|
|
|
|
|
| |
often way way slower than doing the right thing. Backport candidate.
svn:r6473
|
|
|
|
| |
svn:r6173
|
|
|
|
|
|
| |
use autoconf. Also, prefer __func__ in our own code: __func__ is a C99 standard, whereas __FUNCTION__ is not. [Fixes bug 254.]
svn:r6144
|
|
|
|
| |
svn:r5949
|
|
|
|
| |
svn:r5899
|
|
|
|
|
|
| |
intended.
svn:r5582
|
|
|
|
| |
svn:r5522
|
|
|
|
|
|
| |
domain. Domains are now bitmasks... just in case. Make some err msgs non-general.
svn:r5309
|
|
|
|
| |
svn:r5208
|
|
|
|
| |
svn:r5067
|
|
|
|
| |
svn:r4981
|
|
|
|
|
|
| |
reported Solaris x86 warnings.
svn:r4770
|
|
|
|
| |
svn:r4643
|
|
|
|
| |
svn:r4642
|
|
|
|
| |
svn:r4452
|
|
|
|
| |
svn:r4382
|
|
|
|
| |
svn:r4187
|
|
|
|
| |
svn:r4184
|
|
|
|
| |
svn:r3982
|
|
|
|
| |
svn:r3758
|
|
|
|
| |
svn:r3757
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Mapaddress
- Postdescriptor
- GetInfo on descriptors
Required changes elsewhere:
- Keep the most recent running_routers_t in the routerlist_t. That way we
can learn about new routers and remember whether we were last told that
they were up or down. Also enables more simplifications.
- Keep the signed descriptor inside routerinfo_t. This makes
descriptor_entry_t in dirservers.c unneeded.
- Rename AddressMap (the verb) to MapAddress. Keep AddressMap as a noun.
- Check addresses for plausibility before mapping them.
svn:r3696
|
|
|
|
|
|
|
|
| |
go, but not past MAXCONNECTIONS. Also throw away the FAKE_POLL
caveats since 0.1.0 doesn't need it any more.
svn:r3657
|
|
|
|
|
|
| |
Use mutexes to fake _r where necessary. Make mutexes no-ops where no threading is enabled.
svn:r3653
|
|
|
|
|
|
| |
race conditions surrounding the error queue.
svn:r3622
|
|
|
|
| |
svn:r3517
|
|
|
|
| |
svn:r3439
|
|
|
|
| |
svn:r3410
|