Nick Mathewson
|
96a86ef14d
Remove maximum-size field from smartlists
|
20 years ago |
Nick Mathewson
|
abcf3d9341
Make smartlists start small and grow as needed.
|
20 years ago |
Nick Mathewson
|
b69f5f3e1b
Add an autoconf test for whether unaligned int access is permitted.
|
20 years ago |
Nick Mathewson
|
0d8feba6d8
Add macros and functions to wrap memcpy/alignment logic.
|
20 years ago |
Roger Dingledine
|
d10fcc89ec
make uname() more likely to work on solaris
|
20 years ago |
Nick Mathewson
|
b0ef4e1143
Use strmap code for client DNS.
|
20 years ago |
Nick Mathewson
|
9199696182
Add some wrappers around SPLAY_* for the common map-from-string-to-X case.
|
20 years ago |
Roger Dingledine
|
df3f37b84f
getpid returns a pid_t. we all know that's an int. but solaris doesn't know.
|
20 years ago |
Roger Dingledine
|
c195f69058
isspace and friends take an int. solaris cares.
|
20 years ago |
Roger Dingledine
|
7648c6c0ea
define INADDR_NONE so we compile on solaris
|
20 years ago |
Nick Mathewson
|
971b002d93
Include strlcpy and strlcat where not available, so our string ops can be less error-prone.
|
20 years ago |
Roger Dingledine
|
6a2821a7ff
fix a byte order bug
|
20 years ago |
Roger Dingledine
|
f55ff5b8d2
teach us to recognize internal IPs
|
20 years ago |
Roger Dingledine
|
45a3f6b97c
more pesky tabs
|
20 years ago |
Nick Mathewson
|
976bacae94
Make all the other read/writes into recv/sends, except when they shouldn't be.
|
20 years ago |
Nick Mathewson
|
0e5a134709
Fix DOS line endings; autoconfize checks for strptime and inet_aton
|
20 years ago |
Nick Mathewson
|
2da54de968
Make tor build on windows again. More work still needed
|
20 years ago |
Roger Dingledine
|
08346f13f0
make parse_line_from_file fail rather than warn for malformed lines
|
21 years ago |
Roger Dingledine
|
5cf0b6224b
bugfix: stop trying to write to a stderr that may not be there
|
21 years ago |
Roger Dingledine
|
f202d38191
patch from vicman to publish less platform information
|
21 years ago |
Nick Mathewson
|
cacacfe2b1
Integrate new daemon code, adapted from submission by christian grothoff
|
21 years ago |
Roger Dingledine
|
eb730c41c8
clean tabs, trailing whitespace
|
21 years ago |
Nick Mathewson
|
4885e90490
Make compile warning-free on cygwin
|
21 years ago |
Roger Dingledine
|
3465c4dee4
make it compile
|
21 years ago |
Roger Dingledine
|
f4cb5d8c93
extend smartlist with _remove() and _subtract()
|
21 years ago |
Roger Dingledine
|
444798dfb9
remove obsolete code
|
21 years ago |
Roger Dingledine
|
4d3d99fa0c
extend smartlist with a few smarter operations
|
21 years ago |
Roger Dingledine
|
5458ca39e8
minor tweaks to the smartlist operations
|
21 years ago |
Roger Dingledine
|
1ae84fcbc1
add a 'smartlist' building block that picks random elements from a list
|
21 years ago |
Nick Mathewson
|
ac552573dd
Make router/directory parsing nondestructive and more const-friendly
|
21 years ago |