X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=lib%2Fstring_helpers.c;h=3806a52ce697ae091a2d9e10995c49e56a1d4f53;hb=3d53afea525f5812da782624014e7910ba731b34;hp=5a35c7e16e96cc706903ec9afac1591ef6af81cc;hpb=894d6f401b21865962aba776ecaa918b2f0abaa6;p=linux-2.6-microblaze.git diff --git a/lib/string_helpers.c b/lib/string_helpers.c index 5a35c7e16e96..3806a52ce697 100644 --- a/lib/string_helpers.c +++ b/lib/string_helpers.c @@ -361,6 +361,9 @@ static bool escape_special(unsigned char c, char **dst, char *end) case '\e': to = 'e'; break; + case '"': + to = '"'; + break; default: return false; } @@ -474,6 +477,7 @@ static bool escape_hex(unsigned char c, char **dst, char *end) * '\t' - horizontal tab * '\v' - vertical tab * %ESCAPE_SPECIAL: + * '\"' - double quote * '\\' - backslash * '\a' - alert (BEL) * '\e' - escape