No description
Find a file
Nick Mathewson c8ccd028a7 Don't redefine str(n)casecmp on windows unless they're missing
When we do redefine them, use inline functions instead of #define.

This fixes a latent code problem in our redefinition of these
functions, which was exposed by our refactoring: Previously, we
would #define strcasecmp after string.h was included, so nothing bad
would happen.  But when we refactored, we would sometimes #define it
first, which was a problem on mingw, whose headers contain
(approximately):

inline int strcasecmp (const char *a, const char *b)
   { return _stricmp(a,b); }

Our define turned this into:
  inline int _stricmp(const char *a, const char *b)
    { return _stricmp(a,b); }

And GCC would correctly infer that this function would loop forever,
rather than actually comparing anything.  This caused bug 26594.

Fixes bug 26594; bug not in any released version of Tor.
2018-07-02 11:50:17 -04:00
changes Merge branch 'maint-0.3.4' 2018-07-01 10:22:21 -04:00
contrib Bump master to 0.3.5.0-alpha-dev 2018-06-15 17:19:49 -04:00
doc Tabify all of the .am files. 2018-07-01 09:37:28 -04:00
m4 Replace obsolete macros with modern equivalents 2016-12-23 10:34:11 -05:00
scripts Prune the .may_include files a bit; detect unused lines in them 2018-07-01 18:14:28 -04:00
src Don't redefine str(n)casecmp on windows unless they're missing 2018-07-02 11:50:17 -04:00
.appveyor.yml Appveyor configuration files. 2018-05-22 09:56:33 -04:00
.editorconfig Add .editorconfig to follow coding standards style 2018-06-17 19:24:40 -04:00
.gitignore Extract getpass to a new lib/term library 2018-06-29 12:21:52 -04:00
.gitlab-ci.yml Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
.gitmodules Update the .gitmodules to refer to project-level tor-rust-dependencies 2018-02-21 11:53:04 -05:00
.travis.yml Allow Rust to fail for now 2018-06-20 15:23:37 -05:00
acinclude.m4 Update copyrights to 2018. 2018-06-20 08:13:28 -04:00
autogen.sh Report errors when updating configuration files 2016-12-23 10:35:26 -05:00
ChangeLog Forward-port the 0.3.4.3-alpha ChangeLog 2018-06-26 08:49:06 -04:00
config.rust.in Use a rust build script to set linker options correctly for tests. 2018-06-19 12:01:13 -04:00
configure.ac Don't redefine str(n)casecmp on windows unless they're missing 2018-07-02 11:50:17 -04:00
CONTRIBUTING improve a URL 2018-05-11 18:00:30 -04:00
Doxyfile.in doxygen says these options are obsolete 2016-10-24 10:31:05 -04:00
INSTALL Small fixes for the 2702 implementation 2011-04-02 12:15:08 +02:00
LICENSE Update copyrights to 2018. 2018-06-20 08:13:28 -04:00
link_rust.sh.in Allow spaces in CCLD in linker.sh 2018-06-20 19:17:29 -04:00
Makefile.am Add make targets to show static libraries. 2018-07-01 10:08:54 -04:00
Makefile.nmake Clean up the MVSC nmake files so they work again. 2014-09-09 10:27:05 -04:00
README doc: Put the release timeline link in README 2017-11-08 10:44:00 -05:00
ReleaseNotes copy 0.3.3.7 changelog forward to master 2018-06-12 12:06:26 -04:00

Tor protects your privacy on the internet by hiding the connection
between your Internet address and the services you use. We believe Tor
is reasonably secure, but please ensure you read the instructions and
configure it properly.

To build Tor from source:
        ./configure && make && make install

To build Tor from a just-cloned git repository:
        sh autogen.sh && ./configure && make && make install

Home page:
        https://www.torproject.org/

Download new versions:
        https://www.torproject.org/download/download.html

Documentation, including links to installation and setup instructions:
        https://www.torproject.org/docs/documentation.html

Making applications work with Tor:
        https://wiki.torproject.org/projects/tor/wiki/doc/TorifyHOWTO

Frequently Asked Questions:
        https://www.torproject.org/docs/faq.html


To get started working on Tor development:
        See the doc/HACKING directory.

Release timeline:
         https://trac.torproject.org/projects/tor/wiki/org/teams/NetworkTeam/CoreTorReleases