[tor-commits] [tor/master] Remove a rendundant check for PidFile changes at runtime

nickm at torproject.org nickm at torproject.org
Wed Jan 11 14:15:13 UTC 2017


commit c83463ef74050a9bb76fade9448f920a2e28da45
Author: teor <teor2345 at gmail.com>
Date:   Tue Jan 3 15:03:34 2017 +1100

    Remove a rendundant check for PidFile changes at runtime
    
    This check is already performed regardless of whether the sandbox is active.
    
    Fixes bug 21123; bugfix on commit 2ae47d3 in 0.2.5.4-alpha.
---
 changes/bug21123 | 5 +++++
 src/or/config.c  | 1 -
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/changes/bug21123 b/changes/bug21123
new file mode 100644
index 0000000..cb16580
--- /dev/null
+++ b/changes/bug21123
@@ -0,0 +1,5 @@
+  o Minor bugfixes (dead code):
+    - Remove a rendundant check for PidFile changes at runtime in
+      options_transition_allowed(): this check is already performed regardless
+      of whether the sandbox is active. Fixes bug 21123; bugfix on commit
+      2ae47d3 in 0.2.5.4-alpha.
diff --git a/src/or/config.c b/src/or/config.c
index 20103a0..9785ec1 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -4522,7 +4522,6 @@ options_transition_allowed(const or_options_t *old,
     } while (0)
 
     SB_NOCHANGE_STR(Address);
-    SB_NOCHANGE_STR(PidFile);
     SB_NOCHANGE_STR(ServerDNSResolvConfFile);
     SB_NOCHANGE_STR(DirPortFrontPage);
     SB_NOCHANGE_STR(CookieAuthFile);





More information about the tor-commits mailing list