Nick Mathewson
|
de198d800b
Never call free() on tor_malloc()d memory. This is unlikely to be our current leak, but it may help dmalloc work.
|
19 years ago |
Nick Mathewson
|
26e7a05725
even better function start checks; give dmalloc a chance of working.
|
19 years ago |
Nick Mathewson
|
92451f74a8
Reformat inconsistent function declarations.
|
19 years ago |
Nick Mathewson
|
5c53545d81
Add a bunch more warnings to out warning suite; resolve them; pack structs a little better.
|
19 years ago |
Nick Mathewson
|
312af36126
Make smartlist_add_all more efficient.
|
19 years ago |
Nick Mathewson
|
d9bf9e48c0
Add documentation to a few functions in container.c; reformat function definitions
|
19 years ago |
Nick Mathewson
|
c1a6940e73
make compile slightly happier on const-zealous compilers
|
19 years ago |
Nick Mathewson
|
2689cb081b
We have so many special cases for smartlists of strings, why not add a sort function?
|
19 years ago |
Nick Mathewson
|
8d70ae01b8
Fix a memory leak in smartlist_string_remove.
|
19 years ago |
Nick Mathewson
|
035b1953eb
Add sorting/searching to smartlist
|
19 years ago |
Roger Dingledine
|
780261aa2e
don't crash now that LongLivedPorts can be null
|
19 years ago |
Nick Mathewson
|
18c11eb3bc
Be consistent about preferring foo* to struct foo*
|
19 years ago |
Roger Dingledine
|
8c657e4157
cosmetic fixes
|
19 years ago |
Roger Dingledine
|
bb97d7f4ea
slightly cleaner fix
|
19 years ago |
Roger Dingledine
|
893652da84
bugfixes: smartlist_join_strings2() was underflowing a size_t
|
19 years ago |
Roger Dingledine
|
fcd0fc3364
flesh out the source file descriptions for doxygen
|
19 years ago |
Nick Mathewson
|
0831823763
Change end-of-file NLNL convention. It turns out arma I and I agree.
|
19 years ago |
Nick Mathewson
|
a6f51001a5
New whitespace normalization rule: no blank line at EOF.
|
19 years ago |
Nick Mathewson
|
7bf443e985
I hear the smart kinds compile before committing. Then they never miss parens
|
19 years ago |
Nick Mathewson
|
f696fd98bf
Make smartlist_string_remove consistent with smartlist_string
|
19 years ago |
Nick Mathewson
|
ff545c3103
Add useful smartlist_string_remove function.
|
19 years ago |
Nick Mathewson
|
0e81265359
update copyright notices.
|
19 years ago |
Roger Dingledine
|
248867caf5
bugfix: make smartlist_join_strings2 actually use the separator/terminator
|
19 years ago |
Nick Mathewson
|
0a2be3c9d8
Fix strmap_free to release memory actually held by the strmap.
|
20 years ago |
Roger Dingledine
|
b5bddd8cfd
bugfix: actually use the argument to strmap_free()
|
20 years ago |
Roger Dingledine
|
596d65ec3b
avoid case (not yet triggered) where smartlists could grow out
|
20 years ago |
Roger Dingledine
|
c53c7a0b4c
clarify what smartlist_remove promises, since we rely on it.
|
20 years ago |
Roger Dingledine
|
51f47d746e
clean up smartlist_string_isin so callers don't have to manage bufs
|
20 years ago |
Nick Mathewson
|
bbc10c2ea1
Make split(..., NULL) split on horizontal space; fix bug with tabs in config file.
|
20 years ago |
Nick Mathewson
|
fe6eb34a10
Solaris CC freaks out if isspace and friends get anything other than an int. We learned that, so we casted. But it is also a bad idea to cast a signed char to an int and expect things to work on win32. Now we cast to unsigned char, then to int, then pass to isspace. Ug
|
20 years ago |