[tor-commits] [tor/master] Stop mentioning src/or and src/common in doc/HACKING

nickm at torproject.org nickm at torproject.org
Tue Jul 10 15:09:32 UTC 2018


commit fa2d53aa6a5c33ea1ede4b3346d5abcc621e619f
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Jul 10 11:03:45 2018 -0400

    Stop mentioning src/or and src/common in doc/HACKING
---
 doc/HACKING/CodingStandards.md | 4 ++--
 doc/HACKING/Module.md          | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/HACKING/CodingStandards.md b/doc/HACKING/CodingStandards.md
index b830ecea9..6e6ef044d 100644
--- a/doc/HACKING/CodingStandards.md
+++ b/doc/HACKING/CodingStandards.md
@@ -200,8 +200,8 @@ We have some wrapper functions like `tor_malloc`, `tor_free`, `tor_strdup`, and
 always succeed or exit.)
 
 You can get a full list of the compatibility functions that Tor provides by
-looking through `src/common/util*.h` and `src/common/compat*.h`.  You can see the
-available containers in `src/common/containers*.h`.  You should probably
+looking through `src/lib/*/*.h`.  You can see the
+available containers in `src/lib/containers/*.h`.  You should probably
 familiarize yourself with these modules before you write too much code, or
 else you'll wind up reinventing the wheel.
 
diff --git a/doc/HACKING/Module.md b/doc/HACKING/Module.md
index 6684e258d..9cf36090b 100644
--- a/doc/HACKING/Module.md
+++ b/doc/HACKING/Module.md
@@ -96,8 +96,8 @@ There are couples of "rules" you want to follow:
   filename as the one in the module. For example, this is a bad idea and
   should never be done:
 
-    - `src/or/shared_random.c`
-    - `src/or/dirauth/shared_random.c`
+    - `src/feature/dirclient/shared_random.c`
+    - `src/feature/dirauth/shared_random.c`
 
 * When you include headers from the module, **always** use the full module
   path in your statement. Example:





More information about the tor-commits mailing list