[augeas-devel] [PATCH] quote quote
Alan Pevec
apevec at redhat.com
Tue Apr 22 14:14:53 UTC 2008
quote should be quoted in a quoted strings :)
diff -r d67f4b412550 src/internal.c
--- a/src/internal.c Mon Apr 21 18:23:07 2008 -0700
+++ b/src/internal.c Tue Apr 22 16:13:18 2008 +0200
@@ -99,8 +99,8 @@ const char* read_file(const char *path)
/*
* Escape/unescape of string literals
*/
-static const char *const escape_chars = "\a\b\t\n\v\f\r\\";
-static const char *const escape_names = "abtnvfr\\";
+static const char *const escape_chars = "\"\a\b\t\n\v\f\r\\";
+static const char *const escape_names = "\"abtnvfr\\";
char *unescape(const char *s, int len) {
size_t size;
More information about the augeas-devel
mailing list