[or-cvs] [tor/master] [prop140] Note another useful restriction of ed format.

Nick Mathewson nickm at seul.org
Fri May 22 19:55:45 UTC 2009


Author: Nick Mathewson <nickm at torproject.org>
Date: Fri, 22 May 2009 15:55:40 -0400
Subject: [prop140] Note another useful restriction of ed format.
Commit: 9f69b3d94c86aa470d7927fe7f6a96693e5baf0c

---
 doc/spec/proposals/140-consensus-diffs.txt |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/doc/spec/proposals/140-consensus-diffs.txt b/doc/spec/proposals/140-consensus-diffs.txt
index b4a8ab4..8bc4070 100644
--- a/doc/spec/proposals/140-consensus-diffs.txt
+++ b/doc/spec/proposals/140-consensus-diffs.txt
@@ -5,6 +5,11 @@ Created: 13-Jun-2008
 Status: Accepted
 Target: 0.2.2.x
 
+0. History
+
+  22-May-2009: Restricted the ed format even more strictly for ease of
+  implementation. -nickm
+
 1. Overview.
 
   Tor clients and servers need a list of which relays are on the
@@ -133,6 +138,10 @@ Target: 0.2.2.x
   Note that line numbers always apply to the file after all previous
   commands have already been applied.
 
+  The commands MUST apply to the file from back to front, such that
+  lines are only ever referred to by their position in the original
+  file.
+
   The "current line" is either the first line of the file, if this is
   the first command, the last line of a block we added in an append or
   change command, or the line immediate following a set of lines we just
-- 
1.5.6.5



More information about the tor-commits mailing list