diff options
author | Graham Leggett <minfrin@apache.org> | 2013-10-09 20:33:15 +0000 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2013-10-09 20:33:15 +0000 |
commit | e34d98d796bd4a9e7026a9009667e16042703a86 (patch) | |
tree | d680b77dc493450bfdd4daa3cbef4f8fa9a40fc5 /encoding | |
parent | e3f73f3fffbc3097236c94227951a72bd6a1b724 (diff) | |
download | apr-e34d98d796bd4a9e7026a9009667e16042703a86.tar.gz |
Remove non-portable escaping of the escape character in apr_escape_echo(). Ensure
test case runs correctly on Windows and OS/2.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1530786 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'encoding')
-rw-r--r-- | encoding/apr_escape.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/encoding/apr_escape.c b/encoding/apr_escape.c index 0516e276c..8bb403c14 100644 --- a/encoding/apr_escape.c +++ b/encoding/apr_escape.c @@ -862,11 +862,6 @@ APR_DECLARE(apr_status_t) apr_escape_echo(char *escaped, const char *str, size++; found = 1; break; - case '\e': - *d++ = 'e'; - size++; - found = 1; - break; case '\f': *d++ = 'f'; size++; @@ -931,7 +926,6 @@ APR_DECLARE(apr_status_t) apr_escape_echo(char *escaped, const char *str, switch (c) { case '\a': case '\b': - case '\e': case '\f': case '\n': case '\r': |