diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-10-22 10:01:13 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-10-22 10:01:13 -0400 |
commit | 609c1e88701dd483343af3e5a1276916ffcb68d3 (patch) | |
tree | 3ecb96eb39bb84be20ed6280d3f92b1d7e31d28c /doc/HACKING | |
parent | 7dbcdfab584abfa3a2e85ff0e82a1ff76d114287 (diff) | |
download | tor-609c1e88701dd483343af3e5a1276916ffcb68d3.tar.gz tor-609c1e88701dd483343af3e5a1276916ffcb68d3.zip |
Start writing a how to review doc
Diffstat (limited to 'doc/HACKING')
-rw-r--r-- | doc/HACKING/CodingStandards.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/HACKING/CodingStandards.txt b/doc/HACKING/CodingStandards.txt index 2d03b8e3b2..f135fd166d 100644 --- a/doc/HACKING/CodingStandards.txt +++ b/doc/HACKING/CodingStandards.txt @@ -141,6 +141,9 @@ sure that we worked on MSVC6. We don't use strcat or strcpy or sprintf of any of those notoriously broken old C functions. Use strlcat, strlcpy, or tor_snprintf/tor_asprintf instead. +We don't call memcmp() directly. Use fast_memeq(), fast_memneq(), +tor_memeq(), or tor_memneq() for most purposes. + Functions not to write ~~~~~~~~~~~~~~~~~~~~~~ |