From 83ad350b698ca60e55842a8ad277a1a0b9c93692 Mon Sep 17 00:00:00 2001 From: Patrick Winnertz Date: Wed, 19 Aug 2009 22:10:33 +0200 Subject: [PATCH] Ticket #1545: Don't escape tilde on cmdline, this is not necessary. Signed-off-by: Patrick Winnertz --- src/strescape.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/strescape.c b/src/strescape.c index d23010d7a..bd4c0e657 100644 --- a/src/strescape.c +++ b/src/strescape.c @@ -37,8 +37,8 @@ /*** file scope variables ************************************************************************/ -static const char ESCAPE_SHELL_CHARS[] = " !#$%()&~{}[]`?|<>;*\\\""; -static const char ESCAPE_REGEX_CHARS[] = "^!#$%()&~{}[]`?|<>;*.\\"; +static const char ESCAPE_SHELL_CHARS[] = " !#$%()&{}[]`?|<>;*\\\""; +static const char ESCAPE_REGEX_CHARS[] = "^!#$%()&{}[]`?|<>;*.\\"; static const char ESCAPE_GLOB_CHARS[] = "$*\\"; /*** file scope functions ************************************************************************/ -- 2.11.4.GIT