Ticket #22114: 0001-Bug-22114-Fix-wrong-values-in-torrc_format.txt-comme.patch

File 0001-Bug-22114-Fix-wrong-values-in-torrc_format.txt-comme.patch, 1.0 KB (added by gk, 3 years ago)
  • doc/torrc_format.txt

    From 82d084cd899f12d54d877d1d343c39660339980e Mon Sep 17 00:00:00 2001
    From: Georg Koppen <gk@torproject.org>
    Date: Mon, 1 May 2017 17:44:07 +0000
    Subject: [PATCH] Bug 22114: Fix wrong values in torrc_format.txt comments
    
    
    diff --git a/doc/torrc_format.txt b/doc/torrc_format.txt
    index 7a809901d..b175b9fb1 100644
    a b and\ 
    175175friends
    176176
    177177# Backslashes in the middle of a line are included as-is.  The key of
    178 # this one is "Too" and the value is "Many\\Backsl\ashes here" (with
     178# this one is "Too" and the value is "Many\\Backsl\ashes \here" (with
    179179# backslashes in that last string as-is)
    180180Too \
    181181Many\\\
    here 
    185185# And here's the really yucky part. If a comment appears in a multi-line
    186186# entry, the entry is still able to continue on the next line, as in the
    187187# following, where the key is "This" and the value is
    188 # "entry   and some        are  silly"
     188# "entry        and some        are  silly"
    189189This entry      \
    190190 # has comments \
    191191 and some       \