[augeas-devel] [Augeas] #181: mysql lense should set "#" as default comment symbol
Augeas
trac at fedorahosted.org
Thu Feb 10 14:27:34 UTC 2011
#181: mysql lense should set "#" as default comment symbol
---------------------+------------------------------------------------------
Reporter: devzero | Owner: lutter
Type: defect | Status: new
Priority: trivial | Milestone: next
Component: Augeas | Version: 0.7.4
Keywords: |
---------------------+------------------------------------------------------
MySQL upstream uses "#" as default comment symbol.
augeas (resp. the mysql lense) should follow this and set it to "#" as
well.
diff --git a/lenses/mysql.aug b/lenses/mysql.aug
index b845410..fd6d49f 100644
--- a/lenses/mysql.aug
+++ b/lenses/mysql.aug
@@ -10,7 +10,7 @@ module MySQL =
(************************************************************************
* INI File settings
*************************************************************************)
-let comment = IniFile.comment IniFile.comment_re IniFile.comment_default
+let comment = IniFile.comment IniFile.comment_re "#"
let sep = IniFile.sep IniFile.sep_re IniFile.sep_default
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/181>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list