summaryrefslogtreecommitdiff
path: root/aptitude-defaults.bs
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.bs
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.bs')
-rw-r--r--aptitude-defaults.bs6
1 files changed, 6 insertions, 0 deletions
diff --git a/aptitude-defaults.bs b/aptitude-defaults.bs
index 33f8fcc3..794a2d76 100644
--- a/aptitude-defaults.bs
+++ b/aptitude-defaults.bs
@@ -1,6 +1,12 @@
// -*-c++-*-
//
// This file defines the names of sections known by aptitude for bs.
+//
+// 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
{