Commit History

Author SHA1 Message Date
  Nick Mathewson 64d487a2d6 Add a basic mmap function, with a "fake-it" wrapper to do read_file_from_str instead. Based on code from Michael Mohr. 18 years ago
  Nick Mathewson 89a8411ace Throw out this UNALIGNED_INT_ACCESS_OK nonsense. Even where it works, it is often way way slower than doing the right thing. Backport candidate. 18 years ago
  Roger Dingledine 7871ad9116 failing in a support function is a warn, not an err. 18 years ago
  Nick Mathewson 6d9632ba23 Check return value from GetVersionEx (even though the MSDN example doesnt) and zero out the LPOSVERSIONINFOEX struct before getting the version. This may fix the "johnboy" [major=-858993460,minor=-858993460] problem. 18 years ago
  Roger Dingledine 6ce36ead42 Start the process of converting warn to log_warn and so on. 19 years ago
  Roger Dingledine 5f051574d5 Happy new year! 19 years ago
  Roger Dingledine 28f3765b5a and maybe some function documentation will help too 19 years ago
  Roger Dingledine f1864dfff3 On systems that don't have getrlimit (like windows), we were artificially 19 years ago
  Nick Mathewson 1af630d32c Bite the bullet and limit all our source lines to 80 characters, the way IBM intended. 19 years ago
  Roger Dingledine 9b0a40ec78 crank the max line limit down to 150 chars. 19 years ago
  Nick Mathewson 9b432311c4 Make new logging stuff work on windows; fix a couple of windows typos. 19 years ago
  Nick Mathewson 932106f54c Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" domain. Domains are now bitmasks... just in case. Make some err msgs non-general. 19 years ago
  Nick Mathewson a20835ac92 Check for even more windows version flags, and note any we do not recognize. 19 years ago
  Nick Mathewson edf5698474 Start dividing log messages into logging domains. No, LD_ is not the best of identifiers. src/or has not been converted yet. Domains dont do anything yet. 19 years ago
  Nick Mathewson 010bcfa9df Win32 compilation/correctness fixes. 19 years ago
  Nick Mathewson ba24193ab5 Make doxygen marginally happier 19 years ago
  Nick Mathewson 92abf1b653 Make windows platform detection smarter. {Untested.} 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 6973ef9be4 Add a touch_file() function to compat so we can update cache mtimes. 19 years ago
  Nick Mathewson 922cee3d0c Clean up a few warnings that make gcc twig out a bit. 19 years ago
  Roger Dingledine fa507c63e8 put quotes around user-supplied strings so they are more likely to 19 years ago
  Roger Dingledine d5e426ab51 add a tor_dup_addr() function to simplify malloc()+tor_inet_ntoa() 19 years ago
  Nick Mathewson 9321db8c29 Fix bug with tor_memmem finding a match at the end of the string. 19 years ago
  Nick Mathewson 98f1265309 Fix compile failures on tor_gettimeofday() fix for windows 19 years ago
  Nick Mathewson 176e9055cc Probably broken attempt to improve tor_gettimeofday granularity on windows. 19 years ago
  Nick Mathewson 18c11eb3bc Be consistent about preferring foo* to struct foo* 19 years ago
  Nick Mathewson 97c58f066a whitespace fixes 19 years ago
  Nick Mathewson 278bac421f Fix windows compilation 19 years ago
  Nick Mathewson d85bfe83bf Make errors retrievable from tor_socketpair; resolve bug 163. 19 years ago