Roger Dingledine
|
185f047450
prevent integer underflow
|
20 years ago |
Roger Dingledine
|
22727b4edc
wrong is ok, and right is fine, but in between is apparently
|
20 years ago |
Nick Mathewson
|
6f5dbefa7e
Normalize space: add one between every control keyword and control clause.
|
20 years ago |
Roger Dingledine
|
7c9a707900
remove emacs droppings, since nick says he doesn't need them anymore
|
20 years ago |
Peter Palfrader
|
f2a96ce1fe
Flush the logfd after we print "Tor opening log file", so we don't see those messages days later
|
20 years ago |
Roger Dingledine
|
d4ac7300d6
and a comment so i don't try to 'fix' it again later
|
20 years ago |
Roger Dingledine
|
246b14d8e9
yes, in fact, i broke it. putting back.
|
20 years ago |
Roger Dingledine
|
dd19cf6ba3
kill -USR2 now moves all logs to loglevel debug
|
20 years ago |
Roger Dingledine
|
a30a5bce0f
simplify close_temp_logs()
|
20 years ago |
Roger Dingledine
|
a8840db4ac
remove another possible sigpipe cause
|
20 years ago |
Nick Mathewson
|
6143c515cd
Make log_fn not fail so miserably on VC6
|
20 years ago |
Nick Mathewson
|
5b668d8557
ugly macros to make log_fn play nice on non-GCC compilers.
|
20 years ago |
Nick Mathewson
|
783bbcf471
Fix "implicit declaration of ftello" warning: add AC_FUNC_FSEEKO in configure.in and always include orconfig.h before anything else
|
20 years ago |
Roger Dingledine
|
14c7ad409f
remove redundant stdio.h
|
20 years ago |
Roger Dingledine
|
bd4d99b3fe
clean up the ftello call a little bit.
|
20 years ago |
Nick Mathewson
|
5d92fbe30e
Use autoconf to enable largefile support where necessary. Use ftello where available, since ftell can fail at 2GB.
|
20 years ago |
Nick Mathewson
|
5a5be93f80
Normalize whitespace; add a "tell me about all the unnormalized whitespace" target; fix a braino in dirserv.c
|
20 years ago |
Roger Dingledine
|
8c7b2ff7ed
various fixes
|
20 years ago |
Nick Mathewson
|
2e8353e2f4
Use new log format; convert old format to new format.
|
20 years ago |
Nick Mathewson
|
70f7e32ec6
fix typos
|
20 years ago |
Nick Mathewson
|
11979dc1f5
Add a callback log handler type
|
20 years ago |
Nick Mathewson
|
2fbf31533b
Tricksy compiler warnings! We hates them, hates them forever, my precious!
|
20 years ago |
Nick Mathewson
|
44d4516155
Use tor_snprintf, not snprintf
|
20 years ago |
Nick Mathewson
|
bc62f8e983
Replace sprintf with snprintf
|
20 years ago |
Nick Mathewson
|
26f3cb8652
Add SysLog option to direct log messages to the system log instead of a FILE*.
|
20 years ago |
Roger Dingledine
|
6d873e5743
don't assert multiple things in the same tor_assert()
|
20 years ago |
Roger Dingledine
|
8385fdb590
make our tor_assert actually work when it's going to be triggered,
|
20 years ago |
Roger Dingledine
|
a1979800ab
bugfix on the bugfix
|
20 years ago |
Roger Dingledine
|
f753f6f0e2
bugfix: when we run out of disk space, or other log writing error,
|
20 years ago |
Roger Dingledine
|
7304ac1d6f
tweak the [...truncated] string again
|
20 years ago |