summaryrefslogtreecommitdiff
path: root/aptitude-defaults.ro
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2008-07-20 12:31:09 -0700
committerDaniel Burrows <dburrows@debian.org>2008-07-20 12:31:09 -0700
commit845766cfb0e892c05e9517aafb1fd480c26f80cb (patch)
treeab244d86417650ec7409730ab4212eeb496b4320 /aptitude-defaults.ro
parent2d93ca77f1a9068866a9dd7fafe04e1fee1ab18e (diff)
downloadaptitude-845766cfb0e892c05e9517aafb1fd480c26f80cb.tar.gz
Document how aptitude handles double-quotes.
Because of #260446, apt configuration values can't contain double-quotes, and so aptitude uses an ad-hoc escaping technique for them (using '' to represent a double quote). This is now documented in the files where it actually matters, which hopefully will prevent a recurrence of #483459.
Diffstat (limited to 'aptitude-defaults.ro')
-rw-r--r--aptitude-defaults.ro6
1 files changed, 6 insertions, 0 deletions
diff --git a/aptitude-defaults.ro b/aptitude-defaults.ro
index 66b6b129..0be07242 100644
--- a/aptitude-defaults.ro
+++ b/aptitude-defaults.ro
@@ -1,6 +1,12 @@
// -*-c++-*-
//
// This file defines the names of sections known by aptitude for ro.
+//
+// Due to bug #260446, double-quotes (") cannot be backslash-escaped.
+// For this reason, aptitude treats adjacent pairs of apostrophese('')
+// as double-quotes: that is, the string "''" in a section description
+// will be rendered as one double quote. No other characters are
+// affected by this behavior.
Aptitude::Sections
{